https://github.com/node0/stargate
π Stargate -- Privacy-First Real-Time Collaboration Platform
https://github.com/node0/stargate
Last synced: 11 months ago
JSON representation
π Stargate -- Privacy-First Real-Time Collaboration Platform
- Host: GitHub
- URL: https://github.com/node0/stargate
- Owner: Node0
- Created: 2024-11-05T19:04:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-08-05T20:27:28.000Z (11 months ago)
- Last Synced: 2025-08-16T00:27:26.148Z (11 months ago)
- Language: TypeScript
- Homepage:
- Size: 426 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π Stargate: Time-Aware Collaboration Platform
> **Your data. Your timeline. Your control.**
Stargate is a self-hosted, real-time collaboration platform that has grown beyond live sync. With built-in temporal navigation, Stargate now treats *time* as a first-class citizen, letting you rewind, replay, and reconstruct the entire arc of your work. Itβs like version control for everything, code, notes, conversations, media, without the complexity or silos.
Whether you're a family sharing moments, a dev team iterating on ideas, or a research group preserving provenance, Stargate helps you stay in sync *and* in control, with full historical visibility.
---
## π What Sets Stargate Apart
Most collaboration tools treat history as a secondary feature. Stargate makes it core:
- **ποΈ GitHub-Style Activity Maps** β Visualize when and how work happens
- **πΉοΈ Timeline Scrubbing** β Glide through your projectβs history like a video
- **π§ Quantum Navigation** β Step through precise changes with full fidelity
- **β»οΈ State Reconstruction** β Instantly rebuild the state of any moment in time
All backed by a privacy-first, zero-cloud architecture that keeps your data where it belongs, on your machines, under your rules.
---
## π οΈ Core Capabilities
### π§ Time-Aware Collaboration
- **Contribution Maps**: Visual heatmaps of activity across days and months
- **Day & Hour Navigation**: Explore work at any granularity
- **Event-Level Stepping**: Jump backward or forward through individual changes
- **Recover, Rewind, Relearn**: Perfect for debugging, retrospectives, or postmortems
### β‘ Real-Time Sync
- **WebSocket Architecture**: Millisecond-latency updates with full-duplex channels
- **Register-Based Collaboration**: Avoid overwrites; work in parallel with clarity
- **Live vs Timeline Mode**: Move fluidly between active collaboration and historical review
### π Privacy by Design
- **Fully Self-Hosted**: No SaaS, no spying, no third-party lock-in
- **Immutable Event Store**: Append-only logs ensure auditability and integrity
- **REQ Header Pattern**: Secure, base64-encoded metadata in transport, no leaky URLs
- **No Telemetry**: Zero analytics, zero tracking, zero compromise
---
## UI Screenshot

## π§± Architecture Overview
### Backend (Bun + TypeScript)
```
EventStore (LibSQL) β TimeMapCalculator β StateReconstructor
β β β
WebSocket Server β Message Broadcasting β Client Updates
```
### Frontend (Aurelia 2.0)
```
TimeMap β DayScrubber β QuantumNavigator
β β β
MessageBus β CollaborationService β UI Components
```
### Feature Stack
- **π Event Sourcing** β Every change is an atomic event
- **β‘ Smart Caching** β Instant, in-memory navigation via LRU strategies
- **π Integrated Search** β Powered by MiniSearch for blazing-fast lookup
- **π§© Modular Components** β Clean service-oriented architecture
---
## π― Use Cases
### π¨βπ» Dev Teams
- **Time-Travel Debugging** β Trace how issues evolved across time
- **Context-Rich Code Reviews** β Understand the "why" behind the "what"
- **Infra Drift Tracking** β Monitor and reconstruct config changes
### π¬ Researchers & Analysts
- **Reproducibility by Default** β Every step, timestamped and restorable
- **Parallel Inquiry** β Multiple researchers, no conflict
- **Compliance & Audit** β Full history of data access and modifications
### π¨ Creative & Media Teams
- **Nonlinear Iteration** β Skip versions, branch ideas, preserve forks
- **Asset Commentary** β Annotate visuals, scripts, footage in real-time
- **Process Memory** β Review your creative journey from start to finish
---
## π Getting Started
```bash
# Prerequisites: Bun runtime (https://bun.sh)
# Clone and install
git clone
cd stargate
bun install
# Development (hot reload)
bun run dev
# Production
bun run build && bun run server
```
Access Stargate at: `https://localhost:5900`
---
## π€ Why "Time-Aware"?
Most tools trap you in the present. Stargate unlocks the past.
Ideas evolve. Bugs emerge. Insights fade. With Stargate, you donβt just *collaborate in real time*, you can *retrace the path that got you there.*
This isnβt just about syncing faster. Itβs about remembering better.
---
## π License
Licensed under **AGPLv3** , Ensuring Stargate remains open, forkable, and community-driven.
**Ready to sync, rewind, and replay?** Stargate is your portal. πͺβ¨