opensync
llms.txt410 starsChanged 10 months agoMITView on GitHub
Sync, search, and share your AI coding sessions from OpenCode and Claude Code. OpenSync is a cloud-based dashboard that syncs, stores, and searches AI coding sessions. Built on Convex (real-time database) and WorkOS (authentication). For OpenCode: For Claude Code: All endpoints require Bearer token authentication (API key starting with osk_ or JWT).
- Reads credentials
- Installs packages
In this repository12 other files it gives its agents.
- .cursor/rules/about.mdcCursor rule
- .cursor/rules/changelog.mdcCursor rule
- .cursor/rules/convex2.mdcCursor rule
- .cursor/rules/convex-write-conflicts.mdcCursor rule
- .cursor/rules/dev2.mdcCursor rule
- .cursor/rules/gitruels.mdcCursor rule
- .cursor/rules/help.mdcCursor rule
- .cursor/rules/opensync-ecosystem.mdcCursor rule
- .cursor/rules/rulesforconvex.mdcCursor rule
- .cursor/rules/sec-check.mdcCursor rule
- .cursor/rules/task.mdcCursor rule
- .cursor/rules/write.mdcCursor rule
The file
We split this llms.txt into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 57
All endpoints require Bearer token authentication (API key starting with osk_ or JWT).
- Distinctive: line 81
Use API keys (osk_*) generated in Dashboard Settings.
- Distinctive: line 117
All data goes to YOUR Convex deployment
≈ “Common” is an estimate: at least 1 in 5 of the 1,484 llms.txt files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
# OpenSync - AI Coding Session Dashboard > Sync, search, and share your AI coding sessions from OpenCode and Claude Code. ## Overview OpenSync is a cloud-based dashboard that syncs, stores, and searches AI coding sessions. Built on Convex (real-time database) and WorkOS (authentication). ## Ecosystem | Project | Description | Links | |---------|-------------|-------| | OpenSync | Dashboard for AI coding sessions | [Website](https://www.opensync.dev) / [GitHub](https://github.com/waynesutton/opensync) | | opencode-sync-plugin | Sync OpenCode sessions | [GitHub](https://github.com/waynesutton/opencode-sync-plugin) / [npm](https://www.npmjs.com/package/opencode-sync-plugin) | | claude-code-sync | Sync Claude Code sessions | [GitHub](https://github.com/waynesutton/claude-code-sync) / [npm](https://www.npmjs.com/package/claude-code-sync) | ## Quick Start ### Install Plugin For OpenCode: ```bash npm install -g opencode-sync-plugin opencode-sync login ``` For Claude Code: ```bash npm install -g claude-code-sync claude-code-sync login ``` ### Self-Host ```bash git clone https://github.com/waynesutton/opensync.git cd opensync npm install npx convex dev ``` ## Features - Auto sync: Sessions sync in real-time as you work - Full-text search: Search by keywords across all sessions - Semantic search: Search by meaning using vector embeddings - Hybrid search: Combines full-text and semantic for best results - Public sharing: Share sessions with a single click - Markdown export: Download sessions as Markdown files - API access: Secure API for external integrations - Usage stats: Track tokens, cost, time per session - RAG support: Built-in retrieval for context engineering - Eval export: Export datasets for DeepEval, OpenAI Evals ## API Endpoints All endpoints require Bearer token authentication (API key starting with `osk_` or JWT). | Endpoint | Method | Description | |----------|--------|-------------| | /api/sessions | GET | List all sessions | | /api/sessions/get | GET | Get session with messages | | /api/search | GET | Search sessions (fulltext/semantic/hybrid) | | /api/context | GET | Get relevant context for LLM | | /api/export | GET | Export session (json/markdown/jsonl) | | /api/stats | GET | Get usage statistics | | /health | GET | Health check (no auth) | ### Search Types - `?type=fulltext` - Keyword matching, fast and exact - `?type=semantic` - Meaning-based search using embeddings - `?type=hybrid` - Combines both using Reciprocal Rank Fusion ## Authentication ### Web Dashboard Uses WorkOS AuthKit with SSO, magic link, and OAuth support. ### Plugins and API Use API keys (osk_*) generated in Dashboard Settings. No browser required. ## Data Schema ### Sessions - userId, externalId, title, projectPath, projectName - model, provider, source (opencode/claude-code) - promptTokens, completionTokens, totalTokens, cost - durationMs, isPublic, publicSlug - evalReady, evalNotes, evalTags ### Messages - sessionId, externalId, role (user/assistant/system) - textContent, model, promptTokens, completionTokens - durationMs, parts (tool calls, code blocks) ## Tech Stack - Backend: Convex (real-time database, serverless functions, vector search) - Auth: WorkOS AuthKit (SSO, magic link, OAuth) - Frontend: React + Vite + Tailwind CSS - Embeddings: OpenAI text-embedding-3-small - Hosting: Netlify (frontend), Convex Cloud (backend) ## Environment Variables ### Frontend (Vite) - VITE_CONVEX_URL - Convex deployment URL - VITE_WORKOS_CLIENT_ID - WorkOS client ID ### Backend (Convex) - OPENAI_API_KEY - For semantic search embeddings - WORKOS_API_KEY - For user management ## Privacy - All data goes to YOUR Convex deployment - Sensitive fields (passwords, tokens, keys) are redacted before sync - Full file contents are not synced, only paths and lengths - Thinking traces are off by default - You control what gets synced via configuration ## Resources - Convex Docs: https://docs.convex.dev - WorkOS Docs: https://workos.com/docs - Convex + WorkOS: https://docs.convex.dev/auth/authkit - Convex Vector Search: https://docs.convex.dev/search/vector-search ## License MIT
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

