Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Nutlope/twitterbio
Generate your Twitter bio with AI
https://github.com/Nutlope/twitterbio
Last synced: 9 days ago
JSON representation
Generate your Twitter bio with AI
- Host: GitHub
- URL: https://github.com/Nutlope/twitterbio
- Owner: Nutlope
- License: mit
- Created: 2023-01-16T19:38:15.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-23T05:11:29.000Z (16 days ago)
- Last Synced: 2024-10-29T15:34:20.041Z (10 days ago)
- Language: TypeScript
- Homepage: https://www.twitterbio.io
- Size: 2.34 MB
- Stars: 1,679
- Watchers: 15
- Forks: 469
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-chatgpt - twitterbio - Generate your Twitter bio. (Web apps / Self-hosted)
- chatgpt-awesome - twitterbio
- awesome-chatgpt - twitterbio - Generate your Twitter bio. (Web apps / Self-hosted)
- awesome-gpt - twitterbio
README
# [twitterbio.io](https://www.twitterbio.io/)
This project generates Twitter (X) bios for you using Together AI.
[![Twitter Bio Generator](./public/screenshot.png)](https://www.twitterbio.io)
## How it works
This project uses both [Mixtral 8x7B](https://api.together.xyz/playground/chat/mistralai/Mixtral-8x7B-Instruct-v0.1) and [Llama 3.1 8B](https://api.together.xyz/playground/chat/meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo) with streaming to generate a Twitter bio. It constructs a prompt based on the form and user input, sends it either to the [Together.ai](https://www.together.ai/) API, then streams the response back to the application.
If you'd like to see how I built an older version of this app with GPT 3.5, check out the [video](https://youtu.be/JcE-1xzQTE0) or [blog post](https://vercel.com/blog/gpt-3-app-next-js-vercel-edge-functions).
## Running Locally
1. Create a `.env` file, make an account at [Together.ai](https://www.together.ai/), and add your API key under `TOGETHER_API_KEY`
2. Run the application with `npm run dev` and it will be available at `http://localhost:3000`.## One-Click Deploy
Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=vercel-examples):
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/Nutlope/twitterbio&env=TOGETHER_API_KEY&project-name=twitter-bio-generator&repo-name=twitterbio)