Discord presence badges as SVGs to show discord status, spotify-, vscode-, zed- or game-activity using shields.io.
Note
Originally inspired by statusbadges, rewritten in Go with improvments.
- Go 1.21+
- Server Members and Presence intents need to be enabled at Dev Portal
- Bot must be in a shared server with the users you want to track
git clone https://github.com/vmphase/gostatus
cd gostatus
go mod tidy
go run main.goConfiguration is done via config.[example].toml:
- rename
config.toml.exampletoconfig.toml - set
tokento your bot token - optionally change the
portfield
Returns a badge with the user's current Discord status.
| Query | Default | Description |
|---|---|---|
label |
currently |
Left side text |
color |
status-based | Right side background color |
labelColor |
#555 |
Left side background color |
simple |
— | Set to true to collapse idle/dnd => online |
Returns a badge with the track the user is currently listening to on Spotify.
| Query | Default | Description |
|---|---|---|
label |
listening to |
Left side text |
color |
#1db954 |
Right side background color |
labelColor |
#555 |
Left side background color |
fallback |
nothing |
Text shown when not listening |
hideLogo |
false |
Set to true to hide the Spotify logo |
Returns a badge with the information the user is currently watching on Crunchyroll.
| Query | Default | Description |
|---|---|---|
label |
watching |
Left side text |
color |
#5865f2 |
Right side background color |
labelColor |
#555 |
Left side background color |
fallback |
nothing |
Text shown when not listening |
hideLogo |
false |
Set to true to hide the Crunchyroll logo |
Returns a badge with the game the user is currently playing.
| Query | Default | Description |
|---|---|---|
label |
playing |
Left side text |
color |
#5865f2 |
Right side background color |
labelColor |
#555 |
Left side background color |
fallback |
nothing |
Text shown when not playing |
Returns a badge with the file and workspace the user is currently editing in Visual Studio Code.
| Query | Default | Description |
|---|---|---|
label |
vscode |
Left side text |
color |
#23a7f2 |
Right side background color |
labelColor |
#555 |
Left side background color |
fallback |
nothing |
Text shown when not coding |
hideLogo |
false |
Set to true to hide the VSCode logo |
Returns a badge with the file and workspace the user is currently editing in Zed.
| Query | Default | Description |
|---|---|---|
label |
zed |
Left side text |
color |
#a277ff |
Right side background color |
labelColor |
#2b213a |
Left side background color |
fallback |
nothing |
Text shown when not coding |
hideLogo |
false |
Set to true to hide the Zed logo |
Returns raw presence data as JSON. CORS-enabled.