
Kick Discord Rich Presence - A lightweight Discord RPC for Kick.com bypassing Cloudflare
Hello everyone,
I am sharing an open-source project I built. Since Kick.com lacks official Discord integration, streamers cannot display the purple "Streaming" status on their Discord profiles. I developed a Python solution to resolve this.
What My Project Does
Kick Discord Rich Presence automatically fetches a specific Kick channel's live status and syncs it with a user's Discord profile via the Discord Gateway websocket.
The main technical challenge was Kick's strict Cloudflare bot protection. Standard requests or aiohttp calls return a 403 Forbidden. To solve this, the project utilizes the curl-cffi library to impersonate modern browser TLS fingerprints. This seamlessly bypasses the anti-bot measures to fetch live viewer counts, stream titles, and categories dynamically. It then constructs the proper payload and sends it to Discord's Gateway (OP 3) to update the Rich Presence.
Target Audience
This is a production-ready tool aimed at two groups:
- Developers who are building scrapers for Cloudflare-protected sites and want to see a working implementation of curl-cffi and Discord Gateway Websockets in pure Python.
- Streamers who want a reliable tool to show their live status on Discord without installing heavy third-party software.
Comparison
Differences from existing alternatives:
- Cloudflare Bypass: Many existing Kick RPC scripts on GitHub are currently broken because they rely on basic HTTP requests which Kick has blocked. This script works flawlessly thanks to TLS impersonation.
- Extremely Lightweight: Existing solutions often use heavy Node.js/Electron wrappers or bloated browser automation (like Selenium/Playwright) just to bypass Cloudflare. This project is pure Python, uses minimal RAM, and runs silently in the background.
- Standalone: It is compiled using PyInstaller into a single executable, meaning end-users do not need to install Python or set up virtual environments to run it.
The code is fully open-source under the MIT License. I wrote it adhering to SOLID and KISS principles to keep it as readable and maintainable as possible.
You can review the source code and download the release here: 🔗 GitHub: https://github.com/berkyildiz/kick-discord-rich-presence