{"id":30195660,"url":"https://github.com/jettchent/qali","last_synced_at":"2025-08-13T04:37:26.035Z","repository":{"id":58142855,"uuid":"525047287","full_name":"JettChenT/qali","owner":"JettChenT","description":"Quick aliasing","archived":false,"fork":false,"pushed_at":"2025-03-05T06:06:18.000Z","size":89,"stargazers_count":17,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-08T08:39:59.272Z","etag":null,"topics":["cli","productivity","rust","scripting","shell","terminal"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JettChenT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-15T15:50:44.000Z","updated_at":"2025-03-05T06:06:21.000Z","dependencies_parsed_at":"2023-01-23T16:01:28.508Z","dependency_job_id":null,"html_url":"https://github.com/JettChenT/qali","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/JettChenT/qali","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JettChenT%2Fqali","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JettChenT%2Fqali/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JettChenT%2Fqali/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JettChenT%2Fqali/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JettChenT","download_url":"https://codeload.github.com/JettChenT/qali/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JettChenT%2Fqali/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270183153,"owners_count":24541315,"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-13T02:00:09.904Z","response_time":66,"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":["cli","productivity","rust","scripting","shell","terminal"],"created_at":"2025-08-13T04:37:20.721Z","updated_at":"2025-08-13T04:37:25.995Z","avatar_url":"https://github.com/JettChenT.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QALI (q)\n**Q**uick **Ali**asing\n\n![Crates.io](https://img.shields.io/crates/l/qali)\n![Crates.io](https://img.shields.io/crates/v/qali)\n\n\n[![asciicast](https://asciinema.org/a/517546.svg)](https://asciinema.org/a/517546)\n\n## Purpose\nQALI can...\n- Shorten long \u0026 complex commands\n- Act as a namespace for your custom scripts (stop worrying about conflicting names with system commands!)\n- Make you type less\n- Reduce your mental workload\n\n## Installation\n\n### Homebrew (for macOS)\n```shell\nbrew tap JettChenT/qali\nbrew intall qali\n```\n\n### From release\ndownload the [latest release](https://github.com/JettChenT/qali/releases/latest) of your platform, unzip, and move `q` and `qali` binaries to your `bin` folder (usually /usr/local/bin)\n\n### Cargo\nA [Rust](https://rust-lang.org) installation is required\n```shell\ncargo install qali\n```\n\n### Note for windows users:\n\nTo run the QALI on a windows machine without encoding errors, use [windows terminal](https://github.com/microsoft/terminal).\n\n`q.exe` works...\n\nbut `qali.exe` somehow gets detected as a [trojan virus](https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?Name=Trojan:Win32/Sabsik.FL.B!ml\u0026ThreatID=2147780203) (I wish I know how to make one (\u003e_\u003c)\n\nThis can be solved by allowing the \"virus\" in windows defender.\n\nLuckily, `qali.exe` is not required for simple actions such as setting and executing an alias.\n\n## The Commands\nThis installs two separate binaries : `q` and `qali`.\n\nThe command `q` is meant for actions with the highest usage frequency, such as setting and alias or executing a command.\n\nThe command `qali` is meant as a companion allowing for subcommands and more functionality without influencing the namespace in `q` which is set reserved completly by the users.\n\n## Usage\n`q --help`\n\n`qali --help`\n\n## Supported alias types:\n- Command: one liners, eg. `q -s hi \"echo hi\"`\n- Shell: Shell scripts, eg. `q -s hi hello.sh` (*EXPERIMENTAL*) (Works **iff** your shell installation has the name \"sh\")\n- Python: Python scripts, eg. `q -s hi hello.py` (*EXPERIMENTAL*) (Works **iff** your python command has the name \"python\")\n- URI: open URI in default application, eg. `q -s hi https://beta.sayhello.so`\n\n## Examples:\n\n### Set an alias\nExample: set `gs` as `git status`\n```shell\nq -s gs \"git status\"\n```\n\nExample: set `cc` to `cargo check` locally\n```shell\nq -sl cc \"cargo check\"\n```\n\nSet `p` as `python` if `p` doesn't exist\n```shell\nq p python\n```\n\nSet `hi` to `./hi.py` with `qali`\n```shell\nqali set hi ./hi.py\n```\n\nSet local alias `hi` to `./hi.py` with `qali`\n```shell\nqali -l set hi ./hi.py\n```\n\n### Execute aliases interactively (fuzzy select)\nMethod 1: `q`\n\nMethod 2: `qali select`\n\n### Execute aliases directly\nExample: execute `git status`\n```shell\nq gs\n```\nExecute `python --version` (As of now, use `--` when executing a command to stop flags meant for the program being parsed as flags for qali itself.)\n```shell\nq -- p --version\n```\n\n### List all existing commands\n`qali list`\n\nAlternatively, you can set `q -s ls \"qali list\"` to shorten this.\n### Remove a command\nExample: remove `gs` as `git status`:\n\n`qali remove gs`\n\nAlternatively, you can set `q -s rm \"qali remove\"` to shorten this.\n\n## Features to implement\n- Better output formatting\n- Subcommands\n- Change storage method to json or other serde formats\n- Allow users to set descriptions for each command\n- Linking to shell scripts\n- Linking to python scripts(support for python environments)\n- TUI to navigate existing commands\n- Implement fuzzy finding\n- More customizable options eg. print-only\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjettchent%2Fqali","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjettchent%2Fqali","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjettchent%2Fqali/lists"}