{"id":13427991,"url":"https://github.com/simonw/datasette-chatgpt-plugin","last_synced_at":"2025-04-13T11:51:49.589Z","repository":{"id":147013630,"uuid":"618260446","full_name":"simonw/datasette-chatgpt-plugin","owner":"simonw","description":"A Datasette plugin that turns a Datasette instance into a ChatGPT plugin","archived":false,"fork":false,"pushed_at":"2024-02-28T03:16:01.000Z","size":21,"stargazers_count":63,"open_issues_count":5,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-05-01T23:17:22.709Z","etag":null,"topics":["chatgpt","chatgpt-plugin","datasette","datasette-plugin"],"latest_commit_sha":null,"homepage":"https://datasette.io/plugins/datasette-chatgpt-plugin","language":"Python","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/simonw.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-03-24T04:46:24.000Z","updated_at":"2024-07-31T03:01:02.639Z","dependencies_parsed_at":"2024-01-08T01:44:44.717Z","dependency_job_id":"4c917f3f-661e-441b-b78c-a2d253738953","html_url":"https://github.com/simonw/datasette-chatgpt-plugin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"simonw/datasette-plugin-template-repository","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fdatasette-chatgpt-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fdatasette-chatgpt-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fdatasette-chatgpt-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonw%2Fdatasette-chatgpt-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonw","download_url":"https://codeload.github.com/simonw/datasette-chatgpt-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248710438,"owners_count":21149188,"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","chatgpt-plugin","datasette","datasette-plugin"],"created_at":"2024-07-31T01:00:44.014Z","updated_at":"2025-04-13T11:51:49.567Z","avatar_url":"https://github.com/simonw.png","language":"Python","funding_links":[],"categories":["Plugins:","Developer","Uncategorized","Python"],"sub_categories":["note: for unverified plugins, please enter website domains","Uncategorized"],"readme":"# datasette-chatgpt-plugin\n\n[![PyPI](https://img.shields.io/pypi/v/datasette-chatgpt-plugin.svg)](https://pypi.org/project/datasette-chatgpt-plugin/)\n[![Changelog](https://img.shields.io/github/v/release/simonw/datasette-chatgpt-plugin?include_prereleases\u0026label=changelog)](https://github.com/simonw/datasette-chatgpt-plugin/releases)\n[![Tests](https://github.com/simonw/datasette-chatgpt-plugin/workflows/Test/badge.svg)](https://github.com/simonw/datasette-chatgpt-plugin/actions?query=workflow%3ATest)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/simonw/datasette-chatgpt-plugin/blob/main/LICENSE)\n\nA Datasette plugin that turns a Datasette instance into a ChatGPT plugin - so you can use ChatGPT to ask questions of your data.\n\nFor more on this project, see [Building a ChatGPT plugin to ask questions of data hosted in Datasette](https://simonwillison.net/2023/Mar/24/datasette-chatgpt-plugin/).\n\n⚠️ **Warning**: ChatGPT can still hallucinate results using this plugin! See [this issue](https://github.com/simonw/datasette-chatgpt-plugin/issues/2) for more details of this problem.\n\n## Installation\n\nInstall this plugin in the same environment as Datasette, on a deployed instance.\n\n    datasette install datasette-chatgpt-plugin\n\nOr if you are using `datasette publish` to deploy Datasette:\n\n    datasette publish cloudrun/vercel/fly/heroku data.db \\\n      --install datasette-chatgpt-plugin\n\n## Usage\n\nOnce installed, your Datasette instance will work with the new [ChatGPT plugins](https://openai.com/blog/chatgpt-plugins) system - provided you have access to that preview.\n\nClick `Plugins -\u003e Plugin store -\u003e Install an unverified plugin` and enter the URL of your Datasette instance.\n\nIf this doesn't work, try `Develop my own plugin -\u003e My manifest is ready` instead and then paste in your URL.\n\nChatGPT will discover the plugin by hitting the `/.well-known/ai-plugin.json` endpoint.\n\nYou can then ask it questions! Some starting examples:\n\n- Show a list of tables (this is always good to start with as it ensures ChatGPT knows which tables are available)\n- Show the first 10 rows of the `mytable` table\n\nThis plugin currently exposes a single database - the first database attached to your instance.\n\n## Development\n\nTo set up this plugin locally, first checkout the code. Then create a new virtual environment:\n\n    cd datasette-chatgpt-plugin\n    python3 -m venv venv\n    source venv/bin/activate\n\nNow install the dependencies and test dependencies:\n\n    pip install -e '.[test]'\n\nTo run the tests:\n\n    pytest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonw%2Fdatasette-chatgpt-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonw%2Fdatasette-chatgpt-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonw%2Fdatasette-chatgpt-plugin/lists"}