Nah.pet

What Nah.pet is
Nah.pet is a free, open-source URL shortener available for web, API, and self-hosted use. It supports custom domains and slugs, along with password-protected links and automatic expiration. Its analytics report clicks, geolocation, and browser information. An admin system supports manual approval, while configuration can disable registration and determine whether API documentation is public. For automation, the REST API uses API-key authentication and includes endpoints for link management, statistics, bulk operations, and data export. The interface supports multiple languages, with translations managed through Paraglide JS and Weblate. Deployment instructions cover Docker Compose and manual installation. The repository identifies the project as MIT-licensed and lists SvelteKit, TypeScript, Bun, PostgreSQL, Prisma, Lucia Auth, and OAuth2 in its technology stack. Nah.pet is presented as an alternative to TinyURL, YOURLS, and Shlink.
Who it suits
It suits people who want to run a link-shortening service with custom domains, link controls, and analytics. Developers can use its authenticated API and self-hosting options.
What it does well
- Free and MIT-licensed.
- Supports custom domains and custom slugs.
- Links can be password-protected or set to expire.
- REST API includes bulk operations and data export.
- Self-host with Docker Compose or manual installation.
What to know first
- Self-hosting requires deployment work.
- API authentication uses API keys.
- Registration and public documentation depend on configuration.
Verdict
Nah.pet provides link management, analytics, and an API in a self-hostable project. Its deployment and configuration options make it a fit for users prepared to operate their own service.
Facts from Nah.pet's own pages
- Administration
- The admin system includes manual user approval. · github.com, 13 Oct 2026
- Alternatives
- The repository describes Nah.pet as an alternative to TinyURL, YOURLS, and Shlink. · github.com, 12 Oct 2026
- Analytics
- Analytics include clicks, geolocation, and browser details. · github.com, 13 Oct 2026
- API
- The REST API uses API key authentication and documents link, statistics, bulk operation, and export endpoints. · github.com, 13 Oct 2026
- API access
- Yes · github.com, 23 Sept 2026
- Bulk link creation
- Yes · github.com, 23 Sept 2026
- Custom domains
- Custom domains are isolated from system routes such as /admin and /login. · github.com, 13 Oct 2026
- Custom slugs
- Users can shorten URLs with custom slugs. · github.com, 12 Oct 2026
- Deployment
- The project documents Docker Compose and manual installation using Bun and PostgreSQL. · github.com, 13 Oct 2026
- Intended use
- The repository describes Nah.pet as an alternative to TinyURL, YOURLS, and Shlink. · github.com, 13 Oct 2026
- Languages
- The interface is multilingual, with translations managed using Paraglide JS and Weblate. · github.com, 13 Oct 2026
- License
- The repository identifies the project as MIT licensed. · github.com, 13 Oct 2026
- Link controls
- Links can use custom slugs, require a password, or expire automatically. · github.com, 13 Oct 2026
- Product
- Nah.pet is an open-source URL shortener with custom domains and analytics. · github.com, 13 Oct 2026
- Registration and docs controls
- Configuration options can disable registration and control whether API documentation is public. · github.com, 13 Oct 2026
- Technology
- The listed stack includes SvelteKit, TypeScript, Bun, PostgreSQL, Prisma, Lucia Auth, and OAuth2. · github.com, 12 Oct 2026
Where Nah.pet stands on Freedom251
- URL shorteners#156 of 156