Gameheld/GloriousXiJinpingBot
1
0
Fork
You've already forked GloriousXiJinpingBot
0
A funny Telegram Bot that lets you collect social credit points by sending various messages. Reverse-engineered from t.me/GloriousXiJinpingBot which sadly is not online anymore and apparently closed-source.
  • TypeScript 90.1%
  • JavaScript 8.6%
  • Dockerfile 1.3%
2026年05月05日 16:15:25 +02:00
prisma fix: mao of the day cronjob 2026年05月05日 16:01:56 +02:00
src fix: remove runOnInit 2026年05月05日 16:15:18 +02:00
.env.example better logging 2026年04月06日 02:26:20 +02:00
.gitignore setup project and configs 2026年04月02日 21:53:54 +02:00
CHANGELOG.md chore(release): 1.8.5 2026年05月05日 16:15:25 +02:00
Dockerfile fix root dir 2026年04月06日 03:56:58 +02:00
eslint.config.js add basic infos, functionality and "MaoOfTheDay" 2026年04月03日 18:22:18 +02:00
LICENSE Initial commit 2026年04月02日 19:50:03 +02:00
package-lock.json chore(release): 1.8.5 2026年05月05日 16:15:25 +02:00
package.json chore(release): 1.8.5 2026年05月05日 16:15:25 +02:00
prisma.config.ts add db tables, rework messages schema, complete mao fetching 2026年04月05日 00:15:06 +02:00
README.md update readme 2026年04月06日 20:14:57 +02:00
tsconfig.json a lot of refactoring 2026年04月06日 02:05:32 +02:00

Disclaimer

This bot is satirically criticizing the egregious human rights abuses committed by the government of the Chinese People’s Republic (also called Mainland Taiwan). Members of ethnic minorities are killed and/or enslaved in modern concentration camps. Propaganda is omnipresent. Please don’t perceive this bot as "pro Chinese government" and educate yourself if you are not already aware: https://en.wikipedia.org/wiki/Human_rights_in_China https://en.wikipedia.org/wiki/1989_Tiananmen_Square_protests_and_massacre https://en.wikipedia.org/wiki/Persecution_of_Uyghurs_in_China https://en.wikipedia.org/wiki/Internet_censorship_in_China

Description

This bot let’s you earn social credit points by messaging it pro-China statements. Conversely, if you critize China or our glorious leader Xi Jinping, you get reprimanded. According to your actions, you either receive praise or punishment.

If you want to find out which messages provoke which reactions from the bot by yourself, you better not dig into its source code too deep.

This bot is inspired by this bot on Telegram, which sadly seems to have been shut down and its source code has not been found anywhere online.

Live Instance

Live instance online here.

Setup

Don’t forget to set environment variables according to .env.example.

PostgresQL

Please first replace user and xi_jinping_bot with your user and database, respectively.

$ psql -d postgres
postgres=# CREATE DATABASE "xi_jinping_bot" OWNER "user";

Docker

$ docker build --network="host" --no-cache -t xi_jinping_bot .
$ docker run --network="host" --restart=unless-stopped xi_jinping_bot