You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -4,12 +4,19 @@ Desktop app for exporting iMessage chats to [ChatToMap.com](https://chattomap.co
4
4
5
5
## Overview
6
6
7
-
ChatToMap Desktop uses [imessage-exporter](https://github.com/ReagentX/imessage-exporter) to read your iMessage database and export conversations for processing by ChatToMap. The app provides a simple UI for selecting chats and uploading them securely.
7
+
ChatToMap Desktop reads your iMessage database directly and exports conversations for processing by ChatToMap. The app provides a simple UI for selecting chats and uploading them securely.
8
8
9
9
## Requirements
10
10
11
-
-**macOS**: Requires Full Disk Access permission to read `~/Library/Messages/chat.db`
12
-
-**Windows/Linux**: Requires an iTunes backup containing iMessage data
11
+
-**macOS only**: Requires Full Disk Access permission to read `~/Library/Messages/chat.db`
12
+
13
+
## Installation
14
+
15
+
Download the latest release from the [Releases](https://github.com/DocSpring/chat_to_map_desktop/releases) page.
16
+
17
+
On first launch, you'll be prompted to grant Full Disk Access in System Preferences.
18
+
19
+
---
13
20
14
21
## Development
15
22
@@ -27,24 +34,132 @@ bun install
27
34
28
35
# Install git hooks
29
36
task hooks:install
37
+
```
38
+
39
+
### Running the App
40
+
41
+
| Command | Description |
42
+
|---------|-------------|
43
+
|`task dev`| Development mode pointing to **localhost:5173**|
44
+
|`task dev:prod`| Development mode pointing to **chattomap.com**|
45
+
46
+
For local development, use `task dev` which expects the SaaS dev server running at `localhost:5173`.
47
+
48
+
To test against production APIs, use `task dev:prod`.
49
+
50
+
### Building
51
+
52
+
| Command | Description |
53
+
|---------|-------------|
54
+
|`task build`| Production build (points to chattomap.com) |
55
+
|`task build:dev`| Release build pointing to localhost (for testing) |
56
+
57
+
### Testing
58
+
59
+
```bash
60
+
# Run all tests (Rust + TypeScript)
61
+
task test
62
+
63
+
# Run only Rust tests
64
+
task test:rust
65
+
66
+
# Run only TypeScript tests
67
+
task test:ts
30
68
31
-
# Run development server
32
-
task dev
69
+
# Run TypeScript tests in watch mode
70
+
task test:watch
33
71
```
34
72
35
-
### Commands
73
+
### Quality Checks
74
+
75
+
```bash
76
+
# Run ALL checks (required before commits)
77
+
task ci
78
+
```
79
+
80
+
This runs: typecheck, lint, rust-lint, duplication check, file-length check, and all tests.
36
81
37
82
| Command | Description |
38
83
|---------|-------------|
39
-
|`task dev`| Start Tauri development mode |
40
-
|`task build`| Build for production |
41
-
|`task ci`| Run all CI checks (required before commits) |
42
-
|`task lint`| Run Biome linter |
43
-
|`task lint:rust`| Run Clippy (Rust linter) |
44
-
|`task test`| Run all tests |
84
+
|`task lint`| Biome linter (check only) |
85
+
|`task lint:fix`| Biome linter with auto-fix |
86
+
|`task lint:rust`| Clippy (Rust linter) |
45
87
|`task typecheck`| TypeScript type checking |
88
+
|`task duplication`| Check for code duplication |
89
+
|`task file-length`| Check file length limits |
90
+
91
+
### CLI Tool
92
+
93
+
A command-line tool is available for debugging and testing:
0 commit comments