datapeek 0.1.11 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -9
- package/dist/cli/chunk-2I4MNNVK.js +628 -0
- package/dist/cli/chunk-4GDQ7VJZ.js +662 -0
- package/dist/cli/chunk-4MIQHH6K.js +47 -0
- package/dist/cli/chunk-6K3WSEIM.js +375 -0
- package/dist/cli/chunk-6PMCDR7J.js +628 -0
- package/dist/cli/chunk-B7K46745.js +605 -0
- package/dist/cli/chunk-CK2O76SG.js +713 -0
- package/dist/cli/chunk-FXOMCTFV.js +696 -0
- package/dist/cli/chunk-G4ID5SFT.js +628 -0
- package/dist/cli/chunk-GCVFEHSZ.js +708 -0
- package/dist/cli/chunk-LGE2JQ3S.js +628 -0
- package/dist/cli/chunk-NDLKLB5A.js +710 -0
- package/dist/cli/chunk-PG6I26XT.js +614 -0
- package/dist/cli/chunk-RK2Q2AX5.js +582 -0
- package/dist/cli/chunk-S5LRCCK6.js +582 -0
- package/dist/cli/chunk-UBFQXPPF.js +701 -0
- package/dist/cli/chunk-X2DQBOP6.js +712 -0
- package/dist/cli/chunk-XRMPVZIS.js +709 -0
- package/dist/cli/chunk-Z5G3UEXN.js +711 -0
- package/dist/cli/chunk-ZMP7S3G6.js +696 -0
- package/dist/cli/db-32TDDTFP.js +28 -0
- package/dist/cli/db-47O74DN5.js +34 -0
- package/dist/cli/db-4U22OWGB.js +29 -0
- package/dist/cli/db-CL72XDNO.js +34 -0
- package/dist/cli/db-CZCZOEID.js +28 -0
- package/dist/cli/db-IX3DXZ2C.js +34 -0
- package/dist/cli/db-LJCRTZTY.js +34 -0
- package/dist/cli/db-LNX4UMRF.js +28 -0
- package/dist/cli/db-NESFXDWL.js +28 -0
- package/dist/cli/db-OIJ2PJK6.js +34 -0
- package/dist/cli/db-OPAF6ZO3.js +28 -0
- package/dist/cli/db-PQURQHSK.js +28 -0
- package/dist/cli/db-QN5MTDYB.js +28 -0
- package/dist/cli/db-RBMUR3OK.js +34 -0
- package/dist/cli/db-REMUYLPP.js +34 -0
- package/dist/cli/db-RTHQ4ZAU.js +28 -0
- package/dist/cli/db-SHFLGGWD.js +28 -0
- package/dist/cli/db-ULMGZXQ5.js +34 -0
- package/dist/cli/db-YOGJ4LXE.js +28 -0
- package/dist/cli/dev.js +449 -374
- package/dist/cli/index.js +452 -376
- package/dist/cli/queryCancellation-4CMKYTFU.js +46 -0
- package/dist/cli/queryCancellation-E5O4FBUY.js +14 -0
- package/dist/client/assets/index-H7ji6dtA.js +385 -0
- package/dist/client/assets/index-TFw4Z1Ky.css +1 -0
- package/dist/client/index.html +2 -2
- package/dist/client/screenshots/dark1.png +0 -0
- package/dist/client/screenshots/dark2.png +0 -0
- package/dist/client/screenshots/light1.png +0 -0
- package/dist/client/screenshots/light2.png +0 -0
- package/dist/server/chunk-26GSUAI4.js +710 -0
- package/dist/server/chunk-36OOXHKI.js +659 -0
- package/dist/server/chunk-3DAIYH42.js +44 -0
- package/dist/server/chunk-4ELMZYWA.js +611 -0
- package/dist/server/chunk-5ESS5YBD.js +707 -0
- package/dist/server/chunk-7HIBWXBL.js +625 -0
- package/dist/server/chunk-BH22Q2FV.js +705 -0
- package/dist/server/chunk-CFU2CLKS.js +693 -0
- package/dist/server/chunk-CXA3HXTK.js +698 -0
- package/dist/server/chunk-DAUUXYQF.js +706 -0
- package/dist/server/chunk-FMSIEQ2T.js +579 -0
- package/dist/server/chunk-G6A463RM.js +625 -0
- package/dist/server/chunk-H6DUOXOK.js +625 -0
- package/dist/server/chunk-JCRZ6H7P.js +579 -0
- package/dist/server/chunk-L6LL3NE7.js +602 -0
- package/dist/server/chunk-TH6TUILG.js +709 -0
- package/dist/server/chunk-UJ2LRK25.js +373 -0
- package/dist/server/chunk-YI67PW64.js +625 -0
- package/dist/server/chunk-ZDZ2C5ZQ.js +693 -0
- package/dist/server/chunk-ZJOVVCPT.js +708 -0
- package/dist/server/db-22DQ6YG7.js +32 -0
- package/dist/server/db-3CBO6RHU.js +26 -0
- package/dist/server/db-3XN2KWYT.js +32 -0
- package/dist/server/db-3Y6K4EDP.js +26 -0
- package/dist/server/db-57HXNWPD.js +26 -0
- package/dist/server/db-5GCTDKYH.js +27 -0
- package/dist/server/db-5VQOTJ52.js +26 -0
- package/dist/server/db-B5L7VQ7E.js +32 -0
- package/dist/server/db-CJPCGHL3.js +32 -0
- package/dist/server/db-DAQ4BVCU.js +32 -0
- package/dist/server/db-EEA6EWHL.js +26 -0
- package/dist/server/db-KR7Z5M5V.js +32 -0
- package/dist/server/db-LMSBISDM.js +26 -0
- package/dist/server/db-LSOQE7N7.js +32 -0
- package/dist/server/db-NHBP6YLH.js +26 -0
- package/dist/server/db-OWVJVBBD.js +26 -0
- package/dist/server/db-TTVXKX7P.js +26 -0
- package/dist/server/db-YJ753EQV.js +26 -0
- package/dist/server/db-ZV6GZHFU.js +32 -0
- package/dist/server/dev.js +449 -374
- package/dist/server/index.js +449 -374
- package/dist/server/queryCancellation-M56DISJX.js +43 -0
- package/dist/server/queryCancellation-T2HSNMIV.js +12 -0
- package/package.json +3 -1
- package/dist/client/assets/index-CPoX5Biw.css +0 -1
- package/dist/client/assets/index-KtK9Gzwi.js +0 -375
package/README.md
CHANGED
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
<img src="https://raw.githubusercontent.com/bishoymly/datapeek/main/public/assets/logo.png" alt="Datapeek Logo" width="200" />
|
|
2
2
|
|
|
3
|
-
**A modern, local SQL database browser for
|
|
3
|
+
**A modern, local SQL database browser for SQL Server and PostgreSQL databases.**
|
|
4
4
|
|
|
5
|
-
Datapeek provides an intuitive web-based interface to browse, query, and explore your SQL Server databases directly from your terminal.
|
|
5
|
+
Datapeek provides an intuitive web-based interface to browse, query, and explore your SQL Server and PostgreSQL databases directly from your terminal.
|
|
6
|
+
|
|
7
|
+
## Screenshots
|
|
8
|
+
|
|
9
|
+
### Light Mode
|
|
10
|
+

