Hybrid Offline/Online Neural Mind-Mapping Engine Cyberpunk UI • Force Graph • BCI-Ready • Privacy-First
HRain transforms a single thought into a full cognitive neural graph. Built on D3.js force-directed physics with a breathing cyberpunk neon interface featuring dynamic particles, impulses, ambient colors, and a glassmorphism UI.
Core Philosophy: Fully offline by default. All data stays in your browser's localStorage. No mandatory external calls, no data leakage.
| Mode | Internet Required | API Key Location | AI Features (Synth, Chat) | Privacy Level |
|---|---|---|---|---|
| Pure Offline (default) | ❌ No | None | Disabled | Maximum (100% local) |
| Direct Gemini | ✅ Yes | Client-side (apiKey var) |
Full | Depends on Google |
| Janus Proxy (recommended) | ✅ Yes | Server-side (your Janus) | Full | Under your control (self-hosted) |
⚕️ BCI & Compliance Note: For true BCI applications (Neuralink, Synchron, etc.), use the Pure Offline mode or a self-hosted Janus backend with local models to ensure HIPAA/GDPR compliance.
- Neural Physics: Force simulation with a magnetic GRID mode for perfect node alignment.
- DIVE / ASCEND: Hierarchical immersion into idea clusters (BCI-inspired navigation).
- AI Synth: LLM-generated node suggestions, re-evaluation, and cluster expansion (optional).
- Per-Node Neural Chat: Context-aware conversation linked directly to any specific node.
- Dynamic Atmosphere: Ambient colors, particles, grids, and glows shift automatically based on dominant node types (default/neutral, danger/risk, warn/alert, info/data).
- Impulse Visuals: Energy pulses visually travel along connections upon interaction.
- Export / Import: Seamless JSON support for local backups or sharing vaults.
- Responsive Design: Touch & Mouse optimized for fluid control on both mobile and desktop.
- Clone or download the repository.
- Open
index.htmlin any modern web browser. - Ensure the configuration variables are set for local execution:
const apiKey = ""; const BACKEND_URL = "";
Result: Zero network activity guaranteed.
🌐 Try the Live Demo (Offline mode works instantly. Enable AI via your own key or a Janus backend for next-level semantics.)
👨💻 Author & Ecosystem Alexander Agapov (Oleksandr Ahapov) 📍 Ukraine, 2025
💬 Telegram: @Hawkar_lol
✉️ Email: hawkarlol@gmail.com
Part of the JANUS Ecosystem — a self-hosted LLM gateway with true offline failover.
Open to collaborations, BCI patient pilots, integrations, partnerships, or relocation.
📜 License MIT License — Fork, modify, and deploy freely.
⭐ Star this repo if it resonates with you. It helps connect with other builders who need resilient, private cognitive tools.
Dive deep. 🌀
Этот Markdown создаст красивые бейджи, аккуратную таблицу с режимами работы, выделенные цит