랭킹으로 돌아가기

draftbit/avatar-generator

ReScriptpersonas.draftbit.com

Personas, an avatar generator by Draftbit

avatarspersonasreasonml
스타 성장
스타
1.3k
포크
121
주간 성장
이슈
0
5001k
2018년 10월2021년 5월2023년 12월2026년 7월
README

Personas by Draftbit

A delightful avatar generator by the folks at Draftbit. Try it online at https://personas.draftbit.com

Personas

Contributing

Personas is built with ReScript, React 18, and Vite. You'll need Node 22+ (see .nvmrc) and Yarn 4 (via corepack enable).

  • yarn installs dependencies
  • yarn re:watch starts the ReScript compiler in watch mode
  • yarn dev starts the Vite dev server (run alongside re:watch)
  • yarn build produces a production build in dist/
  • yarn preview serves the production build locally

Deployment

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.

Why

  • We were exploring Reason/Rescript
  • We wanted to put together an inclusive avatar generator for placeholders and profile photos