I got tired of manually converting HTML to GIFs, so I built an open-source CLI to do it instantly
Converting HTML into an animated GIF or a perfectly sized social media image used to break my flow every single time. The process was always the same: record my screen, drag the video into somethin...

Source: DEV Community
Converting HTML into an animated GIF or a perfectly sized social media image used to break my flow every single time. The process was always the same: record my screen, drag the video into something like Canva, manually trim the timeline, export, realize the dimensions were wrong for the platform, repeat. Slow, manual, and completely disconnected from how I actually work. What I wanted was something I could fire from my terminal — or hand off entirely to an AI coding agent — and just get the asset back. No GUI. No context-switching. No ceremony. So I built Pixdom. What is Pixdom? Pixdom is a developer CLI tool and an MCP (Model Context Protocol) server. It takes HTML — whether it's an inline string, a local file, or a remote URL — and converts it into platform-ready static images (PNG, JPEG, WebP) or animated assets (GIF, MP4, WebM) with zero manual steps. It also accepts existing images directly via --image, running them through Sharp without spinning up a browser at all. Under the ho