This repository holds codes of a special API endpoint for terminal tools to fetch, format and show answers to users.
Wanna try it? just run this in your terminal:
curl https://cli.8.alialmasi.irTo 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
jqfor better formatting.
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.