https://github.com/a7ul/console-web-ui
Examples to show case how to build web based UI (that can be invoked using curl) for console applications using Javascript(NodeJS)
https://github.com/a7ul/console-web-ui
app console experiment javascript ui web
Last synced: about 1 month ago
JSON representation
Examples to show case how to build web based UI (that can be invoked using curl) for console applications using Javascript(NodeJS)
- Host: GitHub
- URL: https://github.com/a7ul/console-web-ui
- Owner: a7ul
- Created: 2018-07-14T20:54:49.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-20T07:52:11.000Z (almost 7 years ago)
- Last Synced: 2025-04-05T02:22:41.000Z (2 months ago)
- Topics: app, console, experiment, javascript, ui, web
- Language: JavaScript
- Homepage: https://console-web-ui.herokuapp.com/
- Size: 49.8 KB
- Stars: 31
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# console-web-ui
Examples to show case how to build web based UI (that can be invoked using curl) for console applications using Javascript(NodeJS).
Blog post: `https://medium.com/@atulanand94/building-web-based-uis-for-terminals-using-javascript-60b5eee31213`
# Demo version:
It is hosted on heroku here:
https://console-web-ui.herokuapp.com/
# To run locally:
1. `git clone` this repo
2. `npm install`
3. `npm start`This should launch the server in port:3000
After that open another terminal and do:
**Simple Example**
`curl http://localhost:3000/hello/`
or
`wget -q -O - http://localhost:3000/hello/`
**Animated Example**
`curl http://localhost:3000/anime-hello/`
or
`wget -q -O - http://localhost:3000/anime-hello/`
-------------------
**Also, you can check out my other console web service here:**
[http://byemck.atulr.com](http://byemck.atulr.com)