rajikaimal / shx

Command with ease

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shx

🏭 Command with ease

shx.mov

Workers AI

  • Cloudflare Workers AI has a generous free tier to support individual use cases
  • Clone the repository
  • $ cd packages/shx-worker-ai
  • You need a Cloudflare account to setup a Workers AI
  • Use Wrangler 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=<worker_ai_uri> --authToken=<user:pwd>

This will create a encoded auth token at $HOME/.shrxc

$ shx "how to remove all docker containers"

MIT

About

Command with ease


Languages

Language:TypeScript 93.4%Language:JavaScript 6.6%