{"id":13643233,"url":"https://github.com/builderio/gpt-assistant","last_synced_at":"2025-04-21T01:32:09.649Z","repository":{"id":153186374,"uuid":"625732969","full_name":"BuilderIO/gpt-assistant","owner":"BuilderIO","description":"An experiment to give an autonomous GPT agent access to a browser and have it accomplish tasks","archived":false,"fork":false,"pushed_at":"2023-04-26T18:14:09.000Z","size":201,"stargazers_count":517,"open_issues_count":7,"forks_count":60,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-04-04T00:34:56.670Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BuilderIO.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-04-10T01:36:12.000Z","updated_at":"2025-03-12T22:54:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"5f315baa-b8c2-49cd-bf86-a22dde7aae46","html_url":"https://github.com/BuilderIO/gpt-assistant","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BuilderIO%2Fgpt-assistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BuilderIO%2Fgpt-assistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BuilderIO%2Fgpt-assistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BuilderIO%2Fgpt-assistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BuilderIO","download_url":"https://codeload.github.com/BuilderIO/gpt-assistant/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249982583,"owners_count":21355725,"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","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":"2024-08-02T01:01:44.281Z","updated_at":"2025-04-21T01:32:09.166Z","avatar_url":"https://github.com/BuilderIO.png","language":"TypeScript","funding_links":[],"categories":["Browser-extensions"],"sub_categories":[],"readme":"# GPT Assistant\n\nAn experiment to give an autonomous GPT agent access to a browser and have it accomplish tasks.\n\nBuilt with [Qwik](https://qwik.builder.io/) and [Puppeteer](https://github.com/puppeteer/puppeteer).\n\nYou can see it in action below in these two video examples, with a description of how it works:\n\n## Examples\n\n| \"go to the qwik repo readme and add 'steve is awesome'\"                                                                           |\n| --------------------------------------------------------------------------------------------------------------------------------- |\n| \u003cimg alt=\"Gif example\" src=\"https://user-images.githubusercontent.com/844291/231930927-da19c100-cd4c-47e7-9cd9-5a8d66cbbf82.gif\"\u003e |\n\n| \"Book me a table for 3 at 8pm for indian food\"                                                                                    | \"What dog breed is best for me\"                                                                                                      |\n| --------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |\n| \u003cimg alt=\"Gif example\" src=\"https://user-images.githubusercontent.com/844291/231897086-241a03df-3f7d-4d85-8eca-aeb3643cd314.gif\"\u003e | \u003cimg alt=\"Gif example 2\" src=\"https://user-images.githubusercontent.com/844291/231894320-68de1fa0-b5a8-418a-9018-a50318c5980b.gif\" \u003e |\n\n## Setup\n\n### Requirements\n\n- Node.js 14+\n- [OpenAI API key](#add-your-openai-api-key)\n- [Postgres database](#add-a-postgres-database-url)\n- Access to GPT-4\n\n### Clone the repo\n\n```bash\ngit clone https://github.com/BuilderIO/gpt-assistant.git\ncd gpt-assistant\n```\n\n### Install dependencies\n\n```bash\nnpm install\n```\n\n### Create a `.env` file\n\nCopy the `.env.example` file to `.env`\n\n```bash\ncp .env.template .env\n```\n\n### Add your OpenAI API key\n\nRetrieve your API key from [OpenAI](https://platform.openai.com/account/api-keys) and add it to the `.env` file as `OPENAI_KEY`\n\n\u003e Note: If you haven't already, you'll have to create an account and set up billing.\n\n```diff\n+ OPENAI_KEY=sk-...\n```\n\n### Add a Postgres database URL\n\nIn `.env` add a Postgres database URL it as `DATABASE_URL`. YOu can easily set one up with [supabase](https://supabase.io/) if needed.\n\n```diff\n+ DATABASE_URL=postgres://user:password@host:port/database\n```\n\n### Generate the tables\n\nYou can [prisma migrate](https://www.prisma.io/docs/getting-started/setup-prisma/start-from-scratch/relational-databases/using-prisma-migrate-typescript-postgres) to generate the tables in your database.\n\n```bash\nnpx prisma migrate dev --name init\n```\n\n## Run\n\n```bash\n# Run the dev server\nnpm run dev\n```\n\nNow, go enter a prompt for the assistant, and let it run!\n\n## Contributing\n\nIf you want to help fix a bug or implement a feature, don't hesitate to send a pull request!\n\nJust know that these are the very early days of this project, documentation is sparse, and the code is a bit messy. We're working on it!\n\n## Community\n\nCome join the [Builder.io discord](https://discord.gg/EMx6e58xnw) and chat with us over in the `#gpt-assistant` channel\n\n\u003cbr\u003e\u003cbr\u003e\n\n\u003cp align=\"center\"\u003e\n   \u003ca href=\"https://www.builder.io/m/developers\"\u003e\n      \u003cpicture\u003e\n         \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://user-images.githubusercontent.com/844291/230786554-eb225eeb-2f6b-4286-b8c2-535b1131744a.png\"\u003e\n         \u003cimg width=\"250\" alt=\"Made with love by Builder.io\" src=\"https://user-images.githubusercontent.com/844291/230786555-a58479e4-75f3-4222-a6eb-74c5af953eac.png\"\u003e\n       \u003c/picture\u003e\n   \u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuilderio%2Fgpt-assistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuilderio%2Fgpt-assistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuilderio%2Fgpt-assistant/lists"}