Git: https://git.dgnr.us/astral/api
Website for the Discord embedder: https://card.dgnr.us
API Docs for integration with your own projects: https://api.dgnr.us
This was made when I was bored and to solve several issues with (youtuber I work for)'s website.
iframeing Enka lags the stream and ratelimits badly- Using enka.cards face the same issue with ratelimit, resolution of the card is limited(very noticeable when it's nearly fullscreen) and it was not fast enough for on-demand rendering
- enka.cards doesn't give a good way to tell users that an error occured
So I spent days staring at devtools and writing JSX and calculating and came up with this.
- renders takes about 900ms average, takes ~4 seconds average to appear on Discord.
- profile links allows you to see all characters in showcase
- friendly error messages that returns as an image
- by default renders 2455x1024 WebP allowing as much zooming as you want without much breaking, while still being a little below Enka's original PNG size.
I'd love any suggestions y'all have.
Plans - as of 04/14/2026:
- Endfield card - waiting for API
- Web-based link generator with preview
- Add flags reference to home page