Skip to main content

You have no idea what to write? We've got you.

Project description

noidea

Because you shouldn't have to think about commit messages.

Stages your diff, sends it to an AI, and pre-fills your commit editor — so you never have to write a commit message again.

PyPI Downloads Stars License


noidea demo

Quick Start

pipx install noidea
noidea init

That's it. Every git commit now opens your editor with a suggested message pre-filled.

Requires pipx. Alternatively: pip install noidea

API Key Setup

noidea needs an Anthropic API key. Three options (checked in order):

Method Command
Keyring (recommended) noidea keys add
Environment variable export ANTHROPIC_API_KEY=sk-ant-...
.env file ANTHROPIC_API_KEY=sk-ant-... in a .env file

Commands

Command Description
noidea init Install the prepare-commit-msg hook. Backs up any existing hook. Respects core.hooksPath.
noidea suggest Generate a commit message from the staged diff and print it.
noidea status Show current config, API key status, and hook installation.
noidea keys Manage API keys in the system keyring (show / add / remove).
noidea test Send a test message to Claude to verify connectivity.
noidea update Upgrade noidea via pipx (falls back to pip).
noidea --version Print the current version.

noidea suggest options

-F, --file TEXT    Write message to file instead of stdout (used by the hook)
-M, --model TEXT   Override the model used for generation

Config

Two optional config levels — both are config.json files:

  • User: ~/.noidea/config.json — applies everywhere
  • Repo: <repo>/.noidea/config.json — overrides user config

Precedence: built-in defaults → user config → repo config.

{
  "llm": {
    "max_tokens": 1024,
    "small_model": "claude-haiku-4-5",
    "large_model": "claude-sonnet-4-6",
    "context_limit": 600000,
    "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. Smaller diffs use small_model (Haiku) for speed; larger diffs automatically switch to large_model (Sonnet).

Requirements

  • Python 3.10+
  • Anthropic API key

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.5.3.tar.gz (7.7 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.5.3-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for noidea-0.5.3.tar.gz
Algorithm Hash digest
SHA256 88fbaea53ea34384e837936af4a8d9c0e812e7838cfaaef7f2e2c48576070bd0
MD5 d9f12dd45642da6c00142662b7e96279
BLAKE2b-256 99644a9f8c67d738a3b2b6852c0285fa63733a06c3af23c594be9356d3ff1e36

See more details on using hashes here.

Provenance

The following attestation bundles were made for noidea-0.5.3.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.5.3-py3-none-any.whl.

File metadata

  • Download URL: noidea-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 11.7 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.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0fec660880d0155d380aa1ce7e47a1c0626a452260ed944656568d1aa0e8cc4e
MD5 cc78f9f0b37e06e1e8755549de953344
BLAKE2b-256 468ba60e55b244a3b86f07b2921eedecfd05650c3e2b8241bbac87432f57d770

See more details on using hashes here.

Provenance

The following attestation bundles were made for noidea-0.5.3-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