Open-source project
Rohithgilla12/data-peek avatar
Rohithgilla12/data-peek

data-peek: a keyboard-first Electron SQL client where Postgres gets the deepest tooling and ClickHouse is still beta

A minimal, fast, database client desktop application. Built for developers who want to quickly peek at their data without the bloat.

1,685 stars125 forksTypeScriptLicense varies

At a glance

What is it?
Rohithgilla12/data-peek is a desktop SQL client for PostgreSQL, MySQL, SQL Server, SQLite and ClickHouse (beta). It is local-only by design, with encrypted credentials, no account and no telemetry, and several of its best features work on PostgreSQL alone.
Who is it for?
Pick data-peek if you query PostgreSQL daily, want a fast keyboard-driven desktop client with query plans and live result watching, and are comfortable keeping everything on one machine. Be careful if your main engine is MySQL, SQL Server or ClickHouse, where several features are listed only for PostgreSQL or marked beta.
Can I use it commercially?
Check first. The repository uses a licence we do not classify automatically, so read its LICENSE file before any commercial use.
Is it still maintained?
Yes. The repository last received commits 2 days ago.
What is it written in?
Mainly TypeScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • Rohithgilla12/data-peek1,685 ★ · +12
Star history
Repository2026-09-112026-11-25
Rohithgilla12/data-peek1.7k1.7k

12 Stars in the last 75 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

Five engines are supported, but the deepest features are written for PostgreSQL

The README describes a fast, keyboard-first SQL client for PostgreSQL, MySQL, SQL Server, SQLite and ClickHouse, and ClickHouse is labelled beta. Reading the feature lists closely shows the weighting. The EXPLAIN ANALYZE viewer with an interactive plan tree is listed on PostgreSQL. Manual transactions while stepping through multi-statement scripts are listed on PostgreSQL. LISTEN and NOTIFY with a live event log, and the PostgreSQL .sql dump import, are PostgreSQL features by their names.

ClickHouse has its own lines: performance analysis that flags reads skipping few granules and summarizes past runs from system.query_log. If you work mainly in MySQL or SQL Server, expect the editor, results grid and schema explorer, but do not assume the plan tree or the listener features exist for you. Test the specific feature you depend on against your own engine.

Installation is a pipe-to-shell one-liner, a Homebrew cask or a direct download

On macOS and Linux the quick installer is curl -fsSL https://install.cat/Rohithgilla12/data-peek piped into sh. On Windows PowerShell it is irm https://install.cat/Rohithgilla12/data-peek piped into iex. On macOS you can use Homebrew:

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

Or take a build from Releases: a .dmg for macOS, signed and notarised, an .exe for Windows, and .AppImage, .deb or .tar.gz for Linux. Piping a remote script into a shell is a trust decision, so the cask or a direct download from Releases is the more cautious route.

The platform notes carry details. The quick installer installs the matching .dmg and clears the quarantine flag. If an older manual macOS install says the app is damaged, run xattr -cr "/Applications/Data Peek.app". On Linux, the AppImage and the .deb update themselves, while .tar.gz installs need a manual download for every release. The AppImage lands at ~/.local/bin/data-peek, and the .deb installs to /opt/data-peek with an AppArmor profile that Ubuntu 24.04+ needs for Electron's sandbox.

The doctor command runs eight Postgres schema checks without installing the app

A terminal route exists for people who do not want the desktop client. Eight Postgres schema checks run through npx, and each finding comes with the SQL that fixes it:

bash
npx @data-peek/cli doctor postgres://user:pass@localhost:5432/app
npx @data-peek/cli doctor "$DATABASE_URL" --fail-on warning   # fail CI on warnings

The checks find tables without a primary key, foreign keys without an index, duplicate indexes, unused indexes, invalid indexes, bloat, never-vacuumed tables and nullable foreign keys. They are the same checks as Schema Intel in the app. The second form with --fail-on warning is meant for continuous integration, where a warning fails the build. The first form puts the password on the command line, while the second reads the URL from an environment variable. The command is Postgres only, so it does not help with the other four engines.

Watch Mode re-runs read-only queries and refuses anything that writes

Watch Mode pins a SELECT, re-runs it at an interval between 500 ms and 5 minutes and highlights the cells that changed. The README states that it refuses to poll anything that writes. That guard matters, because a polling loop attached to an UPDATE statement would repeat the write on every tick.

