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,
    "temperature": 1.0,
    "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). temperature controls output creativity (0.0–1.0); the default of 1.0 maximises variety.

Contributing

See CONTRIBUTING.md for development setup and guidelines. This project follows TigerStyle for coding standards.

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-1.0.1.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

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

noidea-1.0.1-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for noidea-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6928ad36673765a3b5b3c3832df2a50c157baf9fb14037edeaf2901fc5bf16b1
MD5 73fe4e6c4ef8787f3477e0f2c1be42f1
BLAKE2b-256 286ba4562131157dddfb12a757c88aa4451465d614a9bed5f5584d5397a2eb4c

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for noidea-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7eedef76168a137a67992333d6e7b3c5a991de9e43b012ac64b39144608221df
MD5 107f06d0e8f77f3b1f2370464b2a5f64
BLAKE2b-256 0c28532531d5f8b81a4ea9a1af29181ffc1ab846e3e101e6cb0d8c6d11e80aa4

See more details on using hashes here.

Provenance

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