explaingit

peng-zhihui/bilibililottery

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

235HTMLAudience · generalComplexity · 1/5DormantSetup · easy

TLDR

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

What do people build with it?

USE CASE 1

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

USE CASE 2

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

USE CASE 3

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

USE CASE 4

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

What is it built with?

HTMLHashing

How does it compare?

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 get it running?

Difficulty · easy Time to first run · 5min

Prebuilt Windows executable provided, no development setup required.

Not specified in the explanation.

Copy-paste 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

What 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.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.