Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markusressel/deinemudda
Nee, deine Mudda!
https://github.com/markusressel/deinemudda
deinemudda fun telegram-bot useless
Last synced: about 1 month ago
JSON representation
Nee, deine Mudda!
- Host: GitHub
- URL: https://github.com/markusressel/deinemudda
- Owner: markusressel
- License: agpl-3.0
- Created: 2019-07-11T22:59:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-02-26T15:15:14.000Z (9 months ago)
- Last Synced: 2024-05-02T05:58:48.934Z (6 months ago)
- Topics: deinemudda, fun, telegram-bot, useless
- Language: Python
- Size: 536 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# DeineMudda [![Build Status](https://travis-ci.org/markusressel/DeineMudda.svg?branch=master)](https://travis-ci.org/markusressel/DeineMudda)
Nee, deine Mudda!
# Configuration
DeineMudda uses [container-app-conf](https://github.com/markusressel/container-app-conf)
for configuration. Check out [deinemudda_example.yaml](https://github.com/markusressel/DeineMudda/blob/master/deinemudda_example.yaml)
to see what the **YAML** config would look like.| Name | Description | Type | Default |
|------------------------------------|------------------------------------------|----------|----------------------------------------|
| `DEINEMUDDA_TELEGRAM_BOT_TOKEN` | The bot token used to authenticate the bot with telegram | `str` | `-` |
| `DEINEMUDDA_PERSISTENCE_URL` | SQLAlchemy connection URL | `str` | `sqlite:///deinemudda.db` |
| `DEINEMUDDA_STATS_PORT` | Prometheus statistics port | `int` | `8000` |# Developer docs
## Setup
To install the `pattern` library used by this bot you probably have to install `python-mysqlclient` as a system package
manually.## Debugging and execution
### Postgres
```bash
docker run \
--name postgres \
-e POSTGRES_USER=deinemudda \
-e POSTGRES_PASSWORD=deinemudda \
-p 5432:5432 \
-d postgres
```### Base dir
Make sure to use the project base dir as the working directory and run:
```
python3 ./deinemudda/main.py
```## Telegram bot config
For the bot to be able to read messages you have to set the `Privacy`
setting of your bot to `DISABLED` (using `/setprivacy` and `disable`).
Otherwise the bot is only allowed to read messages containing commands.# Attributions
Thx to [@njamster](https://github.com/njamster) for coming up with the idea and first working version
of this bot.# Contributing
GitHub is for social coding: if you want to write code, I encourage contributions through pull requests from forks
of this repository. Create GitHub tickets for bugs and new features and comment on the ones that you are interested in.# License
```text
DeineMudda
Copyright (C) 2019 Markus ResselThis program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
```