# 🫧 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
- [x] Nice error messages
- [x] attrs vs styles (h1 color=blue -> style="color:blue")
- [x] GET params (`params.whatever`)
- [x] POST params (`params.whatever`)
- [x] Layouts
- [ ] dev mode / prod mode (caching, errors)
- [ ] auto-serve index.sh for subdirectories (`/users` -> `/users/index.sh` if dir)
- [ ] Caching