Web Analytics

argon

⭐ 164 stars Italian by argon-lab

🌐 Lingua

Argon - Macchina del Tempo per MongoDB 🚀

Build Status Go Report License: MIT

Homebrew npm PyPI

Viaggia nel tempo nel tuo database MongoDB. Ramifica, ripristina ed esegui esperimenti senza paura.

Che cos'è Argon?

Argon offre a MongoDB superpoteri con ramificazioni in stile Git e viaggi nel tempo. Crea rami del database istantanei, ripristina a qualsiasi punto della cronologia e non perdere mai più i dati.

🎯 Vantaggi Principali

Demo Rapida

# Install
brew install argon-lab/tap/argonctl    # macOS
npm install -g argonctl                 # Cross-platform

Step 1: Import your existing MongoDB (like "git clone")

argon import database --uri "mongodb://localhost:27017" --database myapp --project myapp

✅ Your data now has time travel capabilities!

Step 2: Use Argon like Git for your database

argon branches create test-env # Branch like "git checkout -b" argon time-travel query --project myapp --branch main --lsn 1000

Step 3: Disaster recovery made simple

argon restore preview --time "1 hour ago" argon restore reset --time "before disaster"

Workflow in stile Git per MongoDB

🔄 Passaggio 1: Importa ("git clone" per i database)

# Bring your existing MongoDB into Argon
argon import preview --uri "mongodb://localhost:27017" --database myapp
argon import database --uri "mongodb://localhost:27017" --database myapp --project myapp

✅ Your existing data now has time travel capabilities!

🧪 Passaggio 2: Branch ("git checkout -b")

# Create branches for testing, staging, experiments
argon branches create staging --project myapp
argon branches create experiment-v2 --project myapp

Full database copies created instantly 🚀

📊 Passaggio 3: Viaggio nel tempo ("git log" per i dati)

# See your data's history
argon time-travel info --project myapp --branch main
argon time-travel query --project myapp --branch main --lsn 1000

Compare data across time like Git commits

🚨 Fase 4: Ripristina ("git reset" per disastri)

# "Someone deleted all users!"
argon restore reset --time "5 minutes ago"

Crisis averted in seconds, not hours

Come funziona

Argon intercetta le operazioni di MongoDB e le registra in un Write-Ahead Log (WAL), consentendo:

Il tuo codice MongoDB esistente funziona senza modifiche: basta aggiungere ENABLE_WAL=true.

Installazione

# CLI
brew install argon-lab/tap/argonctl    # macOS
npm install -g argonctl                 # Node.js
pip install argon-mongodb               # Python SDK

From Source

git clone https://github.com/argon-lab/argon cd argon/cli && go build -o argon

Documentazione

Comunità

---

Dai a MongoDB una macchina del tempo. Non perdere mai più dati.

Metti una stella se Argon ti ha salvato la giornata!

Inizia → | Demo Live →

--- Tranlated By Open Ai Tx | Last indexed: 2025-07-21 ---