Skip to main content

a natural language git assistant for the terminal

Project description

ASD v1.1.3

ASD is a natural language Git assistant for the terminal. It translates plain English instructions into Git commands, helping you manage branches, histories, and merges safely and efficiently.

ASD in action

Why ASD?

  • I struggled with Git’s commands and conflicts.
  • I wanted a simple, transparent tool—no magic—just clear steps.

Features

  • Translate English instructions into Git commands.
  • Guide complex workflows with best-practice suggestions.
  • Visualize commit graphs and branch histories.
  • Offer safety checks and recovery guidance for risky operations.

Getting Started

Installation

From PyPI:

pip install git-asd

Or directly from GitHub:

pip install git+https://github.com/adikuma/asd.git
Launch
asd

This opens ASD’s interactive terminal interface. Enter any Git task in plain English.

Workflow

Here’s a quick look at the five-step process inside ASD:

flowchart LR
    Start([Start]) --> Analyze[Analyze Git Context]
    Analyze --> Intent[Parse User Intent]
    Intent --> Plan[Generate Execution Plan]
    Plan --> Review[Review Plan & Status]
    Review --> Execute[Execute Commands]
    Execute --> End([End])
  1. Analyze Git Context: Examine git status to capture your repository’s state.
  2. Parse User Intent: Turn your English request into a structured plan.
  3. Generate Execution Plan:Create a safe list of Git commands.
  4. Review Plan & Status: Inspect the plan and current status.
  5. Execute Commands: Run each step with your approval and mini-lessons.

Roadmap

ASD is an early project with plenty of room for improvement. I would love to have people test it, report issues, and suggest features so I can refine and expand its capabilities.

Contributions and feedback are welcome. Please open an issue or submit a pull request.

Contribution Guidelines

This is my general contribution process; I like to keep it simple—sorry about that :)

Topic Guidelines
Branching Strategy feature/ for new features (e.g., feature/add-login-command), fix/ for bug fixes (e.g., fix/handle-empty-input).
Code Formatting Use [ruff] for formatting. Run ruff format . before pushing.
Code Style Keep comments lowercase; use # NOTE: or # TODO: for import-related comments.
Commit Messages FollowConventional Commits specification.
Pull Requests & Merging Create a PR; merging to main requires ≥1 collaborator approval; use squash merge.
Creativity Feel free to experiment and innovate.

Updates

For a detailed change history, see UPDATES.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git_asd-1.1.3.tar.gz (26.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

git_asd-1.1.3-py3-none-any.whl (28.9 kB view details)

Uploaded Python 3

File details

Details for the file git_asd-1.1.3.tar.gz.

File metadata

  • Download URL: git_asd-1.1.3.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for git_asd-1.1.3.tar.gz
Algorithm Hash digest
SHA256 d9d347b7c8f33124bb0e715e7d1003859215e8108c37904e88e311a7c140d3da
MD5 6e3a5d0e3b91b6bc513b6aea5daba432
BLAKE2b-256 0b48acf8829ff1554aed600248062cad8c379a50f5cc4094205b957bf0e49745

See more details on using hashes here.

File details

Details for the file git_asd-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: git_asd-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 28.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for git_asd-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c2dd4e37e9e78e78c35bfbafb98786b97265141b2091ac8231857c29a7ef4a65
MD5 64f2cd9d15ecf9c38ea1551f2b77a5ac
BLAKE2b-256 a1f3b7f414fb7ad29de354f44e733d4f4f2aa6ebd00b504fed95ca4889c1c389

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page