#web-server

app kvarn-reference

An implementation of the Kvarn web server framework

2 unstable releases

0.4.0 Apr 24, 2022
0.3.0 Nov 6, 2021

#36 in #web-server

Apache-2.0 and LGPL-3.0-or-later

26KB
535 lines

Kvarn reference binary

As kvarn-search isn't published on crates.io yet, you must clone it at ../kvarn-search.

This is a reference implementation of the Kvarn server library. It's for my personal use for my domains icelk.dev and kvarn.org and will therefore not work with most configurations.

For now, I suggest forking this repo and tweaking it to your liking.

Installation

If you really want to install it, you can run the following.

$ cargo install kvarn-reference

Folder structure

To get this example working, it is assumed you have the Kvarn library in ../kvarn, the files for icelk.dev and kvarn.org in ../icelk.dev and ../kvarn.org, respectively.

Future

I plan to add support for a config file so you do not have to recompile the binary every time you want to support a new domain.

Dependencies

~20–27MB
~595K SLoC