r/webdev • u/Itz_Wolfyy • 4h ago
Showoff Saturday I rebuilt Discord's profile card in the browser so people can try Shop items before buying
I built ProfileCord (https://profilecord.com), a free site where you can put real Discord Shop decorations, profile effects, frames and nameplates on your own avatar and banner before buying anything.
Some of the fun parts to build:
- Matching Discord exactly. Same layer order, sizes and positions as the real app, including the Android and iPhone layouts, so the preview is something you can trust before spending money.
- Phone screenshot export. It walks the DOM and draws it onto a canvas at 3x, including pseudo-elements and gradient text, so you get a crisp "phone screenshot" of a profile that doesn't exist yet.
- GIFs in the browser. Animated avatars and banners are decoded and re-encoded client-side, and automatically sized to stay under Discord's 10 MB limit.
- Colour matching. "Style me" reads your picture's colours and ranks the Shop's ~1,450 items to suggest a matching set.
- Almost no backend. It's a static site on Cloudflare Pages with a few Functions. Pictures you upload never leave your browser; only share links and gallery posts are stored.
No account needed, no ads. Fan-made, not affiliated with Discord.
An Android app is also in development. It wraps the same site, so every website update reaches the app straight away.
Happy to go into any of it, and I'd love feedback on anything that feels off or slow.