datapeek

Datapeek Logo

A modern, local SQL database browser for MS SQL Server databases.

Datapeek provides an intuitive web-based interface to browse, query, and explore your SQL Server databases directly from your terminal.

Quick Start

Run Datapeek with your connection string directly:

npx datapeek "Server=localhost;Database=MyDB;User Id=sa;Password=password;"

This will automatically connect and open your browser to the Datapeek interface.

Option 2: Without Connection String

Run Datapeek without arguments to use the interactive connection dialog:

npx datapeek

A connection dialog will open in your browser where you can enter your database connection details.

Features

Installation (Optional)

If you use Datapeek frequently, you can install it globally:

npm install -g datapeek

Then run it directly:

datapeek "Server=localhost;Database=MyDB;User Id=sa;Password=password;"

Development

For developers who want to contribute or customize Datapeek:

# Clone the repository
git clone https://github.com/bishoymly/datapeek.git
cd datapeek

# Install dependencies
npm install

# Run development server (opens browser automatically)
npm run dev

# Run with connection string
CONNECTION_STRING="Server=localhost;Database=MyDB;User Id=sa;Password=password;" npm run dev

# Build for production
npm run build

Requirements

License

MIT