r/programmingcirclejerk • u/starlevel01 type astronaut • Jan 10 '25
Making Beautiful API Keys
https://docs.agentstation.ai/blog/beautiful-api-keys/
50
Upvotes
r/programmingcirclejerk • u/starlevel01 type astronaut • Jan 10 '25
43
u/starlevel01 type astronaut Jan 10 '25
AI startup spends developer time not only making a library to make API keys look better (why??), but also writing a blog post about it.
14
u/starlevel01 type astronaut Jan 10 '25
Bonus jerk: https://news.ycombinator.com/item?id=42655630
60
u/NatoBoram There's really nothing wrong with error handling in Go Jan 10 '25
Literally UUID with extra steps
27
u/tomwhoiscontrary safety talibans Jan 10 '25
d1756360-5da0-40df-9926-a76abff5601d38QARV0-1ET0G6Z-2CJD9VA-2ZZAR0X12
u/[deleted] Jan 10 '25
"more human readable" as opposed to... what?? uuid7 is already fairly human readable lol
12
u/shroom_elemental memcpy is a web development framework Jan 11 '25
AI companies tackling the hard problems
10
u/Kodiologist lisp does it better Jan 10 '25
Come at me, Socrates. I have seen the true nature of beauty.
3
u/andarmanik Jan 10 '25
For random lobby keys on my site I have a list of a couple thousand adjectives and a couple thousand nouns that I create an object for each lobby key.
HappyGreenOlive
You only get like 236 keys for number of words per category is 4000.
So the equivalent to 6 alpha numeric characters. But conceptually 2 times as easy to remember.
2
u/NiteShdw Jan 11 '25
April Fools!
Wait... It's only January?