News for hackers. Stuff that matters.
Re:Show HN: I made a small site to share text & files. Free,... by MarsB on Friday September 12, 2025 @05:35PM (#45227046)
I've been giving this some thought... While I definitely agree with you, adding the extra route seems more "future-proof". And it's not like the urls are rememberable anyway... But it might be worth just making the whole link much much shorter over all. I'll think about this!
Re:Show HN: I made a small site to share text & files. Free,... by chrisstanchak on Friday September 12, 2025 @07:07PM (#45227776)
The $0.01 solution is to use /d/
Re:Show HN: I made a small site to share text & files. Free,... by msephton on Friday September 12, 2025 @07:54PM (#45228054)
Or /y/ for dumpty
Re:Show HN: I made a small site to share text & files. Free,... by nomel on Friday September 12, 2025 @08:19PM (#45228183)
> And it's not like the urls are rememberable anyway

They're what everyone sees, when a link is shared. It's a fundamental part of the user experience, for a service like this. As stupid as it is, I would be a bit embarrassed to share a link with "dump" in it. Dump.ty is fine/great.

> adding the extra route seems more "future-proof".

I'd claim this is a separate issue. "routing" isn't real, after all, it's just string matching. Most/all routers have regex match options that might take some ns longer. You're free to do whatever you want in the future, trivially so if you make sure whatever future path doesn't look like an ID.

Re:Show HN: I made a small site to share text & files. Free,... by MarsB on Saturday September 13, 2025 @07:13AM (#45231159)
I liked your points, I updated the link structure. :)