https://github.com/wes/duckbake
Store, query, and analyze your data locally with DuckDB and AI conversation. No cloud required. Your data never leaves your device.
https://github.com/wes/duckbake
duckdb llm local ollama oss rust sql tauri
Last synced: 3 months ago
JSON representation
Store, query, and analyze your data locally with DuckDB and AI conversation. No cloud required. Your data never leaves your device.
- Host: GitHub
- URL: https://github.com/wes/duckbake
- Owner: wes
- Created: 2025-12-30T09:12:36.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2026-01-09T04:14:59.000Z (3 months ago)
- Last Synced: 2026-01-13T19:43:41.699Z (3 months ago)
- Topics: duckdb, llm, local, ollama, oss, rust, sql, tauri
- Language: TypeScript
- Homepage: https://duckbake.com
- Size: 48.3 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
DuckBake
A desktop app for local data analysis powered by DuckDB and AI.
Query your data with SQL or natural language—everything stays on your Mac.
## Features
- **DuckDB-Powered Analytics** - Lightning-fast analytical queries on local data. Handle millions of rows with ease.
- **AI Chat Interface** - Ask questions in plain English and get SQL queries generated instantly via Ollama.
- **100% Private** - Your data never leaves your device. No cloud, no accounts, no data collection.
- **Import Anything** - CSV, JSON, Excel, and Parquet files. Drag and drop to create queryable tables.
- **SQL Editor** - Full-featured editor with syntax highlighting for writing and running queries.
- **Native macOS App** - Built with Tauri for a small footprint and native performance.
## Screenshots
SQL Editor with syntax highlighting and autocomplete
Chat with your data using natural language
## Requirements
- macOS 13.0 or later
- [Ollama](https://ollama.ai) (optional, for AI features)
## Installation
[Download the latest release](https://github.com/wes/duckbake/releases/latest/download/DuckBake-macOS.dmg) or browse all releases on the [Releases page](https://github.com/wes/duckbake/releases).
The DMG includes a universal binary that runs natively on both Intel and Apple Silicon Macs.
## Development
### Prerequisites
- [Bun](https://bun.sh) (latest)
- [Rust](https://rustup.rs) (stable)
- Xcode Command Line Tools
### Setup
```bash
# Clone the repository
git clone https://github.com/wes/duckbake.git
cd duckbake
# Install dependencies
bun install
# Run in development mode
bun tauri dev
```
### Build
```bash
# Build for current architecture
bun run release
# Build universal macOS binary (Intel + Apple Silicon)
bun run release:mac
```
## Tech Stack
**Frontend**
- React 19
- TypeScript
- Tailwind CSS 4
- Vite
- CodeMirror (SQL editor)
- Recharts (visualizations)
- Zustand (state management)
**Backend**
- Rust
- Tauri 2
- DuckDB
- Tokio (async runtime)
**AI**
- Ollama (local LLM inference)
## Project Structure
```
duckbake/
├── src/ # React frontend
│ ├── components/ # UI components
│ ├── pages/ # App pages
│ ├── stores/ # Zustand stores
│ └── types/ # TypeScript types
├── src-tauri/ # Rust backend
│ └── src/
│ ├── commands/ # Tauri commands
│ ├── models/ # Data models
│ └── services/ # Business logic
└── website/ # Marketing website
```
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## License
MIT