News for hackers. Stuff that matters.
Re:Show HN: I made an open-source Bitly alternative by medv on Thursday September 22, 2022 @11:18AM (#32940082)
Here’s mine: https://xn--gda.at
Re:Show HN: I made an open-source Bitly alternative by steventey on Thursday September 22, 2022 @11:21AM (#32940131)
Funny thing – I actually had to do some regex validation for domain submissions from users and this was one of the edge cases I had to account for haha

Here's the regex that I ended up with: https://github.com/steven-tey/dub/blob/main/lib/utils.ts#L12...

Re:Show HN: I made an open-source Bitly alternative by medv on Thursday September 22, 2022 @11:19AM (#32940094)
Apparently HN replaces ï.at to xn-
Re:Show HN: I made an open-source Bitly alternative by briandoesdev on Thursday September 22, 2022 @11:24AM (#32940189)
Didn't think they'd handle punycode like that.
Re:Show HN: I made an open-source Bitly alternative by dicknuckle on Thursday September 22, 2022 @11:28AM (#32940248)
xn-- for me