Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
33add3a
Rebuild the archive site on the shared jb theme module
CGBassPlayer Nov 14, 2026
3e4c5f7
Add the 28 retired shows from jupiterbroadcasting.com
CGBassPlayer Nov 14, 2026
00dfafb
Expect host cards without episodes here to link to the person page
CGBassPlayer Nov 14, 2026
ddfded3
Merge pull request #1 from goodwinlabs/poc/archive-site
CGBassPlayer Nov 14, 2026
95e3018
Bump jb-hugo-theme / people modules (#2)
CGBassPlayer Nov 14, 2026
3a529ed
Point Render previews at matching deploys
CGBassPlayer Nov 14, 2026
ceccd5a
Merge pull request #3 from goodwinlabs/poc/render-urls
CGBassPlayer Nov 14, 2026
63c8b85
Render Blueprint: develop branch, auto-deploy, MAIN_URL for the main …
CGBassPlayer Nov 14, 2026
0e5052c
Merge pull request #4 from goodwinlabs/poc/render-blueprint
CGBassPlayer Nov 14, 2026
f2e835c
render.yaml: current Blueprint spec (runtime: static, previews.genera…
CGBassPlayer Nov 14, 2026
4da950d
Merge pull request #5 from goodwinlabs/poc/render-schema
CGBassPlayer Nov 14, 2026
5bef218
List the retired shows in the navbar Shows menu
CGBassPlayer Nov 14, 2026
9c4ccc8
Merge pull request #6 from goodwinlabs/poc/shows-menu
CGBassPlayer Nov 14, 2026
4516310
theme-bump: warn instead of failing when Actions may not open PRs
CGBassPlayer Nov 14, 2026
e05f22e
Merge pull request #7 from goodwinlabs/poc/bump-no-pr-permission
CGBassPlayer Nov 14, 2026
6597da0
Bump jb-hugo-theme / people modules (#8)
CGBassPlayer Nov 14, 2026
3c8380f
theme-bump: don't merge before e2e runs, don't re-push unchanged pins
CGBassPlayer Nov 14, 2026
82fb0b1
Merge pull request #9 from goodwinlabs/poc/bump-no-race
CGBassPlayer Nov 14, 2026
bbe8fb2
Copy people pages and avatars from jupiterbroadcasting.com (upstream …
CGBassPlayer Nov 24, 2026
bc18823
Add 24 people and photos from backfill-old-shows missing on upstream …
CGBassPlayer Nov 24, 2026
52acfa1
Drop the main-site people module: people now live in this repo
CGBassPlayer Nov 24, 2026
bba88e8
List former hosts as hosts: reclassify 8 people, update hosts e2e test
CGBassPlayer Nov 24, 2026
2e060ed
Archive home logo: add a crooked ARCHIVE sign in the bottom-right corner
CGBassPlayer Nov 24, 2026
8f1fe17
Sponsors as data: data/sponsors for the 47 sponsors archive pages use…
CGBassPlayer Nov 24, 2026
8c13a40
Navbar and footer logo: add the crooked ARCHIVE sign (logo_no_rocket_…
CGBassPlayer Nov 24, 2026
07864b9
Footer keeps the plain logo (links back to the main site); drop the a…
CGBassPlayer Nov 24, 2026
bbc95cd
LAS: fill missing audio/video from archive.org, drop dead blip.tv lin…
CGBassPlayer Nov 29, 2026
6e4b351
LAS: add the 45 missing episodes from archive.org audio and archived …
CGBassPlayer Nov 29, 2026
d6a945d
Fix go.mod: close the require block so the site builds
CGBassPlayer Nov 29, 2026
f468452
Hosts per upstream PR 1156 review: SciByte 1-16, User Error 1-46, Pai…
CGBassPlayer Nov 29, 2026
147f943
Drop dead BSD Now/Unfilter links (private or 404), fix Unfilter 289 v…
CGBassPlayer Nov 29, 2026
cf54782
Update episode player tests for LAS archive.org audio
CGBassPlayer Nov 29, 2026
f537048
LAS: replace/drop 2 more dead links, audio for 198 and 208, notes for…
CGBassPlayer Nov 29, 2026
c0fd511
Add /timeline/: show starts, endings, breaks and host changes
CGBassPlayer Nov 29, 2026
6692da8
Timeline: unconfirmed Unfilter move becomes a note; HTML output only
CGBassPlayer Nov 29, 2026
6cb3f7a
Timeline test: drop the LAS gap check, those episodes are now backfilled
CGBassPlayer Nov 29, 2026
5b8ee49
Timeline: no breaks for Jupiter EXTRAS, which publishes irregularly
CGBassPlayer Nov 29, 2026
87f0883
Timeline: mark Unfilter as left JB; hide Michael's Coder Radio host-l…
CGBassPlayer Nov 29, 2026
ee796d9
Timeline: separate break and return entries; vertical timeline layout
CGBassPlayer Nov 29, 2026
9256755
Timeline: label show endings 'Show ends'; fill every chip with its do…
CGBassPlayer Nov 29, 2026
6c3dbbc
Timeline: move event building and colours into shared partials
CGBassPlayer Nov 29, 2026
65eca30
Show pages: add a horizontal show history strip
CGBassPlayer Nov 29, 2026
6c1fae8
Restore full text for 302 cut-off episode descriptions
CGBassPlayer Nov 29, 2026
b051e40
Show history: slim scrollbar in the site's colours
CGBassPlayer Nov 29, 2026
540fcd2
Fix 173 more episode descriptions: cuts, junk text, missing punctuation
CGBassPlayer Nov 29, 2026
7f5bc92
Merge feature/show-history: site timeline and per-show history
CGBassPlayer Nov 29, 2026
d6f3000
Render blueprint: name the service jb-archive
CGBassPlayer Nov 30, 2026
8934ee4
update main site url to prod site
CGBassPlayer Nov 30, 2026
17196f1
Bump jb-hugo-theme: single hosts list, sponsor data, show history slot
CGBassPlayer Nov 30, 2026
4ea823e
Remove the theme-bump workflow: the theme pin is updated by hand
CGBassPlayer Nov 30, 2026
085c11c
Use the JupiterBroadcasting module paths and theme repo
CGBassPlayer Nov 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
35 changes: 35 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: E2E Tests
on:
pull_request:
push:
branches:
- main
- develop
workflow_dispatch:

jobs:
e2e-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Start containers
working-directory: ./test/
env:
DOCKER_BUILDKIT: 1
BUILDKIT_PROGRESS: plain
run: docker compose up -d --build

- name: Run tests
working-directory: ./test/
run: script -e -c "docker compose exec testing pytest -m 'not periodic' --base-url http://jb-com --junitxml report.xml"

- name: Save screenshots
if: always()
uses: actions/upload-artifact@v4
with:
name: screenshots
path: screenshots/
overwrite: true
if-no-files-found: ignore
29 changes: 0 additions & 29 deletions .github/workflows/main.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,21 @@ $RECYCLE.BIN/

# Editor
.idea
.vscode
.kateproject
.kateproject.local
.fleet


# Ignore all the scraped data
scraped-data

#pytest
/test/screenshots/
/test/.pytest_cache
/test/e2e/__pycache__/
/test/screenshots/
/screenshots/
.pytest_cache/
__pycache__
.render-config-*.toml
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

24 changes: 24 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
FROM ghcr.io/gohugoio/hugo:v0.169.0 AS builder
# this defaults to an empty variable
ARG BASE_URL
COPY --chown=hugo:hugo . /site
WORKDIR /site
# when the argument is empty or PROD, do a normal production build
# else if it's TESTS_WEB use the specified baseURL "/", or
# exit 1, because that use case hasn't been provided
# https://explainshell.com/ is an awesome website which can explain this in more detail
# set -x : changes the shell's default verbosity and puts it in "debug" mode
RUN set -x && ( [ -z "${BASE_URL}" ] || [ "${BASE_URL}" == "PROD" ] ) \
&& hugo --gc \
|| ( [ "${BASE_URL}" == 'TESTS_WEB' ] && hugo --gc --baseURL "/" || exit 1 )

FROM nginx:alpine
RUN rm -rf /usr/share/nginx/html/*
RUN sed -i 's/#error_page/error_page/' /etc/nginx/conf.d/default.conf
# nginx:alpine ships no text/markdown mime type; llms.txt spec wants it on .md twins.
# (root is repeated: the stock conf declares it inside `location /`, and this
# location block replaces it for matching paths. llms.txt, llms-full.txt and
# episodes.json need no override: stock mime.types already serve .txt as
# text/plain and .json as application/json.)
RUN sed -i '/listen /i\ location ~ \\.md$ { root /usr/share/nginx/html; default_type text/markdown; }' /etc/nginx/conf.d/default.conf
COPY --from=builder /site/public /usr/share/nginx/html
4 changes: 4 additions & 0 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ARG HUGO_VERSION=0.169.0
FROM ghcr.io/gohugoio/hugo:v${HUGO_VERSION}
CMD [ "serve", "-D", "--bind", "0.0.0.0" ]
ENTRYPOINT [ "hugo" ]
14 changes: 14 additions & 0 deletions Dockerfile.tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# python version pinned in test/Pipfile as well (noble image ships python3.12)
FROM mcr.microsoft.com/playwright/python:v1.64.1-noble

# image runs as root by design; silence pip's root and upgrade notices
ENV PIP_ROOT_USER_ACTION=ignore PIP_DISABLE_PIP_VERSION_CHECK=1
RUN pip install pipenv==2026.10.5

CMD [ "--base-url", "http://localhost:1313", "-m", "not periodic" ]
ENTRYPOINT [ "pytest" ]

COPY test/Pipfile test/Pipfile.lock ./
# installing depenencies to the container's system,
# so we don't have to worry about venvs
RUN pipenv --bare sync --system
46 changes: 46 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
help:
@echo "Jupiter Broadcasting Archive Hugo Project"
@echo
@echo "Help for using this Makefile"
@echo
@echo "For detailed help about this project please visit:"
@echo "https://github.com/JupiterBroadcasting/archive.jupiterbroadcasting.com"
@echo
@echo "------------------------------------------------------------------"
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m - %s\n", $$1, $$2}'

dev-build: ## Generate the development docker container
docker build --rm -f Dockerfile.dev -t jb_hugo:latest .

dev: dev-build ## Run the development hugo container
docker run --rm -it -v "$${PWD}":/app -w /app -p $${HOST_IP:-127.0.0.1}:1313:1313 jb_hugo:latest

THEME_DIR ?= ../jb-hugo-theme
THEME_MODULE := github.com/JupiterBroadcasting/jb-hugo-theme
# mounts the parent folder so the sibling theme checkout is visible inside the container
DEV_THEME_RUN = docker run --rm -it -v "$$(cd .. && pwd)":/work -w /work/$(notdir $(CURDIR)) \
-e HUGO_MODULE_REPLACEMENTS="$(THEME_MODULE) -> /work/$(notdir $(abspath $(THEME_DIR)))" \
-p $${HOST_IP:-127.0.0.1}:1313:1313 jb_hugo:latest

dev-theme: dev-build ## Run the development hugo container against a local jb-hugo-theme checkout (THEME_DIR, default ../jb-hugo-theme)
$(DEV_THEME_RUN) serve -D --bind 0.0.0.0

dev-tests-theme: dev-build ## Like dev-tests, against a local jb-hugo-theme checkout
$(DEV_THEME_RUN) serve -D --bind 0.0.0.0 --disableFastRender

dev-metrics: dev-build ## Run the development hugo container with metrics
docker run --rm -it -v "$${PWD}":/app -w /app -p $${HOST_IP:-127.0.0.1}:1313:1313 jb_hugo:latest serve -D --bind 0.0.0.0 --templateMetrics --templateMetricsHints

dev-tests: dev-build ## Run the development hugo container with every page pre-rendered (for `make tests` with parallel workers)
docker run --rm -it -v "$${PWD}":/app -w /app -p $${HOST_IP:-127.0.0.1}:1313:1313 jb_hugo:latest serve -D --bind 0.0.0.0 --disableFastRender

deploy-prod: ## Deploy everything to production
docker build -t jb-archive .
docker compose -f ~/docker-compose.yml up -d --force-recreate jb-archive
# docker-compose.yml located on the production host, not within this repo.
docker image prune -af

tests: ## Run the test suite (serve the site with `make dev-tests` first)
docker build --rm -f Dockerfile.tests -t jb_tests:latest .
if [ -d screenshots ]; then rm -rf screenshots/; fi
docker run --rm --net=host --user 1000:1000 --volume "$${PWD}":/app -w /app jb_tests:latest
83 changes: 83 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,84 @@
# archive.jupiterbroadcasting.com

Every episode of the retired Jupiter Broadcasting shows (`active = false`): Linux Action Show, TechSNAP, BSD Now,
Coder Radio, Linux Action News, Self-Hosted, Unfilter, and 21 more. Current shows live in
[jupiterbroadcasting.com](https://github.com/JupiterBroadcasting/jupiterbroadcasting.com), which 301s every old
`/show/<retired-show>/…` URL here.

## How it's put together

| Piece | Where it comes from |
|---|---|
| Layouts, CSS/JS, fonts, favicons, logos | [jb-hugo-theme](https://github.com/JupiterBroadcasting/jb-hugo-theme), a Hugo Module (pinned in `go.mod`) |
| Shows, episodes, show art, sponsors they mention | This repo (`content/show/`, `static/images/shows/`, `content/sponsors/`) |
| People pages and avatars | This repo (`content/people/`, `static/images/{people,hosts,guests}`), copied from the main site |

Differences from the main site are params in `config.toml`: `shows_active = false` (home slider and `/show/` list
retired shows), `support_url` (Support button goes to the main site's membership page) and `home_subtitle`.
The nav links back to the main site for current shows, live and membership.

## Timeline

`/timeline/` works out each archive show's first and last episode, breaks (60+ days between consecutively numbered
episodes) and host changes (hosts with 10+ episodes, or half of a show shorter than 20) from the episodes.

Each archive show page shows the same events for that show, under "Show history". This needs a jb-hugo-theme whose
show page calls `partial "show/history.html"`; with an older theme the section is left out and
`test/e2e/test_show_history.py` fails.

Everything else goes in `data/timeline.json`:

```json
{
"current_shows": [
{ "slug": "linux-unplugged", "title": "LINUX Unplugged", "start": "YYYY-MM-DD" }
],
"moved_shows": [{ "show": "<archive slug>", "url": "https://…" }],
"events": [
{ "date": "YYYY-MM-DD", "show": "<slug>", "text": "What changed" }
]
}
```

- `current_shows`: shows still on the main site. `slug` is the show's folder name there. A blank `start` hides the
start event. Optional `hosts` lists the original hosts by username.
- `events`: anything the archive's episodes can't show, such as renames, spin-offs, the reason a show ended, or current
show history. `show` is an archive or current-show slug. `type` is `note` (default), `break`, `return`,
`host-join` or `host-leave` (a break needs two entries: `break` and `return`); add `host` (username) to link a person. An unknown slug or type, or a bad date, fails the build.
- `moved_shows`: archive shows that carried on outside Jupiter Broadcasting. Their last episode is marked "Left JB".
`url` (optional) links to the show's website. For a show that came back and has since stopped, add `until`, the date
of its last episode elsewhere.
- `hidden_host_leaves`: `"<show>/<username>"` entries that hide a derived "Host leaves" event. Coder Radio's last
archived episode wasn't a real episode, so Michael didn't leave before the end.
- Current show events are a snapshot of the main-site episodes (through November 2026) and don't update themselves.
- Jupiter EXTRAS is a special case: it publishes irregularly, so it gets no breaks.

## Development

Requires Docker. Hugo fetches the modules on first run (Go is in the Hugo image).

make dev # serve with the theme pinned in go.mod
make dev-theme # serve against ../jb-hugo-theme with live reload (THEME_DIR to override)

Clone the theme next to this repo for `make dev-theme`:

```text
jb-hugo-theme/
jupiterbroadcasting.com/
archive.jupiterbroadcasting.com/
```

## Tests

make dev-tests # terminal 1: serve with every page pre-rendered
make tests # terminal 2

CI (`.github/workflows/e2e.yml`) runs the suite against the production nginx container.

## Updates and releases

- All PRs merge into `develop`; Render builds previews. Production ships from `main` through a `develop → main`
release PR.
- The theme pin is updated by hand, in a PR into `develop`: run
`hugo mod get github.com/JupiterBroadcasting/jb-hugo-theme@<commit>`, then `hugo mod tidy`.
- The theme pin in a release is the exact commit previewed on `develop`.
34 changes: 34 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/usr/bin/env bash
# Hugo's Render guide installs both tools at build time: https://gohugo.io/host-and-deploy/host-on-render/
set -euo pipefail

# Pinned here, not in render.yaml envVars: a dashboard-configured Render service ignores those, and its own
# HUGO_VERSION may still name the old Hugo
DART_SASS_VERSION=1.79.3
HUGO_VERSION=0.169.0
# Hugo Modules (the jb theme) need Go to fetch
GO_VERSION=1.27.3
tools="${HOME}/.local"
mkdir -p "${tools}/hugo"

curl -sSfL --retry 3 "https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz" | tar -xz -C "${tools}"
curl -sSfL --retry 3 "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz" | tar -xz -C "${tools}/hugo"
if ! command -v go >/dev/null; then
curl -sSfL --retry 3 "https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz" | tar -xz -C "${tools}"
fi
export PATH="${tools}/hugo:${tools}/dart-sass:${tools}/go/bin:${PATH}"

sass --version
hugo version
go version
# Render previews: absolute URLs use this deploy's own address, and MAIN_URL (set on the Render service) points the
# links back to the main site (nav, Support button, footer logo) at the matching main-site deploy instead of production
base_url="${RENDER_EXTERNAL_URL:-/}"
config=config.toml
if [ -n "${MAIN_URL:-}" ]; then
config=$(mktemp ./.render-config-XXXXXX.toml)
trap 'rm -f "$config"' EXIT
sed "s#https://www.jupiterbroadcasting.com#${MAIN_URL%/}#g" config.toml > "$config"
fi
echo "baseURL=${base_url} main=${MAIN_URL:-production}"
hugo --minify --gc --baseURL "$base_url" --config "$config"
Loading
Loading