Discussion

Ask HN: IDs that are URL-friendly and fairly short?

I am looking for a way (or best practices) on fairly short IDs that are also URL friendly.

In a few past projects I've used UUID v4s with a custom encoding to shorten them down to 26 characters. But those IDs were still fairly long.

I found this topic surprisingly difficult to google for. Any pointers or opinions very welcome.

7 points tosh 6 years ago 9 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton