twitter-bio-generator

所属分类:生物医药技术
开发工具:TypeScript
文件大小:0KB
下载次数:0
上传日期:2023-11-07 10:54:27
上 传 者sh-1993
说明:  twitter生物发生器
(twitter bio generator)

文件列表:
.env.example (16, 2023-11-07)
.vscode/ (0, 2023-11-07)
.vscode/settings.json (41, 2023-11-07)
LICENSE (1103, 2023-11-07)
app/ (0, 2023-11-07)
app/api/ (0, 2023-11-07)
app/api/chat/ (0, 2023-11-07)
app/api/chat/route.ts (1322, 2023-11-07)
app/favicon.ico (15086, 2023-11-07)
app/layout.tsx (715, 2023-11-07)
app/opengraph-image.png (1573497, 2023-11-07)
app/page.tsx (5691, 2023-11-07)
app/twitter-image.png (1573497, 2023-11-07)
components/ (0, 2023-11-07)
components/DropDown.tsx (2629, 2023-11-07)
components/Footer.tsx (2631, 2023-11-07)
components/GitHub.tsx (1005, 2023-11-07)
components/Header.tsx (907, 2023-11-07)
next.config.js (385, 2023-11-07)
package.json (786, 2023-11-07)
pnpm-lock.yaml (35886, 2023-11-07)
postcss.config.js (82, 2023-11-07)
public/ (0, 2023-11-07)
public/1-black.png (1434, 2023-11-07)
public/2-black.png (1692, 2023-11-07)
public/analytics.png (167694, 2023-11-07)
public/screenshot.png (262765, 2023-11-07)
public/vercel.svg (1101, 2023-11-07)
public/vercelLogo.png (43758, 2023-11-07)
public/writingIcon.png (2470, 2023-11-07)
styles/ (0, 2023-11-07)
styles/globals.css (624, 2023-11-07)
tailwind.config.js (358, 2023-11-07)
tsconfig.json (647, 2023-11-07)

# [twitterbio.io](https://www.twitterbio.io/) This project generates Twitter bios for you using AI. [![Twitter Bio Generator](./public/screenshot.png)](https://www.twitterbio.io) ## How it works This project uses the [ChatGPT API](https://openai.com/api/) and the [Vercel AI SDK](https://sdk.vercel.ai/docs) with streaming. It constructs a prompt based on the form and user input, sends it to the ChatGPT API with a Vercel Edge Function, then streams the response back to the application UI. > This template has recently been updated for the AI SDK, simplifying the amount of code needed. I previously published a [video](https://youtu.be/JcE-1xzQTE0) and [blog post](https://vercel.com/blog/gpt-3-app-next-js-vercel-edge-functions) showing the older approach. ## Running Locally After cloning the repo, go to [OpenAI](https://beta.openai.com/account/api-keys) to make an account and put your API key in a file called `.env`. Then, run the application in the command line and it will be available at `http://localhost:3000`. ```bash pnpm run dev ``` ## 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=OPENAI_API_KEY&project-name=twitter-bio-generator&repo-name=twitterbio)

近期下载者

相关文件


收藏者