Clone this codebase and run:
npm install
npm run dev
When you host your own ElfBook Chat or run it locally for development, please follow these steps before trying to sign up.
node generateKeys.mjs
Copy full output of the command and paste it in Settings > Environmental Variables in your Covex dashboard.
For more information on how to configure Convex Auth, check out the Convex Auth docs.
Models are synced once per day using cron job. However, after first setup, please sync them manually once to prefill the list.
To do this, run models.syncOpenRouterModels function in your Convex dashboard.
To learn more about developing projects with Convex, check out:
- The Tour of Convex for a thorough introduction to Convex principles.
- The rest of Convex docs to learn about all Convex features.
- Stack for in-depth articles on advanced topics.

