Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.
Rust acpagent-client-protocolai-agentsai-assistantclaudeclaude-codecodexcoding-agentscursorgeminigemini-cligrok-bot-alternativeiosiphonelinuxmacosmcpopen-sourcerustself-hosted
feat: record the approximate location with usage analytics
leepokai1a8da2a57c9c
diff --git a/apps/ios/Kit/Sources/CodyncKit/Analytics/Analytics.swift b/apps/ios/Kit/Sources/CodyncKit/Analytics/Analytics.swiftindex 2afca206..515b8f7f 100644--- a/apps/ios/Kit/Sources/CodyncKit/Analytics/Analytics.swift+++ b/apps/ios/Kit/Sources/CodyncKit/Analytics/Analytics.swift@@ -168,7 +168,6 @@ public final class Analytics {"env": .string(env),"$os": .string("iOS"),"$os_version": .string("\(os.majorVersion).\(os.minorVersion).\(os.patchVersion)"),- "$geoip_disable": .bool(true),]}()diff --git a/apps/ios/Kit/Tests/CodyncKitTests/AnalyticsTests.swift b/apps/ios/Kit/Tests/CodyncKitTests/AnalyticsTests.swiftindex 88df790f..768eae57 100644--- a/apps/ios/Kit/Tests/CodyncKitTests/AnalyticsTests.swift+++ b/apps/ios/Kit/Tests/CodyncKitTests/AnalyticsTests.swift@@ -24,7 +24,7 @@ import Testing#expect(anon.properties["$process_person_profile"] == .bool(true))#expect(anon.properties["$lib"] == .string("codync-ios"))#expect(anon.properties["$os"] == .string("iOS"))- #expect(anon.properties["$geoip_disable"] == .bool(true))+ #expect(anon.properties["$geoip_disable"] == nil)#expect(anon.properties["env"] != nil && anon.properties["app_version"] != nil)// Signed in: $identify links the install ID once, then events carry the user ID.diff --git a/apps/ios/Resources/PrivacyInfo.xcprivacy b/apps/ios/Resources/PrivacyInfo.xcprivacyindex 71f760b9..421e3e6b 100644--- a/apps/ios/Resources/PrivacyInfo.xcprivacy+++ b/apps/ios/Resources/PrivacyInfo.xcprivacy@@ -21,6 +21,19 @@<string>NSPrivacyCollectedDataTypePurposeAnalytics</string></array></dict>+ <!-- Approximate location (country, city) that the analytics service looks up from the IP, which it then discards. -->+ <dict>+ <key>NSPrivacyCollectedDataType</key>+ <string>NSPrivacyCollectedDataTypeCoarseLocation</string>+ <key>NSPrivacyCollectedDataTypeLinked</key>+ <true/>+ <key>NSPrivacyCollectedDataTypeTracking</key>+ <false/>+ <key>NSPrivacyCollectedDataTypePurposes</key>+ <array>+ <string>NSPrivacyCollectedDataTypePurposeAnalytics</string>+ </array>+ </dict></array><key>NSPrivacyAccessedAPITypes</key><array>diff --git a/apps/ios/WhatsNew.md b/apps/ios/WhatsNew.mdindex 58252092..520a0b96 100644--- a/apps/ios/WhatsNew.md+++ b/apps/ios/WhatsNew.md@@ -5,22 +5,14 @@ listing what iPhone users notice. tools/asc-submit.py reads the released versiona version without one gets a generic "Bug fixes and improvements" line. Delete old sections.-->-## 2.14.1+## 2.15.0### zh-Hant-- 修正小工具頁面上圖示樣式的說明文字。-- 使用情況分析改為預設開啟,幫助我們更快發現 bug、把服務做得更好:只記錄用了哪些功能,從不包含你的訊息、程式碼或檔案。可隨時在「設定」關閉。-- 安裝的技能會自動在每個 bot 開啟,新 bot 也預設全開;不需要的可以在 bot 設定關掉。-- 在訊息開頭輸入「/」可以選這個 bot 的技能,讓它照那個技能做事。-- 點一下技能就能看完整說明,再決定要不要加入。+- 使用情況分析會一併記錄大概的地區(國家、城市),讓我們知道哪些地區的人在用;你的 IP 位址不會被保存。可隨時在「設定」關閉使用情況分析。- 其他小幅改進。### en-US-- Fixed the description of the icon style on the Widgets page.-- Usage analytics are now on by default, to help us spot bugs sooner and serve you better: only which features you use, never your messages, code or files. Turn them off anytime in Settings.-- Skills you install are now on for every bot, and new bots start with all of them; turn one off in a bot's settings.-- Type "/" at the start of a message to pick one of the bot's skills for that request.-- Tap a skill to read its full instructions before you add it.+- Usage analytics now include your approximate location (country and city), so we know where Codync is used; your IP address is never stored. Turn usage analytics off anytime in Settings.- Other small improvements.diff --git a/docs/features/analytics.md b/docs/features/analytics.mdindex 842c6a58..17de99c7 100644--- a/docs/features/analytics.md+++ b/docs/features/analytics.md@@ -18,7 +18,9 @@ lives in `web/app/privacy/page.tsx`: keep it true.user id. Otherwise a random install id (the host id on a computer, a UUID on the iPhone).The first signed-in event sends `$identify` with `$anon_distinct_id` so earlier events jointhe account.-- **No IP or location**: the project discards client IPs and every event sets `$geoip_disable`.+- **Location, never the IP.** The project's GeoIP transformation turns the sender's IP into an+ approximate location (`$geoip_country_name`, `$geoip_city_name`, …), then the project's+ *Discard client IP data* drops the IP before storage.- `env` is `main` or `dev`; filter dev out in PostHog.## Where events come from@@ -80,4 +82,5 @@ join an iPhone's `computer_paired` to the computer's events on `computer` in SQLNo client asks: sharing starts with the first launch. Every client has the same switch,*Share usage analytics* (iPhone and desktop Settings → Privacy, terminal UI `^k`). The App-Store privacy label declares *Product Interaction*, linked to the user, not used for tracking.+Store privacy label declares *Product Interaction* and *Coarse Location*, linked to the user, not used+for tracking (the same two in `apps/ios/Resources/PrivacyInfo.xcprivacy`).diff --git a/host/src/analytics.rs b/host/src/analytics.rsindex 527c3d96..fb542643 100644--- a/host/src/analytics.rs+++ b/host/src/analytics.rs@@ -268,7 +268,6 @@ fn queue(hub: &Hub, event: &str, distinct_id: &str, mut properties: Map<String,("env".into(), (if option_env!("CODYNC_ENV") == Some("main") { "main" } else { "dev" }).into()),("$os".into(), std::env::consts::OS.into()),("arch".into(), std::env::consts::ARCH.into()),- ("$geoip_disable".into(), true.into()),// Joins this computer's events across accounts and with its phones' `computer_paired`.("computer".into(), computer_tag(&hub.identity.computer_id()).into()),]);diff --git a/web/app/privacy/page.tsx b/web/app/privacy/page.tsxindex 53a350ca..4f4242cb 100644--- a/web/app/privacy/page.tsx+++ b/web/app/privacy/page.tsx@@ -8,7 +8,7 @@ export default function Privacy() {<main className="flex-1 flex flex-col items-center px-6 py-16"><article className="max-w-2xl w-full space-y-6"><h1 className="text-3xl font-bold text-white">Privacy Policy</h1>- <p className="text-neutral-400 text-sm">Last updated: October 12, 2026</p>+ <p className="text-neutral-400 text-sm">Last updated: October 13, 2026</p><Section title="Overview">Codync lets you message the AI agents that run on your own computer. It is built so that your files, conversations and credentials stay on your devices.@@ -33,7 +33,7 @@ export default function Privacy() {</p><ul className="list-disc pl-5 space-y-2"><li><strong>What we record:</strong> which features you use, such as opening the app, creating or deleting a bot, sending a message (with the number of attachments, not the files), starting a routine or a voice call, and installing a connector from the catalog. Each event carries the app version, the platform and the agent and model a bot uses.</li>- <li><strong>What we never record:</strong> your messages, prompts, code, files, file names or paths, bot names, credentials or anything your agents produce. We don't store your IP address or location.</li>+ <li><strong>What we never record:</strong> your messages, prompts, code, files, file names or paths, bot names, credentials or anything your agents produce. We don't store your IP address: it is only used to look up your approximate location (country and city), which is kept with the events.</li><li><strong>Who it's linked to:</strong> your Codync account when you're signed in; otherwise a random ID created on that device.</li><li><strong>Why:</strong> to spot bugs sooner and serve you better, by seeing which features work and where people get stuck. It is never sold, never shared for advertising and never used to track you across other apps or websites.</li></ul>