https://github.com/lujjjh/webserver
A webserver that runs in the browser for web development.
https://github.com/lujjjh/webserver
development-tools https proxy reverse-proxy web web-development webserver
Last synced: 21 days ago
JSON representation
A webserver that runs in the browser for web development.
- Host: GitHub
- URL: https://github.com/lujjjh/webserver
- Owner: lujjjh
- License: mit
- Created: 2021-06-27T16:20:40.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-11T16:28:36.000Z (almost 4 years ago)
- Last Synced: 2025-05-07T09:15:49.324Z (21 days ago)
- Topics: development-tools, https, proxy, reverse-proxy, web, web-development, webserver
- Language: TypeScript
- Homepage: https://webserver.run
- Size: 350 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# webserver
A webserver that runs in the browser for web development.
## Current status
Webserver is currently in its early stages. Feel free to play with it,
but backward compatibility is not guaranteed.## Why?
**localhost** and **127.0.0.1** are not always enough
for local development. We might be able to hijack domains to localhost.
However, HTTPS is required if we want to use some web platform features
and SSL/TLS certificates are difficult to manage.Webserver is a webserver that runs in the browser. It gives you
actual domains like **localhost.webserver.pub** and uses
service worker to redirect traffic to localhost. As a result, you
may use a genuine domain to connect to your local server without
bothering about certificates.## Getting started
**Safari is not currently supported.**
## Features
- 🔒 HTTPS
- 🚒 Routing
- ✈️ Proxy## Roadmap
- [ ] Share
- [ ] Route editor## Known issues
- Because webserver is built on service worker, service worker and websocket are not supported.
- CORS must be handled appropriately by the proxy target, and origin from **\*.webserver.pub** must be allowed.
- If the proxy target is not localhost, HTTPS must be used.
- Cookie (credentials) is not handled yet.