A delightful avatar generator by the folks at Draftbit. Try it online at https://personas.draftbit.com
Personas is built with ReScript, React 18, and Vite. You'll need Node 22+ (see .nvmrc) and Yarn 4 (via corepack enable).
yarninstalls dependenciesyarn re:watchstarts the ReScript compiler in watch modeyarn devstarts the Vite dev server (run alongsidere:watch)yarn buildproduces a production build indist/yarn previewserves the production build locally
The site deploys to Cloudflare Workers as a static-assets Worker. Pushes to master deploy automatically via GitHub Actions (.github/workflows/deploy.yml), which requires the CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID repo secrets. You can also deploy manually with yarn deploy.
- We were exploring Reason/Rescript
- We wanted to put together an inclusive avatar generator for placeholders and profile photos