Lanyard is a service that exposes live Discord presence and activity data through a REST API and WebSocket connection. It lets users display their Discord status, current activities, Spotify listening data, and related profile information on websites or external apps. The public service can be used quickly by joining the Lanyard Discord server, but the project also supports self-hosting. It includes a real-time key-value store that can be updated through the bot or API and emitted through presence updates. Developers can subscribe to one user, multiple users, or all monitored users through its socket protocol. Lanyard is especially useful for personal websites, GitHub profile widgets, dashboards, and real-time presence visualizations.
Features
- Discord presence REST API
- Real-time WebSocket updates
- Spotify activity exposure
- Dynamic key-value store
- User icon quicklinks
- Docker self-hosting support