rm-hull / rm-hull/git-commit-summary
implement Trie-based local autocomplete for commit messages
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 0
- Forks
- 0
- Avg merge
- 18h 49m
- Merged PRs (30d)
- 13
Description
Proposal
Implement a local, high-performance autocomplete (typeahead) mechanism for commit message generation using a Trie data structure.
Context
Instead of relying on real-time LLM API calls, which introduce latency and performance overhead in the TUI, a local Trie-based approach could provide instant suggestions for common commit message verbs, scopes, or frequently used phrases.
Implementation Ideas
- Non-blocking: The autocomplete should be local and instantaneous to ensure the TUI remains responsive.
- Trigger: Rather than live-as-you-type, it could be triggered via a specific keystroke (e.g.,
TABorCTRL-SPACE) to suggest completions. - Data Source: The Trie could be populated with common conventional commit structures, previous commit messages, or a project-specific word list.
This approach avoids the complexity and UX pitfalls of live LLM typeahead while still providing productivity gains.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the TUI's commit message generation and input-handling entry points. Decide how the Trie is populated and which completion trigger and suggestion behavior the project should support. Done means local, non-blocking suggestions for commit messages without relying on real-time LLM API calls.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100