You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mailpot/web
Manos Pitsidianakis 17e1a79cef
web: make list description string safe for html if any owner is an admin
2 weeks ago
..
src web: make list description string safe for html if any owner is an admin 2 weeks ago
.gitignore web: Add zstd compression feature for HTML templates 1 month ago
Cargo.toml web: show list topics on site 2 weeks ago
README.md web: add unit tests 3 weeks ago
build.rs web: add unit tests 3 weeks ago

README.md

mailpot web server

cargo run --bin mpot-web -- /path/to/conf.toml

Templates are compressed with zstd and bundled in the binary.

Configuration

By default, the server listens on 0.0.0.0:3000. The following environment variables can be defined to configure various settings:

  • HOSTNAME, default 0.0.0.0.
  • PORT, default 3000.
  • PUBLIC_URL, default lists.mailpot.rs.
  • SITE_TITLE, default mailing list archive.
  • SITE_SUBTITLE, default empty.
  • ROOT_URL_PREFIX, default empty.
  • SSH_NAMESPACE, default lists.mailpot.rs.