{"id":15845081,"url":"https://github.com/rajikaimal/shx","last_synced_at":"2025-04-01T17:46:23.791Z","repository":{"id":238100875,"uuid":"795563118","full_name":"rajikaimal/shx","owner":"rajikaimal","description":"Command with ease","archived":false,"fork":false,"pushed_at":"2024-05-07T10:40:46.000Z","size":106,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-07T11:36:01.908Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rajikaimal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-05-03T14:50:47.000Z","updated_at":"2024-05-07T10:40:50.000Z","dependencies_parsed_at":"2024-05-07T11:49:29.301Z","dependency_job_id":null,"html_url":"https://github.com/rajikaimal/shx","commit_stats":null,"previous_names":["rajikaimal/shx"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajikaimal%2Fshx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajikaimal%2Fshx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajikaimal%2Fshx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajikaimal%2Fshx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rajikaimal","download_url":"https://codeload.github.com/rajikaimal/shx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246683383,"owners_count":20817243,"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":[],"created_at":"2024-10-05T17:41:48.011Z","updated_at":"2025-04-01T17:46:23.763Z","avatar_url":"https://github.com/rajikaimal.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# shx\n\n🏭 Command with ease\n\nhttps://github.com/rajikaimal/shx/assets/8940086/d8f5bdee-d8df-4ab5-86f4-f5f04e69fd53\n\n## Workers AI\n\n- Cloudflare Workers AI has a [generous free tier](https://developers.cloudflare.com/workers-ai/platform/limits/) to support individual use cases\n- Clone the repository\n- `$ cd packages/shx-worker-ai`\n- You need a [Cloudflare account](https://www.cloudflare.com/) to setup a Workers AI\n- Use [Wrangler](https://developers.cloudflare.com/workers/wrangler/install-and-update/) to setup the secrets. (or use Cloudflare dashboard)\n- `$ wrangler login`\n- Setup `user` and `pwd` secrets to setup Workers AI authentication.\n  - `$ wrangler secret put user`\n  - `$ wrangler secret put pwd`\n- To deploy Workers AI, `$ wrangler deploy`\n\n## shx CLI\n\n### Install\n\n```\n$ npm i -g @rajikaimal/shx\n```\n\n### Usage\n\n```\n$ shx --url=\u003cworker_ai_uri\u003e --authToken=\u003cuser:pwd\u003e\n```\n\nThis will create a encoded auth token at `$HOME/.shrxc`\n\n```\n$ shx \"how to remove all docker containers\"\n```\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajikaimal%2Fshx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frajikaimal%2Fshx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajikaimal%2Fshx/lists"}