https://github.com/qqrm/shitverter
https://github.com/qqrm/shitverter
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/qqrm/shitverter
- Owner: qqrm
- Created: 2023-12-28T05:21:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-22T09:50:58.000Z (about 1 year ago)
- Last Synced: 2025-04-22T10:49:51.513Z (about 1 year ago)
- Language: Rust
- Size: 66.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shitverter Bot
## Introduction
This bot waits and processes `.webm` files in chats and converts them to `.mp4`.
## Requirements
- Rust
- FFmpeg
- Docker (optional)
- [Just](https://github.com/casey/just) (command runner)
## Installation and Running
### Using Just (recommended)
```bash
# Show available commands
just
# Rebuild the project from scratch and run in docker
just rebuild
# Just run the container (without rebuilding)
just run
```
### Local Setup (alternative)
```bash
cargo build --release
./target/release/converter-bot
```
### Using Docker directly (alternative)
```bash
docker build -t shitverter .
docker run -d -e TELOXIDE_TOKEN=$TELEGRAM_API_TOKEN --name my_shitverter_container shitverter:latest
```
## Configuration
Set the following environment variables:
- `TELOXIDE_TOKEN`: Your Telegram Bot Token.
## Usage
Send a `.webm` file to the chat with bot, and it will send converted `.mp4` file and delete post with webm.
Also shows tg ID's of new members.
## Contributing
Contributions are welcome. Please send pull requests.