25 lines
545 B
Markdown
25 lines
545 B
Markdown
# 🫧 foam
|
|
|
|
## Quickstart
|
|
|
|
bun install
|
|
bun cli:install
|
|
foam <your website's directory>
|
|
|
|
## Dev mode (hot reload foam itself)
|
|
|
|
bun --hot /path/to/foam/repo/bin/foam .
|
|
|
|
## TODO
|
|
|
|
- [x] Serve Ribbit/Shrimp files
|
|
- [x] File-based routing
|
|
- [x] Access to query params
|
|
- [x] Serve static files in pub/
|
|
- [x] Working CLI
|
|
- [ ] Nice error messages
|
|
- [ ] dev mode / prod mode (caching, errors)
|
|
- [ ] Form body parsing for POST
|
|
- [ ] auto-serve index.sh for subdirectories (`/users` -> `/users/index.sh` if dir)
|
|
- [ ] Layouts
|
|
- [ ] Caching |