HNHacker News
TopNewBestAskShowJobs

yhprum

4 karma · joined November 22, 2024

submissionscomments
yhprum··on Zod 4
This is a feature of Fumadocs that the site uses!

[1] https://fumadocs.dev/

yhprum··on Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript
I loved Lucia just because it gives you control over absolutely everything you want to do, but I'm starting to like the bits of magic that com with Better Auth - namely things like email verification, password resets, and rate limiting were thing I was planning to implement but dreaded having to code everything whereas they come built-in or as simple plugins for Better Auth.
yhprum··on Zod 4
Does arktype not come with a larger bundle size than zod? That was the reason I was shying away from it at the moment, especially with the bundle size reductions with zod 4 as well

[1] https://www.reddit.com/r/typescript/comments/1i3ogwi/announc...

yhprum··on Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript
Hey I just converted my 0-user project from Lucia to Better Auth, and I had a few notes.

Better Auth is great - it just works, but there were a few quirks I had to face, like how it handles everything for you using the auth client instead of giving you helper functions to use to handle login/register requests and make it customizable on the server side

The migration was very easy, since I had no users to worry about, I was able to drop my users and sessions table and use the Better Auth cli to generate a migration with all the tables I could need. Even with some initial problems I had with the auth client and having to restructure my login errors to handle what the auth client returns, I'm happy with my migration, and it opens up a whole host of plugins and features I can easily integrate in the future

yhprum··on Show HN: A Marble Madness-inspired WebGL game we built for Netlify
My competitive side got the better of me and spent too long playing this :|

3 minutes 33 seconds after ~10 attempts

routing is definitely fun, I enjoyed figuring out which bounce pads to take

---

3:20 after some more tries, I think sub 3 is possible

3:14 even with the game glitching me into the abyss on the last level :(