Skip to content

Welcome to sstatic!

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

GitHub release (latest by date)Docker PullsGitHub last commit

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.txt to 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:

bash
docker run -d --name sstatic \
    -p 8080:8080 \
    -e 'SSTATIC_AUTH_USERNAME=admin' \
    -e 'SSTATIC_AUTH_PASSWORD=admin' \
    xfox111/sstatic:latest

This 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

GitHub issuesCIGitHub repo size

There are many ways in which you can participate in the project, for example:

If you are interested in fixing issues and contributing directly to the code base, please refer to the Contribution Guidelines


BlueskyGitHubBuy Me a Coffee

©2026 Eugene Fox. Licensed under MIT license

Released under the MIT License.