Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thehxdev/muspler
Very simple music sample creator telegram bot
https://github.com/thehxdev/muspler
python telegram-bot
Last synced: about 2 months ago
JSON representation
Very simple music sample creator telegram bot
- Host: GitHub
- URL: https://github.com/thehxdev/muspler
- Owner: thehxdev
- License: mit
- Created: 2024-05-23T19:10:13.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-30T11:58:31.000Z (8 months ago)
- Last Synced: 2024-05-30T13:31:46.769Z (8 months ago)
- Topics: python, telegram-bot
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Muspler
Very simple telegram bot to create sample voice messages from audio files.
## How to use
1. Create `config.py` file in the project root directory with following content:
```python
# Your telegram bot token
BOT_TOKEN = 'YOUR_BOT_TOKEN'# Directory to download and process audio files temporarily. (MUST be a directory)
# Downloaded audio files will be removed after sample creation process.
DIR_PREFIX = 'TEMP_DIRECTORY'
```2. Create a virtual environment with `python3 -m venv venv` command and activate it.
3. Then install dependencies with `pip3 install -r requirements.txt --upgrade` command.
4. Finally you can run Muspler with `python3 __main__.py` command.
## Todo
- [ ] Better documentation
- [ ] Cleaner code
- [ ] Work in groupes and channels
- [ ] Installable as a python package
- [ ] Error handling and better logging