Skip to content

scratch-guy/linux...-for-the-browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

JSLinux

A fully interactive Linux‑style terminal that runs directly in your web browser.
No downloads, no setup — just open and start typing!

✨ Features

  • Boot sequence: Displays a startup log with helpful tips and messages.
  • Interactive shell: Supports common commands such as ls, cd, and more.
  • Directory navigation: Move between directories like ~, /, /usr, /bin, etc.
  • Live tab title: The browser tab updates dynamically to match the current prompt.
  • Virtual file system: Includes directories such as:

bin etc lib linuxrc mnt proc run sys usr dev home lib64 media opt root sbin tmp var

  • Persistent feel: Commands respond instantly, giving the feeling of a running environment.

💡 Use Cases

  • Practicing terminal commands
  • Learning Linux basics
  • Creating challenges or puzzles
  • Browser‑based demos
  • Fun custom environments

🚀 Getting Started

Open the project in your browser and you’ll be greeted with the boot log.
When the prompt appears, try:

ls cd / ls

Experiment, explore, and customize the environment however you like.

🛠 Customization

You can modify:

  • Boot messages
  • Initial files
  • Default directory
  • Shell behavior
  • Command responses
  • Title formatting

Create your own experience, theme, or challenge!

📜 License

MIT License

Copyright (c) 2025 scratch-guy

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Releases

No releases published

Packages

No packages published

Languages