https://github.com/abdtriedcoding/twitterbio-ai
Generate your next Twitter bio using AI in seconds! 🤖✨
https://github.com/abdtriedcoding/twitterbio-ai
anthropic artificial-intelligence claude-ai gemini gemini-api nextjs reacthookform reactjs shadcn-ui tailwindcss typescript vercel-ai-sdk
Last synced: 3 months ago
JSON representation
Generate your next Twitter bio using AI in seconds! 🤖✨
- Host: GitHub
- URL: https://github.com/abdtriedcoding/twitterbio-ai
- Owner: abdtriedcoding
- Created: 2024-04-20T12:03:10.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-08T19:34:21.000Z (11 months ago)
- Last Synced: 2024-08-08T21:36:43.744Z (11 months ago)
- Topics: anthropic, artificial-intelligence, claude-ai, gemini, gemini-api, nextjs, reacthookform, reactjs, shadcn-ui, tailwindcss, typescript, vercel-ai-sdk
- Language: TypeScript
- Homepage: https://twitterbios.vercel.app
- Size: 1.81 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
twitterbio
Generate your next Twitter bio using AI in seconds! 🤖✨

Key Features:
- Generate Twitter bio using AI ✨
- Use of Google Gemini AI 🤖
- Use of Vercel AI SDK 🚀
- Rate limiting feature using Upstash ⏳## How it works
This project uses both [Vercel AI Sdk](https://sdk.vercel.ai) and [Gemini AI](https://ai.google.dev/gemini-api) to generate Twitter bios. It constructs a prompt based on the form and user input, sends it to the Google Gemini API, where vercel ai sdk helps in the streams the response back to the application.
### Prerequisites
**Node version 20.x.x**
## Running Locally
1. Clone the repository.
2. Create an account at [https://ai.google.dev/gemini-api](https://ai.google.dev/gemini-api) and add your API key under `GOOGLE_API_KEY` in your `.env`.
3. Make account at upstash and add your API key under `UPSTASH_REDIS_REST_URL` and `UPSTASH_REDIS_REST_TOKEN` in your `.env`.
4. Run npm install to install dependencies.
5. Run the application with `npm run dev` and it will be available at `http://localhost:3000`.