Contents of the cometworks.github.io Web page.
The pages under /plugins/ list the plugins and mods of the four plugin hubs:
PluginHub, PluginHub-SE2,
magnetar-hub and quasar-hub.
The Pages workflow checks out the hubs, runs _tools/fetch_plugin_stats.py and
_tools/build_plugin_list.py to write _data/plugin_stats.json and _data/plugins.json,
then builds the site with Jekyll and deploys it. It runs on every push to main and every
five minutes. A scheduled run deploys only when the published /plugins/fingerprint.txt
differs, that is when the hubs or the statistics changed.
The Space Engineers 1 and 2 pages show the players, votes and rating Pulsar shows in game,
from the Pulsar stats servers
(pluginstats.ferenczi.eu and pluginstats2.ferenczi.eu). The fetch is anonymous, the
same GET /Stats Pulsar makes in anonymous mode: no player hash is sent and only public
counts are kept. The site publishes its copy as /plugins/stats.json. When a stats server
is unreachable or asks to back off (429/503), that hub keeps the last published copy,
marked as stale on its page, so the site acts as a cache and the build never fails on the
stats servers. Magnetar and Quasar have no stats servers.
To build it locally, clone the hubs into _hubs/se1, _hubs/se2, _hubs/magnetar and _hubs/quasar, then:
python3 _tools/fetch_plugin_stats.py _data/plugin_stats.json # optional
python3 _tools/build_plugin_list.py _hubs _data/plugins.json _data/plugin_stats.json
JEKYLL_GITHUB_TOKEN=$(gh auth token) docker run --rm -u $(id -u):$(id -g) -v "$PWD":/src \
-e JEKYLL_GITHUB_TOKEN -e PAGES_REPO_NWO=CometWorks/cometworks.github.io -e HOME=/tmp \
--entrypoint bash ghcr.io/actions/jekyll-build-pages:v1.0.13 \
-c 'cd "$BUNDLE_APP_CONFIG" && bin/github-pages build --source /src --destination /src/_site'The token is optional for public metadata. _config.yml sets the canonical URL explicitly.
The homepage and all catalogue pages share _layouts/default.html and
assets/site.css, with self-hosted DM Sans and Manrope (licenses in
assets/fonts/). assets/brand/cometworks-mark.png is the unmodified simplified
CometWorks logo used by server-list, also used as the favicon.
System is the default theme. assets/theme.js runs before the stylesheet and
reads cometworks-theme from localStorage. Explicit Light/Dark choices persist;
System follows OS changes. Without JavaScript, CSS follows the OS and the full
static plugin catalogue remains readable. Hub entries and descriptions continue
to come from the daily generator; no catalogue data is maintained by hand.
The same GitHub Pages build image also works with rootless Podman (no token is needed with this site's explicit URL configuration):
podman run --rm --userns=keep-id -v "$PWD":/src:Z \
-e PAGES_REPO_NWO=CometWorks/cometworks.github.io -e HOME=/tmp \
--entrypoint bash ghcr.io/actions/jekyll-build-pages:v1.0.13 \
-c 'cd "$BUNDLE_APP_CONFIG" && bin/github-pages build --source /src --destination /src/_site'
python3 -m http.server 4123 --directory _siteFor the focused browser integration check, use an externally installed Playwright
package and Chromium; these are development tools, not site dependencies. Run
from the repo after generating the real hub data and building/serving _site:
# Omit these variables if Playwright and its browser are installed normally.
PLAYWRIGHT_MODULE=/path/to/node_modules/playwright CHROME_PATH=/usr/bin/google-chrome \
node _tools/check_site.cjs
# Optional: SITE_URL=http://localhost:PORT SCREENSHOTS=/tmp/site-screenshotsThe check covers themes before CSS, persistence, OS changes, keyboard controls, unavailable/corrupt storage, all seven pages in both themes from 320px phones to 3840px desktops (including tablet, landscape and ultrawide aspect ratios), 200% text enlargement, mobile controls and expanded descriptions, real generated entry links and counts, search, compatibility, compatible-first ordering, usage statistics and sorting, hiding/resetting, descriptions, and the no-JavaScript fallback.
Responsive sizing uses the same width-and-height-aware scale as server-list: normal text size on phones and shallow windows, rising to 150% on large displays. The shared layout uses fluid gutters rather than a fixed 1200px content cap; paragraphs retain readable line lengths. The hub overview shows four columns on wide screens, two on smaller desktops/tablets and one on phones. Theme controls and catalogue filters scale with text and keep at least 44px touch heights; search/select text stays at least 16px to avoid small-font auto-zoom on iOS.
AGPL-3.0, see LICENSE. The fonts in assets/ keep their own licenses.
Please contact us for alternate licensing.