EtherDream / http-server-online

Start a local HTTP server without any tools, just open a web page.
https://hs.etherdream.com
629 stars 41 forks source link
file-system-access http-server service-worker

HTTP Server Online

Start a local HTTP server without any tools, just open a web page.

demo

Try It Online

https://http-server.etherdream.com

OR https://hs.etherdream.com

https://user-images.githubusercontent.com/1072787/138898490-e4de9326-1715-415b-bbb6-3a377faaf618.mp4

Custom 404

If /path/to/foo does not exist, we will try:

Index Page

For /path/to/, we will try:

Trailing Slash

If /path/to is a directory, we will redirect to /path/to/.

Stop

Access /?stop to stop the server.

Limitations

TODO

This is just a toy that took a few hours, and more interesting features will be added later.

License

MIT