Client work · 2024 – present Project 20 of 20
hruska.army
A hub for a Twitch channel that looks like a stream, and a pixel-art page for a community Cobblemon server.
Verified site status: Up, 34 ms response,
At a glance
- Role
- Design and development
- Period
- 2024 – present
- Status
- Live
- Technologies
- 6 technologies
The site has two faces. The main hub is for the stream's viewers, so it looks like a stream: a camera with a REC label, a “new viewer” alert, a hall of fame of quotes instead of a chat and a strip of the commands heard on stream. The Cobblemon server page is for players, so it is a pixel-art game with a moon, a town on the horizon and a Poké Ball that opens as you scroll. Each part has its own typeface and look; only the base is shared.
What is on the site
- Live channel status. Whether the channel is live, what is being played and how many followers it has comes from Twitch through decapi.me, cached for 60 seconds so the API is not flooded. The Twitch player loads only after a click.
- A hub of the stream's mini-games and tools (boss, bingo, slots, prize wheel, leaderboard), open forms and polls, and social links.
- Minecraft server status. PHP asks the server directly over the Server List Ping protocol and caches the result for 30 seconds, so visits do not load the server. The page has the server address to copy and three steps to join.
- A shop and a wiki in the same pixel look. The wiki is rendered into static HTML on deployment, because links from Discord point to .html.
- Guides and small things. A drawn pear and a pixel “Cobble assistant” tell you where to look; clicking the pear starts a rain of emotes.
Under the hood
PHP 8.2 without a framework or a build step, animations in GSAP (ScrollTrigger, SplitText, ScrambleText, DrawSVG, MotionPath). All animations go through gsap.matchMedia and respect reduced motion; without JavaScript all content is visible. Deployment by a script that backs up the overwritten files and rolls back with one command, staging first.
Screenshots
5 screenshots
Built with
- PHP 8.2
- GSAP
- JavaScript
- CSS
- Server List Ping
- Twitch