Time Machine is the companion for past results. It snapshots results locally so you can scrub back and diff any two runs, using the shortcut Cmd/Ctrl+Shift+H. Because the snapshots are local, the history exists only on the machine where you ran the queries. Scheduled queries can run on a cron with run history and desktop notifications, and dashboards can be built from your queries with charts, KPIs and tables.

Inline edits show the generated statement before you commit

In the results grid you can edit data inline, and the client previews the generated INSERT, UPDATE or DELETE before the change is committed. That preview is the safety net for a tool that lets you change rows directly in a result set.

Other result features include smart filters and sorting without re-running the query, foreign key navigation, a JSON and JSONB editor, and one-click column statistics. Results export to CSV, JSON, SQL INSERT statements or Markdown, or can be shared as an image. Imports cover CSV with column mapping and type inference and PostgreSQL .sql dumps, and an FK-aware fake data generator fills tables. Data masking blurs sensitive columns for demos and screenshots, which hides the values on screen but is a display setting, not a change to the stored data.

The MCP server lets agents read freely, but every write waits for your approval

The README advertises an MCP server for agents with an asymmetric rule: agents can read freely, and every write waits for your approval. That is a deliberate brake on automation, so an agent connected to your database cannot change rows on its own.

The in-app AI assistant is a separate feature that turns plain English into SQL and builds charts from results. Plan for the approval step in any agent workflow. If a task needs forty writes, you approve forty writes, or you do the bulk changes yourself in the editor, where the inline edit preview and step-through of multi-statement scripts apply.

Local only means credentials in the OS keychain and no way to sync between machines

The README makes four promises under local and private: credentials are encrypted with your OS keychain, and there is no telemetry, no account and no cloud sync. It also claims the app opens in about two seconds and stays light on memory, with no splash screens or project setup. Those speed figures are the author's own statement.

The cost of no account and no cloud sync is that saved queries, snippets, notebooks and Time Machine snapshots do not follow you to a second computer by themselves. The features list saved queries with folders and tags, reusable snippets and SQL notebooks that mix SQL cells with Markdown, all of which would stay local. Moving between machines means exporting and importing by hand.

Version 0.36.0 shipped on 2 November 2026, and the project is still before 1.0

Recent releases are v0.36.0, titled Safer Explain and ClickHouse performance analysis, on 2 November 2026, v0.35.0 with ClickHouse column stats and query killing on 15 October 2026, and v0.34.0 covering sequences, ClickHouse autocomplete and SQL Server index checks on 9 October 2026. The last push was on 2 November 2026, and the repository is not archived.

The repository is a pnpm and Turbo monorepo with apps, packages, docs and seeds folders, and its scripts build the desktop app for Windows, macOS and Linux and rebuild better-sqlite3 for Electron. The license field is reported as NOASSERTION, and a LICENSE.md file sits at the root, so read that file for the actual terms. Three releases in under a month are a sign of quick iteration, and also of a version number that has not reached 1.0.

Editorial conclusion

Pick data-peek if you query PostgreSQL daily, want a fast keyboard-driven desktop client with query plans and live result watching, and are comfortable keeping everything on one machine. Be careful if your main engine is MySQL, SQL Server or ClickHouse, where several features are listed only for PostgreSQL or marked beta. Check the LICENSE.md file yourself before commercial use, because GitHub reports no recognized license identifier.

Frequently asked questions

Which databases does data-peek support?

data-peek supports PostgreSQL, MySQL, SQL Server, SQLite and ClickHouse, with ClickHouse labelled beta. Some features, such as the EXPLAIN ANALYZE plan viewer, are listed for PostgreSQL.

Does data-peek send my data or credentials to the cloud?

The README says credentials are encrypted with your OS keychain, and that there is no telemetry, no account and no cloud sync.

How do I run data-peek's Postgres checks without installing the app?

Run npx @data-peek/cli doctor with a Postgres connection URL. It performs eight schema checks and prints the SQL that fixes each finding. Add --fail-on warning to fail a CI job on warnings.

Official sources

  1. Issues
  2. Project website
  3. README
  4. Releases
  5. Rohithgilla12/data-peek on GitHub
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/rohithgilla12-data-peek.svg)](https://hysenlabs.com/projects/rohithgilla12-data-peek)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/rohithgilla12-data-peek.svg)](https://hysenlabs.com/projects/rohithgilla12-data-peek)

Was this useful?