The official Cobbleworks website: plugin directory, individual product pages, downloads, installation guides, compatibility information, and release notes.
The website serves static HTML, CSS, SVG, WebP images, and a small JavaScript enhancement. It uses no runtime framework, third-party visitor JavaScript, or browser GitHub API requests. Fonts are hosted locally with their OFL licences. Navigation, product information, and JAR downloads remain usable without JavaScript.
Python 3.12 or newer is the only build requirement. No additional Python packages are needed.
python scripts/build_site.py
python scripts/validate_site.py
python -m http.server 8080Open http://localhost:8080/. Generated HTML is checked in so any static server can preview it. GitHub Actions rebuilds and validates every route before packaging and deploying to GitHub Pages on pushes to main.
Edit content/plugins.json, then rebuild. It is the shared source for cards, individual pages, downloads, compatibility, release summaries, and product metadata. Do not edit generated HTML directly.
Each product records its status, content, SVG symbol, real gameplay screenshots, commands, permissions, and release-specific facts. Keep platform, Minecraft build target, documented range, Java requirement, dependencies, integrations, licence evidence, and named JAR separate. Development projects have no invented release or licence; archived projects retain historical documentation.
Check for newer stable releases with:
python scripts/check_releases.pySet GITHUB_TOKEN when needed for an authenticated API limit. The checker reports changes without overwriting reviewed documentation. For a new version, read its tagged README and release notes, update the catalogue, and check screenshot relevance before rebuilding. Never rewrite historical plugin releases.
The homepage hero is the title-screen artwork (assets/hero/title-screen-*.webp). Block textures (dirt, deepslate, stone, bedrock, grass edge) and toast icons live in assets/textures. Homepage spotlight copy lives in content/spotlights.json and its screenshots in assets/spotlight.
pip install Pillow
python scripts/build_art.py "../Cobblework plugin images"Plugins with full-resolution artwork (listed in FULL_ART in scripts/build_art.py) get a full-bleed page header. Plugins with only the 818 × 196 banner in assets/plugins show that banner at native size over a blurred backdrop, so it never has to be enlarged. To upgrade a plugin, add its full image to the source folder, map it in FULL_ART, and rerun the script. The generated WebP files are committed, so CI does not need Pillow.
Plugin icons are hand-placed 16 × 16 pixel art in scripts/icons.py, sharing one palette, outline, and top-left light. build_site.py renders them to assets/icons/*.svg. Preview the whole family with python scripts/icons.py preview.png.
Product galleries use real gameplay captures from the repositories. Supplied artwork is never presented as a screenshot.
scripts/validate_site.py checks every generated page, local asset/link, section anchor, unique title, structured data, sitemap route, and release JAR tag. Deployment packages all nested routes. The separate Blockfolk documentation site at /Blockfolk-NPC-Plugin/ is preserved.
See VALIDATION.md for browser checks and DESIGN.md for design decisions and content boundaries.