Skip to content
Projects

About

Discord badge leveling tool in Rust: Game Time, Game Variety, Go Live streaming, DAVE Watcher & 24-bit Rich TUI.

Design & Media

How these counts are measured

What you can do

  • 24-bit Rich Terminal UI: Centered banner, arrow-key menus, responsive panels with wide-character & ANSI-preserving line wrapping, live rolling LogBox panels, and 5 themes (Purple default, Pink, Gold, HypeSquad, Cyan).
  • Game Time (Endpoint & Scheduler): Sends playtime across Discord's detectable catalog (0.472h per title, up to Discord's 24h/day cap) with no Discord desktop app needed. Run batches manually or install a daily Windows Task Scheduler / Linux cron job (--run-gametime) that resumes where the previous run stopped.
  • Game Variety: Short-session catalog runner across unclaimed detectable games, tracking used_games and hours in session.json.
  • Go Live Streamer: Native Rust Go Live session runner with streaming tier tracking, configurable duration, auto voice-channel selection from your servers, and VOICE_SERVER_UPDATE / STREAM_SERVER_UPDATE transport.

Measured star growth

in 24h
Collecting history
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original
BadgeUpgrader

BadgeUpgrader

Discord badge leveling in Rust: Go Live stream time, game time, and game variety.

Rust 2024 Windows | Linux tokio | crossterm | davey GitHub stars

Game Time icon Game Time Game Variety icon Game Variety Streaming icon Go Live Streaming BadgeUpgrader Discord


Features

  • 24-bit Rich Terminal UI: Centered banner, arrow-key menus, responsive panels with wide-character & ANSI-preserving line wrapping, live rolling LogBox panels, and 5 themes (Purple default, Pink, Gold, HypeSquad, Cyan).
  • Game Time (Endpoint & Scheduler): Sends playtime across Discord's detectable catalog (0.472h per title, up to Discord's 24h/day cap) with no Discord desktop app needed. Run batches manually or install a daily Windows Task Scheduler / Linux cron job (--run-gametime) that resumes where the previous run stopped.
  • Game Variety: Short-session catalog runner across unclaimed detectable games, tracking used_games and hours in session.json.
  • Go Live Streamer: Native Rust Go Live session runner with streaming tier tracking, configurable duration, auto voice-channel selection from your servers, and VOICE_SERVER_UPDATE / STREAM_SERVER_UPDATE transport.
  • Watcher (Alt + DAVE): Alt-account voice & stream viewer with UDP discovery, 5s keepalives, and native Rust DAVE end-to-end encryption (davey).
  • HypeSquad Picker: Join or leave a HypeSquad house (Bravery, Brilliance, Balance).
  • Inspect Profile & Badges: View your active Discord profile and unlocked badges.
  • Encrypted Local Storage: Keeps Discord tokens, clearance cookies, analytics tokens, and GitHub tokens encrypted at rest using Windows DPAPI + user ACLs (icacls) or Linux secret-tool (libsecret).

Requirements

  • Windows 10/11 or Linux (x86_64) — single static binary, no Python or Node.js runtime required.
  • On Linux (optional): wl-copy, xclip, or xsel for clipboard copy (GitHub device code & DevTools snippet), and secret-tool (libsecret-tools on Debian/Ubuntu, libsecret on Arch/Fedora) so secrets are stored in your desktop keyring instead of a 0600 file.
  • ffmpeg (optional): Checked via ffmpeg -version; Windows can install it via winget.

Quick run

Windows (PowerShell):

irm https://github.com/itzzhazzy/BadgeUpgrader/releases/latest/download/install.ps1 | iex

Linux:

curl -fsSL https://github.com/itzzhazzy/BadgeUpgrader/releases/latest/download/install.sh | sh

The installer downloads the latest binary into %LOCALAPPDATA%\BadgeUpgrader (Windows) or ~/.local/bin/badgeupgrader (Linux), verifies SHA256SUMS before installing, and launches it. Your session.json is never overwritten.

Update

Close BadgeUpgrader and run the install command again. If the latest release matches your installed binary's SHA256, it skips downloading and launches immediately; otherwise it updates the binary while preserving session.json.

Verified installs

The installer pins to a release tag, downloads SHA256SUMS, and verifies the binary hash before saving. A mismatch aborts without writing.

To pin a version or inspect the script first:

