Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ apps/desktop/src-tauri/binaries/

desktop-ui.md
apps/desktop/public/reference-mark.png

# Local Arch package artifacts
/packaging/arch/*.pkg.tar.zst
/packaging/arch/*.tar.gz
/packaging/arch/pkg/
/packaging/arch/src/
89 changes: 81 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ members = [
]

[workspace.package]
version = "0.1.5"
version = "0.1.6"
edition = "2024"
license = "AGPL-3.0-or-later"
publish = false
Expand All @@ -31,13 +31,15 @@ mindcanary-client = { path = "crates/client" }
mindcanary-protocol = { path = "crates/protocol" }
mindcanary-storage = { path = "crates/storage" }
mindcanary-test-support = { path = "crates/test-support" }
rusqlite = { version = "0.39.0", default-features = false, features = ["bundled-sqlcipher-vendored-openssl"] }
rusqlite = { version = "0.39.0", default-features = false, features = ["bundled-sqlcipher"] }
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
tempfile = "3.20.0"
thiserror = "2.0.12"
tokio = { version = "1.45.1", features = ["io-util", "macros", "net", "rt-multi-thread", "signal", "sync", "time"] }
uuid = { version = "1.16.0", features = ["serde", "v7"] }
wayland-client = "0.31.14"
wayland-protocols = { version = "0.32.13", features = ["client", "staging"] }
zeroize = { version = "1.8.1", features = ["zeroize_derive"] }
zbus = { version = "=5.5.0", default-features = false, features = ["tokio"] }

Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ browser and operating-system connectors are optional.
- daily history with explicit missing data;
- descriptive comparisons against sustained windows of personal history;
- optional aggregate browser signals such as tab switching and open-tab counts;
- optional GNOME/X11 active and idle time;
- optional GNOME/X11 or KDE Plasma/Wayland active and idle time;
- encrypted local storage with the database key held by the OS keyring;
- readable export, encrypted backup and restore, per-signal deletion, and
complete app-owned local removal;
Expand All @@ -39,9 +39,11 @@ creates and moves an export or backup. See the [privacy policy](docs/privacy-pol
The packaged alpha currently targets Pop!_OS, Ubuntu, and similar Debian-based
Linux systems. Download the `.deb` and its checksum from the latest GitHub
prerelease, then follow the [Linux alpha install guide](docs/alpha-install.md).
For local Arch/CachyOS dogfooding, use the maintained
[Arch installation path](docs/arch-install.md).

The Chrome extension is optional and its ordinary-user store installation is
not part of this alpha.
Browser extensions are optional. Ordinary-user Chrome Web Store and Mozilla
Add-ons installation are not part of this alpha yet.

## Development

Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mindcanary/desktop",
"version": "0.1.5",
"version": "0.1.6",
"license": "AGPL-3.0-or-later",
"private": true,
"type": "module",
Expand Down
6 changes: 3 additions & 3 deletions apps/desktop/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/desktop/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mindcanary-desktop"
version = "0.1.5"
version = "0.1.6"
edition = "2024"
license = "AGPL-3.0-or-later"
publish = false
Expand Down
31 changes: 31 additions & 0 deletions apps/desktop/src-tauri/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,37 @@ pub async fn collection_settings() -> Result<ProtocolResponse, String> {
.map_err(local_service_error)
}

#[tauri::command]
pub async fn browser_connections() -> Result<ProtocolResponse, String> {
client()
.browser_connections()
.await
.map_err(local_service_error)
}

#[tauri::command]
pub async fn set_browser_connection_label(
source_instance_id: uuid::Uuid,
label: String,
) -> Result<ProtocolResponse, String> {
client()
.set_browser_connection_label(source_instance_id, label)
.await
.map_err(local_service_error)
}

#[tauri::command]
pub async fn set_browser_signal_collection(
source_instance_id: uuid::Uuid,
signal: SignalId,
enabled: bool,
) -> Result<ProtocolResponse, String> {
client()
.set_browser_signal_collection(source_instance_id, signal, enabled)
.await
.map_err(local_service_error)
}

#[tauri::command]
pub async fn platform_capabilities() -> Result<ProtocolResponse, String> {
client()
Expand Down
3 changes: 3 additions & 0 deletions apps/desktop/src-tauri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ pub fn run() {
commands::daily_rhythm_insights,
commands::daily_timeline,
commands::collection_settings,
commands::browser_connections,
commands::set_browser_connection_label,
commands::set_browser_signal_collection,
commands::platform_capabilities,
commands::set_signal_collection,
commands::prepare_delete_signal_records,
Expand Down
5 changes: 3 additions & 2 deletions apps/desktop/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "mindcanary",
"version": "0.1.5",
"version": "0.1.6",
"identifier": "app.mindcanary.desktop",
"build": {
"beforeDevCommand": "pnpm dev",
Expand All @@ -10,10 +10,11 @@
"frontendDist": "../dist"
},
"app": {
"enableGTKAppId": true,
"windows": [
{
"label": "main",
"title": "mindcanary 0.1.5",
"title": "mindcanary 0.1.6",
"width": 1180,
"height": 820,
"minWidth": 860,
Expand Down
Loading
Loading