ðŸŽŊ Dab Counter / Leaderboard

ðŸĪ– Nightbot Setup

Web UI Method

  1. Open Nightbot Custom Commands.
  2. Click + Add Command.
  3. Command: !dab
  4. Message: $(urlfetch https://dab.zalc.dev/dab?user=$(user))
  5. 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

  1. Go to your Wizebot Commands Panel.
  2. Click Add Custom Command.
  3. Command: !dab
  4. Response: $(customapi https://dab.zalc.dev/dab?user=$(user))
  5. 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

  1. Go to your StreamElements Commands Dashboard.
  2. Click Add New Command.
  3. Command: !dab
  4. Response: ${customapi https://dab.zalc.dev/dab?user=${user}}
  5. 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

  1. Go to your Fossabot Commands Dashboard.
  2. Click New Custom Command.
  3. Command: !dab
  4. Response: $(customapi https://dab.zalc.dev/dab?user=$(user))
  5. 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

  1. Add a Browser Source to your scene.
  2. Set URL to: https://dab.zalc.dev/overlay?user=<your_twitch_username>&range=week&theme=dark&color=%23FFB703&anim=pop
  3. Set Width: 400, Height: 200
  4. 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!

Overlay Builder

Generated Overlay URL
Enter username to generate URL
📚 Live Preview