Installation
Install the NotiLens CLI or SDK for your language. One-time setup — then you can send events from anywhere.
CLI
Install the CLI
The CLI works in any shell environment — cron jobs, CI pipelines, Claude Code hooks, or bash scripts.
Shell (curl)
npm
pip
curl -fsSL https://raw.githubusercontent.com/notilens/sdk-shell/main/notilens.sh \ -o /usr/local/bin/notilens && chmod +x /usr/local/bin/notilens # Or source inline without installing source <(curl -fsSL https://raw.githubusercontent.com/notilens/sdk-shell/main/notilens.sh)
npm install -g @notilens/cli
pip install notilens[cli]
Then register your source once:
notilens init --name my-app --token YOUR_TOKEN --secret YOUR_SECRET
SDK
SDK Packages
Install the package for your language. Credentials are saved to ~/.notilens_config.json on first use.
Python
pip install notilens
Node.js
npm install @notilens/notilens # or yarn add @notilens/notilens # or pnpm add @notilens/notilens
PHP
composer require notilens/notilens
Go
go get github.com/notilens/sdk-go
Ruby
gem install notilens # Or in Gemfile: gem "notilens"
Java / Kotlin
<!-- Maven -->
<dependency>
<groupId>com.notilens</groupId>
<artifactId>notilens</artifactId>
<version>0.4.1</version>
</dependency>
// Gradle (Kotlin DSL)
implementation("com.notilens:notilens:0.4.1")
Rust
# In Cargo.toml: notilens = "0.5" # Or via CLI: cargo add notilens