Bilibili Live
On your display
Shows a Bilibili room's live status, online viewers, and follower count.
- Topic
- Social
- Includes
- Script · 2 icons
Runs on
- Runs on 32×8 (TC001 & DIY) 32×8 (TC001 & DIY) version
- Runs on 52×16 (TC002)
- Does not run on 32×8 with AWTRIX 3 (TC001 & DIY) Made for AWTRIX NG.
Choose your display in the next step.
Script description
Bilibili Live
A compact Berry app for AWTRIX NG / TC001 (ESP32) that shows a Bilibili room's live status, online viewers, and follower count.
I don't have a TC002 yet, maybe you can edit the codes when it fails on TC002.
Highlights
- While live: live icon + current online viewers. Offline: normal icon + follower count.
- Optional in-app second page while live: with
Show Fansenabled, the live page takes 70% of the display time and the fans page 30%; with it disabled, only the live page is shown. - Clean integer formatting with automatic
K / M / G / Tunits, e.g.999M. - Checks the API
codefield (0= success). A failed request retries every 5 seconds; after 3 failed attempts the app showsCheck IDin orange. - Inherits the system
Text Color, scrolling behavior, and transition effect. - One complete HTTP request per refresh with regex extraction; no allocation in
draw(), so it stays friendly to small-heap devices.
Installation
You just click the button Send to AWTRIX
Configuration
Open Apps, find Bibibili Live, and click the gear icon:
| Setting | Default | Description |
|---|---|---|
Room ID |
6 |
The number from live.bilibili.com/<roomid>; change this to your room |
Normal Icon |
bilibiliblink |
Icon shown when offline |
Living Icon |
bilibililive |
Icon shown while live |
Refresh |
1 min |
Data refresh interval |
Duration |
10 s |
App display time; 0 uses the system per-app duration |
Show Fans |
true |
Show a fans page after the live page while streaming |
Saving settings restarts the app. Both icons are declared with @icons; install icons with the same names via the Web UI if they are missing.
Sign in to view and copy the code of this script.
Discussion 0
Ask a question, suggest a change or share how you use it.
No comments yet. Start the conversation.
Have an idea?
Sign in to ask questions and join the conversation.