🛰️ NexusSync
The Ultimate Real-Time Code Relay System
NexusSync bridges the gap between your browser, your AI chats, and your local development environment. Using a secure Render relay and AES-256 encryption, your code stays private while syncing instantly across all your devices and team members. By purchasing, customer agrees to terms found in LICENSE.md. Payment Link: https://buy.stripe.com/14AeVefsh4pV4a3cye8N202. Support:newsfan@automaticnewsfanatic.com. Thank you!
🛠️ Core Features
- Real-Time Sync: Every time you save a file (
Ctrl + S), it is instantly pushed to all other connected VS Code instances.
- Zero-Knowledge Security: Code is encrypted locally before being sent. The relay server never sees your raw source code.
- Auto-File Creation: If a teammate (or you, via the browser) sends a file that doesn't exist in your current workspace, NexusSync creates it for you automatically.
- The Nexus Beam: A browser-based "One-Click" tool to send code from AI chats (like Gemini) directly into VS Code.
- Team Rooms: Share a "Room Password" with teammates to create a shared live-coding environment.
🚀 Step-by-Step User Guide
1. Installation
- Obtain the
nexussync-0.0.1.vsix file from your Administrator.
- Open VS Code.
- Go to the Extensions view (
Ctrl + Shift + X).
- Click the ... (three dots) in the top-right corner.
- Select Install from VSIX... and choose the file.
2. Configuration
Before the extension can connect, you must enter your credentials:
- Open Settings (
Ctrl + ,).
- Search for NexusSync.
- Enter your unique API Key (provided by your Admin).
- Enter your Room Password (this is your encryption key; ensure your team uses the same one).
3. Setting up "The Nexus Beam" (One-Click Browser Sync)
This feature allows you to "beam" code blocks from your browser directly to VS Code.
- Show Bookmarks Bar: Press
Ctrl + Shift + B (Windows/Linux) or Cmd + Shift + B (Mac).
- Create Bookmark: Right-click the bar and select Add Page... (or Add Bookmark).
- Name:
🚀 Nexus Beam
- URL: Paste the JavaScript snippet provided in the Developer Kit section below.
- Save.
📖 Usage Instructions
Syncing Between Computers
Open any project folder. Any changes you save in a .js (or other supported) file will be broadcast to any other computer signed into your "Room."
Using "The Beam" from a Browser
- Highlight: Use your mouse to highlight a code block on any webpage (e.g., a solution from an AI chat).
- Click: Click the
🚀 Nexus Beam bookmark on your bar.
- Name: A box will appear asking: "What should we name this file?".
- Confirm: Type your desired name (e.g.,
scraper.js) and press Enter.
- Success: The file will instantly manifest and open in your VS Code workspace.
Commands (Ctrl + Shift + P)
Nexus: Run Active Code: Manually forces a sync of the current file.
Nexus: Clear All Tabs: Quickly closes all open editors (Ctrl + Alt + C).
🚥 Visual Connection Status
Look at the VS Code Status Bar (bottom right) to see your connection state:
- $(broadcast) Nexus: Linked (Green): You are connected to the high-speed relay. Code will sync instantly.
- $(sync~spin) Nexus: Connecting: The extension is attempting to link to the relay.
- $(alert) Nexus: Auth Error (Orange): Your API Key is incorrect or missing.
- $(Circle-slash) Nexus: Offline (Red): Connection lost. Check your internet or relay status.
👨💻 Developer Kit (The Bookmarklet Code)
Copy this into the URL field of your bookmark. Replace the placeholders with your actual keys.
javascript:(function(){
const selection = window.getSelection().toString();
if(!selection){ alert('Highlight code first!'); return; }
const fileName = prompt("Name your file:", "script.js");
if(!fileName) return;
fetch('https://nexus-relay.onrender.com/inject', {
method: 'POST',
headers: { 'Content-Type': 'application/json', 'Authorization': 'YOUR_API_KEY' },
body: JSON.stringify({
fileName: fileName,
code: btoa(selection),
passwordUsed: 'YOUR_ROOM_PASSWORD'
})
}).then(r => r.ok ? console.log('Beamed!') : alert('❌ Error: Check API Key'));
})();