• Stars
    star
    15
  • Rank 1,371,379 (Top 28 %)
  • Language
    HTML
  • License
    GNU Affero Genera...
  • Created over 2 years ago
  • Updated 11 months ago

Reviews

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

Repository Details

Fake GNU/Linux, Unix, MacOS terminal based system

Fake Linux Terminal

Laptop with Fake Linux Terminal using jQuery Terminal

This project is attempt to recreate Unix like Terminal-based environment.

This is not Emulator, you will not be able to compile and run C++ programs. Instead this is a model of Unix system (GNU/Linux or MacOS), where things in the system are implemented in JavaScript.

This can be nice way to learn how Unix system works if you read the code. But also you will be able to play with terminal based Linux in browser.

The system will run completely in Browser, no Backend. It will be based on FileSystem Images.

TODO

  • Create Images for directory
  • Add a way to load the image in browser and read the file
  • Create Web Terminal based on Fake Linux Terminal (use LighntingFS version)
  • Use SVG Terminal
  • Work on Some text for the website, add Meta tags, Social Cover Images etc.
  • Modify Web Terminal to use LitningFS and FS Images
  • Add authentication based on /etc/passwd file and /etc/shadow (using $1$ and MD5 hash)
  • [SPIKE] Persistence of FS (consider save/load buttons - copy to indexedDB)
  • Try to add autologin button that will change hash, so you can refresh the page
  • Implement executable files that will be JavaScript scripts that will run in Web Workers
  • Add stdin/stdout/stderr PIPES to Web Worker API
  • Add way to see the source code of the code (to remove AGPL compliance burden)
  • Implement Bash.js interpreter using bash-parser
  • Try to make Bash.js part of the Image
  • Add env variables e.g. $PATH and PS1
  • [SPIKE] ESModules with Service Worker inside Web Worker executable
    • Shared libraries as ESModules
  • Bash Commands
    • cd
    • read
    • echo
    • pwd
    • popd
    • pushd
    • printf
    • logout
    • test
    • source
    • true
    • false
    • alias
    • help
  • Filestem
    • /usr/bin/ls
    • /usr/bin/cat
    • /usr/bin/zip
    • /usr/bin/grep
    • /usr/bin/xargs
    • /usr/bin/head
    • /usr/bin/tail
    • /usr/bin/mkdir
    • /usr/bin/rmdir
    • /usr/bin/mv
    • /usr/bin/rm
    • /usr/bin/less
    • /usr/bin/figlet
    • /usr/bin/download
    • /usr/bin/vi
    • /etc/motd
    • ~/.bashrc

License

    Copyright (C) 2022 Jakub T. Jankiewicz <https://jcubic.pl/me>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>

More Repositories

1

jquery.terminal

jQuery Terminal Emulator - JavaScript library for creating web-based terminals with custom commands
JavaScript
2,940
star
2

sysend.js

Web application synchronization between different tabs
JavaScript
1,025
star
3

wayne

Service Worker Routing library for in browser HTTP requests
JavaScript
547
star
4

lips

Scheme based powerful lisp interpreter written in JavaScript
JavaScript
323
star
5

chat-gpt

ChatGPT conversation saving bookmark
JavaScript
291
star
6

tagger

Zero Dependency, Vanilla JavaScript Tag Editor
JavaScript
261
star
7

jquery.splitter

jQuery Splitter is plugin that split your content with movable splitter between them
JavaScript
240
star
8

gaiman

Gaiman: Text based game engine and programming language
JavaScript
137
star
9

leash

Browser Shell
JavaScript
120
star
10

jquery.rotate

Simple plugin that add rotate css property and animation
JavaScript
94
star
11

git

GIT Web Terminal
JavaScript
82
star
12

Clarity

Customizable Monoshape Vector Icon Theme for GTK+
SVG
39
star
13

jquery.filebrowser

File browser jQuery plugin
JavaScript
30
star
14

jquery.terminal-www

jQuery Terminal Website
HTML
26
star
15

favloader

Vanilla JavaScript library for loading animation in favicon
JavaScript
23
star
16

cmatrix

Render Matrix effect animation on Canvas in JavaScript
JavaScript
22
star
17

lily

Simple JavaScript options parser inspired by yargs
JavaScript
21
star
18

jsh.php

Terminal like php shell (PHP web terminal emulator)
PHP
20
star
19

jsvi

fork of JSVI - VI in JavaScript
JavaScript
18
star
20

Monadic

JavaScript micro library - POC
JavaScript
16
star
21

json-rpc

JSON-RPC implementaion in php and JavaScript
PHP
13
star
22

electron-terminal

Base for jQuery Terminal based Electron apps
JavaScript
12
star
23

route.js

Simple routing library that can be use on the server or in the browser
JavaScript
11
star
24

