# Phineas/lanyard

🏷️   Expose your Discord presence and activities to a RESTful API and WebSocket in less than 10 seconds

Repository: https://github.com/Phineas/lanyard
Canonical: https://ross.abutalabs.com/products/lanyard
Homepage: https://discord.gg/lanyard
Language: Elixir
License: MIT
License Family: permissive
Topics: discord, discord-rpc, elixir
Last push: 2026-08-15T22:52:23+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 35, longevity 100
- inputs: {"age_days": 2002, "days_push": 18, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1453, forks 192 (observed 2026-08-28T04:04:46.753138+00:00)

## What it is
Lanyard is a hosted and self-hostable Elixir service that exposes live Discord user presence and activity data through a REST API and WebSocket. It also functions as a globally accessible realtime key-value store updatable via its Discord bot or API.

## Use cases
- show my Discord presence on my personal website
- display what I'm listening to on Spotify live on a webpage
- get a user's Discord status via a REST API
- subscribe to live Discord presence updates over WebSocket
- use a free realtime KV store updated from Discord
- embed Discord activity widgets in a React app

## When to choose
- you want live Discord presence data without deploying anything
- you need both REST and WebSocket access to presence data
- you want a simple realtime KV store controllable from Discord
- you want to self-host with Docker

## When to avoid
- you need presence data for users who won't join the Lanyard Discord server or run the bot
- you need full Discord API access beyond presence and KV features
- you require guaranteed SLAs or private data handling

## Facets
- artifact type: service
- maturity: active
- function: http-server, websocket, api-framework, caching
- domain: messaging-platforms, apis, web-development, self-hosted
- platform: self-hosted, elixir
- tags: discord-presence, discord-rpc, rest-api, kv-store, realtime, real-time, docker, web-server

## Member repositories
- Phineas/lanyard (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:46.753138+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:35:44.209802+00:00, confidence not recorded.
  - readme: https://github.com/Phineas/lanyard (fetched 2026-08-28T04:04:46.753138+00:00, sha 0617d8e75334)
  - homepage: https://discord.gg/lanyard (fetched 2026-08-29T11:44:55.819115+00:00, sha 703bb547decb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
