1 unstable release
|0.1.0||Aug 23, 2022|
#1690 in Web programming
RabiJump is an open source redirection service aimed for efficiency and simplicity.
- Built-in filesystem database.
- Built-in web admin panel.
- Seperate redirects for mobile phone and desktop.
- Enable/disable parameter support (url?foo=bar).
- Change redirection method (301, 302, 307, 308).
- Different ports for redirect and admin.
- Small binary size and RAM usage.
- Visit count and log rotation.
- API support, create your script!
Docker is the easiest way to deploy RabiJump. Or you can clone the repository and simply run
cargo run --release in server directory.
docker run -d -p 8080:8080 -p 8081:8081 -v db_path:/app/database -v log_path:/app/logs memorysafety/rabijump:0.1.0
This command will start RabiJump in Docker container with
log_path mounted to the container. You can use
docker logs to check the generated admin token if you didn't set it in the environment variable.
- 8080: Redirect port.
- 8081: Admin port with web panel.
- DATABASE_PATH: Path to the database. Default:
- LOG_PATH: Path to the logs. Default to
- FALLBACK_TARGET: Target to redirect to if no match is found, also for index. Default is return 404.
- ALLOW_ORIGIN: CORS
- TOKEN: Admin token, if not set, a random token will be generated and displayed in the stdout.
RabiJump is designed to be simple and fast. A new instance of RabiJump takes about 30MB RAM. A RabiJump with 10k redirects takes about 70MB RAM and 30MB disk space. Its QPS could reach 30k+.
License and Credits
RabiJump is licensed under the Apache-2.0 License. Thanks so much for the following open source projects: