EtherDream/http-server-online
关于
只需打开网页,无需任何工具即可启动本地 HTTP 服务器。
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文HTTP Server Online
Start a local HTTP server without any tools, just open a web page.

Try It Online
https://http-server.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:
/path/to/404.html/path/404.html/404.htmlreturn
404 Not Found
Index Page
For /path/to/, we will try:
/path/to/index.html404.html (
/path/to/404.html,/path/404.html,/404.html)Directory Indexing
Trailing Slash
If /path/to is a directory, we will redirect to /path/to/.
Stop
Access /?stop to stop the server.
Limitations
Your browser must support
File System Access APIandService Worker APIThe target website can not use
Service Worker APIbecause it is already occupiedThe target website can only be accessed in the same browser and session
TODO
This is just a toy that took a few hours, and more interesting features will be added later.
Tunnel (expose local server to the Internet)
P2P (HTTP over WebRTC)
License
MIT
探索相关项目
加载中…