Skip to main content

GitHydra Logo

🔱 GitHydra

Comprehensive Git Automation CLI Tool with Beautiful Terminal UI أداة شاملة لأتمتة Git بواجهة طرفية جميلة

Turn Git into a guided, colorful, bilingual experience — 36 command groups, one interactive menu, an optional local web dashboard, and optional AI helpers.

PyPI version Python versions License: MIT CI Publish Downloads

English | العربية | Documentation | Quick Start | llms.txt


📘 English

What is GitHydra?

GitHydra wraps the entire Git workflow in a beautiful, guided terminal application. Instead of memorizing dozens of git flags, you get clear menus, colored tables, progress bars, safe confirmations, and bilingual help text. Everything you already know about Git still works underneath — GitHydra is a friendly face over a 100% standard repository.

  • 36 command groups, 90+ operations — from init to submodule, bisect, worktree, bundle, analytics and beyond.
  • Interactive menu mode — never type a command again: category menus cover every feature.
  • Local web dashboard (optional) — browse status, branches, commits, stashes and tags in your browser.
  • AI helpers (optional) — generate commit messages, review code, detect bugs with Gemini.
  • Bilingual — English and Arabic documentation and messages.
  • Safe by default — localhost-only dashboard, debug off, token auth option, no telemetry, works fully offline.

🆕 What's new in 3.2.0

  • githydra doctor — health check for Git, your repository and optional components (identity, remotes, large files, .gitignore, extras).
  • githydra changelog generate — build a grouped CHANGELOG.md from your commit history.
  • githydra ignore — manage .gitignore with ready-made templates (python, node, java, vscode, jetbrains, macos, windows, linux).
  • Critical fixes — the CLI no longer crashes when optional extras are missing; githydra web now ships with the package; 112 stray __pycache__ files removed; versions unified.
  • Security hardening — dashboard binds to 127.0.0.1, debug off by default, optional GITHYDRA_WEB_TOKEN API authentication.

See CHANGELOG.md for the full history.

📦 Installation

Requires Python 3.8+ and Git ≥ 2.20.

# Core CLI (recommended)
pip install githydra

# With the web dashboard
pip install githydra[web]

# With AI helpers (Gemini)
pip install githydra[ai]

# Everything
pip install githydra[web,ai]

Verify the installation:

githydra --version
githydra doctor        # full health check
Install from source / development
git clone https://github.com/Alqudimi/GitHydra.git
cd GitHydra
python -m venv .venv
source .venv/bin/activate            # Windows: .venv\Scripts\activate
pip install -e ".[dev,web,ai]"        # dev = pytest, ruff, build, twine

🚀 Quick Start

# 1. Start anywhere — no command? the interactive menu opens automatically
githydra

# 2. Or create a project and go
mkdir my-app && cd my-app
githydra init
githydra ignore template python      # ready-made .gitignore
githydra doctor                      # everything OK?

# 3. Daily work
githydra status                      # what changed?
githydra stage add --all             # stage everything
githydra commit -m "feat: first feature"
githydra branch create feature-x
githydra sync push

# 4. At release time
githydra changelog generate          # grouped CHANGELOG.md
githydra tag create v1.0.0

🗂 Command Overview

Area Commands
Repository init, status, clone (via sync clone), repair info/fsck/gc/prune/index
Staging & commits stage add/remove/diff, commit -m, commit --amend, notes add
History log --graph, reflog show, blame FILE, compare branches/commits/with-remote
Branches branch list/create/switch/delete/merge
Remote & sync remote add/list, sync push/pull/fetch/clone
Advanced stash save/list/apply, tag create/list, reset, revert, cherry-pick, rebase, conflicts ours/theirs/abort
Submodules & worktrees submodule add/update/status/sync, worktree add/list/remove/prune/lock/unlock/move
Debugging bisect start/good/bad/reset, blame, reflog
Patches & bundles patch create/apply/format, bundle create/verify
Statistics stats overview/contributors/activity/files/languages, analytics
New: Health doctor, changelog generate, ignore list/add/remove/template
Config config list/set, alias add/list, template list/add/create/export/import
Web & AI web, ai generate-commit/review-code/detect-bugs
Project & team project init/issues/milestones/board, team contributors/pr-list/workflow
Cloud cloud connect-github/repos/sync/backup/issues/releases

githydra --help lists everything; githydra <command> --help explains each group. The complete reference is in docs/API_REFERENCE_AR.md and the quick card in docs/CHEATSHEET_AR.md.

🖥 Interactive Mode

githydra interactive

A full menu interface with 17 categories (repository, staging, commits, branches, remote, advanced, submodules, debugging, patches, conflicts, statistics, maintenance, configuration, cloud, project, team, templates). Every menu entry prints the exact command it runs, so you learn Git while using it.

🌐 Web Dashboard (optional)

pip install githydra[web]
githydra web                # http://127.0.0.1:5000
githydra web --port 8080 --no-browser

Browse status, branches, commits, staging, stashes, remotes and tags in a clean local UI. Security defaults: binds to 127.0.0.1, debug off, and setting GITHYDRA_WEB_TOKEN requires every API call to authenticate. Details: docs/WEB_DASHBOARD_AR.md.

🤖 AI Helpers (optional)

