Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/razshare/frizzante

A procedural, minimalistic and opinionated web server that uses Svelte for rendering pages.
https://github.com/razshare/frizzante

go golang svelte

Last synced: 15 days ago
JSON representation

A procedural, minimalistic and opinionated web server that uses Svelte for rendering pages.

Awesome Lists containing this project

README

        

# Get started

Create a new project using the starter template.

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

> [!NOTE]
> Make sure you have [Go](https://go.dev/doc/install) and [Bun](https://bun.sh) installed.\
> If you'd rather use a different runtime than Bun to update your javascript dependencies,
> see [makefile, section "update"](https://github.com/razshare/frizzante-starter/blob/master/makefile#L1-L6).

Update dependencies

```bash
make update
```

Then start the server

```bash
make start
```

or build it

```bash
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.