|
|
11
|
+

|
|
12
|
+
|
|
13
|
+
### Dark Mode
|
|
14
|
+

|
|
15
|
+

|
|
6
16
|
|
|
7
17
|
## Quick Start
|
|
8
18
|
|
|
@@ -10,10 +20,16 @@ Datapeek provides an intuitive web-based interface to browse, query, and explore
|
|
|
10
20
|
|
|
11
21
|
Run Datapeek with your connection string directly:
|
|
12
22
|
|
|
23
|
+
**SQL Server:**
|
|
13
24
|
```bash
|
|
14
25
|
npx datapeek "Server=localhost;Database=MyDB;User Id=sa;Password=password;"
|
|
15
26
|
```
|
|
16
27
|
|
|
28
|
+
**PostgreSQL:**
|
|
29
|
+
```bash
|
|
30
|
+
npx datapeek "postgresql://user:password@localhost:5432/mydb"
|
|
31
|
+
```
|
|
32
|
+
|
|
17
33
|
This will automatically connect and open your browser to the Datapeek interface.
|
|
18
34
|
|
|
19
35
|
### Option 2: Without Connection String
|
|
@@ -28,15 +44,19 @@ A connection dialog will open in your browser where you can enter your database
|
|
|
28
44
|
|
|
29
45
|
## Features
|
|
30
46
|
|
|
31
|
-
- 🗄️ **
|
|
32
|
-
- 📊 **
|
|
33
|
-
-
|
|
34
|
-
-
|
|
47
|
+
- 🗄️ **Multi-Database Support** - Works with both SQL Server and PostgreSQL
|
|
48
|
+
- 📊 **Browse Tables** - Explore database schemas and tables with an intuitive sidebar
|
|
49
|
+
- 📋 **View Data** - Paginated table views with Excel-like cell selection and copy
|
|
50
|
+
- 🔍 **Search & Filter** - Quickly find tables and data with advanced filtering
|
|
51
|
+
- 📝 **SQL Editor** - Write and execute queries with syntax highlighting and query history
|
|
52
|
+
- 🔗 **Foreign Key Navigation** - View related data with foreign key displays
|
|
53
|
+
- 📦 **JSON Support** - View and explore JSON objects with expandable formatting
|
|
35
54
|
- ⭐ **Favorites** - Bookmark frequently used tables
|
|
36
|
-
- 💾 **Connection History** - Recent connections are remembered
|
|
55
|
+
- 💾 **Connection History** - Recent connections are remembered per database
|
|
37
56
|
- 🎨 **Modern UI** - Clean, responsive interface
|
|
38
57
|
- 🌓 **Dark Mode** - Built-in theme toggle
|
|
39
58
|
- 📋 **Copy to Excel** - Select cells and copy with headers (Ctrl+C)
|
|
59
|
+
- ⏱️ **Query Cancellation** - Cancel long-running queries (30-minute timeout)
|
|
40
60
|
|
|
41
61
|
## Installation (Optional)
|
|
42
62
|
|
|
@@ -48,10 +68,16 @@ npm install -g datapeek
|
|
|
48
68
|
|
|
49
69
|
Then run it directly:
|
|
50
70
|
|
|
71
|
+
**SQL Server:**
|
|
51
72
|
```bash
|
|
52
73
|
datapeek "Server=localhost;Database=MyDB;User Id=sa;Password=password;"
|
|
53
74
|
```
|
|
54
75
|
|
|
76
|
+
**PostgreSQL:**
|
|
77
|
+
```bash
|
|
78
|
+
datapeek "postgresql://user:password@localhost:5432/mydb"
|
|
79
|
+
```
|
|
80
|
+
|
|
55
81
|
## Development
|
|
56
82
|
|
|
57
83
|
For developers who want to contribute or customize Datapeek:
|
|
@@ -67,9 +93,12 @@ npm install
|
|
|
67
93
|
# Run development server (opens browser automatically)
|
|
68
94
|
npm run dev
|
|
69
95
|
|
|
70
|
-
# Run with connection string
|
|
96
|
+
# Run with connection string (SQL Server)
|
|
71
97
|
CONNECTION_STRING="Server=localhost;Database=MyDB;User Id=sa;Password=password;" npm run dev
|
|
72
98
|
|
|
99
|
+
# Run with connection string (PostgreSQL)
|
|
100
|
+
CONNECTION_STRING="postgresql://user:password@localhost:5432/mydb" npm run dev
|
|
101
|
+
|
|
73
102
|
# Build for production
|
|
74
103
|
npm run build
|
|
75
104
|
```
|
|
@@ -77,7 +106,7 @@ npm run build
|
|
|
77
106
|
## Requirements
|
|
78
107
|
|
|
79
108
|
- Node.js 18 or higher
|
|
80
|
-
-
|
|
109
|
+
- SQL Server database (local or remote) **OR** PostgreSQL database (local or remote)
|
|
81
110
|
|
|
82
111
|
## License
|
|
83
112
|
|