{"id":27195993,"url":"https://github.com/moisestech/ai-json-stream","last_synced_at":"2025-08-02T13:09:59.743Z","repository":{"id":182691843,"uuid":"668911266","full_name":"moisestech/ai-json-stream","owner":"moisestech","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-26T13:58:58.000Z","size":150463,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-03T21:37:47.923Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ai-json-stream.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moisestech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-20T22:27:49.000Z","updated_at":"2023-07-20T22:29:08.000Z","dependencies_parsed_at":"2025-04-09T19:48:35.342Z","dependency_job_id":"88790e53-5b32-4e7c-956c-6345bcce2180","html_url":"https://github.com/moisestech/ai-json-stream","commit_stats":null,"previous_names":["moisestech/ai-json-stream"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/moisestech/ai-json-stream","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moisestech%2Fai-json-stream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moisestech%2Fai-json-stream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moisestech%2Fai-json-stream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moisestech%2Fai-json-stream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moisestech","download_url":"https://codeload.github.com/moisestech/ai-json-stream/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moisestech%2Fai-json-stream/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268393973,"owners_count":24243328,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-09T19:48:24.328Z","updated_at":"2025-08-02T13:09:59.719Z","avatar_url":"https://github.com/moisestech.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [twitterbio.io](https://www.twitterbio.io/)\n\nThis project generates Twitter bios for you using AI.\n\n[![Twitter Bio Generator](./public/screenshot.png)](https://www.twitterbio.io)\n\n## How it works\n\nThis 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.\n\n\u003e 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.\n\n## Running Locally\n\nAfter 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`.\n\nThen, run the application in the command line and it will be available at `http://localhost:3000`.\n\n```bash\npnpm run dev\n```\n\n## One-Click Deploy\n\nDeploy the example using [Vercel](https://vercel.com?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=vercel-examples):\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/Nutlope/twitterbio\u0026env=OPENAI_API_KEY\u0026project-name=twitter-bio-generator\u0026repo-name=twitterbio)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoisestech%2Fai-json-stream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoisestech%2Fai-json-stream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoisestech%2Fai-json-stream/lists"}