Skip to content

8-Magic/8-magic-cli

Repository files navigation

8-Magic CLI

This repository holds codes of a special API endpoint for terminal tools to fetch, format and show answers to users.

Usage

Wanna try it? just run this in your terminal:

curl https://cli.8.alialmasi.ir

To use this in older environments or terminals, you might face some problems with the ANSI color codes. For that use the /?noColor=1 query at the end of the URL.

To receive the raw data fetched from the API, use /?json=1 query.

Tip: pipe the raw data to jq for better formatting.

See Also

License

This project, as part of the work of the 8-Magic team, is licensed under the 8-Magic Public License.
For more information, see this page.

Contributors 2

  •  
  •