GithubHelp home page GithubHelp logo

jboycodes / web-code Goto Github PK

View Code? Open in Web Editor NEW

This project forked from samsunginternet/web-code

0.0 1.0 0.0 6.15 MB

A text editor for the web based around monaco

License: MIT License

JavaScript 99.35% CSS 0.48% HTML 0.17%

web-code's Introduction

Web Code

A node based VSCode like editor. Made for Samsung DeX.

Screenshot of Web Code on DeX

Installation

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

Using Web Code

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.

Development

  1. clone this repo
  2. npm install
  3. npm run watch

Your first PR

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.

web-code's People

Contributors

adarosecannon avatar diekus avatar

Watchers

John A Blomquist avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.