A CLI app to receive notifications when AFK
npm install @agilia/notify-cliA CLI app to receive notifications when AFK.
``bashInstall globally
npm install -g notify-cli
Usage
$3
Configure notification providers:
`bash
notify setup
`This will prompt you to select a provider and enter the required credentials.
$3
Send notifications via Telegram:
`bash
Send to default recipient (must be configured during setup)
notify telegram "Your message here"Send to a specific recipient
notify telegram 123456789 "Your message here"
`$3
View notification history:
`bash
View all notifications
notify logFilter by provider
notify log telegram
`Providers
$3
Required credentials:
- Bot Token: Get one from @BotFather on Telegram
- Default Recipient (optional): Chat ID of the default recipient
Development
`bash
Install dependencies
npm installRun in development mode
npm run devBuild
npm run buildRun tests
npm testType check
npm run typecheck
`Project Structure
`
src/
├── commands/ # CLI commands (setup, telegram, log)
├── providers/ # Notification provider implementations
├── services/ # Core services (provider config, logging)
├── utils/ # Utility functions
├── schemas.ts # Effect Schema definitions
└── index.ts # CLI entry pointtests/ # Test files
plan/ # PRD and planning files
``ISC