gung-ho
v0.0.1
Published
A bun static file server with hot reload
Downloads
1
Maintainers
Readme
juju
Vanilla JS + Bun.js
To install dependencies:
bun install
To run:
bun run start
TODO
- [ ] Static File Server with Secure (SSL/TLS/HTTPS)
- Similar to https://github.com/pie6k/easy-https
- [ ] detect/set default file extension when not provided
- [x] use HTMLRewriter to inject content from SQLite
- https://github.com/oven-sh/bun/blob/main/examples/html-rewriter.ts
- [ ] Secure WebSocket Server
- [x] Write/Read Data to SQLite
- [x] get ID after insert
- [ ] mkcert style SSL generation
- https://github.com/FiloSottile/mkcert
- https://github.com/Subash/mkcert/blob/master/src/mkcert.js
- https://github.com/sindresorhus/ip-regex/blob/main/index.js
- [ ]