GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Explore
  • Repositories
  • Docs
  • API Center
  • interweb.co.mz
  • PT
  • Help
  • Sign in

This view

  • Original page
  • New address

GeezerVison is showing git.interweb.co.mz — api-cli

interweb-mz/api-cli
Watch
1
0
Fork 0
Code Issues Pull requests Projects Releases 1 Wiki Activity
aio, the Interweb Mozambique command line tool: domains, DNS, VPS, SMS, email and AI from your terminal https://docs.interweb.co.mz
ai api cli domains email interweb interweb-mz mcp mozambique sms vps
5 commits 1 branch 1 tag 43 KiB
  • JavaScript 85.6%
  • PowerShell 7.7%
  • Shell 6.7%
Find a file
Exact
Repository files (latest commit first)
Filename Latest commit message Latest commit date
RLX Holdings 3185781d35 Show the English README by default
2026-11-28 11:06:00 +02:00
.github Add CI workflow and Dependabot 2026-11-28 09:15:56 +02:00
bin Initial release (1.0.0) 2026-11-27 22:29:25 +02:00
scripts Initial release (1.0.0) 2026-11-27 22:29:25 +02:00
CHANGELOG.md Initial release (1.0.0) 2026-11-27 22:29:25 +02:00
install.ps1 Initial release (1.0.0) 2026-11-27 22:29:25 +02:00
install.sh Initial release (1.0.0) 2026-11-27 22:29:25 +02:00
LICENSE Initial release (1.0.0) 2026-11-27 22:29:25 +02:00
package.json Initial release (1.0.0) 2026-11-27 22:29:25 +02:00
README-pt.md Show the English README by default 2026-11-28 11:06:00 +02:00
README.md Show the English README by default 2026-11-28 11:06:00 +02:00
repo.json Use badges from the brand git 2026-11-28 10:59:48 +02:00

README.md

aio: Interweb All in One AI

Release License: MIT

Português

Needs Node.js 18 or later. Install:

curl -fsSL https://docs.interweb.co.mz/cli/install.sh | sh

Commands:

aio auth login                      # asks for the key, checks it and saves it (chmod 600)
aio auth status                     # key in use (hidden), mode and balance
aio auth logout                     # deletes the saved key
aio balance                         # credits and plan
aio models --type image --search flux
aio model <id>                      # input fields of a media model
aio chat "Explain what DNS is"      # streamed answer
aio chat                            # interactive chat (Ctrl+C quits)
aio generate image "a lighthouse at sunset" --opt size=1024x1024 --out images/
aio status <id> --download
aio mcp install claude              # command for Claude Code (asks before running)
aio mcp install codex               # block for ~/.codex/config.toml
aio mcp install cursor              # block for mcp.json

Variables: AIO_API_KEY (takes priority over the saved key), AIO_BASE_URL, AIO_MODEL, AIO_LANG (pt or en). The key is kept in ~/.config/aio/config.json (on Windows, %APPDATA%\aio\config.json) and never shows in messages. With a sandbox_ key nothing is charged: answers are test answers. Exit codes: 0 success, 1 error, 2 wrong usage.

Build por marca / Per-brand build

node scripts/build.js --base https://api.interweb.co.mz --brand "Interweb" --out dist/api.interweb.co.mz/
node --test test/aio.test.js

O build grava o endereço e a marca no aio.js e gera aio-<versão>.tgz e SHA256SUMS, sem dependências. The build writes the address and brand into aio.js and creates aio-<version>.tgz and SHA256SUMS, with no dependencies.

Create your API key in the API Center of Meu Interweb. Documentation: https://docs.interweb.co.mz


Maintained by RLX Holdings.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.