news-bot
A LXMFy News Bot for the Reticulum Network. Get your daily RSS full-text feeds with instant news access and optional cryptographic signature verification.
Features
- Instant News: Type
newsto get the latest headlines from default feeds immediately - RSS Feed Subscriptions: Subscribe to any RSS feed with full-text extraction
- Scheduled Updates: Automatic delivery based on your timezone and preferred schedule
- Feed Categories: Pre-configured categories like news, military, cybersecurity, and science
- Admin Commands: Database backup/restore, statistics, and user management
Installation
pip install lxmfy-news-bot
pipx install lxmfy-news-bot
Git:
pipx install git+https://github.com/lxmfy/news-bot.git
The bot will store its data in ~/.local/share/lxmfy-news-bot/
Usage
lxmfy-news-bot
Configuration
The bot supports various environment variables for customization. See .env-example for a complete list of all available configuration options.
Basic Configuration
BOT_NAME: Bot display name (default: "LXMFy News Bot")BOT_ANNOUNCE: Announcement interval in seconds (default: 600)BOT_PREFIX: Command prefix (default: "")BOT_ADMINS: Comma-separated list of admin hashes
Security & Signatures
BOT_SIGNATURE_VERIFICATION_ENABLED: Enable cryptographic signature verification (default: false)BOT_REQUIRE_MESSAGE_SIGNATURES: Reject unsigned messages when verification is enabled (default: false)
Performance & Limits
BOT_RATE_LIMIT: Messages per minute limit (default: 8)BOT_COOLDOWN: Cooldown period in seconds (default: 1)BOT_MAX_WARNINGS: Max warnings before timeout (default: 3)BOT_WARNING_TIMEOUT: Warning timeout in seconds (default: 300)
Storage & Data
DATA_DIR: Data directory path (default: platform-specific)BACKUP_DIR: Backup directory path (default: data/backups)CONFIG_DIR: Configuration directory path (default: newsbot/)FEEDS_CONFIG: Custom feeds YAML file path
Docker
docker run -d \
-v /path/to/data:/app/data \
-v /path/to/backups:/app/backups \
-v /path/to/.reticulum:/root/.reticulum \
-e BOT_NAME="My News Bot" \
-e BOT_ADMINS="admin1hash,admin2hash" \
-e BOT_SIGNATURE_VERIFICATION_ENABLED="true" \
ghcr.io/lxmfy/news-bot:latest
Metadata
Release files for lxmfy-news-bot 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lxmfy_news_bot-0.7.0.tar.gz | 13.3 kB | With provenance | Details for lxmfy_news_bot-0.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lxmfy_news_bot-0.7.0-py3-none-any.whl | Python 3 | none | any | Details for lxmfy_news_bot-0.7.0-py3-none-any.whl |
Total release size: 27.8 kB
Release files / lxmfy_news_bot-0.7.0.tar.gz
| Download URL | lxmfy_news_bot-0.7.0.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e1b9ed6ca501d8b6f591650bc906de0dd95c588f13a315bfa692547ee42569d
|
|
BLAKE2b-256 checksum How to use checksums |
80b56acc6751983a74b3b9473eeefd8e82abad250b8c1ef651a2716a818e1662
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 13, 2025.
Transparency logRelease files / lxmfy_news_bot-0.7.0-py3-none-any.whl
| Download URL | lxmfy_news_bot-0.7.0-py3-none-any.whl |
|---|---|
| Size | 14.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aed2891a23c3bbe6127e322046af8ac9be753851803c27e3476fd74c8560e962
|
|
BLAKE2b-256 checksum How to use checksums |
1c6c20948e557d0b177f6ecd863105c2603ae777570751231d91768e73b65569
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 13, 2025.
Transparency logSecurity for lxmfy-news-bot 0.7.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for lxmfy_news_bot-0.7.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 13, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.