Repository navigation
Big Bang Homepage Update + NEW Server browser - #14
Open
dc-redeclipse wants to merge 55 commits into
Open
dc-redeclipse wants to merge 55 commits into
dc-redeclipse wants to merge 55 commits into
Conversation
Removed # FOR LOCAL TEST ONLY! url: "http://localhost:4000" baseurl: "" # empty for local testing
ToDo: change www.redeclipse.net to redeclipse.net in GitPages Deploy and change Domain settings accordingly to it, Set a redirect for www.redeclipse.net to redeclipse.net for backwards compatibility
Add game state, platform, and arch to the server browser, and some other small fixes and clean-ups.
Add macOS dependencies
removed dublicated docs folder
qreeves
requested changes
Oct 21, 2026
qreeves
left a comment
Member
There was a problem hiding this comment.
Thanks for the huge amount of work here, dc. The new homepage and the server browser look great. Before this can merge there are some blockers, and I'd like to split it up so the homepage can land quickly while we sort out the server browser.
Proposed split
- Homepage, nav and download page. This can merge quickly once the blockers below are fixed.
- Server browser. The page, the poller and the deploy workflow (details below).
- Notifications. The Discord webhook and the browser notifications, as a follow-up after (2).
None of these PRs should touch docs/ (see below), and none should change the domain.
Blocking issues
- The server browser never receives data.
run_script.ymlrunsgetservers.py, but nothing after that commits or deploys the output.data/*.jsonis gitignored, and Pages builds from the branch without running Python.servers.mdreadssite.data.serverswhen the site is built, so it will always show "No servers found". - Discord would re-announce every player every hour.
notify.jsonis thrown away when each job ends, so each scheduled run treats everyone online as a new join. (keep_filesonly affects a local_site.) The checkout step also doesn't fetch submodules, somaps/is empty in CI and every message uses the fallback image. - Every page polls
/notify.jsonevery 5 seconds. That file is never published, and the polling sits inlayouts/default.html, so it runs on every page that uses the default layout. - Three files claim
/servers.servers.mduses/servers/,redirect/servers.htmlstill redirects/serversto Redflare, andredirect/steamstartgame.htmlhasredirect_from: /servers. Please deleteredirect/servers.htmland drop thatredirect_from. e82c720 remove docsdeletes all ofdocs/.docs/is generated from redeclipse/docs by the "Build docs" commits, so it shouldn't be edited here. Any doc fixes belong in redeclipse/docs. Please drop that commit. Also, the server browser icons were moved out ofdocs/images, and about 10 doc pages still link to them. Please copy them intoservers/instead.- Download links 404.
data/game.ymlnow says2.0.9, but redeclipse/base has nov2.0.9release, and every installer, torrent and AppImage link is built from that version. Please keep2.0.0Jupiter until 2.1.0 is tagged. - Domain: please don't change it.
redeclipse.netandwww.redeclipse.netare different things, and the site lives atwww.redeclipse.net. Please revertCNAME, revertbbb6212(the 9 redirects rewritten to the bare domain), point the server browser links ingetservers.pyandlayouts/default.htmlathttps://www.redeclipse.net/servers/, and remove the two domain items from the to-do list.
How the server browser should get its data
Browsers can't send the UDP queries the game uses, so the poller has to run in CI. We'll make the workflow deploy the site itself:
- One workflow that polls once, builds Jekyll and deploys with
actions/deploy-pages. I'll switch the Pages source to "GitHub Actions" in the repo settings when this lands. - Triggers: every 15 minutes on a schedule, on push to
master(so docs builds and content edits keep going live as they do now), andworkflow_dispatch. - Poll once per run. Please drop the 5×30s loop, since each poll overwrites the last and only the final one gets published.
- Use
actions/checkoutwithsubmodules: recursivesobitsandmapsare present. - Show the data's age. Please show "updated N minutes ago" prominently from
time.json(jquery.timeagois already loaded) and don't call the data live. - Add
databack toexcludein_config.yml. The page reads the data at build time, so the raw JSON (including the geo-IP cache inip.json) doesn't need to be published.
Notifications (follow-up PR)
Please move the Discord webhook and the browser notification toggle into their own PR. When they come back:
- Join history needs to survive between runs (for example in the Actions cache).
- The browser polling should only run on
/servers/. - Let's talk about publicly broadcasting player names before turning it on.
Naming
"Master" means three different things in getservers.py. To keep them apart we're using these terms:
- Master Server is the server that lists all game servers (
MASTER_HOST). - Master Mode is a game server's access setting (
MASTER_MODES). - Reference Server is the official play.redeclipse.net game server, used to spot outdated servers. Please rename
found_master_by_nameand the related variables and comments to "reference server".
Smaller things (not blocking)
requirements.txtlistsrequests,discord-webhookandpytz, which aren't used.python-dotenvis used but isn't listed there.- The geo-IP lookup uses
http://ip-api.comover plain HTTP. - Font Awesome 6.5.1 is loaded from a CDN on top of the bundled 5.0.2. Could you pick one?
includes/head.htmlre-indents everything after the first block, which makes the diff noisy.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Completely Overhauled the Website and added a new Server browser to replace the no longer active Redflare server list.
Also, many Doc Pages are fixed, and dead Links are removed
To-do before go-live:
To-do after (optional at least before 2.1 release):
Preview Homepage:

Preview Server browser:
