Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rajikaimal/shx
Command with ease
https://github.com/rajikaimal/shx
Last synced: 10 days ago
JSON representation
Command with ease
- Host: GitHub
- URL: https://github.com/rajikaimal/shx
- Owner: rajikaimal
- Created: 2024-05-03T14:50:47.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-05-07T10:40:46.000Z (6 months ago)
- Last Synced: 2024-10-06T17:41:52.481Z (about 1 month ago)
- Language: TypeScript
- Size: 104 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# shx
🏭 Command with ease
https://github.com/rajikaimal/shx/assets/8940086/d8f5bdee-d8df-4ab5-86f4-f5f04e69fd53
## Workers AI
- Cloudflare Workers AI has a [generous free tier](https://developers.cloudflare.com/workers-ai/platform/limits/) to support individual use cases
- Clone the repository
- `$ cd packages/shx-worker-ai`
- You need a [Cloudflare account](https://www.cloudflare.com/) to setup a Workers AI
- Use [Wrangler](https://developers.cloudflare.com/workers/wrangler/install-and-update/) to setup the secrets. (or use Cloudflare dashboard)
- `$ wrangler login`
- Setup `user` and `pwd` secrets to setup Workers AI authentication.
- `$ wrangler secret put user`
- `$ wrangler secret put pwd`
- To deploy Workers AI, `$ wrangler deploy`## shx CLI
### Install
```
$ npm i -g @rajikaimal/shx
```### Usage
```
$ shx --url= --authToken=
```This will create a encoded auth token at `$HOME/.shrxc`
```
$ shx "how to remove all docker containers"
```MIT