$env:BADGEUPGRADER_TAG = "v1.0.4"
irm https://github.com/itzzhazzy/BadgeUpgrader/releases/download/v1.0.4/install.ps1 -OutFile install.ps1
notepad install.ps1
powershell -ExecutionPolicy Bypass -File .\install.ps1
curl -fsSLO https://github.com/itzzhazzy/BadgeUpgrader/releases/download/v1.0.4/install.sh
less install.sh
BADGEUPGRADER_TAG=v1.0.4 sh install.sh

Build from Source

Requires the Rust toolchain (cargo):

cargo build --release -p badgeupgrader
./target/release/badgeupgrader

Usage

On first run:

  1. GitHub Verification: Opens GitHub Device Login in your browser (and copies the code to your clipboard) to verify you have starred itzzhazzy/BadgeUpgrader and followed itzzhazzy.
  2. Discord Account Setup: Copies the console token snippet to your clipboard, accepts your masked Discord token, validates it against @me, and auto-fetches your base cookie from discord.com/app.
Menu option What it does
Game Time (Endpoint & Scheduler) Run today's 24h Game Time batch or install/remove the daily scheduled task
Game Variety Run short sessions across unclaimed detectable titles
Go Live Streamer Start headless Go Live sessions and track your Streaming tier
Start Watcher (Alt + DAVE) Join a voice channel with an alt account using DAVE encryption
HypeSquad Picker Join or leave Bravery, Brilliance, or Balance
Inspect Profile & Badges Display your account info and current badges
Credentials & Storage Update token, cookie, fingerprint, Watcher alt token, or verify token
Theme Changer Switch between Purple, Pink, Gold, HypeSquad, and Cyan
Exit Leave BadgeUpgrader cleanly

Game Time

Discord counts at most 24h of Game Time per day.

  • Manual batch: Submits 0.472h per detectable title directly to Discord's /science endpoint — no Discord desktop app required.
  • Daily task: Installs a Windows Task Scheduler or Linux cron job (badgeupgrader --run-gametime) that resumes from GameTime/gametime_auto.json each day until all titles are submitted.
badgeupgrader --run-gametime

Streaming requirements

For Go Live stream time to count:

  1. A second account (or your Watcher alt) must sit in the same voice channel. Streaming alone in an empty channel is not counted.
  2. Use data to personalize my Discord experience must be enabled (User Settings > Data & Privacy).

If you leave Guild ID and Channel ID blank (auto), BadgeUpgrader picks a voice channel from a server you are already in.

Files

Path Purpose
crates/app/src/main.rs Interactive menus, first-run GitHub & Discord setup, --run-gametime CLI
crates/app/src/tui.rs 24-bit ANSI terminal renderer, centered boxes, LogBox, wide-char & ANSI wrapping
crates/app/src/themes.rs Theme palettes (Purple, Pink, Gold, HypeSquad, Cyan)
crates/core/src/discord.rs Discord REST client, runtime properties, detectable games catalog, /science batches
crates/core/src/gametime.rs Endpoint Game Time runner & daily scheduler (schtasks / cron)
crates/core/src/streamer.rs Go Live session manager, auto channel pick & tier calculations
crates/core/src/watcher.rs Alt-account voice/stream gateway & DAVE E2EE (davey)
crates/core/src/hypesquad.rs HypeSquad house join/leave API
crates/core/src/github.rs GitHub OAuth Device Flow + star & follow verification
crates/core/src/session.rs Session persistence & progress tracking (session.json)
crates/core/src/secret_store.rs Windows DPAPI / Linux keyring (secret-tool) secret encryption
GameTime/gametime_auto.json Endpoint run progress (created on first run)
GameTime/gametime_auto.lock Prevents overlapping Game Time runs
Streamer/streamer_stats.json Streamed hours and session count
data/games.json Cached detectable games catalog (delete to refresh)

Notes

  • Badge progress on Discord typically syncs within 24–48 hours.
  • session.json keeps Discord tokens, clearance cookie, analytics token, and GitHub token encrypted with Windows DPAPI (locked to your Windows user via icacls) or in the Linux desktop keyring (secret-tool). Never share or commit session.json.
  • The GitHub login requests no write scopes (public read-only check for star & follow). You can revoke it anytime under GitHub Settings > Applications.

Disclaimer

For educational purposes only. This tool uses a user token and sends generated telemetry and streaming activity, which violates Discord's Terms of Service. Accounts using it can be banned. Use at your own risk. This project is not affiliated with Discord.


Made by itzzhazzy · Built in Rust with davey · Inspired by BadgeMaxxer

Explore related projects

Loading…