#template #php #http-push

kvarn-extensions

Extensions for the Kvarn web server. Features HTTP/2 automatic push and a templating engine.

6 releases (3 breaking)

0.6.2 Oct 25, 2024
0.6.1 Feb 11, 2024
0.5.0 Aug 29, 2022
0.4.0 Apr 24, 2022
0.0.0 Mar 31, 2021

#174 in Template engine

Download history 25/week @ 2024-09-23 5/week @ 2024-10-14 112/week @ 2024-10-21 18/week @ 2024-10-28

135 downloads per month
Used in moella

Apache-2.0 and GPL-2.0-or-later

580KB
11K SLoC

Kvarn Extensions

Provides extensions that integrate with Kvarn.

This is a library aiming to assist the main Kvarn lib with various extensions. It will provide a more feature-rich and full experience compared to the bare Kvarn.

Features

Current state

This will be up-to-date with the main branch of Kvarn.

You can view the most recent docs here.

See the roadmap for future plans of this crate.


lib.rs:

Kvarn extensions

A supporter-lib for Kvarn to supply extensions to the web server.

Use [new()] to get started quickly.

An introduction to the Kvarn extension system

On of the many things Kvarn extensions can to is bind to extension declarations and to file extensions. For example, if you mount the extensions download, it binds the extension declaration download. If you then, in a file inside your public/ directory, add !> download to the top, the client visiting the url pointing to the file will download it.

Dependencies

~10–22MB
~320K SLoC