npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@kyytzy09/dbstudio

v0.2.0

Published

Zero-configuration Database Web Studio CLI for Postgres, MySQL, SQLite, and MongoDB

Readme

DBStudio ⚡

npm version License: MIT Go Version SvelteKit

Zero-configuration Database Web Studio CLI for PostgreSQL, MySQL, and SQLite.

DBStudio is a lightweight, ultra-fast local database studio powered by a Go backend and a SvelteKit single-page web interface. It automatically scans your local project workspace for existing database configurations (.env, docker-compose.yml, connections.json) and instantly launches a sleek local web interface for browsing, querying, and altering your database.


✨ Features

  • 🔍 Zero-Config Auto-Scanner: Detects database connection strings from .env or docker-compose.yml automatically in your current working directory.
  • 🧙 Charm TUI Terminal Engine: Built with Charm libraries (lipgloss, huh, log). Enjoy a clean, beautiful terminal banner, calm output, and intuitive interactive forms.
  • 🕸️ Interactive 2D ER Diagram Viewer: Visualize table relationships with drag-and-drop table nodes, smooth SVG Bezier curve connectors, pan/zoom canvas controls, and automatic layout persistence.
  • 🛠️ Visual Schema Alteration & Table Creator: Design new tables and add columns visually with Primary Key badges, Auto-Increment toggles, and relational Foreign Key dropdown pickers.
  • Lazy Connection & Instant Startup: Launches in under 3 seconds! Physical database connections are lazily established only when the Web UI triggers HTTP requests.
  • 📊 Dynamic Data Grid: Browse records with fast client-side sorting, column filtering, pagination, and instant CSV/JSON exports.
  • ✏️ Full Data CRUD: Add, edit, and delete database rows effortlessly with explicit PK/FK indicators powered by Shadcn UI.
  • 📥 Drag-and-Drop Bulk Data Import: Upload CSV or JSON files via drag-and-drop zones with selectable Insert Only or Upsert modes.
  • 🛡️ Raw SQL Editor & Safety Guard (HTTP 428): CodeMirror 6 SQL editor with syntax highlighting, autocomplete, and a built-in safety guard interceptor that blocks destructive queries (DROP, DELETE, TRUNCATE, ALTER) until explicitly confirmed.
  • 🎨 Type UI Sleek Dark & Light Mode: Modern, ultra-premium UI styled in Soft Charcoal Dark Mode (#0F1115) and Soft Light Mode (#FCFCFC).

💻 Quickstart

1. Instant Run via npx (No Installation Required)

Navigate to any project directory containing a .env or docker-compose.yml file and run:

npx @kyytzy09/dbstudio

2. Global Installation via npm

npm install -g @kyytzy09/dbstudio
dbstudio

🕹️ CLI Commands

# Auto-detect database credentials in cwd & launch Web Studio
dbstudio

# Launch the interactive Charm CLI wizard to manually add or select database connections
dbstudio connect

# Run diagnostic health-checks on configured databases
dbstudio doctor

# Display DBStudio build version information
dbstudio version

# Enable debug logging output
dbstudio --verbose

🤝 Open Source & Contributing

DBStudio is 100% Open Source! Whether you are a database enthusiast, Go developer, or frontend hacker who loves clean tools, contributions are warmly welcomed! 💙

How You Can Help:

  • 🐛 Report Issues & Bugs: Found a bug or edge case? Open an issue on GitHub.
  • 💡 Suggest Features: Have an idea for Redis support, AI query assistance, or new UI themes? Start a discussion!
  • 🔀 Submit Pull Requests: Feel free to pick up open tasks, improve docs, or add test coverage.

Local Development Setup:

# Clone the repository
git clone https://github.com/KyyTzy09/db-studio.git
cd db-studio

# Install web dependencies
cd web && bun install && cd ..

# Build Web UI & compile Go binary locally
npm run build

# Run the compiled binary
./bin/dbstudio

🚀 Automated CI/CD Deployment

DBStudio utilizes GitHub Actions to automatically build cross-platform binaries (Windows, Linux, macOS ARM64/x64) and publish to the NPM Registry whenever a release tag is pushed:

git tag -a v0.1.0 -m "Release v0.1.0"
git push origin v0.1.0

Note for Maintainers: Ensure NPM_TOKEN is set in your GitHub repository secrets (Settings -> Secrets and variables -> Actions).


📄 License

Distributed under the MIT License. Created with ❤️ by KyyTzy09.

See LICENSE for more information.