gitwtfhub

wtf is bilibililottery?

peng-zhihui/bilibililottery — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2020-04-02

235HTMLAudience · generalComplexity · 1/5DormantSetup · easy

TL;DR

A fair lottery tool that uses cryptographic hashing to pick giveaway winners in a tamper-resistant, verifiable way, with a ready-to-run Windows program included.

Mindmap

mindmap
  root((repo))
    What it does
      Runs hash based lottery
      Picks winners fairly
      Prevents manipulation
    Tech stack
      HTML
      Hashing algorithm
    Use cases
      Bilibili fan giveaways
      Streamer viewer lotteries
      Online contests
      Verifiable winner picks
    Audience
      Content creators
      Streamers
    Setup
      Download Windows exe
      No dev environment needed

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Run a transparent, verifiable lottery draw for a Bilibili fan giveaway using participant usernames as input.

REASON 2

Let a streamer pick a viewer lottery winner in a way viewers can independently verify wasn't rigged.

REASON 3

Run an online contest winner selection without needing to code or set up a dev environment, using the packaged Windows program.

REASON 4

Prove a giveaway result is fair by letting anyone re-run the same hash algorithm on the same participant list.

What's in the stack?

HTMLHashing

How it stacks up

peng-zhihui/bilibililotterycclank/lanshu-awesome-ai-video-kitagentara/skills
Stars235228243
LanguageHTMLHTMLHTML
Last pushed2020-04-02
MaintenanceDormant
Setup difficultyeasyeasyeasy
Complexity1/51/52/5
Audiencegeneralvibe coderdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 5min

Prebuilt Windows executable provided, no development setup required.

Not specified in the explanation.

Yoink these prompts

Prompt 1
Explain how bilibililottery uses hashing to pick a fair winner from a list of participant usernames.
Prompt 2
How do I download and run the Windows program from bilibililottery's dist folder for my fan giveaway?
Prompt 3
Walk me through verifying a bilibililottery result myself using the same participant list and algorithm.
Prompt 4
What participant data should I feed into bilibililottery to run a lottery for my Bilibili livestream?

Frequently asked questions

wtf is bilibililottery?

A fair lottery tool that uses cryptographic hashing to pick giveaway winners in a tamper-resistant, verifiable way, with a ready-to-run Windows program included.

What language is bilibililottery written in?

Mainly HTML. The stack also includes HTML, Hashing.

Is bilibililottery actively maintained?

Dormant — no commits in 2+ years (last push 2020-04-02).

What license does bilibililottery use?

Not specified in the explanation.

How hard is bilibililottery to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is bilibililottery for?

Mainly general.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.