Snapp: Build Your Own Custom URL Shortener

a year ago

What is Snapp?

Snapp is a self-hosted URL shortening service designed to provide users with a secure, customizable, and easy-to-manage short link solution. Built with the Svelte frontend framework, it supports multiple databases and deployment platforms, making it suitable for individuals or teams who need autonomous control over their link management.

While there are already several similar applications in the store, like flink and Shlink, here are Snapp's distinguishing features:

🚀 Essential Features, No Frills

  • Custom Short Codes: Want a memorable link like yourdomain.com/shop? No problem.
  • Expiration Date Setting: Marketing campaign over? Set an expiration time, and the link will automatically become invalid.
  • Visit Statistics: See who clicked your link and when, all at a glance.
  • Password Protection: Sensitive links can be password-protected, accessible only to those who know the password.

https://appstore.lazycat.cloud/#/shop/detail/cloud.lazycat.app.snapp1

How to Use

After installing the application, open the main page.

image.png

Its entry is quite hidden; you need to scroll to the bottom and click the avatar icon in the lower right corner.

image.png

Admin credentials: admin / admin123

image.png

Enter the main page and add a shorturl entry.

image.png

Noticing everything is in English and feeling a bit unfamiliar? Let's switch the language to Chinese in the settings first.

image.png

Return to the dashboard to add a new entry. You can customize the code; I'll enter "tian".

image.png

Using Boss Wang's blog as an example.

image.png

After saving, click on the right side to copy the URL for others to use.

image.png

The generated URL is https://snapp.lanmao168.heiyu.space/tian. It also supports QR code viewing. I'll scan it with WeChat.

image.png

Enter the password "123", click continue, and you can see the blog.

image.png

If I exceed the visit limit, it will prompt that the link cannot be found.

image.png

If you've used other short link services before, Snapp supports CSV import. Format: Original URL, Short Code, Description

image.png

The statistics page shows the specific number of website visits.

image.png

Summary

Snapp is a treasure trove of a tool, specifically designed for users who value control over their URL management. It offers features like custom short codes, expiration dates, password-protected links, and usage statistics.

Whether you're a personal blogger wanting personalized short links or a business needing controlled link management, Snapp can meet your needs.

Give it a try—you might just fall in love with this sense of control

Author
天天