Getting KatWeb
To download KatWeb, you can either download a compiled release from the releases page, or compile KatWeb from the source code in the repository (not recommended, code in the repository is not suitable for production use).
Linux Packages
- Arch Linux users can install the katweb AUR package.
- Debian/Ubuntu packages are currently in development.
Using KatWeb
After you have extracted the compressed release, you can run the right build for your platform. The root folder for serving files is /html/, the configuration is /conf.json. Documentation for KatWeb can be found in the KatWeb Wiki.
Running as root
Running KatWeb as root is not recommended for security reasons. You can allow KatWeb to use to ports below 1024 on Linux by using this command: sudo setcap cap_net_bind_service=+ep ./katweb-linux-*
Additional Info
Want to discuss KatWeb, or have any questions? Join KatWeb's Discord server.
Features
- TLS 1.2 Support (with partial support for TLS 1.3 draft #22)
- HSTS Support
- JSON Config Files
- HTTP/2 and Keep-Alive
- HTTP Compression
- Let's Encrypt Integration
- Dynamic Serving
- Modern Default Pages
- Logging to Console
- Password Protected Directories
- HTTP Reverse Proxy
- Websocket Reverse Proxy
- Material Design Directory Listings
- Material Design Error Pages