{"id":46174189,"url":"https://github.com/hiro08gh/alx","last_synced_at":"2026-03-02T17:36:39.085Z","repository":{"id":323611795,"uuid":"1093822164","full_name":"hiro08gh/alx","owner":"hiro08gh","description":"A simple alias manager for multiple shells written in Rust.","archived":false,"fork":false,"pushed_at":"2025-11-18T14:57:48.000Z","size":287,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-18T16:46:05.817Z","etag":null,"topics":["bash","cli","rust","rust-lang"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/alx","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/hiro08gh.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-10T22:16:26.000Z","updated_at":"2025-11-18T14:57:51.000Z","dependencies_parsed_at":"2025-11-11T06:58:52.564Z","dependency_job_id":null,"html_url":"https://github.com/hiro08gh/alx","commit_stats":null,"previous_names":["hiro08gh/alx"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/hiro08gh/alx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiro08gh%2Falx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiro08gh%2Falx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiro08gh%2Falx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiro08gh%2Falx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiro08gh","download_url":"https://codeload.github.com/hiro08gh/alx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiro08gh%2Falx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30012001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T17:00:27.440Z","status":"ssl_error","status_checked_at":"2026-03-02T17:00:03.402Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bash","cli","rust","rust-lang"],"created_at":"2026-03-02T17:36:38.190Z","updated_at":"2026-03-02T17:36:39.076Z","avatar_url":"https://github.com/hiro08gh.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# alx\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"700\" alt=\"top image\" src=\"assets/top.png\" /\u003e\n\u003c/p\u003e\n\nA simple alias manager for multiple shells written in Rust.\n\n## Features\n\n- 🚀 Manage aliases across multiple shells (Bash, Zsh, Fish)\n- 📦 Group aliases by category\n- 🔍 Search aliases by keyword\n- 💾 Import / Export aliases (JSON, TOML)\n- 🔄 Automatic sync to shell configuration\n\n## Installation\n\nUsing Cargo install:\n\n```bash\ncargo install alx\n```\n\n## Quick Start\n\n### Initialize\n\n```bash\nalx init\n```\n\nChoose your shell.\n\n```bash\nInitialized alx configuration at: \"/your_alx_path/alx\"\nSelect your shell:\n\u003e zsh (default)\n  bash\n  fis\n```\n\nChoose whether to write the 'alx' alias configuration to your shell file. The default is No.\n\n```bash\nTo enable aliases, add the following line to your shell config:\n     # Add to '/your/.zshrc'\n     [ -f '/your_alx_path/alx/shell/aliases.sh' ] \u0026\u0026 source '/your_alx_path/alx/shell/aliases.sh'\nDo you want to add this line to '/your/.zshrc' automatically? [y/N]\n```\n\nSee below for manual setup.\n\n```bash\n# Bash (`~/.bashrc`):\n[ -f ~/your_alx_path/aliases.sh ] \u0026\u0026 source ~/your_alx_path/aliases.sh\n\n# Zsh (`~/.zshrc`):\n[ -f ~/your_alias_path/aliases.sh ] \u0026\u0026 source ~/your_alias_path/aliases.sh\n\n# Fish (`~/.config/fish/config.fish`):\nsource ~/your_alias_path/aliases.sh\n```\n\n## Configuration\n\nInitialization automatically creates the following structure in the alx directory.\n\n```\n~/your_alx_path/alx/\n├── config.toml       # Main configuration\n├── aliases.toml      # Aliases database\n├── shell/\n│   └── aliases.sh    # Generated shell aliases\n└── backups/          # Backup directory\n```\n\n## Usage\n\n### Show info\n\n```bash\nalx info\n```\n\n### Add an alias\n\n```bash\nalx add \u003cname\u003e \u003ccommand\u003e [--description] [--group]\n\n# example\nalx add ll \"ls -la\" --description \"List all files\" --group general\nalx add gs \"git status\" --group git\n```\n\n### List aliases\n\n```bash\nalx list [--group]\n\n# List all aliases\nalx list\n\n# List aliases in a specific group\nalx list --group git\n```\n\n### Search aliases\n\n```bash\nalx search git\n```\n\n### Edit an alias\n\n```bash\nalx edit \u003cname\u003e [--command] [--description] [--group]\n\n# example\nalx edit ll --command \"ls -lah\"\nalx edit gs --description \"Check git status\"\n```\n\n### Remove aliases\n\n```bash\nalx remove \u003cname\u003e\n\n# example\nalx remove ll gs\n```\n\n### Export / Import\n\nThis is useful for migrating external files or registering aliases in bulk.\n\n```bash\n# Export to JSON\nalx export --output aliases.json --format json\n\n# Export to TOML\nalx export --output aliases.toml --format toml\n\n# Import from fi\nalx import aliases.json\n```\n\n### View groups\n\n```bash\nalx groups\n```\n\n## Migration guide\n\nYou can automatically apply settings from your current Bash shell configuration to alx.\n\nRun the `alx migrate` command. This command targets files such as `.bashrc`, `.zshrc`, and `config.fish`, specifically focusing on `alias (ex: alias gs=\"git status\")` definitions within those files.\n\n```bash\n# Initialize alx\nalx init\n\n# Migrate your target shell\nalx migrate or alx migrate --from \"./.bashrc\"\n\n# Check if the aliases are applied correctly\nalx list\n```\n\nRemove the aliases from the shell settings, if there are no issues.\n\n## Development\n\n### Build\n\n```bash\ncargo build\n```\n\n### Run tests\n\n```bash\ncargo test\n```\n\n### Run\n\n```bash\ncargo run -- \u003ccommand\u003e\n```\n\n## License\n\nMIT License.© [hiro08gh](https://github.com/hiro08gh)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiro08gh%2Falx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiro08gh%2Falx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiro08gh%2Falx/lists"}