This product was not featured by Product Hunt yet.
It will not be visible on their landing page and won't be ranked (cannot win product of the day regardless of upvotes).

Product Thumbnail

Named Routes

Turn your pages into typed, named URLs

Open Source
Developer Tools
GitHub
Visit WebsiteSee on Product HuntNpm ⧉Github ⧉

Hunted byElielton Freitas BenacciElielton Freitas Benacci

Generate typed URL helpers from the pages your framework already routes. Discover routes across Next.js, Nuxt, Vue, SvelteKit, Astro, React Router and TanStack Router, with typed parameters, locale-aware URLs and zero runtime dependencies.

Top comment

Hey Product Hunt! 👋

I’m the creator of Triooo Named Routes, an open-source package that generates typed URL helpers from the pages your framework already routes.

The problem I wanted to solve is familiar: the filesystem defines a URL, but application code repeats it in links, redirects and other places. Renaming a parameter or changing a path then means finding those strings and checking them by hand.

With Named Routes, a page like:

app/users/[user]/page.tsx

becomes:

route("users.$user", { user: 42 })

That returns /users/42, with TypeScript checking the route name and parameters.

Version 1 includes Next.js and Vite integrations, adapters for seven framework ecosystems, locale-aware URLs, and a standalone runtime for manually declared routes. The runtime has zero dependencies.

One design choice worth explaining: automatic names follow URL structure. If you move a URL, its inferred name can change, and TypeScript helps identify affected call sites. When you need a stable semantic name such as users.show, you can configure one explicitly.

This is a URL builder: your framework still handles route matching, rendering and navigation. File discovery also has limits—custom paths declared inside page code need an explicit mapping or a manual manifest.

You can get started with:

npm install @triooo/named-routes

I’d love feedback from developers working with file-based routing, especially multilingual apps or projects with unusual route conventions.

What’s the URL-generation edge case you keep having to solve in your projects?

Thanks for taking a look!

Comment highlights

No comment highlights available yet. Please check back later!

About Named Routes on Product Hunt

“Turn your pages into typed, named URLs”

Named Routes was submitted on Product Hunt and earned 0 upvotes and 1 comments, placing #290 on the daily leaderboard. Generate typed URL helpers from the pages your framework already routes. Discover routes across Next.js, Nuxt, Vue, SvelteKit, Astro, React Router and TanStack Router, with typed parameters, locale-aware URLs and zero runtime dependencies.

Named Routes was featured in Open Source (69.1k followers), Developer Tools (523.3k followers) and GitHub (41.5k followers) on Product Hunt. Together, these topics include over 147.9k products, making this a competitive space to launch in.

Who hunted Named Routes?

Named Routes was hunted by Elielton Freitas Benacci. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.

Want to see how Named Routes stacked up against nearby launches in real time? Check out the live launch dashboard for upvote speed charts, proximity comparisons, and more analytics.