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
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.
API Key Setup
noidea needs an Anthropic API key. Three options (checked in order):
- Keyring (recommended):
noidea keys add - Environment variable:
export ANTHROPIC_API_KEY=sk-ant-... .envfile:ANTHROPIC_API_KEY=sk-ant-...in a.envfile
Commands
noidea init
Installs the prepare-commit-msg hook. Backs up any existing hook as .bak. Respects core.hooksPath.
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)
noidea keys
Manage API keys stored in the system keyring.
noidea keys list # List saved keys
noidea keys add # Add a key interactively
noidea keys remove # Remove a key interactively
noidea test
Sends a test message to the Claude API to verify your key and connectivity work.
noidea update
Updates noidea via pipx upgrade noidea (falls back to pip install --upgrade noidea).
noidea --version
Prints the current version.
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. The default prompt follows conventional commits style (feat/fix/refactor/etc.) with a 72-character subject line limit.
Requirements
- Python 3.13+
- Anthropic API key
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file noidea-0.2.1.tar.gz.
File metadata
- Download URL: noidea-0.2.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c15274d1b5105ebdac8e91c97677589ab90e548fb6369a5aac87bd09c5e86954
|
|
| MD5 |
7f82fd64f6e1bdd53169987a92d047d3
|
|
| BLAKE2b-256 |
b270a81dc2fa24f5ddf8ed668e5316220d205a28f52042766f5e0ba05141c61a
|
Provenance
The following attestation bundles were made for noidea-0.2.1.tar.gz:
Publisher:
publish.yml on AccursedGalaxy/noidea
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
noidea-0.2.1.tar.gz -
Subject digest:
c15274d1b5105ebdac8e91c97677589ab90e548fb6369a5aac87bd09c5e86954 - Sigstore transparency entry: 1123003163
- Sigstore integration time:
-
Permalink:
AccursedGalaxy/noidea@4799cfdeef5676929ba461eb8888c5e294d4a83d -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/AccursedGalaxy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4799cfdeef5676929ba461eb8888c5e294d4a83d -
Trigger Event:
push
-
Statement type:
File details
Details for the file noidea-0.2.1-py3-none-any.whl.
File metadata
- Download URL: noidea-0.2.1-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a8486ec6def8c624143898d0a8b8ad0672fdf972844f7e1fe6c8bd65607f151
|
|
| MD5 |
d19375bf8716028931865bf1afc6a765
|
|
| BLAKE2b-256 |
6410d9a5d8fdbcb021a0e160372c2badfcb46501f3d7b8d3214c8ce7a77c6b46
|
Provenance
The following attestation bundles were made for noidea-0.2.1-py3-none-any.whl:
Publisher:
publish.yml on AccursedGalaxy/noidea
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
noidea-0.2.1-py3-none-any.whl -
Subject digest:
4a8486ec6def8c624143898d0a8b8ad0672fdf972844f7e1fe6c8bd65607f151 - Sigstore transparency entry: 1123003180
- Sigstore integration time:
-
Permalink:
AccursedGalaxy/noidea@4799cfdeef5676929ba461eb8888c5e294d4a83d -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/AccursedGalaxy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4799cfdeef5676929ba461eb8888c5e294d4a83d -
Trigger Event:
push
-
Statement type: