https://github.com/quackscience/copilot-extension-duckdb
DuckDB Copilot Extension
https://github.com/quackscience/copilot-extension-duckdb
assistant copilot copilot-extension duckdb duckdb-sql
Last synced: 11 months ago
JSON representation
DuckDB Copilot Extension
- Host: GitHub
- URL: https://github.com/quackscience/copilot-extension-duckdb
- Owner: quackscience
- License: mit
- Created: 2024-12-13T20:17:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-14T00:40:39.000Z (11 months ago)
- Last Synced: 2025-04-15T06:05:51.960Z (11 months ago)
- Topics: assistant, copilot, copilot-extension, duckdb, duckdb-sql
- Language: TypeScript
- Homepage:
- Size: 920 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE-OF-CONDUCT.md
Awesome Lists containing this project
README

# DuckDB Copilot Extension
Experimental extension to run DuckDB as a Copilot Extension helper

## Installation
Run the following commands to install and start the application locally
```
npm install
npm run dev
open http://localhost:3000
```
> Follow the `/docs` instructions to [register](https://github.com/quackscience/copilot-extension-duckdb/blob/main/docs/DEVELOPMENT_SETUP.md) your Copilot Extension
## Examples
### Basic Queries
```sql
@duckdb-copilot SELECT 1, 2, 3
```
### Table Persistence
```sql
@duckdb-copilot CREATE TABLE cities (
name VARCHAR,
country VARCHAR
);
```
```sql
@duckdb-copilot INSERT INTO cities
VALUES ('San Francisco', 'US'), ('Amsterdam','NL'), ('Bologna','IT');
```
```sql
@duckdb-copilot SELECT * FROM cities
```
### LLM SQL
```
@duckdb-copilot show all entries from cities
```
```
@duckdb-copilot show the duckdb version
```