Skip to main content

AI powered commit suggestions

Project description

noidea

AI-powered commit message suggestions via git hooks. Stages a diff, sends it to Claude, and pre-fills your commit editor.

Install

pipx install noidea
export ANTHROPIC_API_KEY=sk-ant-...
noidea init

Requires pipx. Alternatively: pip install noidea

noidea init installs a prepare-commit-msg hook in your repo. From then on, every git commit opens your editor with a suggested message pre-filled.

Commands

noidea init

Installs the git hook. Backs up any existing prepare-commit-msg as .bak. Respects core.hooksPath.

noidea update

Updates noidea to the latest version via pipx upgrade noidea (falls back to pip install --upgrade noidea).

noidea suggest

Generates a commit message from the current staged diff and prints it.

Options:
  -F, --file TEXT   Write message to file instead of stdout (used by the hook)

Config

Optional config at ~/.noidea/noidea.toml:

[llm]
model = "claude-sonnet-4-6"
max_tokens = 1024
system_prompt = "Your custom prompt here"

Falls back to built-in defaults if no config file exists.

Requirements

  • Python 3.13+
  • ANTHROPIC_API_KEY env var

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

noidea-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

noidea-0.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file noidea-0.1.0.tar.gz.

File metadata

  • Download URL: noidea-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for noidea-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ebe2b6f8e77f0b8700769bd627b2ff719ed23466e23f8029770a692fb482fcb3
MD5 e8ee099a62ede62320dcd856f963994d
BLAKE2b-256 821d94fc84865ce91e8d29ce42428a0e389f45830bf05e9f47f6fd6302667789

See more details on using hashes here.

Provenance

The following attestation bundles were made for noidea-0.1.0.tar.gz:

Publisher: publish.yml on AccursedGalaxy/noidea

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file noidea-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: noidea-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for noidea-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f04a8d7c6e5e6de54de26770dcd3971ce849df2fffedc07834c4e1850412ece8
MD5 ed4f0b33a0fe30785ddccff8d801be02
BLAKE2b-256 1c8ac425a290f9aa3774eaa284ab1688b720148a2f9a2f2c0ccef4df57567c70

See more details on using hashes here.

Provenance

The following attestation bundles were made for noidea-0.1.0-py3-none-any.whl:

Publisher: publish.yml on AccursedGalaxy/noidea

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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