haxurn/better-waitlist ? reverse-engineered prompt
Reverse engineered prompt
Build me a Better Auth plugin for a waitlist system.
I want people to be able to join a waitlist with their email, check their status, and see their place in line if that’s enabled. On the admin side, I need tools to list entries, see basic stats, approve or reject people, send invites to approved users, and mark someone as complete once they finish signing up.
Please make it work on both the server and client side, with clean TypeScript types and a simple API that feels native to Better Auth. It should support options like turning the waitlist on or off, limiting how many entries can join, requiring admin access for private actions, and optional callbacks when someone joins, gets approved, gets rejected, or completes. Add the database table and make sure the schema is ready for migrations too.
If anything is unclear, look up the current Better Auth docs online and match the project style.
Are you gonna build this?
make sure you review the code using coderabbit