whatisgoingon 1.0.8 → 1.0.9

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 CHANGED
@@ -6,48 +6,86 @@ A beautiful web UI to browse and explore your **Cursor AI** chat history.
6
6
 
7
7
  ## Features
8
8
 
9
- - 📅 **Date-based navigation** - Browse chats by date
9
+ - 📅 **Date-based navigation** - Browse chats by date with conversation counts
10
10
  - 💬 **Conversation viewer** - See full chat content with user/AI messages
11
+ - 📆 **Date separators** - Messages grouped by date with auto-scroll to selected day
11
12
  - ✅ **Multi-select** - Select multiple conversations for export
12
- - 📋 **Summary generation** - Generate markdown summaries of selected chats
13
- - 🔍 **Search** - Find chats across all workspaces
13
+ - 📋 **Summary generation** - Generate markdown summaries with date filtering (Today/Yesterday/All)
14
14
  - 🎨 **Beautiful UI** - Modern dark theme with smooth animations
15
15
 
16
- ## Usage
17
-
18
- ### Quick Start (after publishing to npm)
16
+ ## Quick Start
19
17
 
20
18
  ```bash
21
19
  npx whatisgoingon
22
20
  ```
23
21
 
24
- This will start the server and automatically open your browser.
22
+ This will start the server and automatically open your browser to http://localhost:3456.
23
+
24
+ ## Local Development
25
25
 
26
- ### Local Development
26
+ ### Installation
27
27
 
28
28
  ```bash
29
- # Clone and install
29
+ # Clone the repository
30
30
  git clone <your-repo-url>
31
31
  cd whatshappening
32
+
33
+ # Install dependencies
32
34
  pnpm install
33
35
  cd frontend && pnpm install && cd ..
34
36
 
35
- # Build everything
37
+ # Build native dependencies (required for better-sqlite3)
38
+ cd node_modules/.pnpm/better-sqlite3@*/node_modules/better-sqlite3
39
+ npm run build-release
40
+ cd -
41
+ ```
42
+
43
+ ### Testing Locally (with build - production mode)
44
+
45
+ ```bash
46
+ # Build everything (server + frontend)
36
47
  pnpm build
37
48
 
38
49
  # Start the app
39
50
  pnpm start
51
+ # or
52
+ node bin/cli.js
40
53
  ```
41
54
 
42
- ### Development Mode
55
+ Then open http://localhost:3456 in your browser.
56
+
57
+ ### Testing Locally (without build - development mode)
43
58
 
44
- Run with hot-reload for development:
59
+ For hot-reload during development:
60
+
61
+ ```bash
62
+ # Terminal 1: Start the backend server with auto-reload
63
+ pnpm dev:server
64
+
65
+ # Terminal 2: Start the frontend dev server
66
+ pnpm dev:frontend
67
+ ```
68
+
69
+ Or run both simultaneously:
45
70
 
46
71
  ```bash
47
72
  pnpm dev
48
73
  ```
49
74
 
50
- This runs both the backend (with tsx watch) and frontend (Vite dev server) simultaneously.
75
+ - Backend runs on: http://localhost:3456
76
+ - Frontend dev server runs on: http://localhost:5173 (with API proxy to backend)
77
+
78
+ ### Build Commands
79
+
80
+ | Command | Description |
81
+ |---------|-------------|
82
+ | `pnpm build` | Build both server and frontend |
83
+ | `pnpm build:server` | Build only the TypeScript server |
84
+ | `pnpm build:frontend` | Build only the React frontend |
85
+ | `pnpm start` | Start the production server |
86
+ | `pnpm dev` | Start both servers in dev mode |
87
+ | `pnpm dev:server` | Start backend with hot-reload |
88
+ | `pnpm dev:frontend` | Start frontend with hot-reload |
51
89
 
52
90
  ## How It Works
53
91
 
@@ -67,8 +105,27 @@ All data is processed locally - nothing is sent to any external server.
67
105
 
68
106
  ## Requirements
69
107
 
70
- - Node.js 18+
108
+ - Node.js 18+ (20.19+ or 22.12+ recommended for Vite)
71
109
  - Cursor IDE installed (with some chat history)
110
+ - Build tools for native modules:
111
+ - **macOS**: Xcode Command Line Tools (`xcode-select --install`)
112
+ - **Windows**: Visual Studio Build Tools
113
+ - **Linux**: `build-essential` package
114
+
115
+ ## Troubleshooting
116
+
117
+ ### "No chats found"
118
+
119
+ This usually means Cursor is running and has locked the database files. The app should still work, but you may need to restart Cursor or wait a moment.
120
+
121
+ ### Native module build errors
122
+
123
+ If you get errors about `better-sqlite3` bindings not found:
124
+
125
+ ```bash
126
+ cd node_modules/.pnpm/better-sqlite3@*/node_modules/better-sqlite3
127
+ npm run build-release
128
+ ```
72
129
 
73
130
  ## License
74
131