File-based router written in Go
go install github.com/tsivinsky/plain/cmd/plain@latest
plain -p 5000
Put html files inside pages
directory and they will be available at corresponding routes.
Create public
directory and put static file there
plain -p 8080
Default: 5000
plain -H 192.168.0.103
Default: localhost
plain -w
This will tell plain to watch changes in pages
directory. If you create or delete file, plain will update routes accordingly.