Web Analytics

argon

⭐ 164 stars Arabic by argon-lab

🌐 اللغة

أرجون - آلة الزمن لقاعدة بيانات MongoDB 🚀

حالة البناء تقرير Go الترخيص: MIT

Homebrew npm PyPI

سافر عبر الزمن في قاعدة بيانات MongoDB الخاصة بك. أنشئ فروعًا، استعد، وجرب بدون خوف.

ما هو أرجون؟

يمنح أرجون قاعدة بيانات MongoDB قدرات خارقة مع تفرعات شبيهة بـ Git وسفر عبر الزمن. أنشئ فروع قاعدة بيانات فورية، استعد لأي نقطة زمنية في التاريخ، ولا تفقد بياناتك مرة أخرى.

🎯 الفوائد الرئيسية

عرض سريع

# 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"

سير عمل يشبه Git لـ MongoDB

🔄 الخطوة 1: الاستيراد ("git clone" لقواعد البيانات)

# 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!

🧪 الخطوة 2: إنشاء فرع ("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 🚀

📊 الخطوة 3: السفر عبر الزمن ("git log" للبيانات)

# 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

🚨 الخطوة 4: الاستعادة ("git reset" في حالات الكوارث)

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

Crisis averted in seconds, not hours

كيف يعمل

يقوم Argon باعتراض عمليات MongoDB وتسجيلها في سجل الكتابة المسبقة (WAL)، مما يتيح:

كود MongoDB الحالي لديك يعمل دون أي تغيير - فقط أضف ENABLE_WAL=true.

التثبيت

# 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

التوثيق

المجتمع

---

امنح قاعدة بيانات MongoDB الخاصة بك آلة زمنية. لن تفقد بياناتك مرة أخرى.

ضع نجمة لنا إذا أنقذك Argon في يومك!

ابدأ الآن → | عرض توضيحي مباشر →

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