This is an automated archive made by the Lemmit Bot.

The original was posted on /r/selfhosted by /u/CordlessWool on 2025-05-27 11:22:06+00:00.


First, I would like to thank everyone for the feedback I received on my link shortener following my last post. The 35 GitHub Stars I received immediately after posting gave me a real dopamine boost. That’s why I want to give you some presents.

I have made some updates to Shrtn:

  • add an option to make your own link shortener totally private
  • add an option to restrict login to emails or domains
  • add an option to disable login
  • call limit on links (optional)
  • protect links by password (optional)
  • improve security by rejecting internal URLs/IPs.
  • spanish translation

The first two features are probably the most important for this community, or perhaps the first three.

Simply set PUBLIC_INSTANCE_MODE=PRIVATE to disable the public link shortener, and combine it with ALLOWED_LOGIN_EMAILS[email protected];[email protected] or ALLOWED_LOGIN_DOMAINS=shrtn.io;dropanote.de to restrict login to known users only.

This will help to avoid the risk of your instance being misused. If you want to make it public without login, you can set: PUBLIC_INSTANCE_MODE=PUBLIC_ONLY.

You can find more details about the setup process at https://shrtn.io/setup

Screenshot of shrtn.io