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.

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.4.tar.gz (9.3 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.4-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: noidea-0.5.4.tar.gz
  • Upload date:
  • Size: 9.3 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.4.tar.gz
Algorithm Hash digest
SHA256 1269cb5b6c7dcaebdc76e3b857b6eb72907d38ae38174388f0459bdcb7ee738f
MD5 6981c0827fe13873a24e2795d1882eb4
BLAKE2b-256 812baf43657c9ffa549fce622726c880a4c0def4d589f084e63e8b08f04c0a7c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: noidea-0.5.4-py3-none-any.whl
  • Upload date:
  • Size: 12.1 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 567758fd7f2c01073026f405389d552e5be2014e1b106220c116b9e58581349e
MD5 d245dfc8d01831d72fafcb335d99fbd6
BLAKE2b-256 64e1fb286268d48a29fdf8d4bd0b7413ed59c3da7f70a58126962256b1e42a96

See more details on using hashes here.

Provenance

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