Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thesanjeevsharma/dev-to-ai
Unofficial DevTo AI Assistant
https://github.com/thesanjeevsharma/dev-to-ai
ai-assistant cloudflare cloudflare-ai-challenge dev-to
Last synced: about 5 hours ago
JSON representation
Unofficial DevTo AI Assistant
- Host: GitHub
- URL: https://github.com/thesanjeevsharma/dev-to-ai
- Owner: thesanjeevsharma
- Created: 2024-04-10T14:23:42.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-13T11:33:14.000Z (7 months ago)
- Last Synced: 2024-10-12T02:44:05.588Z (27 days ago)
- Topics: ai-assistant, cloudflare, cloudflare-ai-challenge, dev-to
- Language: TypeScript
- Homepage: https://dev-to-ai.pages.dev
- Size: 4.22 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DEV AI
> Unofficial AI app for DEV readers and creators, created as part of [Cloudflare AI x DEV challenge](https://dev.to/challenges/cloudflare).
## Demo
:link: [https://dev-to-ai.pages.dev](https://dev-to-ai.pages.dev)
## Features
The app runs in two modes: `Creator` and `Reader` mode.
1. **Creator mode**: Let's you generate a cover image and action plan for your next article.
![Creator mode](https://dev-to-ai.pages.dev/creator-mode.jpeg)2. **Reader mode**: Let's you summarize and translate an article. It also provides a sentiment analysis of the article.
![Reader mode](https://dev-to-ai.pages.dev/reader-mode.jpeg)## Installation Steps
1. 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//ai/run/@cf
CF_TOKEN=
```Replace `ACCOUNT_ID` and `TOKEN` with the value you get from Cloudflare. Please generate the token with `Workers AI` `read` and `edit` access.
2. Run `npm i`
3. Run `npm run dev` to run the project locally