ðĪ Nightbot Setup
Web UI Method
- Open Nightbot Custom Commands.
- Click + Add Command.
- Command:
!dab - Message:
$(urlfetch https://dab.zalc.dev/dab?user=$(user)) - Save and test in your stream!
Twitch Chat Method
!commands add !dab $(urlfetch https://dab.zalc.dev/dab?user=$(user))
ð§ Wizebot Setup
Web Panel Method
- Go to your Wizebot Commands Panel.
- Click Add Custom Command.
- Command:
!dab - Response:
$(customapi https://dab.zalc.dev/dab?user=$(user)) - Set permissions as desired and save.
Twitch Chat Method
!cmd add !dab $(customapi https://dab.zalc.dev/dab?user=$(user))
ðŪ StreamElements Setup
Web Dashboard Method
- Go to your StreamElements Commands Dashboard.
- Click Add New Command.
- Command:
!dab - Response:
${customapi https://dab.zalc.dev/dab?user=${user}} - Set cooldown to 10 seconds and save.
Twitch Chat Method
!command add !dab ${customapi https://dab.zalc.dev/dab?user=${user}}
ðĶī Fossabot Setup
Web Dashboard Method
- Go to your Fossabot Commands Dashboard.
- Click New Custom Command.
- Command:
!dab - Response:
$(customapi https://dab.zalc.dev/dab?user=$(user)) - Set a 10-second cooldown and save.
Twitch Chat Method
!addcom !dab $(customapi https://dab.zalc.dev/dab?user=$(user))
ð Basic API Usage
Endpoints
Increment Dab:
GET https://dab.zalc.dev/dab?user=USERNAME
Get Count:
GET https://dab.zalc.dev/count?user=USERNAME&format=json
Range Count:
GET https://dab.zalc.dev/count_range?user=USERNAME&range=week&format=json
Leaderboard:
GET https://dab.zalc.dev/leaderboard?format=json&range=week&limit=10
Example Response
{
"username": "example_user",
"range": "week",
"count": 42
}
Integration Examples
JavaScript/Node.js:
const response = await fetch('https://dab.zalc.dev/dab?user=example_user');
const text = await response.text();
console.log(text); // "example_user has dabbed 43 times!"
Python:
import requests
response = requests.get('https://dab.zalc.dev/count_range?user=example_user&range=week&format=json')
data = response.json()
print(f"Weekly dabs: {data['count']}")
ðš OBS Overlay Setup
- Add a Browser Source to your scene.
- Set URL to:
https://dab.zalc.dev/overlay?user=<your_twitch_username>&range=week&theme=dark&color=%23FFB703&anim=pop - Set Width:
400, Height:200 - Optional params:
theme=dark|light,color=%23RRGGBB,anim=pop|pulse|none,refresh=ms
ðĄ Use the Overlay Builder below to customize and generate your overlay URL!