3 releases

0.6.1 Aug 23, 2024
0.6.0 Aug 9, 2024
0.6.0-beta1 Aug 8, 2024

#5 in #bbox

30 downloads per month
Used in 2 crates

MIT/Apache

110KB
2.5K SLoC

BBOX Asset server

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

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"

Dependencies

~92MB
~1.5M SLoC