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
@@ -46,7 +47,7 @@ DevGlobe is a **free, open-source** platform that lights up a marker on a 3D glo
46
47
## Quick Start
47
48
48
49
```
49
-
1. Sign in on devglobe.xyz with GitHub
50
+
1. Sign in on devglobe.xyz with GitHub, X (Twitter), or Google
50
51
2. Copy your API key from the profile settings
51
52
3. Install the extension in your IDE and paste the key
52
53
```
@@ -365,6 +366,58 @@ This saves your key, installs heartbeat hooks, and enables the `codex_hooks` fea
365
366
366
367
---
367
368
369
+
### OpenCode
370
+
371
+
#### Installation
372
+
373
+
Add the plugin to your `opencode.json`:
374
+
375
+
```json
376
+
{
377
+
"plugin": ["opencode-devglobe"]
378
+
}
379
+
```
380
+
381
+
OpenCode installs it automatically on startup via npm.
382
+
383
+
#### Setup
384
+
385
+
Restart OpenCode and ask:
386
+
387
+
```
388
+
setup devglobe with my key YOUR_API_KEY
389
+
```
390
+
391
+
Get your API key at [devglobe.xyz](https://devglobe.xyz) — sign in, then open your **profile settings**.
392
+
393
+
#### Features
394
+
395
+
| Feature | Description |
396
+
|---------|-------------|
397
+
|**Live heartbeat**| Hooks into `tool.execute.after` and `file.edited` events. Sends a heartbeat at most once per minute. |
398
+
|**Language detection**| Detects the language from exact file paths provided by OpenCode tool calls. |
399
+
|**Git integration**| Detects your repo from the git remote. |
400
+
|**Anonymous mode**|**Enabled by default.** Hides your exact location — placed on a random city in your country (from a database of 152,000+ cities worldwide). |
401
+
|**Repo sharing**| Ask "share my repo on devglobe" to toggle (disabled by default). |
402
+
403
+
#### Commands
404
+
405
+
Just ask in natural language — the plugin registers tools that the AI agent calls on your behalf:
406
+
407
+
| What you say | Tool | Description |
408
+
|--------------|------|-------------|
409
+
| "setup devglobe with key X" |`devglobe_setup`| Configure API key and create settings |
On [devglobe.xyz](https://devglobe.xyz), you'll find:
@@ -391,7 +444,7 @@ On [devglobe.xyz](https://devglobe.xyz), you'll find:
391
444
392
445
**What we NEVER touch:** source code, file contents, file names, folder paths, keystrokes, commit messages, Git branches, environment variables, SSH keys. Your IP is used once for geolocation then discarded — never sent to DevGlobe.
393
446
394
-
**API keys** are stored in your OS keychain (VS Code SecretStorage, JetBrains PasswordSafe) or local config file (Zed, NeoVim, Claude Code, Codex).
447
+
**API keys** are stored in your OS keychain (VS Code SecretStorage, JetBrains PasswordSafe) or local config file (Zed, NeoVim, Claude Code, Codex, OpenCode).
395
448
396
449
**Network:** HTTPS only (TLS 1.2+), no intermediary server, Content Security Policy on webviews, Row Level Security on the database. No telemetry.
@@ -503,7 +568,7 @@ Contributions are welcome — fixes, new features, documentation.
503
568
If you like DevGlobe, help us spread the word!
504
569
505
570
<palign="center">
506
-
<ahref="https://twitter.com/intent/tweet?text=I%20just%20discovered%20DevGlobe%20%E2%80%94%20a%20free%20open-source%203D%20globe%20that%20shows%20developers%20coding%20in%20real%20time.%20Extensions%20for%20VS%20Code%2C%20JetBrains%2C%20Zed%2C%20NeoVim%2C%20Claude%20Code%20%26%20Codex.&url=https%3A%2F%2Fgithub.com%2FNako0%2Fdevglobe-extension"><imgsrc="https://img.shields.io/badge/Share_on-X%20(Twitter)-000000?style=for-the-badge&logo=x"alt="Share on X" /></a>
571
+
<ahref="https://twitter.com/intent/tweet?text=I%20just%20discovered%20DevGlobe%20%E2%80%94%20a%20free%20open-source%203D%20globe%20that%20shows%20developers%20coding%20in%20real%20time.%20Extensions%20for%20VS%20Code%2C%20JetBrains%2C%20Zed%2C%20NeoVim%2C%20Claude%20Code%2C%20Codex%20%26%20OpenCode.&url=https%3A%2F%2Fgithub.com%2FNako0%2Fdevglobe-extension"><imgsrc="https://img.shields.io/badge/Share_on-X%20(Twitter)-000000?style=for-the-badge&logo=x"alt="Share on X" /></a>
507
572
<ahref="https://www.reddit.com/submit?url=https%3A%2F%2Fgithub.com%2FNako0%2Fdevglobe-extension&title=DevGlobe%20%E2%80%94%20See%20developers%20coding%20in%20real%20time%20on%20a%203D%20globe"><imgsrc="https://img.shields.io/badge/Share_on-Reddit-FF4500?style=for-the-badge&logo=reddit&logoColor=white"alt="Share on Reddit" /></a>
508
573
<ahref="https://news.ycombinator.com/submitlink?u=https%3A%2F%2Fgithub.com%2FNako0%2Fdevglobe-extension&t=DevGlobe%20%E2%80%94%20See%20developers%20coding%20in%20real%20time%20on%20a%203D%20globe"><imgsrc="https://img.shields.io/badge/Share_on-Hacker%20News-F0652F?style=for-the-badge&logo=ycombinator&logoColor=white"alt="Share on HN" /></a>
509
574
<ahref="https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fgithub.com%2FNako0%2Fdevglobe-extension"><imgsrc="https://img.shields.io/badge/Share_on-LinkedIn-0A66C2?style=for-the-badge&logo=linkedin&logoColor=white"alt="Share on LinkedIn" /></a>
|`anonymousMode`|`true`| Your marker is placed on a random city in your country (from 152,000+ cities). Your real location is never sent. |
84
+
|`shareRepo`|`false`| Display your current repo on your DevGlobe profile. |
85
+
86
+
Settings are stored in `~/.devglobe/config.json` and can also be modified via the tools above.
87
+
88
+
## How it works
89
+
90
+
The plugin hooks into OpenCode's `tool.execute.after` and `file.edited` events to detect coding activity. It sends a heartbeat to DevGlobe at most once per minute via devglobe-core. It automatically detects:
91
+
92
+
- The programming language from the files you interact with (exact file paths from tool calls)
93
+
- Your git repository (from `git remote get-url origin`)
94
+
- Your approximate location (via IP geolocation, cached for 1 hour)
95
+
96
+
Your coding session then appears live on the [DevGlobe map](https://devglobe.xyz) with the editor shown as `opencode`.
97
+
98
+
A forced heartbeat is sent when the session goes idle or is deleted, ensuring your last activity is always recorded.
99
+
100
+
## Updating
101
+
102
+
Since the plugin is installed from npm, OpenCode fetches the latest version automatically. To force an update, remove the cache:
Commit statistics displayed on DevGlobe (insertions/deletions per week) are **never collected by this plugin**. They are fetched server-side via a [GitHub App](https://github.com/apps/devglobeapp) that requests only **Metadata: Read-only** — the most minimal permission available. No access to source code, file contents, commit messages, issues, or pull requests.
113
+
114
+
See the [main extensions README](../README.md#-github-app--verified-commit-stats) for details.
115
+
116
+
## Privacy
117
+
118
+
| Data | Sent | Detail |
119
+
|------|------|--------|
120
+
| Programming language | Yes | Detected from file extensions of files being edited. |
121
+
| Approximate location | Yes | Coordinates **snapped to your city center** (from a database of 152,000+ cities). |
122
+
| Repo name |**You decide**|`owner/repo` is **only sent to the server if `shareRepo` is enabled** (disabled by default). When disabled, your repo name never leaves your machine. |
123
+
| Anonymous mode |**You decide**| When enabled, real coordinates are replaced with a random city in your country (from a database of 152,000+ cities worldwide). Your actual location is never transmitted. |
124
+
| Coding time | Yes | Accumulated per day, per language. |
125
+
126
+
The plugin **never** reads your source code, file contents, file names, keystrokes, commit messages, environment variables, or credentials.
0 commit comments