Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

GoofyGoofsterClub/shortener

Repository files navigation

shortener

Warning

⚠️ Deprecation Notice
This service will begin deprecation on April 25, 2026.

Originally created as a lightweight URL shortener for imagination server users, it has seen limited adoption over time. Combined with an increasingly outdated tech stack, a growing list of vulnerabilities, and accumulated technical debt, maintaining the service is no longer sustainable.

As a result, thighs.moe will be fully discontinued on October 25, 2026. During this grace period, the service will remain operational so users can access and export their data if needed.

A small, funky looking self-hosted URL shortener with multi-domain support.

Notes

Important

For now, there is no user-management, as it uses imagination server's database on our end.

To create a user right now, you have to:

  1. Log in into your mongodb mongosh;
  2. Select the database you specified, use dbname;;
  3. Create a new user, using this:
db.users.insertOne({
	displayName: "username",
	key: "", // Please put a random UUIDv4 here
	administrator: false,
	can_invite: false,
	protected: false,
	isBanned: false,
});

After this you will be able to log in with a key you specified in the key field. As other option you can use imagination server's dashboard to manage users, again for now.

Installation

WIP

Build

WIP

API

To shorten a link using API, you can make request to /api/link/shorten while providing these GET parameters:

?key= # (required) Your authentication key
&link= # (required) Link to shorten
&onetime= # true/false: If the link should stop working after use
&samedomain= # true/false: By default true, can change only through API, set false, if you want for the link to work across all domains linked to instance.

About

Funky looking self-hosted link shortener.

Resources

License

Stars

Watchers

Forks

Contributors