Pretty much the same as upstream repo, with opinionated custom stylings.
Some niche features are also added:
- Banners are supported!
- Discord profile decorations/effects (e.g. Display Name Styles, Avatar Decoration, Nameplates) are supported.
Time Leftare supported and displayed overElapsed Timewhenever possible.- Show large image of activities with only application icons. (e.g. CS2, BG3, Genshin, WuWa, etc.)
- Able to display special activities (
Listening to,Watching, etc.)
Please do consider giving this fork a star 🌟 if you liked it, it means a lot :)
Credit to @NYRI4 for the wave asset and original animation CSS rules.
https://lanyard.kyrie25.dev/api/368399721494216706
https://lanyard.kyrie25.dev/api/368399721494216706?theme=lightEverything from upstream, in addition with my own below:
- Banners are supported and can be enabled
- Banner from USRBG are supported, and Nitro banners are prioritized over USRBG banners.
https://lanyard.kyrie25.dev/api/368399721494216706?showBanner=truehttps://lanyard.kyrie25.dev/api/368399721494216706?showBanner=animatedYou can combine this with waveColor=transparent and waveSpotifyColor=transparent to make the banner more visible.
https://lanyard.kyrie25.dev/api/368399721494216706?showBanner=animated&waveColor=transparent&waveSpotifyColor=transparentIf the contents on the card are hard to read, you can use bannerFilter to pass in CSS filter for the banner.
https://lanyard.kyrie25.dev/api/368399721494216706?showBanner=animated&waveColor=transparent&bannerFilter=brightness(0.8)%20blur(2px)Banners are disabled by default because not every card will look good with it. It would also increase the API's response time, and you may hit the 5MB limit for assets on markdown files if you have a lot of animated assets in your card.
Banners are cached for 5 minutes to avoid API rate limit.
Experiment with it and see if it fits your needs!
- Nitro Display Name Styles are supported.
- If you have Display Name Styles enabled, it will override any custom gradient specified using the
gradientparameter.- This is a breaking change from the previous behavior when Discord hadn't implement Display Name Styles.
- You can use
forceGradient=trueto force the custom gradient even if you have Display Name Styles enabled.
https://lanyard.kyrie25.dev/api/368399721494216706?gradient=FF597B-FF8A5C&forceGradient=true- Nameplates are supported and enabled by default.
- Animated nameplates are not supported, as Discord uses WebM for animated assets, making it costly and time-consuming to convert to PNG. (this may change in the future)
If you wish to disable it, you can use hideNameplate=true.
https://lanyard.kyrie25.dev/api/368399721494216706?hideNameplate=true- Avatar decorations from Decor are supported, and Nitro decorations are prioritized over Decor decorations.
- Use
animationDurationto customize the speed of the wave animation (0sto disable)
https://lanyard.kyrie25.dev/api/368399721494216706?animationDuration=4s- Define activity color using
waveColorandwaveSpotifyColor
https://lanyard.kyrie25.dev/api/368399721494216706?waveColor=FF597B&waveSpotifyColor=FF597BYou can also change the color of the text by specifying theme following the hex color code.
E.g. waveColor=FF597B-light will make the text darker.
- Use custom gradient colors for your user name using
gradient
https://lanyard.kyrie25.dev/api/368399721494216706?gradient=645CBB-A084DC-BFACE2-EBC7E6- Change your profile picture/images style using
imgStyleandimgBorderRadiusimgStyle: Defines style for your profile picture and activity small image.- Default:
circle - Accepts:
circle,square
- Default:
imgBorderRadius: Define border radius for your profile picture, status indicator, and activity images.- Profile picture and activity small image unaffected if
imgStyleis notsquarebecause, well, circle lol. - Default:
10px
- Profile picture and activity small image unaffected if
https://lanyard.kyrie25.dev/api/368399721494216706?imgStyle=squarehttps://lanyard.kyrie25.dev/api/368399721494216706?imgStyle=square&imgBorderRadius=15px