Nutlope / twitterbio

Generate your Twitter bio with Mixtral and GPT-3.5.

Home Page:https://www.twitterbio.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project generates Twitter (X) bios for you using AI.

Twitter Bio Generator

How it works

This project uses both Mixtral and GPT-3.5 with streaming to generate a Twitter bio. It constructs a prompt based on the form and user input, sends it either to the Mixtral API through Together.ai or the GPT-3.5 API through OpenAI, then streams the response back to the application.

If you'd like to see how I built the GPT-3.5 version of this, check out the video or blog post.

Running Locally

  1. Create an account at OpenAI and add your API key under OPENAI_API_KEY in your .env
  2. Create an account at Together.ai and add your API key under TOGETHER_API_KEY
  3. Run the application with npm run dev and it will be available at http://localhost:3000.

One-Click Deploy

Deploy the example using Vercel:

Deploy with Vercel

About

Generate your Twitter bio with Mixtral and GPT-3.5.

https://www.twitterbio.io

License:MIT License


Languages

Language:TypeScript 92.1%Language:CSS 4.4%Language:JavaScript 3.5%