Skip to content

A a procedural, minimalistic and opinionated web server that uses Svelte to render web pages.

License

Notifications You must be signed in to change notification settings

razshare/frizzante

Repository files navigation

Get started

Create a new project using the starter template.

git clone https://github.com/razshare/frizzante-starter

Note

Make sure you have Go and Bun installed.
If you'd rather use a different runtime than Bun to update your javascript dependencies, see makefile and change all occurrences of bun and bunx with the equivalent of whatever runtime you'd like to use.

Update dependencies

make update

Then start the server

make start

or build it

make build

Note

The www/dist directory is embedded, which makes the final executable completely portable.

That being said, you can still create a "www/dist" directory near your executable.
Whenever the server will try to access a file missing from the embedded file system, the server will fall back to the nearby "www/dist" directory instead.

Note

This project is aimed mainly at linux distributions.
Feel free to contribute any fixes for other platforms.