{"id":28092440,"url":"https://github.com/sandwichlabs/duck-tape","last_synced_at":"2026-03-05T14:03:54.287Z","repository":{"id":244151403,"uuid":"808129001","full_name":"SandwichLabs/duck-tape","owner":"SandwichLabs","description":"A little tool for sql from the cli. Swiss army knife of data scripts, powered by duckdb.","archived":false,"fork":false,"pushed_at":"2025-05-02T13:05:58.000Z","size":92,"stargazers_count":3,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-13T13:15:00.525Z","etag":null,"topics":["cli","postgresql","sql","tools"],"latest_commit_sha":null,"homepage":"https://github.com/SandwichLabs/duck-tape","language":"Go","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/SandwichLabs.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":"2024-05-30T12:48:11.000Z","updated_at":"2025-05-02T13:06:00.000Z","dependencies_parsed_at":"2024-06-29T20:32:45.997Z","dependency_job_id":"454715d3-acea-49c5-9d64-12e103101927","html_url":"https://github.com/SandwichLabs/duck-tape","commit_stats":null,"previous_names":["zorndorff/duck-tape","sandwichlabs/duck-tape"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SandwichLabs%2Fduck-tape","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SandwichLabs%2Fduck-tape/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SandwichLabs%2Fduck-tape/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SandwichLabs%2Fduck-tape/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SandwichLabs","download_url":"https://codeload.github.com/SandwichLabs/duck-tape/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253948503,"owners_count":21988961,"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":["cli","postgresql","sql","tools"],"created_at":"2025-05-13T13:15:11.476Z","updated_at":"2026-03-05T14:03:48.802Z","avatar_url":"https://github.com/SandwichLabs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Duck Tape (dt)\n[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)[![golang ci lint](https://github.com/zorndorff/duck-tape/actions/workflows/lint.dt.yaml/badge.svg)](https://github.com/zorndorff/duck-tape/actions/workflows/lint.dt.yaml)\n\nCurl for databases, give your terminal sql super powers.\n\n\u003e Note This is extremely early in development and is not ready for production use.\n\n## Installation\n\nPrebuilt binaries are available from the [releases page](https://github.com/zorndorff/duck-tape/releases). You can also install the latest version from source using the following command:\n\n```bash\ngit clone git@github.com:SandwichLabs/duck-tape.git\ncd duck-tape\ngo build .\nsudo mv dt /usr/local/bin/\n```\n\n## Usage\n\n```bash\ndt -h # Show help\n\ndt init # Initialize your local dt config file\n\ndt q \"SELECT * FROM 1=1\" # Run a query on the default local db\n\ndt create connection # Follow the interactive prompts to create a new connection\n\ndt query \"SELECT * FROM connection_name.some_table\" -c \u003cconnection_name\u003e # Run a query on a specific connection\n```\n\n## Todo\n\n**Database Support**\n- [x] MySQL\n- [x] Postgres\n- [x] DuckDB\n- [x] SQLite\n\n**File Support**\n- [x] CSV\n- [x] JSON\n- [x] Parquet\n\n**Features**\n- [x] Query Results to JSON\n- [x] Query Results to File - Needs documentation\n- [ ] Query Results to CSV\n- [ ] Save Query aliases to config\n- [ ] Interactive Query Builder?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandwichlabs%2Fduck-tape","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsandwichlabs%2Fduck-tape","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandwichlabs%2Fduck-tape/lists"}