• Stars
    star
    259
  • Rank 157,669 (Top 4 %)
  • Language
    HTML
  • License
    MIT License
  • Created almost 6 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Linux command-line shell in the browser

browser-shell

A Linux shell in the browser via forked v86, with bi-directional POSIX filesystem (via Filer) shared over Plan 9 resource sharing.

The Filer filesystem in the browser is mounted in the Linux VM at /mnt.

Demo

You can play with the online demo, or watch a screencast on YouTube.

The first time you boot, it needs to download the ISO, and do a cold boot. After that it will cache the state of the VM in Cache Storage, and reboots will be nearly instant (like resuming your laptop form sleep).

The shared filesystem's root dir (/) is mounted in /mnt in the Linux VM. You can open the console and get access to fs, path, and Buffer if you want to try doing things from JS with the filesystem; just remember that your files are rooted in / vs. /mnt in JS.

Below, I demonstrate creating some files and directories from Linux, then accessing them via JS and the console, and vice versa. Pretty much anything that Linux can do with a filesystem should work, including working with files, directories, symlinks, and all the usual I/O commands. File a bug if you find something that doesn't work.

More Repositories

1

have-fun-with-machine-learning

An absolute beginner's guide to Machine Learning and Image Classification with Neural Networks
Python
5,064
star
2

nohost

A web server in your web browser
JavaScript
260
star
3

VncSharp

VncSharp is a GPL implementation of the VNC Remote Framebuffer (RFB) Protocol for the .NET Framework
C#
222
star
4

browser-vm

A small Linux x86 VM meant for use in the browser
Dockerfile
140
star
5

sfxr.js

JavaScript port of SFXR, video game sound effect generator
JavaScript
29
star
6

hacktoberfest-at-seneca-2018

Tracking and Support for Hacktoberfest 2018 at Seneca College
16
star
7

browser-mime

MIME types for use in browsers
JavaScript
16
star
8

next

What I'm doing next (name TBD)
JavaScript
14
star
9

learn-travis

An example to show how to get TravisCI integrated into a node.js project
JavaScript
10
star
10

snowy-owls-ca

Tracking Snowy Owls Across Canada
JavaScript
7
star
11

node-webvtt

A command line interface and npm package for the WebVTT JavaScript parser.
JavaScript
6
star
12

SpecialPowers

Mozilla SpecialPowers testing extension
JavaScript
5
star
13

node-eden

Name generator
JavaScript
5
star
14

Seneca2017LearningLab

A repo for DPS909/OSD600 students to learn open source tooling
JavaScript
4
star
15

purl

Pretty print the contents of a resource at a URL
JavaScript
4
star
16

bridge-troll

Collect all the trolls living under Ontario's bridges
JavaScript
3
star
17

unicode

Unicode Dance Party
HTML
3
star
18

openai-form-example

Working with OpenAI and HTML Forms
HTML
3
star
19

Video-Stats

HTML5 Video painting performance statistics for Firefox 5 video
JavaScript
3
star
20

git-idfs-db

A git db implementation that wraps an IDBFS interface instance. Creates real git repos in the fs.
JavaScript
2
star
21

brackets-5ialog

HTML5 File Dialogs for Brackets
JavaScript
2
star
22

amore.webmaker.org

Webmaker localization app
JavaScript
2
star
23

node-bugzilla

A node module to make filing bugs in node apps easy
JavaScript
2
star
24

web422-week12

WebSockets Emoji Chat App Server and React Client
JavaScript
1
star
25

recreate-newyorker-css

Recreating a New Yorker web page's text styles in HTML and CSS
HTML
1
star
26

recreate-youtube-css

Recreating the YouTube search results page's CSS styles in HTML and CSS
HTML
1
star
27

aparecium

A charm to reveal secret messages
JavaScript
1
star
28

bitjs

Automatically exported from code.google.com/p/bitjs
JavaScript
1
star
29

pretty-effective

An Analysis of the Prettier Project
1
star
30

pdfjs-express-example

Minimal example of serving a PDF file from express to the browser and rendering with PDF.js
JavaScript
1
star
31

aws-learner-lab-utils

Various scripts, utils, and tools for using the AWS Learner Lab
JavaScript
1
star