Unofficial AI app for DEV readers and creators, created as part of Cloudflare AI x DEV challenge.
The app runs in two modes: Creator
and Reader
mode.
-
Creator mode: Let's you generate a cover image and action plan for your next article.
-
Reader mode: Let's you summarize and translate an article. It also provides a sentiment analysis of the article.
- Make sure you have the required env variables set from
.env.example
file.
NEXT_APP_DEV_TO_API=https://dev.to/api/articles
CF_WORKER_AI=https://api.cloudflare.com/client/v4/accounts/<ACCOUNT_ID>/ai/run/@cf
CF_TOKEN=<TOKEN>
Replace ACCOUNT_ID
and TOKEN
with the value you get from Cloudflare. Please generate the token with Workers AI
read
and edit
access.
- Run
npm i
- Run
npm run dev
to run the project locally