{"id":30133028,"url":"https://github.com/jonathanwthom/agen","last_synced_at":"2025-09-05T17:33:30.998Z","repository":{"id":62553064,"uuid":"361204984","full_name":"JonathanWThom/agen","owner":"JonathanWThom","description":"Generate shell aliases based on your most commonly entered commands.","archived":false,"fork":false,"pushed_at":"2021-08-22T07:12:36.000Z","size":5009,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-06T12:49:24.527Z","etag":null,"topics":["aliases","ruby","zsh"],"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/JonathanWThom.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-04-24T16:00:16.000Z","updated_at":"2022-01-26T15:55:35.000Z","dependencies_parsed_at":"2022-11-03T04:01:20.306Z","dependency_job_id":null,"html_url":"https://github.com/JonathanWThom/agen","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/JonathanWThom/agen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanWThom%2Fagen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanWThom%2Fagen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanWThom%2Fagen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanWThom%2Fagen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JonathanWThom","download_url":"https://codeload.github.com/JonathanWThom/agen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanWThom%2Fagen/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269780615,"owners_count":24474682,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["aliases","ruby","zsh"],"created_at":"2025-08-10T20:01:13.015Z","updated_at":"2025-08-10T20:02:10.861Z","avatar_url":"https://github.com/JonathanWThom.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Agen\n\n[![Build](https://github.com/JonathanWThom/agen/actions/workflows/main.yml/badge.svg)](https://github.com/JonathanWThom/agen/actions/workflows/main.yml)\n\nGenerate shell aliases based on your most commonly entered commands.\n\nhttps://user-images.githubusercontent.com/22665228/123534086-48082600-d6cf-11eb-970c-1d46f44068ff.mov\n\n## Installation \u0026 Usage\n\nInstall with `gem install agen` and then run `agen` to build your aliases. Then\nbe sure to `source ~/.zshrc` before using the new aliases. Use `agen -h` to see\navailable options.\n\n```\nUsage: agen [options]\n    -v, --version                    Version\n    -n, --number=NUMBER              Number of aliases to generate\n    -a, --auto                       Aliases will be generated and applied automatically\n    -r, --rcfile=RCFILE              Path to shell rc file\n    -s, --shell-history=HISTFILE     Path to shell history file\n```\n\nRight now, this will only work with `zsh` or `bash`, but you can specify unique shell config files using the `-r` and `-h` options (though there is no guarantee that your history file will be read properly). By default, agen reads from `.zsh_history` and\nwrites to `.zshrc`.\n\nWhen editing aliases interactively (which is the default), any commands that are\nignored (via the `i` command) will be stored in the ~/.agen configuration file.\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/JonathanWThom/agen.\n\n## Roadmap\n\n* CLI will raise user friendly errors if you specify shell configuration files that don't exist.\n* CLI will let you specify \"meta\" vs \"full\" commands.\n  - Full command would be `git checkout branch-name`, meta command would be `git checkout`.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanwthom%2Fagen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathanwthom%2Fagen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanwthom%2Fagen/lists"}