{"id":13496136,"url":"https://github.com/anyshortcut/anyshortcut-cli","last_synced_at":"2025-03-28T17:35:03.721Z","repository":{"id":57490274,"uuid":"127880593","full_name":"anyshortcut/anyshortcut-cli","owner":"anyshortcut","description":"CLI (Commnad line interface) version of Anyshortcut","archived":false,"fork":false,"pushed_at":"2020-12-17T12:35:37.000Z","size":142,"stargazers_count":93,"open_issues_count":1,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-01T21:03:26.878Z","etag":null,"topics":["cli","command-line-app","command-line-tool","productivity-tools","rust","shortcuts"],"latest_commit_sha":null,"homepage":"https://anyshortcut.com","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/anyshortcut.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-03T09:02:27.000Z","updated_at":"2024-08-01T18:38:37.000Z","dependencies_parsed_at":"2022-09-02T10:51:12.310Z","dependency_job_id":null,"html_url":"https://github.com/anyshortcut/anyshortcut-cli","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyshortcut%2Fanyshortcut-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyshortcut%2Fanyshortcut-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyshortcut%2Fanyshortcut-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anyshortcut%2Fanyshortcut-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anyshortcut","download_url":"https://codeload.github.com/anyshortcut/anyshortcut-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246069894,"owners_count":20718807,"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":["cli","command-line-app","command-line-tool","productivity-tools","rust","shortcuts"],"created_at":"2024-07-31T19:01:42.816Z","updated_at":"2025-03-28T17:35:03.439Z","avatar_url":"https://github.com/anyshortcut.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"![](./anyshortcut-cli.jpg)\n# Anyshortcut Command Line Interface\n\n[![Travis Build Status](https://travis-ci.com/anyshortcut/anyshortcut-cli.svg?branch=master)](https://travis-ci.com/anyshortcut/anyshortcut-cli) \n[![license-mit](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/anyshortcut/anyshortcut-cli/blob/master/LICENSE-MIT)\n[![license-apache](https://img.shields.io/badge/license-Apache-yellow.svg)](https://github.com/anyshortcut/anyshortcut-cli/blob/master/LICENSE-APACHE)\n[![Version info](https://img.shields.io/crates/v/anyshortcut.svg)](https://crates.io/crates/anyshortcut)\n\nA blaze fast way to launch your favorite website in Terminal.\n\n## Installation\n\n#### Cargo\n\n`cargo install anyshortcut`\n\n#### Homebrew\n\n`brew install anyshortcut`\n\n\u003e Unmerged: https://github.com/Homebrew/homebrew-core/pull/33198\n\n#### Install binary file from Github release\n\nhttps://github.com/anyshortcut/anyshortcut-cli/releases\n\n**Recommend**\n\n\u003e Give it an alias name such as **as** by adding following line to your \n\u003e **.bashrc** or **.zshrc** file:\n\u003e\n\u003e ```shell\n\u003e alias as=$(which anyshortcut)\n\u003e ```\n\u003e \n\u003e then source your profile to make it works.\n\n\n## Usage\n\n```\n$ anyshortcut\nA blaze fast way to launch your favorite website in Terminal.\n\nUSAGE:\n    anyshortcut [ARGS] [SUBCOMMAND]\n\nARGS:\n    \u003cPRIMARY_KEY | COMPOUND_KEY\u003e\n            Using primary shortcut key (A~Z|0~9) or compound shortcut key (AA~ZZ) to open the url.\n\n    \u003cSECONDARY_KEY\u003e\n            Use secondary shortcut key (A~Z|0~9) to open the url.\n\n\nSUBCOMMANDS:\n    list      List shortcuts.\n    login     Login with the token.\n    logout    Logout and clean local data.\n    sync      Sync all shortcuts after login.\n\n```\n\n- `as \u003cPRIMARY_KEY\u003e`\n\nUsing the primary shortcut to launch the website. \n\n**PRIMARY_KEY** is in the form of a case-insensitive alphanumeric letter range **A ~ Z** or **0 ~ 9**.\n\nFor example:\n```\n$ as g\nUrl: https://www.google.com/\n```\n\n- `as \u003cCOMPOUND_KEY\u003e`\n\nUsing the compound shortcut to launch the website.\n\n**COMPOUND_KEY** is in the form of two case-insensitive alphabet letters range **AA ~ ZZ**.\n\nFor example:\n```\n$ as db\nUrl: https://www.dropbox.com/\n```\n\n- `as \u003cPRIMARY_KEY\u003e|\u003cCOMPOUND_KEY\u003e \u003cSECONDARY_KEY\u003e`\n\nUsing the secondary shortcut to launch the website.\n\n**SECONDARY_KEY** is in the form of an case-insensitive alphanumeric letter range **A ~ Z** or **0 ~ 9**.\n\nFor example:\n```\n$ as g t\nUrl: https://translate.google.com/\n```\n\n- `as login [TOKEN]` or `as login` to prompt input `TOKEN`\n\nLogin with access token then sync your shortcuts automatically. You can find the access token at \nofficial website [Account Profile](https://anyshortcut.com/account#/profile/) -\u003e **API Access**.\n\n- `as sync`\n\nSync your shortcuts to local manually.\n\n```\n$ as sync\nSyncing your shortcut data...\n\nShortcuts synced success!\nPrimary shortcut number: 120\nSecondary shortcut number: 150\n\nAll your data stored at ~/.anyshortcut directory.\n```\n\n- `as list`\n\nList your shortcuts.\n\n```\nUSAGE:\n    anyshortcut list [OPTIONS]\n\nOPTIONS:\n    -c, --compound     List all compound shortcuts.\n    -p, --primary      List all primary shortcuts.\n    -s, --secondary    List all secondary shortcuts.\n```\n\n- `as logout`\n\nLogout and all local data will be cleaned.\n\n## Future plans\n\n- [ ] Support bind shortcut\n- [ ] Support delete shortcut\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanyshortcut%2Fanyshortcut-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanyshortcut%2Fanyshortcut-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanyshortcut%2Fanyshortcut-cli/lists"}