{"id":21279637,"url":"https://github.com/brigand/glint","last_synced_at":"2025-07-11T09:31:13.011Z","repository":{"id":50139766,"uuid":"205755241","full_name":"brigand/glint","owner":"brigand","description":"glint is a friendly tool for creating commits in the Conventional Commit style","archived":false,"fork":false,"pushed_at":"2021-09-01T20:39:40.000Z","size":738,"stargazers_count":87,"open_issues_count":2,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-06T02:23:29.836Z","etag":null,"topics":["commitlint","git"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brigand.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-02T01:34:13.000Z","updated_at":"2025-03-09T11:42:11.000Z","dependencies_parsed_at":"2022-08-30T09:32:00.847Z","dependency_job_id":null,"html_url":"https://github.com/brigand/glint","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/brigand/glint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brigand%2Fglint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brigand%2Fglint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brigand%2Fglint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brigand%2Fglint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brigand","download_url":"https://codeload.github.com/brigand/glint/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brigand%2Fglint/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264777674,"owners_count":23662530,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["commitlint","git"],"created_at":"2024-11-21T10:24:58.901Z","updated_at":"2025-07-11T09:31:12.696Z","avatar_url":"https://github.com/brigand.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nglint is a friendly tool for creating commits in the [conventional] style.\n\n\n[conventional]: https://www.conventionalcommits.org/en/v1.0.0-beta.4/\n\n![screen recording of usage](./assets/usage.gif)\n\n## Install\n\nYou can download OSX, Linux, and Windows binaries from the [releases] page. The archives have a file named 'glint' or 'glint.exe' which\nyou should place somewhere covered by your PATH.\n\nNote: Windows binaries have only been tested in cmd.exe on Windows 10.\n\nAlternatively [install the rust toolchain][rustup], restart your shell, and run the following:\n\n```sh\ncargo install glint --locked\n```\n\nAssuming ~/.cargo/bin is in your PATH (which the installer does by default), you should be able to run `glint` and get usage information.\n\n[releases]: https://github.com/brigand/glint/releases\n[rustup]: https://rustup.rs/\n\n## Updating\n\nTo get a newer version, download it from the [releases] page and use `which glint` to see where you saved it previously. Simply replace\nthe binary with the new version.\n\nIf you installed with cargo then updating is easier:\n\n```sh\ncargo install glint --force\n```\n\n## Usage\n\nThe main command is `glint commit` which you can shorten to `glint c`.\n\nIf run with no other arguments, you'll receive each of the prompts in sequence.\n\nTo pass extra arguments to the final `git commit` command, use `--` to mark the end of glint's arguments.\n\n```sh\n# Set the commitlint type to 'docs', and also ask git to sign the commit\nglint commit -t docs -- -S\n```\n\n### Prompt: Files\n\nThe first prompt allows you to select files to add to the commit. It will only appear if no files are already staged (e.g. by using `git add` before running glint).\n\nIt's a simple checkbox list where you use the up/down arrow keys to navigate and the Space key to toggle.\n\nYou may also toggle all files (even if some are hidden) by toggling the list item named \"\u003call\u003e\".\n\nTapping the 'd' key will show a diff of the file(s) for the highlighted line, which you can exit by pressing 'q'.\n\nPress Enter when you're ready to move to the next prompt.\n\n### Prompt: Type\n\nEach commit needs a type, which you can provide interactively or by using the `-t`/`--type` flag when running glint.\n\nYou may:\n\n- press letters to filter the list, and it will submit when one option remains\n- use arrow keys to navigate up/down in the list and press Enter to select one\n\nIf you need to use a type that isn't in the list, please use the `-t` flag when running glint, such as `glint c -t other-type`.\n\n### Prompt: Scope\n\nAfter a type is selected, the optional scope may be provided. You may simply type out the scope you want, and press Enter when you're done.\n\nIt's valid to not provide a scope, in which case the commit message will not include the parenthesis (e.g. \"fix: some bug\" might be the final commit message).\n\nPress Enter when you're done, or Escape to return to the Type prompt.\n\n### Prompt: Message\n\nThe final step is to write your commit message. A basic inline text editor is provided where you may enter input as usual.\n\nThere are a few extra features (and this will likely increase in the future):\n\n- Ctrl-A, Ctrl-E to move to the start/end of a line\n- Arrow keys to navigate, including navigating to positions where there's no text (e.g. pressing down will insert a new line)\n\nWhen you're satisfied with your commit message, press Enter to submit it and finalize the commit. You may press Escape to return to the Scope prompt.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrigand%2Fglint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrigand%2Fglint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrigand%2Fglint/lists"}