pip install githydra[ai]
export GEMINI_API_KEY=your-key      # from Google AI Studio
githydra ai generate-commit         # suggests a commit message from staged changes
githydra ai review-code             # quality review of pasted code
githydra ai detect-bugs             # bug detection with severity

Everything works without the key — AI is strictly opt-in and never blocks normal usage. Details: docs/AI_FEATURES_AR.md.

🧪 Testing & Quality

pip install -e ".[dev]"
pytest tests/          # 40+ tests: commands, packaging, web app, security
ruff check githydra/ tests/

CI runs the lint + full test matrix (Python 3.9–3.12) and a package build check on every push and pull request.

🤝 Contributing & Support

📄 License

MIT © Abdulaziz Mohammed Alqudimi (abodx1234freey@gmail.com)


📘 العربية

ما هو GitHydra؟

GitHydra يغلف سير عمل Git كاملًا في تطبيق طرفي جميل وموجَّه. بدلًا من حفظ عشرات الخيارات، تحصل على قوائم واضحة وجداول ملوّنة وأشرطة تقدم وتأكيدات آمنة ونصوص مساعدة بالعربية والإنجليزية. كل ما تعرفه عن Git يعمل كما هو تحت الغلاف — GitHydra واجهة ودية فوق مستودع قياسي 100%.

🆕 الجديد في الإصدار 3.2.0

  • githydra doctor — فحص صحة شامل لـ Git والمستودع والمكونات الاختيارية.
  • githydra changelog generate — توليد سجل تغييرات مُجمَّع من تاريخ الالتزامات.
  • githydra ignore — إدارة .gitignore بقوالب جاهزة (Python، Node، Java...).
  • إصلاحات حرجة — لم يعد البرنامج ينهار عند غياب المكونات الاختيارية، وأمر web أصبح يُشحن مع الحزمة، وحُذفت 112 ملف __pycache__ خاطئة، ووُحِّدت الإصدارات.
  • تحصين أمني — لوحة الويب تُنصِّت على 127.0.0.1 فقط، ووضع التصحيح مغلق افتراضيًا، مع مصادقة اختيارية عبر GITHYDRA_WEB_TOKEN.

📦 التثبيت

pip install githydra            # الأساسي
pip install githydra[web]       # مع لوحة الويب
pip install githydra[ai]        # مع ميزات الذكاء الاصطناعي

🚀 البداية السريعة

githydra                        # يفتح القائمة التفاعلية تلقائيًا
githydra init                   # إنشاء مستودع
githydra ignore template python # ملف .gitignore جاهز
githydra doctor                 # فحص شامل
githydra status                 # الحالة
githydra stage add --all         # تجهيز كل الملفات
githydra commit -m "feat: أول ميزة"
githydra changelog generate     # توليد سجل التغييرات

📚 الوثائق العربية الكاملة

الدليل الوصف
خريطة التوثيق فهرس كل الأدلة
دليل التثبيت تثبيت مفصّل لكل نظام
دليل المستخدم شرح كل مجموعة أوامر
مرجع الأوامر مرجع كامل بالخيارات
البطاقة السريعة كل الأوامر في ورقة واحدة
الأسئلة الشائعة أسئلة وأجوبة شاملة
حل المشاكل تشخيص الأخطاء وحلها
لوحة الويب دليل لوحة التحكم
ميزات AI الذكاء الاصطناعي
أمثلة عملية وصفات يومية جاهزة
دليل المطور بنية الكود والمساهمة
إدارة المشاريع القضايا والمعالم
التعاون الجماعي سير العمل الجماعي
التكامل السحابي ربط GitHub
القوالب قوالب المشاريع
المساهمة كيف تساهم
دليل البداية السريعة أول ٥ دقائق

🤝 الدعم والترخيص


Made with 🔥 by Abdulaziz Mohammed Alqudimi

⭐ If GitHydra helps you, consider starring the repository!

Metadata

Release files for githydra 3.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for githydra 3.2.1
File Size Uploaded Provenance Actions
githydra-3.2.1.tar.gz 224.1 kB Without provenance Details for githydra-3.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for githydra 3.2.1
File Interpreter ABI Platform Actions
githydra-3.2.1-py3-none-any.whl Python 3 none any Details for githydra-3.2.1-py3-none-any.whl

Total release size: 466.7 kB

Release files / githydra-3.2.1.tar.gz

Download URL githydra-3.2.1.tar.gz
Size 224.1 kB
Tags Source
SHA-256 checksum
How to use checksums
58cb0487e3dada8ae0295022746a6c3fbf6866d6e04f3ec0b3c917c94a0a1552
BLAKE2b-256 checksum
How to use checksums
e284f0870a31635a00b672c74d88f168d9e87a0e9712a81a4c0c0dd4f31ee0e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / githydra-3.2.1-py3-none-any.whl

Download URL githydra-3.2.1-py3-none-any.whl
Size 242.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3c6579fc234aa85ea7ba0f9c814e88e1d8a79fb018ddf76c383292eda55717cd
BLAKE2b-256 checksum
How to use checksums
4c216e8c1bbfea21ef9ce1b8a77e140e4476482c054c18d27cf2a419ec0fb08a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for githydra 3.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page