The project's README from github.com/sh1ma/Angelic-Angel. As one markdown file: README.md.
"Angelic Angel/Hello, Hoshi wo Kazoete" is a single by μ's released on July 1, 2015 from Lantis. The song is an insert song for the film Love Live! The School Idol Movie.
A CLI tool that receives Twitter/X notifications in real time via Mozilla's Web Push infrastructure. Stream tweets from users you follow and have tweet notifications enabled for.
Angelic Angel emulates a browser's Web Push client to receive Twitter/X push notifications. It connects to Mozilla AutoPush via WebSocket, decrypts incoming notifications using ECE (Encrypted Content-Encoding), and forwards the decrypted payloads to a configured webhook endpoint.
You will receive notifications for tweets from users that you follow and have tweet notifications turned on for on Twitter/X.
Twitter/X ──push──▶ Mozilla AutoPush Server ◀──WebSocket── Angelic Angel ──HTTP POST──▶ Webhook
push.services.mozilla.com). Angelic Angel does not access Twitter/X directly for notification data.register command). No API calls are made while listening for notifications.auth_token and ct0 cookies)auth_token and ct0https://x.com, find the values for auth_token and ct0.cargo install --path .
# Interactive mode
angelic-angel init
# Or with arguments
angelic-angel init --auth-token YOUR_AUTH_TOKEN --ct0 YOUR_CT0
This creates angelic-angel.toml with your Twitter credentials.
angelic-angel register
This registers a new push subscription with Mozilla AutoPush and then registers the endpoint with Twitter's push notification API.
WEBHOOK_ENDPOINT=https://your-webhook.example.com/endpoint angelic-angel listen
The WEBHOOK_ENDPOINT environment variable specifies where decrypted notification payloads are sent via HTTP POST.
# Check current configuration and registration status
angelic-angel status
# Remove push subscription
angelic-angel unregister
| Flag | Description |
|---|---|
-c, --config <PATH> |
Configuration file path (default: angelic-angel.toml) |
-v, --verbose |
Enable debug logging |
Angelic Angel implements a Firefox-compatible reconnection strategy:
MIT