Skip to content

A minimalistic and opinionated web server framework written in Go that uses Svelte to render pages.

License

Notifications You must be signed in to change notification settings

razshare/frizzante

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

Frizzante is a minimalistic and opinionated web server framework written in Go that uses Svelte to render pages.

Prerequisites

Make sure you have build-essential, curl and unzip installed on your machine.

sudo apt install build-essential unzip curl

Get started

Clone the basic starter template.

git clone https://github.com/razshare/frizzante-starter && \
rm frizzante-starter/.git -fr && \
cd frizzante-starter

Update dependencies with

make update

Start development with

make dev

Note

The default makefile uses Bun to install dependencies while in development mode.

You can swap Bun out with whatever runtime you want to use to develop by replacing all bun references within the makefile with the equivalent of whatever runtime you'd like to use.

This change will have no impact on your application's performance, Bun is only used to compile .svelte files into .js files in development mode or when building for production.

Build with

make build

This will create a bin/app standalone executable.

Note

The final executable uses V8 bindings to run JavaScript code on the server in order to render svelte components.

For that reason, the first run may take some time, just be patient.

Subsequent runs will take considerably less time.

Note

Frizzante is aimed mainly at linux distributions.
Feel free to contribute improvements for other platforms.

About

A minimalistic and opinionated web server framework written in Go that uses Svelte to render pages.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published