{"id":13457246,"url":"https://github.com/all-in-aigc/gpts-works","last_synced_at":"2025-05-14T15:09:50.515Z","repository":{"id":207004989,"uuid":"718210168","full_name":"all-in-aigc/gpts-works","owner":"all-in-aigc","description":"A Third-party GPTs store","archived":false,"fork":false,"pushed_at":"2025-03-27T01:05:15.000Z","size":3533,"stargazers_count":1595,"open_issues_count":3,"forks_count":322,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-15T08:45:47.593Z","etag":null,"topics":["chatgpt","gpts","gptstore"],"latest_commit_sha":null,"homepage":"https://gpts.works","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/all-in-aigc.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,"zenodo":null}},"created_at":"2023-11-13T16:00:44.000Z","updated_at":"2025-04-12T11:38:30.000Z","dependencies_parsed_at":"2023-11-23T05:47:08.950Z","dependency_job_id":"9c1feef3-246a-4e8d-a8f2-05cadc171242","html_url":"https://github.com/all-in-aigc/gpts-works","commit_stats":null,"previous_names":["all-in-aigc/gpts-works"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/all-in-aigc%2Fgpts-works","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/all-in-aigc%2Fgpts-works/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/all-in-aigc%2Fgpts-works/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/all-in-aigc%2Fgpts-works/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/all-in-aigc","download_url":"https://codeload.github.com/all-in-aigc/gpts-works/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254170047,"owners_count":22026219,"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":["chatgpt","gpts","gptstore"],"created_at":"2024-07-31T08:01:37.044Z","updated_at":"2025-05-14T15:09:50.462Z","avatar_url":"https://github.com/all-in-aigc.png","language":"TypeScript","funding_links":["https://www.buymeacoffee.com/idoubi"],"categories":["TypeScript","UIs","Others","A01_文本生成_文本对话"],"sub_categories":["Browser extensions","大语言对话模型及数据"],"readme":"# GPTs Works\n\nGPTs Works is a Third-party GPTs store.\n\n## Introduction\n\nThis project consists of the following three parts👇\n\n1. Website\n\ncode located in the `web` directory.\n\nyou can view a live demo at: [https://gpts.works](https://gpts.works)\n\n![Website](https://ph-files.imgix.net/45d5eb41-849f-415b-91da-079b6e32946e.png?auto=compress\u0026codec=mozjpeg\u0026cs=strip\u0026auto=format\u0026fit=max\u0026dpr=2)\n\n2. Index System\n\ncode located in the `index` directory.\n\nindex system is used for searching GPTs with vector.\n\nthere is a GPTs built with index system: [https://chat.openai.com/g/g-EBKM6RsBl-gpts-works](https://chat.openai.com/g/g-EBKM6RsBl-gpts-works)\n\n![GPTs](https://ph-files.imgix.net/f12174a9-085c-42d0-8f0d-06013cd17c7b.png?auto=compress\u0026codec=mozjpeg\u0026cs=strip\u0026auto=format\u0026fit=max\u0026dpr=2)\n\n3. Browser Extension\n\ncode located in the `extension` directory.\n\nbrowser extension is used to show Third-party GPTs beside ChatGPT Explore page.\n\n![Extension](https://ph-files.imgix.net/e43df90d-f55f-4dee-b121-5051710397bd.png?auto=compress\u0026codec=mozjpeg\u0026cs=strip\u0026auto=format\u0026fit=max\u0026dpr=2)\n\n## Dependencies\n\n- [Vercel](https://vercel.com/): used for deploying website\n- [Vercel Storage Postgres](https://vercel.com/docs/storage/vercel-postgres): used for storing data.\n- [Zilliz Cloud](https://cloud.zilliz.com/): used for vector storing and searching\n\n## Deploy with Vercel\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fall-in-aigc%2Fgpts-works\u0026env=POSTGRES_URL,INDEX_API_BASE_URI,INDEX_API_KEY\u0026envDescription=Create%20your%20Vercel%20Postgres%20DB%20firstly%20before%20set%20POSTGRES_URL%20value.\u0026envLink=https%3A%2F%2Fgithub.com%2Fall-in-aigc%2Fgpts-works%3Ftab%3Dreadme-ov-file%23dependencies\u0026project-name=my-gpts-works\u0026repository-name=my-gpts-works\u0026redirect-url=https%3A%2F%2Fgpts.works\u0026demo-title=GPTs%20Works\u0026demo-description=A%20Third-party%20GPTs%20Store.\u0026demo-url=https%3A%2F%2Fgpts.works\u0026demo-image=https%3A%2F%2Fgpts.works%2Flogo.png)\n\n## Local development\n\n### Clone project\n\n```shell\ngit clone https://github.com/all-in-aigc/gpts-works.git path-to-project\n```\n\n### Prepare data\n\n1. create table in your postgres database with sql:\n\n```sql\nCREATE TABLE gpts (\n    id SERIAL PRIMARY KEY,\n    uuid VARCHAR(255) UNIQUE NOT NULL,\n    org_id VARCHAR(255),\n    name VARCHAR(255),\n    description TEXT,\n    avatar_url TEXT,\n    short_url VARCHAR(255),\n    author_id VARCHAR(255),\n    author_name VARCHAR(255),\n    created_at timestamptz,\n    updated_at timestamptz,\n    detail JSON,\n    index_updated_at INT NOT NULL DEFAULT 0\n);\n```\n\n2. insert your own GPTs data into your postgres database\n\n### Start with Website\n\n1. locate a .env file in dir `path-to-project/web` with content:\n\n```\nPOSTGRES_URL=\"postgres://default:xxx@xxx.postgres.vercel-storage.com/verceldb\"\n\nINDEX_API_BASE_URI=\"http://127.0.0.1:8068\"\nINDEX_API_KEY=\"gsk-xxx\"\n```\n\n2. install dependencies\n\n```shell\npnpm install\n```\n\n3. start web server\n\n```\nmake dev\n```\n\n4. preview website\n\nopen `http://localhost:8067` \n\n### Start with Index System\n\n1. locate a .env file in `path-to-project/index` with content\n\n```\nDATABASE_URL=postgres://default:xxx@xxx.postgres.vercel-storage.com:5432/verceldb\n\nAZURE_API_KEY=xxx  \nAZURE_API_BASE=https://xxx.openai.azure.com/\nAZURE_API_VERSION=2023-07-01-preview\nAZURE_LLM_MODEL=gpt-35-turbo-16k\nAZURE_EMBED_MODEL=text-embedding-ada-002\n\nSTORE_TYPE=zilliz\nSTORE_URI=https://xxx.zillizcloud.com\nSTORE_TOKEN=xxx\nSTORE_DIM=1536\nSTORE_COLLECTION=gpts\n\nINDEX_API_KEY=gsk-xxx\n```\n\n2. install dependencies\n\n```shell\npip install -r requirements.txt\n```\n\n3. start api server\n\n```\nmake dev\n```\n\n4. build index for gpts data\n\n```\ncurl -X POST -H \"Authorization: Bearer gsk-xxx\" http://127.0.0.1:8068/gpts/index \n```\n\n5. search gpts from index\n\n```\ncurl -X POST -H \"Authorization: Bearer gsk-xxx\" -H \"Content-Type: application/json\" -d '{\"question\": \"What GPTs are used for coding?\"}' http://127.0.0.1:8068/gpts/index \n```\n\n### Start with Extension\n\ngoto `path-to-project/extension`\n\n1. install dependencies\n\n```\npnpm install\n```\n\n2. start server\n\n```\nmake dev\n```\n\n3. debug extension\n\nopen `chrome://extensions/`, click `Load unpacked`\n\n## Thanks to\n\n- [GPTs Hunter](https://www.gptshunter.com) for sharing gpts-data \n- [next.js](https://github.com/vercel/next.js) for web deployment\n- [fastapi](https://github.com/tiangolo/fastapi) for building index system\n- [plasmo](https://github.com/PlasmoHQ/plasmo) for browser extension development\n\n\u003e if this project is helpful to you, buy me a coffee😄\n\n\u003ca href=\"https://www.buymeacoffee.com/idoubi\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/default-orange.png\" alt=\"Buy Me A Coffee\" height=\"41\" width=\"174\"\u003e\u003c/a\u003e\n\n## Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=all-in-aigc/gpts-works\u0026type=Date)](https://star-history.com/#all-in-aigc/gpts-works\u0026Date)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fall-in-aigc%2Fgpts-works","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fall-in-aigc%2Fgpts-works","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fall-in-aigc%2Fgpts-works/lists"}