Commit Graph
265 Commits
Author SHA1 Message Date
branderson b982e0a541 docs: tell upgraders to drop their /stream/ proxy route
The upgrade guide still said the /stream/ route was unchanged, but the
app now proxies streams itself and the session manager publishes no
port; an old route times out with a 504.
2026-10-14 00:47:25 -07:00
branderson 0d08cde3c1 Merge pull request 'CI: log in to the registry as the repository owner' (#4) from ci-registry-login into main
Images / app (push) Failing after 1m10s
Images / streamer (push) Failing after 1m14s
Images / session-manager (push) Failing after 1m13s
Reviewed-on: #4
Reviewed-by: branderson <brad@branderson.io>
2026-10-13 23:19:12 -07:00
branderson e1cf8aff29 ci: log in to the registry as the repository owner
Only REGISTRY_TOKEN is configured; the REGISTRY_USERNAME secret the
login step read doesn't exist, so it logged in with an empty username.
2026-10-13 23:17:36 -07:00
branderson 9b46a25802 Merge pull request 'CI: dejima runner labels and short job names' (#3) from ci-runner-labels into main
Images / app (push) Failing after 6m49s
Images / streamer (push) Failing after 1m7s
Images / session-manager (push) Failing after 1m9s
Reviewed-on: #3
Reviewed-by: branderson <brad@branderson.io>
2026-10-13 22:23:15 -07:00
branderson 71682ae2b7 ci: run image builds on dejima-privileged, with short job names 2026-10-13 22:22:39 -07:00
branderson bac27cbc05 Merge pull request 'Dotcom Arcade: rename, one compose file, Ultimate setup script and docs' (#1) from rebrand-and-docs into main
Images / build (., dotcom-arcade) (push) Canceled after 0s
Images / build (streaming/session-manager, dotcom-arcade-session-manager) (push) Canceled after 0s
Images / build (streaming/streamer, dotcom-arcade-streamer) (push) Canceled after 0s
Reviewed-on: #1
Reviewed-by: branderson <brad@branderson.io>
2026-10-13 22:17:00 -07:00
branderson c49fd1e4e9 Merge pull request 'Release prep: legal-safe setup, hosting requirements, in-app stream proxy, Gitea CI, cleanup' (#2) from release-prep into rebrand-and-docs
Reviewed-on: #2
Reviewed-by: branderson <brad@branderson.io>
2026-10-13 22:14:30 -07:00
branderson 33b99cafd5 feat(scripts): seed Flashpoint Ultimate before extracting
--seed-ratio and --seed-hours keep aria2c seeding after the download,
stopping at whichever limit comes first, before extraction starts; this
needs no extra disk. The README asks people to seed and explains
long-term seeding with --keep-archives. Re-running with --torrent once
extraction has begun no longer downloads the deleted archives again.
2026-10-13 21:49:27 -07:00
branderson 8d0504f6f2 docs: document prebuilt images, publishing and update checks 2026-10-13 21:20:08 -07:00
branderson cd1d7fbb35 chore: remove leftovers from upstream
Drops the /flash and /html5 sections (old URLs redirect to /browse),
the GitHub star count endpoint, the unused HOME_RECENT_HOURS setting,
upstream's design notes and code review docs, and the issue template's
link to upstream discussions.
2026-10-13 21:19:34 -07:00
branderson 5e7b2bc72e ci: publish images from Gitea Actions; make the update check opt-in
A Gitea workflow builds the app, session manager and streamer images
and pushes them to the instance's registry on pushes to main and on
version tags, reading the registry host at run time. Compose can pull
them with IMAGE_PREFIX. The update checker reads APP_UPDATE_URL instead
of upstream's GitHub releases and is off without it. Upstream's Docker
Hub workflow is removed.
2026-10-13 21:14:42 -07:00
branderson dd60c49dda docs: state hosting requirements and the legal position up front
The README opens with storage, CPU and HTTPS requirements, including the
per-player cost of streaming, and explains Flashpoint's legal standing.
Setup now uses the torrent and Infinity archive from Flashpoint's site,
and the streaming docs reflect the app proxying /stream/.
2026-10-13 21:12:03 -07:00
branderson 8875d4cc0a feat(scripts): check storage first; download only from a supplied torrent
The script no longer carries download links: --torrent takes the
.torrent file from Flashpoint's downloads page, and --infinity the
Infinity archive. Before doing anything it works out the space the
download and extraction need, refuses to start without it, and asks
for confirmation unless --yes is given. It notes Flashpoint's unsettled
legal standing and the user's responsibility.
2026-10-13 21:10:52 -07:00
branderson c5ca8d0efa feat(streaming): proxy /stream/ through the app
The app forwards /stream/ to the session manager, WebSocket upgrades
and the save-sync event stream included, ahead of helmet and
compression. A reverse proxy in front now needs no route of its own
for streams, and the session manager publishes no ports.
2026-10-13 21:08:53 -07:00
branderson 4130adfe58 docs: document Dotcom Arcade, streaming, proxy sign-in and saves
A new README for the combined project with setup from the Flashpoint
Ultimate torrent. New feature docs for streaming, proxy sign-in and
game saves; deployment, upgrade and streaming READMEs updated for the
single compose file; the project renamed throughout.
2026-10-13 19:31:06 -07:00
branderson 5bce9d2785 feat(scripts): download and extract Flashpoint Ultimate
setup-flashpoint.sh downloads the Ultimate torrent with aria2c and
extracts each archive in turn, checking free space first and deleting
it afterwards unless --keep-archives is given. From Base_1.zip it takes
only the database, settings and playlists. --with-infinity adds
Infinity for Linux's software, which streaming needs, without replacing
anything. Re-running resumes where it stopped.
2026-10-13 19:24:42 -07:00
branderson 70f3421418 build: run the app and streaming from one compose file
The app, session manager and streamer are built from source by a single
docker-compose.yml. Streaming is the opt-in "streaming" profile, enabled
by setting STREAMING_API_TOKEN. Replaces the separate production, dev and
streaming compose files.
2026-10-13 19:22:31 -07:00
branderson 05db4313ae chore: rename the project to Dotcom Arcade 2026-10-13 19:19:15 -07:00
branderson 5fc59f1f80 Merge flashpoint-ultimate-server's streaming into streaming/ 2026-10-13 19:16:52 -07:00
branderson 70824fb89d Merge pull request 'Arcade portal shell and discovery homepage' (#6) from portal-phase1 into main
Reviewed-on: branderson/flashpoint-web#6
Reviewed-by: branderson <brad@branderson.io>
2026-10-13 17:37:23 -07:00
branderson 09b76b9414 Merge pull request 'Portal game page with in-place play' (#7) from portal-phase2 into portal-phase1
Reviewed-on: branderson/flashpoint-web#7
Reviewed-by: branderson <brad@branderson.io>
2026-10-13 17:36:51 -07:00
branderson c044f5e9cf feat(portal): game page with in-place play
Game detail and play are one portal page: a stage with the screenshot
and a Play button (or Enter) that loads the game in place, controls
under it, details, plays, rating, tags, favorite and add to playlist,
and related games.
2026-10-13 11:18:25 -07:00
branderson bd47e16138 feat(games): rank related games by shared tags, series and developer 2026-10-13 11:18:24 -07:00
branderson a0b032bc79 fix(portal): drop the description under the mature games switch 2026-10-13 11:15:44 -07:00
branderson 00fb758432 Merge pull request 'Restore Flash and Shockwave streaming on main' (#7) from flash-shockwave-streaming into main
Reviewed-on: branderson/flashpoint-ultimate-server#7
Reviewed-by: branderson <brad@branderson.io>
2026-10-13 11:11:31 -07:00
branderson a7659d7fb8 Size Flash streams to the exact SWF stage
Scaling the display up relied on full screen scaling the movie, but games
that set StageScaleMode.NO_SCALE stay at their native size in full screen,
leaving a small game against black. At the exact stage size, full screen
fits every scale mode and the browser scales the stream.
2026-10-13 11:10:34 -07:00
branderson b996609832 Rewrap streamer README 2026-10-13 11:10:34 -07:00
branderson f6cb5555b6 Stream Shockwave and Flash games, sized from their content
A game is streamable when its platform is allowed (STREAM_PLATFORMS,
default Java, Shockwave and Flash) and its launcher resolves under the same
rules fp-command applies. The display is sized from what it launches:
Director movies including Afterburner .dcr and pre-7 VWCF configs, SWF
headers scaled up to fit 1280x960, a page's largest embed, or a projector's
stage. Dimensions are rounded up to even for H.264.
2026-10-13 11:10:34 -07:00
branderson 046495f3c3 Launch games the way Flashpoint's Linux launcher does
fp-command applies the launcher's rules to any application path: execs.json
mappings, .bat to .sh, and .exe under Wine, resolving paths case-insensitively
and splitting launch commands as the launcher's shell command would. Windows
programs run from a writable per-session mirror of the install, with Director
Prefs and Flash saves linked into the synced saves. OldCPUSimulator, which
hangs under Wine, becomes cpulimit; Flash projectors go full screen; and
Flashpoint Navigator's toolbars are hidden. This replaces the LocalGames case.
2026-10-13 11:10:34 -07:00
branderson 45166899b8 feat(settings): default the site tagline 2026-10-12 19:25:18 -07:00
branderson 24c895e1a0 docs(portal): document the discovery portal, endpoints and mature filter 2026-10-12 18:41:40 -07:00
branderson ee6fb4e951 feat(portal): arcade portal shell and discovery homepage
Chilled color scheme as swappable tokens, Fredoka wordmark with a
configurable tagline, genre categories, search and random hotkeys.
The homepage offers a Game of the Day, a Time Machine with a date
picker, recently played games and Flashpoint playlist shelves.
Mature games are hidden unless opted in from the user menu, stored
in the browser and the account. Browse lists default to a seeded
shuffle and accept release date ranges.
2026-10-12 18:09:20 -07:00
branderson d65f25aa2a feat(discovery): mature filter, release ranges, seeded shuffle and discovery endpoints 2026-10-12 17:44:53 -07:00
branderson 6781e2ae19 Merge pull request 'Keep players' game saves on their account' (#5) from account-saves into main
Reviewed-on: branderson/flashpoint-web#5
Reviewed-by: branderson <brad@branderson.io>
2026-10-12 16:37:13 -07:00
branderson 3ab6e05a00 fix(saves): leave Selkies settings out of game saves
The streaming client in a streamed game's iframe shares the app's origin and
keeps its settings in localStorage under its page address, which includes
the session. Those keys changed during play, so they were attributed to the
game and a new batch joined its save every session. Exclude them, and drop
any already recorded when gathering a save.
2026-10-12 16:17:09 -07:00
branderson 1e098674d8 feat(saves): keep players' game saves on their account
Saves games keep in the browser now sync with the signed-in player's
account: Ruffle SharedObjects and HTML5 localStorage, IndexedDB databases
(exported and imported whole, typed arrays and blobs included), and streamed
games' save files. Games share the app's origin, so storage that changes
while a game runs is attributed to it. Before a game starts, the account's
save is loaded unless this browser has a newer one; changes upload as they
happen; and a Saves dialog in the player restores any of the last 10, keeping
the save it replaces as a backup.
2026-10-12 16:17:09 -07:00
branderson 0980b789d5 feat(saves): store game saves on the player's account
Adds game_save_snapshots and /api/game-saves for copies of the saves games
keep in a player's browser. An upload matching the current save is a no-op,
the newest 10 snapshots per user and game are kept as backups, and saves may
be up to 10 MB, so the router parses its own bodies past the app's 1 MB JSON
limit.
2026-10-12 16:17:09 -07:00
branderson 62169a4ff7 Merge pull request 'Stop the I'm Feeling Lucky button animating' (#4) from calm-lucky-button into main
Reviewed-on: branderson/flashpoint-web#4
Reviewed-by: branderson <brad@branderson.io>
2026-10-12 02:18:18 -07:00
branderson 36d1c67bb0 fix(ui): stop the I'm Feeling Lucky button animating
The button bounced and pulsed continuously, which is distracting,
especially beside a running game. It keeps its hover effects.
2026-10-12 02:14:38 -07:00
branderson d735263741 Merge pull request 'Sign in through an authenticating reverse proxy' (#3) from trusted-header-login into main
Reviewed-on: branderson/flashpoint-web#3
Reviewed-by: branderson <brad@branderson.io>
2026-10-12 02:09:00 -07:00
branderson a1f53c5d1e fix(auth): read a repeated trusted header as one value, refuse conflicts
A proxy that sets the username header twice, as when Authentik's nginx
snippet and the documented lines are both present, made Node join the values
into "brad, brad" and create an account of that name instead of signing in
brad. Read each occurrence separately: identical repeats count once, and
conflicting ones are refused. The docs now note Authentik's snippet already
sets the headers.
2026-10-12 01:59:31 -07:00
branderson 561e1e641a Merge pull request 'Stream Flash games with the original Flash Player' (#2) from flash-streaming into main
Reviewed-on: branderson/flashpoint-web#2
Reviewed-by: branderson <brad@branderson.io>
2026-10-12 01:45:39 -07:00
branderson 98b2f1a0bb docs(auth): document trusted header login 2026-10-12 01:05:40 -07:00
branderson a6adc61627 feat(auth): sign in through a trusted proxy and let those users set a password
On load, a signed-out visitor first asks the backend to sign them in as the
user an authenticating proxy vouches for, before guest mode or a login
redirect takes over; an explicit logout skips this for the rest of the tab.
Settings gains a password card for signed-in users, where a proxy-signed-in
user can set a password without the current one to log in without the
proxy.
2026-10-12 01:05:40 -07:00
branderson 057192be16 feat(auth): sign in users vouched for by a trusted proxy header
With TRUSTED_HEADER_USERNAME and TRUSTED_PROXIES set, POST
/api/auth/trusted-login signs in the user an authenticating reverse proxy
(such as Authentik forward auth) names in that header, believing it only on
connections from the proxy addresses. Users are matched by username, so an
existing account is adopted; otherwise one is created, the first as admin
as with registration. New accounts get a random password, and a user the
proxy vouches for can set their own password without the current one, to log
in when reached without the proxy.
2026-10-12 00:55:29 -07:00
branderson 1965a1392b feat(streaming): stream Flash with the original player when Ruffle falls short
Flash games Ruffle can play now also report streamable, and the player
offers a switch to the original Flash Player streamed from the server.
Flash games launched from a page, which need the browser plugin, stream
instead of loading a page that can't play, and search no longer hides them
while streaming is enabled.
2026-10-11 17:50:24 -07:00
branderson e333c738ef Merge pull request 'Local games' (#5) from local-games into main
Reviewed-on: branderson/flashpoint-ultimate-server#5
2026-10-11 17:27:59 -07:00
branderson 41cc2bc76d Merge pull request 'Stream Windows games under Wine, starting with Australia Wildlife Rescue' (#4) from wine-games into local-games
Reviewed-on: branderson/flashpoint-ultimate-server#4
Reviewed-by: branderson <brad@branderson.io>
2026-10-11 17:26:12 -07:00
branderson 4c8a23378c Stream LocalGames Windows games at their projector's stage size
The session manager treats a LocalGames .exe as streamable when the file
exists, sizing the display from the Director projector's config chunk.
2026-10-11 16:18:07 -07:00
branderson e0e3b5d4bb Run Windows games from LocalGames under Wine
fp-launch runs a LocalGames .exe with Flashpoint's bundled Wine from a
writable copy, linking its Prefs directory, where Director projectors save,
into the synced saves directory. Players without a save start from the Prefs
the game ships with. The image adds the X, font and PulseAudio libraries the
bundled Wine loads.
2026-10-11 16:18:07 -07:00