Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rajikaimal/shx

Command with ease
https://github.com/rajikaimal/shx

Last synced: 10 days ago
JSON representation

Command with ease

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