jquery.micro

Pico/Nano like editor for jquery.
JavaScript
11
star
25

coverage.el

Emacs minor mode for displaying code coverage
Emacs Lisp
10
star
26

chat

Simple Chat with Server Side Events, PHP and SQLite
PHP
8
star
27

prism-cli

Syntax highlighting for command line
JavaScript
7
star
28

try-python

Try Python website
Python
7
star
29

commodore64

Commodore 64 jQuery Terminal Demo
HTML
7
star
30

ascii-canvas

String based text rendering for Node and Browser
JavaScript
6
star
31

jquery.resize

Custom resize jQuery event for element
JavaScript
6
star
32

notes

Simple text based notes taking app
JavaScript
6
star
33

webrtc-share

Application for sharing files using WebRTC
PHP
6
star
34

jcubic.pl

Głównie JavaScript - blog głównie o Front-Endzie
PHP
5
star
35

awesome-ascii

List of Awesome ASCII libraries
5
star
36

ansidec

Unix formatting transformer in JavaScript
JavaScript
5
star
37

firepad

Simple firepad based source code editor
HTML
5
star
38

quizerach

Simple Quiz Maker Open Source App (WIP)
TypeScript
4
star
39

calendar

ASCII calendar that can be used in Node.js or Browser
JavaScript
4
star
40

angular.piechart

Angular 1.5 component for svg based piecharts
JavaScript
4
star
41

velvet

Vanilla JavaScript Universal CSS in JS library
TypeScript
4
star
42

jcubic

3
star
43

chess

Terminal based chess game
HTML
3
star
44

snapp

Simple Text based notes taking app
PHP
3
star
45

open-source-library

Template for JavaScript Open Source library
Makefile
3
star
46

ToME

ToME - Tales of Middle Earth
C
3
star
47

leash-cordova

Cordova leash shell
JavaScript
3
star
48

filter-paste-js

intercept content pasting into iframe with design mode
JavaScript
3
star
49

fs-browser

In Browser File System App
JavaScript
3
star
50

jquery-position-event

jQuery cursor position change event
JavaScript
2
star
51

isomorphic-lolcat

Lolcat gradient that can be used in browser or Node
JavaScript
2
star
52

react-wayne-auth

JavaScript
2
star
53

koduj-curriculum

Curriculum for teaching programming using JavaScript and p5.js library
2
star
54

dotfiles

Linux dotfiles
Shell
2
star
55

cataloger

Shopping cart like catalog library
JavaScript
2
star
56

json-rpc-list

List of JSON-RPC implementations
2
star
57

compickr

Flickr composition checker
JavaScript
2
star
58

jankiewicz

Personal Blog of Jakub T. Jankiewicz
Liquid
2
star
59

aimed

Simple JavaScript Markdown Editor
JavaScript
2
star
60

yapp

Yet Another PHP Proxy
JavaScript
2
star
61

kopalinski.sqlite

Słownik Wyrazów Obcych Kopalińskiego jako baza sqlite
Python
2
star
62

koduj

P5.js playground
PHP
2
star
63

static

static files used with cdn.jsdelivr.net
JavaScript
2
star
64

opensourcelogo

Logo for you Open Source project
2
star
65

price.py

Scraping prices from Ceneo.pl and save in SQLite database
Python
1
star
66

php-terminal-jwt

Demo of JWT with jQuery Terminal
PHP
1
star
67

refClass

R
1
star
68

jquery.draglessClick

Better jQuery click event that's not invoked when you drag or select text
JavaScript
1
star
69

swift.manager

Server file browser and terminal with apps support
JavaScript
1
star
70

bassel.jcubic.pl

Bassel badge page
PHP
1
star
71

roman

ReactJS application with unit tests
TypeScript
1
star
72

REPL

REPL Bookmarklets for different languages
1
star
73

Similar-Stuff

Get Similar stuff from tastekid.com
Python
1
star
74

expression.php

Safely evaluate math, string, and boolean expressions
PHP
1
star
75

cv

My resume
Makefile
1
star
76

quatro

Simple Q&A Open Source application in PHP
PHP
1
star
77

interactive-scheme-tutorial

Interactive Scheme Tutorial
HTML
1
star
78

Downloader

Command Line tool for download file from file hosting sites.
Ruby
1
star
79

gps.py

Simple script to add GPS EXIF data to images
Python
1
star
80

flash-3d

School project 3D Flash animation in C++
C
1
star
81

FizzBuzz

JavaScript version of function only FizzBuzz
JavaScript
1
star
82

uncp

UNsplash Cache Proxy
PHP
1
star
83

jsvi-app

jsvi app for leash shell
JavaScript
1
star
84

bash

Bash Interpreter written in JavaScript
1
star