A node based VSCode like editor. Made for Samsung DeX.
In a Terminal (or Termux for Android)
- Install node:
apt get update
apt get install nodejs
- Install web-code
npm install -g web-code
- Run web-code
web-code ./my-file.js
You open up web-code in your browser.
go to: http://127.0.0.1:3000
You can change the Web Code port from it's default of 3000 by running PORT=8080 web-code
when starting a new instance of the web code daemon.
Web Code will only run a single instance of the server but will reuse this instance for opening additional files and folders.
You can open as many files/folders as you like by running web-code foo.txt
and it will use the existing process.
- clone this repo
npm install
npm run watch
Try adding an icon for a file format you like in: static/styles/icons.css
only a few file formats have been mapped. To corresponding icons from atom file-icons.