Conversia is a powerful, multi-purpose file utility bot written in Rust using the serenity and poise frameworks. It provides a wide range of file-related operations, making it an essential tool for managing and processing files directly within Discord.
- Document Conversion: Easily convert documents into multiple formats including PDF, Markdown, HTML, Word, and more!
- Image Conversion: Transform images between different formats.
- Image Resizing: Resize an image using the high-quality Lanczos3 algorithm
- File Zip/Unzip: Zip and unzip files
- File Encryption/Decryption: Securely encrypt and decrypt files using the Age encryption standard.
- File Encoding/Decoding: Securly encode and decode files with base64 and hex
- Hash Generation/Verification: Generate a hash and verify the hash for a file with algorithms SHA-256, SHA-1, MD5, BLAKE3
- Audio Metadata Extraction: Extract metadata from MP3 and FLAC files, including title, artist, album, year, and genre.
Add Conversia to your server here
Important
You will need pandoc and a LaTeX engine (ex. pdfTeX) installed on your system for converting files
-
Clone the repository:
git clone https://github.com/smit4k/conversia.git cd conversia -
Install dependencies:
cargo build --release
-
Set up the
.envfile:discord_token=YOUR_DISCORD_BOT_TOKEN
-
Run the bot:
cargo run --release
Conversia supports the following commands:
/convert_document: Convert documents to various formats/convert_image: Convert images between formats/zip: Compress files into zip/unzip: Decompress a file/encrypt: Encrypt files securely/decrypt: Decrypt encrypted files/base64_encode: Encode a file to base64/base64_decode: Decode a base64 encoded file or string/hex_encode: Encode a file to hex/hex_decode: Decode a hex encoded file or string/hash: Generate a hash for a file/resize_image: Resize an image/audio_meta: Extract metadata from MP3 and FLAC files/about: Learn more about Conversia/help: Shows all commands of Conversia/ping: Checks the bot's latency
Contributions are welcome! Feel free to open issues or submit pull requests to improve Conversia.
This project is licensed under the MIT License.
