Translate Bot
A translation bot built with LXMFy and Argos Translate that provides offline translation capabilities through the Reticulum Network.
Features
- Offline translation using Argos Translate
- Support for multiple languages
Requirements
- sentencepiece
Installation
pip install lxmfy-translate-bot
# or
pipx install lxmfy-translate-bot
or
pipx install git+https://github.com/LXMFy/translate-bot.git
Usage
- Start the bot:
lxmfy-translate-bot
- Pre-download models (optional, speeds up first translations):
# Download all available models (skips already installed)
lxmfy-translate-bot --download-all
# Download specific language pairs (skips already installed)
lxmfy-translate-bot --download en-es fr-de it-en
Note: Download commands automatically detect and skip already installed models.
- Enable message signing and verification (optional):
# Enable optional signature verification (recommended)
lxmfy-translate-bot --enable-signatures
# Require signatures for all messages (strict mode)
lxmfy-translate-bot --require-signatures
- Available commands:
translate <source_lang> <target_lang> <text>- Translate text between languages Example:translate en es Hello worldlanguages- List all available languages for translationstats- Show bot statistics and performance metricshelp- Show detailed help and usage information
Language Codes
The bot uses standard language codes (e.g., 'en' for English, 'es' for Spanish). Use the languages command to see all available language codes.
Message Signing & Verification
The bot supports cryptographic message signing and verification for enhanced security:
- Signature Verification: Verify that incoming messages are cryptographically signed using RNS identities
- Optional vs Required: Choose whether to allow unsigned messages or require signatures for all messages
- Command-line flags:
--enable-signatures: Enable optional signature verification (recommended)--require-signatures: Require signatures for all messages (strict mode)
When signature verification is enabled, the bot will automatically sign outgoing messages and verify incoming message signatures when present. Unsigned messages are rejected only in strict mode.
License
MIT License
Metadata
Release files for lxmfy-translate-bot 1.2.2
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_translate_bot-1.2.2.tar.gz | 5.5 kB | With provenance | Details for lxmfy_translate_bot-1.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lxmfy_translate_bot-1.2.2-py3-none-any.whl | Python 3 | none | any | Details for lxmfy_translate_bot-1.2.2-py3-none-any.whl |
Total release size: 12.3 kB
Release files / lxmfy_translate_bot-1.2.2.tar.gz
| Download URL | lxmfy_translate_bot-1.2.2.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed97c724dc6e560dcbeba68497264ed6208368e584ac020bc538107728dbc218
|
|
BLAKE2b-256 checksum How to use checksums |
d8b78b1d0fd6feeb41d6de0b24b18a72189d1fc55a5519ec607563d2e70e4ee3
|
| 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_translate_bot-1.2.2-py3-none-any.whl
| Download URL | lxmfy_translate_bot-1.2.2-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a9c235a99067f7d38c7f8c6222d469231debf90814c484fa31abf4c4a9fdc1b
|
|
BLAKE2b-256 checksum How to use checksums |
cb7fc564d4044a6195f4e0afb415284b04a97959c23710c8c45bcb54510c958b
|
| 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-translate-bot 1.2.2
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_translate_bot-1.2.2.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.