Welcome to sstatic!
sstatic is a simple self-hosted URL shortener and a file server. A perfect companion for your personal website.


Features
- Personalized URL shortener: Create short links on your personal domain with a simple and easy-to-use interface
- Static file server: Want to share your work with the world? Serve your static files in a few clicks
- Multi-domain support: Serve your short links and static files on different domains with a single sstatic instance
- OIDC support out of the box: Already have an identity provider? sstatic can integrate with it easily
- Bring your own analytics: sstatic intergrates with several popular analytics providers (including open source ones) to help you better understand your users
- Built with Docker: Deploy sstatic in a few minutes with Docker and Docker Compose
- PWA application
- Fully documented REST API for integration with other applications
- Built-in
robots.txtto prevent indexing and AI usage - Open source, licensed under the MIT license
Quick start
If you want to quickly test sstatic, you can use the following command:
docker run -d --name sstatic \
-p 8080:8080 \
-e 'SSTATIC_AUTH_USERNAME=admin' \
-e 'SSTATIC_AUTH_PASSWORD=admin' \
xfox111/sstatic:latestThis command will start sstatic on port 8080 with the username admin and password admin for authentication. You can access the application at http://localhost:8080.
CAUTION
The above command is for testing purposes only. Do not use in production!
Visit the Installation page for instructions on how to deploy production-ready sstatic instance.
Screenshots




Contributing
There are many ways in which you can participate in the project, for example:
- Submit bugs and feature requests, and help us verify as they are checked in
- Review source code changes
- Review documentation and make pull requests for anything from typos to new content
If you are interested in fixing issues and contributing directly to the code base, please refer to the Contribution Guidelines
©2026 Eugene Fox. Licensed under MIT license