Crates.io | bbox-asset-server |
lib.rs | bbox-asset-server |
version | 0.6.1 |
source | src |
created_at | 2024-08-08 07:18:02.101314 |
updated_at | 2024-08-23 21:42:38.024067 |
description | Serving static and templated files |
homepage | https://www.bbox.earth |
repository | https://github.com/bbox-services/bbox |
max_upload_size | |
id | 1329204 |
size | 107,142 |
Serving static and templated files.
Features:
Configurable base directories and endpoints
Serve fonts and other assets for Tile services
QGIS plugin repository
Templates with inputs from path, arguments and configuration
Static file serving:
[[assets.static]]
# ./assets/* -> http://localhost:8080/assets/
dir = "./assets"
path = "/assets"
Template file serving:
[[assets.template]]
# ./templates/name.html -> http://localhost:8080/html/name/param
dir = "./templates"
path = "/html"
QGIS plugin repository:
[[assets.repo]]
# ./plugins/*.zip -> http://localhost:8080/qgisrepo/plugins.xml
dir = "./plugins"
path = "/qgisrepo"