A minimal, fast, database client desktop application. Built for developers who want to quickly peek at their data without the bloat.
Find a file
Rohith Gilla f9a58e76b5
feat/make docs better (#152)
* docs(plan): add docs site revamp design

Root-causes the slow layout transitions on docs.datapeek.dev
(Framer Motion 500ms fade, sidebar tree re-sent per nav, version
lag) and plans phased fix: triage, version bumps, MDX brittleness,
prerender, brand polish, follow-up distinctive design pass.

* docs(plan): add docs site revamp implementation plan

Phased tasks covering Framer Motion / tree-reload removal,
version bumps (Fumadocs 16.7, TanStack 1.168), remark plugins
for resilient MDX parsing, CI types:check gate, prerender, and
typography polish. Validation checklist at the end.

* perf(docs): remove page fade-in and move tree to parent route

Framer Motion wrapper added a 500ms fade on every nav and the
sidebar tree was re-sent and re-transformed per navigation. Move
the tree to a new /docs parent layout route with staleTime:Infinity
and drop the motion wrapper + CSS fade-in on main.

Navigating /docs/* now feels instant.

* chore(docs): bump fumadocs to 16.7 / 14.2 and switch to useContent

fumadocs-ui/core 16.2.1 -> 16.7.x and fumadocs-mdx 14.0.4 -> 14.2.x.
fumadocs-mdx 14.2 tightened ClientLoader typings so getComponent()
returns FC<never> by default. Switch to clientLoader.useContent()
which is the canonical Fumadocs-on-TanStack pattern anyway — cleaner
and handles Suspense internally.

* chore(docs): bump tanstack router/start to 1.168/1.167

Bumps @tanstack/react-router to ^1.168.10, @tanstack/react-start to
^1.167.16, and @tanstack/react-router-devtools to ^1.166.11. Catches
~34 minor versions of hydration, loader, scroll restoration, and
routing fixes. No source changes required - existing createFileRoute,
createServerFn, inputValidator, and createRouter APIs remain compatible.

* fix(docs): harden MDX parsing and add types:check CI gate

Add remark-gfm + remark-smartypants to fumadocs MDX config so
prose containing numeric operators, comparisons, and angle
brackets parses cleanly without author discipline. The workaround
from 60282cd (backtick-wrapping operators) is no longer strictly
needed, though we leave existing wrappers in place.

Add .github/workflows/docs-types.yml that runs pnpm --filter docs
types:check on every PR touching apps/docs. This parses every MDX
file and fails the build if anything regresses — catches the kind
of issue that hit prod in 60282cd.

* docs(plan): capture post-revamp perf baseline and defer prerender

Prerender attempted but blocked by a race between tanstack-start-
plugin-core and nitro@3.0.1-alpha.1 in the preview-server handoff
(fetches the first route before the nitro child process has bound
to its port). Runtime is fine — only the prerender crawl fails.
Documented the deferral in the baseline file.

Baseline measurements taken against the non-prerendered production
build for future regression comparisons.

* style(docs): tighten typography scale and body rhythm

Smaller h1/h2/h3 (1.875/1.25/1.0625 rem) and body line-height 1.6
match the 'dense but scannable' principle in CLAUDE.md and bring
the docs closer to Linear/Raycast density without sacrificing
readability.

* docs(plan): mark docs revamp validation checklist and note follow-ups

Code-level items verified, visual items flagged for human check.
Honest on the LCP number: 7.8s under Lighthouse mobile throttling
does not meet the 1.5s target, though TBT is 0ms and server latency
is ~20ms so perceived perf is far better than the mobile score.
Broken-internal-links check dropped from Phase 2 — noted as
follow-up.

* fix(docs): scope prose link color so landing hero CTA is readable

The global \`a { color: var(--dp-accent) }\` rule was leaking into
\`routes/index.tsx\` and overriding the landing page CTA's inline
\`text-[#0a0a0b]\` class. Because the CTA background is also
var(--dp-accent), the button text was invisible-on-itself.

Scope the rule to \`article a\` so it only styles MDX prose
content (docs pages wrap in <article> via DocsPage; landing uses
<main> via HomeLayout). Sidebar, TOC, and navbar links already
have their own scoped rules and are unaffected.

This bug was pre-existing (introduced in 04268973, 2025-11-30) but
surfaced during the docs revamp visual review.

* fix(docs): resolve type checking errors and commit routeTree.gen.ts
2026-04-10 12:45:08 +05:30
.github feat/make docs better (#152) 2026-04-10 12:45:08 +05:30
apps feat/make docs better (#152) 2026-04-10 12:45:08 +05:30
assets [ImgBot] Optimize images (#106) 2026-04-01 20:52:16 +05:30
docs docs: add local-first Dexie implementation plan 2026-04-06 17:05:56 +05:30
homebrew/Casks Fix brew install command (#122) 2026-04-01 20:52:00 +05:30
notes content: add 6 blog posts for organic SEO and product awareness 2026-03-31 13:28:18 +05:30
packages chore: release v0.19.0 2026-04-07 10:47:58 +05:30
plans feat/make docs better (#152) 2026-04-10 12:45:08 +05:30
seeds feat: add materialized view support and connection duplication (#85) 2025-12-25 10:15:47 +05:30
.gitignore docs: add missing feature pages and untrack marketing content 2026-04-10 08:32:31 +05:30
.impeccable.md Fix case-sensitive table names and cross-database identifier quoting (#126) 2026-04-02 12:13:37 +05:30
.npmrc fix: pin electron version for electron-builder compatibility (#10) 2025-11-30 09:59:47 +05:30
CLAUDE.md Fix case-sensitive table names and cross-database identifier quoting (#126) 2026-04-02 12:13:37 +05:30
CONTRIBUTING.md chore: prepare for open source release 2025-11-29 10:57:24 +05:30
install.ps1 Add install.cat installer scripts and quick install docs (#116) 2026-03-16 19:42:52 +05:30
install.sh Add install.cat installer scripts and quick install docs (#116) 2026-03-16 19:42:52 +05:30
LICENSE feat: update licensing changes 2025-11-29 10:32:14 +05:30
package.json chore: release v0.19.0 2026-04-07 10:47:58 +05:30
pnpm-lock.yaml feat/make docs better (#152) 2026-04-10 12:45:08 +05:30
pnpm-workspace.yaml fix: pin electron version for electron-builder compatibility (#10) 2025-11-30 09:59:47 +05:30
README.md Fix brew install command (#122) 2026-04-01 20:52:00 +05:30
turbo.json feat: add Remotion video app for launch videos (#121) 2026-03-19 13:42:00 +05:30

data-peek

GitHub Downloads (all assets, all releases)

A minimal, fast SQL client desktop application with AI-powered querying. Built for developers who want to quickly peek at their data without the bloat. Supports PostgreSQL, MySQL, Microsoft SQL Server, and SQLite.

Data Peek - SQL Client

Screenshots

AI Assistant - Generate charts and insights AI Assistant Charts
AI Assistant - Natural language to SQL AI Assistant Queries
ER Diagrams - Visualize relationships ER Diagrams
Command Palette - Quick actions Command Palette
Light Mode Light Mode

Features

Core

  • Fast - Opens in under 2 seconds, low memory footprint
  • Multi-Database - PostgreSQL, MySQL, Microsoft SQL Server, SQLite
  • SSH Tunnels - Connect securely through bastion hosts with password or key auth
  • Secure - Connection credentials encrypted locally using OS keychain, no telemetry

AI Assistant

  • Natural Language Queries - Ask questions in plain English, get SQL
  • Multi-Provider - OpenAI, Anthropic, Google, Groq, and local Ollama models (BYOK)
  • Charts & Insights - Generate visualizations and metrics from query results
  • Schema-Aware - AI understands your database structure for accurate queries

Query Editor

  • Monaco Editor - SQL syntax highlighting with smart autocomplete
  • Table Aliases - Autocomplete understands aliases for complex queries
  • Multi-tab & Multi-window - Work with multiple queries and databases simultaneously
  • Saved Queries - Bookmark and organize queries with folders and tags
  • Command Palette - Cmd+K to access everything instantly

Performance Analysis

  • Query Telemetry - Detailed timing breakdown with waterfall visualization
  • Benchmark Mode - Run queries multiple times, get p50/p90/p99 statistics
  • EXPLAIN Viewer - Analyze query plans with interactive node breakdown
  • Performance Indicator - Detect missing indexes, N+1 patterns, and slow queries with auto-generated fix suggestions
  • Cancel Queries - Stop long-running queries mid-execution

Data Management

  • Schema Explorer - Browse tables, views, stored procedures, and functions
  • Inline Editing - Edit table data directly with INSERT/UPDATE/DELETE
  • Table Designer - Create and alter tables with full DDL support (columns, indexes, constraints, partitions)
  • JSON Editor - Dedicated editor for JSON/JSONB columns
  • Export - Export results to CSV, JSON, or Excel
  • CSV Import - Import CSV files with column mapping, type inference, and conflict handling
  • Data Generator - Generate realistic fake data with Faker.js, FK-aware, in a dedicated tab
  • Column Statistics - One-click data profiling per column (min/max/avg, histograms, top values)
  • Data Masking - Blur sensitive columns for demos and screenshots with auto-mask rules

Visualization

  • ERD Diagrams - See table relationships with interactive entity-relationship diagrams
  • Foreign Key Navigation - Jump to related records with one click

Database Monitoring

  • Connection Health Monitor - Dashboard with active queries, table sizes, cache hit ratios, and lock detection
  • PostgreSQL Notifications - Subscribe to LISTEN/NOTIFY channels with real-time event log
  • Kill Queries - Terminate long-running or blocking queries from the health dashboard

User Experience

  • Dark/Light Mode - Easy on the eyes, follows system preference
  • Keyboard-First - Power users shouldn't need a mouse
  • Auto-Updates - Automatic updates with toast notifications

Installation

Quick Install

macOS and Linux

curl -fsSL https://install.cat/Rohithgilla12/data-peek | sh

The installer detects your platform, downloads the latest GitHub release, and installs:

  • macOS: the matching .dmg, copies Data Peek.app, and runs xattr -cr automatically
  • Linux: the latest x86_64.AppImage into ~/.local/bin/data-peek

Windows PowerShell

irm https://install.cat/Rohithgilla12/data-peek | iex

The PowerShell installer downloads the latest setup.exe release and runs it for you.

Alternative Install Methods

macOS: Homebrew

brew install --cask Rohithgilla12/tap/data-peek

Download

Download the latest release for your platform from Releases.

  • macOS: .dmg (Intel & Apple Silicon)
  • Windows: .exe installer
  • Linux: .AppImage, .deb, or .tar.gz

macOS: Code Signing

Starting from v0.4.0, data-peek is code signed and notarized for macOS. You should be able to open it directly without any warnings.

If you install with the quick installer, it already runs the xattr cleanup for you.

If you're using an older version or a manual install and see an "App is damaged" warning:

Option 1: Terminal command

xattr -cr "/Applications/Data Peek.app"

Option 2: Right-click to open

  1. Right-click (or Control+click) on Data Peek.app
  2. Select "Open" from the menu
  3. Click "Open" in the dialog

Linux: Auto-Updates

Auto-updates only work with the AppImage format. If you installed via .deb or .tar.gz, you'll need to manually download new releases from the Releases page.

Format Auto-Update
AppImage Yes
.deb No (manual update)
.tar.gz No (manual update)

For the best experience with automatic updates, we recommend using the AppImage.

Build from Source

# Clone the repository
git clone https://github.com/Rohithgilla12/data-peek.git
cd data-peek

# Install dependencies
pnpm install

# Run in development mode
pnpm dev

# Build for your platform
pnpm build:mac    # macOS
pnpm build:win    # Windows
pnpm build:linux  # Linux

Troubleshooting: Electron not found

If you get errors about Electron not being found after pnpm install:

# Option 1: Run the setup script
pnpm setup:electron

# Option 2: Rebuild native modules
pnpm rebuild

# Option 3: Clean install (nuclear option)
pnpm clean:install

This can happen when pnpm's cache skips Electron's postinstall script that downloads platform-specific binaries.

Tech Stack

Layer Technology
Desktop Electron
Frontend React 19 + TypeScript
UI shadcn/ui + Tailwind CSS
State Zustand
Query Editor Monaco
Database pg (PostgreSQL), mysql2 (MySQL), mssql (SQL Server), better-sqlite3 (SQLite)

Project Structure

apps/
  desktop/     # Electron desktop application
  web/         # Marketing website + licensing
packages/
  shared/      # Shared types for IPC

Development

# Install dependencies
pnpm install

# Start desktop app with hot reload
pnpm dev

# Start web app
pnpm dev:web

# Lint all workspaces
pnpm lint

# Build desktop app
pnpm build

Star History

Star History Chart

Sponsors

Tembo - Goodbye Database Sprawl Tembo - Goodbye Database Sprawl
Tembo — Goodbye Database Sprawl

License

MIT License - see LICENSE for details.

Pre-built binaries require a license for commercial use. See the license file for details on free vs. commercial use.

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines.

Support



Vercel OSS Program