Thanks for taking a look at Morphly. Issues and pull requests are welcome.
- Install Node.js 22.9 or newer.
- Copy
.env.exampleto.env. - Add
CLOUDFLARE_ACCOUNT_IDand a Workers AICLOUDFLARE_API_TOKEN. - Run
npm install, thennpm start. - Open
http://localhost:3000.
ACCESS_PASSWORD, EDITS_PER_DAY, and CF_IMAGE_MODEL are optional. See the
README for what each one does.
- Keep the change focused. One fix or feature per pull request.
- Run
npm startand confirm an edit still works end to end. - Never commit
.env,.env.local, API keys, account IDs, or any file undernode_modules/or.vercel/. The repository ships.env.example, which must stay empty. - Match the existing style: plain ES modules, no build step, no framework.
Open an issue with the photo size, the prompt you used, and the exact error message. Do not paste API keys or personal photos.