Service that enables to run RcGcDw on bigger scale
Find a file
2025-02-16 23:05:07 +01:00
extensions Revert changes done to FD Discussions from last commit 2025-02-13 14:04:35 +01:00
locale Added translation using Weblate (Chinese (Traditional Han script)) 2024-10-15 06:45:16 +00:00
scripts Added buttons functionality for file reverts with majority code added by MarkusRost on RcGcDw repo 2024-10-13 15:52:04 +02:00
src Handle MW errors in the new handler as well 2025-02-16 23:05:07 +01:00
.gitignore Fixing translations 2024-09-25 12:39:27 +02:00
LICENSE Add LICENSE 2020-08-11 00:07:14 +00:00
README.md Update RcGcDw link 2024-09-12 20:50:42 +02:00
requirements.txt Fixed improper domain name extraction + added dependency 2024-07-13 13:19:54 +02:00
settings.json.example fixing Python 3.9 compat 2024-08-29 18:49:55 +02:00
start.py Init 2020-07-10 00:24:23 +02:00

Introduction

RcGcDb is a backend for handling Discord webhooks to which recent changes of MediaWiki wikis are being pushed to.
Master branch shouldn't be used in production and there are no guarantees for it working fine. It's mostly being created to work with Wiki-Bot. If you are looking for low-scale MW Discord webhook recent changes solution, look at RcGcDw which should be more production ready.
MRs are still welcome.

Dependencies

  • Python 3.7+
  • beautifulsoup 4.6.0+
  • aiohttp 3.6.2+
  • lxml 4.2.1+
  • nest-asyncio 1.4.0+

Installation

$ git clone git@gitlab.com:chicken-riders/rcgcdb.git #clone repo
$ cd RcGcDb
$ python3 -m venv . #(optional, if you want to contain everything (you should!))
$ source bin/activate #(optional, see above)
$ pip3 install -r requirements.txt #install requirements (lxml may require additional distro packages, more on that here https://lxml.de/build.html)
$ nano settings.json.example #edit the configuration file
$ mv settings.json.example settings.json
$ python3 start.py