Long links are annoying. Shortyy fixes that.
Create short links in seconds. Use the dashboard, our TypeScript SDK or the REST API. Your choice. Fast redirects, no monthly creation caps, and codes that never get recycled.
Built the way developers actually want it
Fastify on Node, sub-15ms Redis lookups, Supabase persistence, and automatic code tombstones.
High-Performance Redirect Engine
Redirects resolve directly from Upstash Redis memory caches. The hot path skips heavy database lookups entirely, keeping response times under 15 milliseconds.
Official TypeScript SDK
Install @g/shortyy and start shortening. Built on native fetch with full TypeScript types, auto-retries, and zero extra dependencies.
Cryptographic API Keys
Keys start with sh_live_ and use SHA-256 database hashing. We reveal raw keys once when you generate them, then verify digests in microseconds.
Permanent Tombstones & Archival Safety
When a short link expires or gets deleted, its code is retired permanently into the reserved_codes registry. We never recycle codes, so your old links will never point to someone else.
Integrate in three lines of code
Whether you are shortening links in Next.js Server Actions or generating dynamic links in microservices, Shortyy fits right in.
Get an API Key
Create a scoped token in your Shortyy dashboard with the exact read/write permissions you need.
Install the SDK
pnpm add @g/shortyy
Shorten with Expiration
Generate short links with custom durations, idempotency keys, and instant redirection.
import { createShortyy } from "@g/shortyy";
const shortyy = createShortyy({
apiKey: process.env.SHORTYY_API_KEY!,
defaultExpiresIn: "2h",
});
const link = await shortyy.links.create({
url: "https://example.com/promotions",
});
console.log(link.shortUrl); // http://localhost:4000/xK9d2pQWhy Shortyy is different
Traditional shorteners charge you per link creation. We charge for infrastructure throughput, extended storage, and custom domains.
No Monthly Creation Quotas
Create unlimited links. Rate limits govern request bursts rather than an artificial monthly counter.
Token-Bucket Fair Use
Continuous token refills with account-wide protection. No sudden midnight cliff-edge lockouts.
Zero Link Recycling
Once an alias or short code is used, it is retired forever. Old links never point to someone else.
Immutable Destinations
Destination URLs cannot be swapped after creation, eliminating phishing redirect vulnerabilities.
Powered by world-class open-source engineering