Skip to content

ashutoshberlin/AtmaSync

Repository files navigation

🧠 AtmaSync: AI Sync Engine

Carry your brain and consciousness across the AI universe.

AtmaSync is a Chrome extension that captures your AI-generated persona from ChatGPT and injects it into Claude — allowing you to retain your tone, goals, and preferences across platforms.


🌟 Why AtmaSync?

Today’s AI platforms forget you exist the moment a tab closes.

✅ ChatGPT? Memory limited to session.
✅ Claude? Stateless by design.
❌ No cross-vendor personalization.
❌ No persistent user memory.

AtmaSync solves this. It captures your user persona from one vendor and syncs it across others — all locally, all privately.


✨ Features

  • 🔁 Generate persona from ChatGPT
  • 🚀 Inject persona into Claude
  • 🧩 One-click smart sync via browser extension
  • 🔐 Stored locally in your browser (Chrome Storage)

📸 Demo

[Add screenshots or GIFs of your popup and injected persona here]


🛠️ Installation

  1. Clone or download this repo.
  2. Visit chrome://extensions/ in your browser.
  3. Enable Developer Mode.
  4. Click Load Unpacked and select the atmasync/ folder.
  5. Pin the extension and try it on chat.openai.com or claude.ai.

Project Structure

ai-brain-extension/
├── background.js                # (if present) Background script for extension
├── content.js                   # Content script for interacting with web pages
├── manifest.json                # Chrome extension manifest
├── popup.html                   # Main popup UI
├── popup.js                     # Popup logic (bundled)
├── popup/                       # (legacy/empty) Popup scripts (if any)
├── styles/
│   └── common.css               # Shared CSS styles
├── icons/                       # Extension and UI icons
│   ├── icon16.png, icon32.png, ...
│   └── Atmasync-ai-logo.png, generate.png, injection.ico, etc.
├── scripts/                     # Main logic for persona extraction/injection
│   ├── chatgpt/
│   │   ├── chagpt_persona.js    # ChatGPT persona extraction
│   │   └── chatgpt-injector.js  # ChatGPT persona injection
│   ├── claude/
│   │   ├── claude_persona.js    # Claude persona extraction
│   │   └── claude-injector.js   # Claude persona injection
│   ├── gemeni/
│   │   └── gemini-injector.js   # Gemini persona injection
│   ├── shared/
│   │   ├── dom-utils.js         # DOM helpers (find input, simulate paste, etc.)
│   │   ├── json-extractor.js    # Extract JSON from text
│   │   ├── persona-templates.js # Persona prompt templates
│   │   └── save-to-user-brain.js# Save persona to storage
│   └── inject-save-to-brain.js  # (shared) Save logic for injection
├── userBrain/
│   └── chatgpt-user-persona.json# Example persona data
├── user-brain.json              # User persona data (main storage)
├── utils/
│   └── storage.js               # Storage utility (if used)
├── dist/                        # Bundled scripts for extension
│   └── *.bundle.js              # Bundled output (not shown)
├── README.md                    # This file
  • scripts/ contains all logic for extracting and injecting personas for each AI vendor.
  • popup.html / popup.js is the main extension popup UI and logic.
  • icons/ contains all icons and branding images.
  • userBrain/ and user-brain.json store user persona data.
  • dist/ contains bundled scripts for use by the extension (generated by esbuild).

🔧 Development Notes

  • Chrome Extension v3
  • Uses chrome.storage.local for user persona
  • Code modularized by vendor: chatgpt_persona.js, claude_persona.js
  • Persona is stored under userBrain key
  • Injection uses DOM detection (may require maintenance if vendor UI changes)

🛡️ Privacy

Your data is stored locally in your browser. Nothing is sent to a server or logged externally. You own your AI memory.

🧪 Coming Soon

  • 🌐 Gemini and other AI agents
  • ☁️ Optional cloud sync
  • 🧬 Merge personas across sessions
  • 📥 Import/export persona JSON
  • 💬 Feedback-driven persona tuning

Running This Extension

  1. Clone this repository.
  2. Load this directory in Chrome as an unpacked extension.
  3. Click the extension icon in the Chrome toolbar, then select the "Hello Extensions" extension. A popup will appear displaying the text "Hello Extensions".

About

Carry your brain and consciousness across AI agents like ChatGPT and Claude. The first AI persona sync engine.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •