Self-Hosted URL Shortener with A/B Testing

A high-performance, privacy-focused URL shortener built in Rust. Take control of your data with self-hosted deployment.

Terminal
$ docker run -d \
  -e LICENSE_KEY=your-license-key \
  -p 8080:3000 \
  -v $(pwd)/data:/data \
  ghcr.io/dmancevo/url-shortener:latest

Why Choose URL Shortener API?

🏠

Self-Hosted

Complete control over your data and infrastructure. Deploy on your own servers with Docker for maximum privacy and security.

🔬

A/B Testing Built-In

Split traffic between multiple URLs with configurable weights. Perfect for testing landing pages, campaigns, and user experiences.

High Performance

Built in Rust for speed and reliability. LRU cache and partitioned storage handle millions of URLs with ease.

🏷️

Tag Organization

Organize your short URLs with tags for easy management and retrieval. Perfect for categorizing campaigns and projects.

URL Expiration

Set automatic expiration times for temporary links. Ideal for time-sensitive campaigns and promotions.

📊

Optional Click Tracking

Privacy-conscious analytics with IP truncation. Enable only when needed, keeping user privacy at the forefront.

🔒

Secure API

API key authentication protects your endpoints. Automatic key generation on server startup keeps your service secure.

🎯

Deterministic Routing

Same visitor always sees the same A/B test variant based on IP hash. Ensures consistent user experience across visits.

🚀

Easy Deployment

Step-by-step deployment guides with ready-to-use configurations. Deploy to Fly.io, Render, Railway, or your preferred platform in minutes.

Perfect For

Marketing Teams

Test different landing pages and track campaign performance with A/B testing.

Developers

Self-hosted solution with full API control and customizable deployment options.

Privacy-Conscious Organizations

Keep your data in-house with optional analytics and GDPR-friendly features.

Product Teams

Test feature rollouts and user flows with deterministic traffic splitting.

Choose Your License

Get started with a self-hosted URL shortener today

1 Year License*

49.99

one-time payment

  • ✓ Full access to all features
  • ✓ Self-hosted deployment
  • ✓ A/B testing capabilities
  • ✓ Unlimited short URLs
  • ✓ Free upgrades for 1 year
Get Started

* The 1 year license is subject to a maximum of 10 activations.

** The 5 year license is subject to a maximum of 20 activations.