{"id":13661396,"url":"https://github.com/lwe/whatthecommit","last_synced_at":"2025-04-25T02:32:52.348Z","repository":{"id":976841,"uuid":"776310","full_name":"lwe/whatthecommit","owner":"lwe","description":"Unoffical command line client for https://whatthecommit.com","archived":false,"fork":false,"pushed_at":"2021-07-20T09:00:33.000Z","size":10,"stargazers_count":158,"open_issues_count":4,"forks_count":8,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-10T16:44:57.682Z","etag":null,"topics":["fun","shell","whatthecommit"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/lwe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-07-15T08:57:46.000Z","updated_at":"2024-08-22T09:35:41.000Z","dependencies_parsed_at":"2022-08-16T11:40:36.525Z","dependency_job_id":null,"html_url":"https://github.com/lwe/whatthecommit","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwe%2Fwhatthecommit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwe%2Fwhatthecommit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwe%2Fwhatthecommit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwe%2Fwhatthecommit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lwe","download_url":"https://codeload.github.com/lwe/whatthecommit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250742054,"owners_count":21479721,"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":["fun","shell","whatthecommit"],"created_at":"2024-08-02T05:01:33.897Z","updated_at":"2025-04-25T02:32:52.087Z","avatar_url":"https://github.com/lwe.png","language":"Ruby","readme":"whatthecommit\n=============\n\nAn unoffical command client to fetch a random and silly commit message from\n[whatthecommit.com][wtc].\n\n\u003e For the sources of [whatthecommit.com][wtc] see\n\u003e https://github.com/ngerakines/commitment\n\nFAQ\n---\n\n#### Is it useful?\n\nYeah, sure, I mean it's perfect for those cases where you\nhaven't committed a change in ages and feel too important to use\n`git add -i`, so `git commit -am \"$(whatthecommit)\"` to the rescue :wink:\n\n#### How do I install it?\n\nTo get up and running as fast as possbile run\n\n```bash\n# installs to /usr/local/bin/whatthecommit\ncurl -L https://github.com/lwe/whatthecommit/raw/master/whatthecommit \u003e/usr/local/bin/whatthecommit\nchmod 0755 /usr/local/bin/whatthecommit\n```\n\n#### Are there any options?\n\nSure, check `whatthecommit -h` for usage and options.\n\n#### Do I need this? / Alternatives\n\nNo, [whatthecommit.com][wtc] provides since some time a\nplain text interface at https://whatthecommit.com/index.txt - so a good\nalternative would be to create something like:\n\n```bash\n# .bashrc / .zshrc or whatever\nfunction whatthecommit() {\n  curl --silent --fail https://whatthecommit.com/index.txt\n}\n```\n\n...or how about a git alias?\n\n```bash\n# From https://github.com/ngerakines/commitment/issues/69#issuecomment-91053061\ngit config --global alias.yolo '!git add -A \u0026\u0026 git commit -m \"$(curl --silent --fail https://whatthecommit.com/index.txt)\"'\n```\n\nThanks to [m13253](https://github.com/m13253) for the index.txt trick.\n\n[wtc]: https://whatthecommit.com/\n","funding_links":[],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flwe%2Fwhatthecommit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flwe%2Fwhatthecommit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flwe%2Fwhatthecommit/lists"}