Players of Void Tales wanted one place for their screenshots, builds and best moments, without depending on an image host that might shut down or start limiting uploads. The gallery is the sister site of the Void Tales Portal and shares its design tokens.
There is no upload form. Players post in a Discord channel the way they always do, and the image appears in the gallery a few minutes later, credited to the person who posted it.
How it works
The site is deliberately simple: a static Astro site with no database and no backend, everything pre-rendered at build time. The work happens around it, in an n8n workflow:
- Listen. A Discord webhook picks up new images in the gallery channel.
- Check. Format, size and content are validated before anything is processed.
- Process. The image is downloaded and turned into WebP thumbnails at several sizes.
- Describe. A markdown file records author, timestamp and caption.
- Publish. The files land where the build expects them, and the site is rebuilt and deployed.
Watermarks, moderation or different image processing are a change to the workflow; the site stays the same.
On the page
- Masonry grid from phone to ultrawide, with lazy loading and infinite scroll
- Lightbox (GLightbox) with author attribution, share buttons and a link to the original
- Sorting by date, name or at random, and a unique ID per image for direct links
- Staff badges in the grid and a refresh button that bypasses the cache
- Light and dark mode without a flash on load
- A few Preact islands for the interactive parts; everything else ships as plain HTML
Self-hosted means the community keeps its pictures, whatever happens to the next image host.
- platform
- Web · Static site + Discord automation
- stack
- Astro 7, TypeScript, Preact, Sharp, GLightbox, n8n, Discord API, Node.js
- website
- https://gallery.voidtales.win ↗