@getnotisxyz/cli
v0.1.2
Published
CLI for Notis. npx notis login → npx notis init → done.
Maintainers
Readme
@getnotisxyz/cli
CLI for Notis — give your AI agent a phone in 2 commands.
Quick Start
npx @getnotisxyz/cli login # authenticate via browser
npx @getnotisxyz/cli init # name your agent, key saved to .env
npx @getnotisxyz/cli send "Hello from terminal"That's it. Your agent can now send push notifications to your phone.
Commands
notis login
Authenticate with your Notis account. Opens your browser to sign in, then saves a session to ~/.notis/session.json.
npx @getnotisxyz/cli login
# SSH / headless environments
npx @getnotisxyz/cli login --no-browsernotis init
Create a new agent and save its API key to .env in the current directory.
npx @getnotisxyz/cli init
# Name your agent: trading-bot
# Creating @trading-bot...
#
# ✓ @trading-bot is live
# ✓ API key written to .env
# ✓ Open Notis on your phone to start chattingnotis send <message>
Send a test message to verify everything works.
npx @getnotisxyz/cli send "Hello from terminal"
npx @getnotisxyz/cli send "Server down" --priority urgentNext Steps
After notis init, use the SDK in your code:
import { Notis } from '@getnotisxyz/sdk';
const notis = new Notis(); // reads NOTIS_API_KEY from .env
await notis.send("I'm alive");See @getnotisxyz/sdk for the full API.
License
MIT
