{"id":19670888,"url":"https://github.com/sanhphanvan96/lolcommit","last_synced_at":"2026-04-09T18:49:22.031Z","repository":{"id":211552004,"uuid":"728501133","full_name":"sanhphanvan96/lolcommit","owner":"sanhphanvan96","description":"Funny commit message offline generator. You can specify a theme or search for a keyword.","archived":false,"fork":false,"pushed_at":"2023-12-09T09:01:53.000Z","size":774,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-10T03:36:32.834Z","etag":null,"topics":["automation","bash","cli","coding","commit","fun","funny","generator","git","humor","linux","macos","nix","offline","productivity","themes"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/sanhphanvan96.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-07T04:25:39.000Z","updated_at":"2023-12-08T18:20:16.000Z","dependencies_parsed_at":"2023-12-19T01:52:50.310Z","dependency_job_id":"83e98283-a5da-40ad-8044-b87383f7cd7b","html_url":"https://github.com/sanhphanvan96/lolcommit","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":"0.19999999999999996","last_synced_commit":"d20cfba9d6820c18e14910c9100623cf70304a2f"},"previous_names":["sanhphanvan96/lolcommit"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanhphanvan96%2Flolcommit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanhphanvan96%2Flolcommit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanhphanvan96%2Flolcommit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanhphanvan96%2Flolcommit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanhphanvan96","download_url":"https://codeload.github.com/sanhphanvan96/lolcommit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240980888,"owners_count":19888344,"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":["automation","bash","cli","coding","commit","fun","funny","generator","git","humor","linux","macos","nix","offline","productivity","themes"],"created_at":"2024-11-11T17:07:26.311Z","updated_at":"2026-04-09T18:49:17.002Z","avatar_url":"https://github.com/sanhphanvan96.png","language":"Shell","readme":"# Random Commit Message Generator\n\nThis script generates a random commit message. You can specify a theme or search for a keyword in all themes.\n\n## Demo\n[![asciicast](./demo.png)](https://asciinema.org/a/625893)\n## Setup\n\n```bash\ngit clone https://github.com/sanhphanvan96/lolcommit.git\nln -s \"$PWD\"/bin/lolcommit.sh /usr/local/bin/lolcommit\n```\n\n## Usage\n\n```bash\nlolcommit [OPTIONS]\n```\n\n- Directly in a Git Commit Message\n\nYou can use `lolcommit` directly within a Git commit message by embedding it in the `-m` option:\n```bash\ngit commit -m \"$(lolcommit)\"\n```\n\n## Options\n\n- `-h, --help`: Show the help message and exit\n- `-l, --list`: List available themes\n- `-t THEME`: Use the specified theme (optional)\n- `-s SEARCH`: Search for a keyword in all themes and generate a random commit from the results\n\n## Examples\n\nTo generate a random commit message from all themes:\n\n```\n$ lolcommit\nThe code was feeling a bit too predictable, so I randomized it\n```\n\nTo generate a random commit message from a theme:\n\n```\n$ lolcommit -t humorous\nI swear it worked on my machine\n```\n\nTo search for a keyword in all themes and generate a random commit from the results:\n\n```\n$ lolcommit -s bug\nJust another day at the office, fixed a bug\n\n$ lolcommit -s code\nThe code was feeling lonely, so I added some more lines\n\n$ lolcommit -s coffee\nThis commit is like a coffee break, it fixes everything\n```\n\n## Themes\n\nThemes are stored as text files in the `themes` directory. Each line in a theme file is a possible commit message.\n\nTo add a new theme, simply add a new text file to the `themes` directory.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanhphanvan96%2Flolcommit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanhphanvan96%2Flolcommit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanhphanvan96%2Flolcommit/lists"}