Skip to content

feat: add reader, a memorial for Google Reader with a shared altar - #65

Merged
nirokato merged 5 commits into
mainfrom
claude/amazing-volta-1tya2d
Nov 24, 2026
Merged

nirokato merged 5 commits into
mainfrom
claude/amazing-volta-1tya2d

Conversation

@nirokato

Copy link
Copy Markdown
Owner

What

Adds reader, a memorial for Google Reader (October 7, 2005 to July 1, 2013), at reader.apps.andymolenda.com.

  • A headstone scene whose sky follows the visitor's clock (dawn, day, dusk, night).
  • Visitors lay offerings on shared grass: flowers, candles, wreaths and ribbons, cards and notes, mementos, trinkets, food and drink. Fresh flowers wilt, candles burn down.
  • Offerings are listed below in an old-Reader-style list with Reader's keyboard shortcuts, and published at /feed.atom and /feed.rss.
  • Memorabilia: the old Reader and API URLs, a timeline, the shortcuts, successors, and a subscriptions.xml to take home.
  • All offerings are drawn as one flat SVG set (art.js); no emoji on the page.

How

  • _worker.js is a Pages worker in advanced mode, picked up from the deploy directory, so deploy.yml is unchanged.
  • State is one JSON value in Workers KV (binding KV): totals plus the newest 500 offerings. Capped at 900 offerings a day to stay inside the KV free tier.
  • Visitors never type text. An offering is ids and indexes into catalog.js, validated by the worker, so there is nothing to moderate.
  • Without the API the page falls back to localStorage.

Infrastructure

  • tofu/variables.tf: adds reader to projects, and a new kv_projects set.
  • tofu/main.tf: a cloudflare_workers_kv_namespace per kv_projects entry, bound to that Pages project through a dynamic "deployment_configs" block. Other projects get no such block.

Before merging: the Cloudflare API token needs Account: Workers KV Storage: Edit, or the apply fails on the new namespace. Please read the plan comment: tofu validate could not be run where this was written, and the plan should show changes only for reader and the new namespace.

Testing

  • Run locally with npx wrangler pages dev projects/reader --kv KV and driven with headless Chromium at desktop and phone sizes: laying an offering by mouse, keyboard only, and touch; both feeds parse as XML; bad input and cross-origin posts are rejected.
  • Not checked: whether the Official Google Reader Blog feed URL linked in the memorabilia is still live.

Generated by Claude Code

A headstone scene where visitors lay flowers, candles, wreaths, notes,
mementos, trinkets and food. Offerings are picked from fixed lists (no
visitor-typed text), stored in Workers KV by a Pages worker, and published
as Atom and RSS feeds. Adds a KV namespace for the project in tofu.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BoMPzBFGwDSTPPWq5uN3cJ
Offerings sit on the grass (contact shadows, slight tilt, grass tufts, a
shadow under the stone), laying one ends in a small burst, new offerings
from other visitors are announced, and your own are marked. Adds a copy
link action, anniversary notes, an empty-grass hint, and skips redrawing
the scene when nothing changed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BoMPzBFGwDSTPPWq5uN3cJ
Corrects the successor list, API claim and retirement timing; rewords
copy that misfired; keeps keyboard focus through the picker, placing and
list re-renders; adds a shortcuts off switch, larger touch targets,
stronger contrast and a confirm step for touch placement; fixes read
state being pruned while offline; gives the grass more depth.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BoMPzBFGwDSTPPWq5uN3cJ
Adds art.js with 31 flat illustrations so the altar, picker and list look
the same on every platform and match the hand-drawn candles and wreaths.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BoMPzBFGwDSTPPWq5uN3cJ
@github-actions

Copy link
Copy Markdown
Contributor

OpenTofu Plan

Plan output
data.cloudflare_zone.zone: Reading...
cloudflare_pages_project.preview: Refreshing state... [id=andy-apps-preview]
cloudflare_pages_project.project["bubble-share"]: Refreshing state... [id=andy-apps-bubble-share]
cloudflare_pages_project.project["github-uptime"]: Refreshing state... [id=andy-apps-github-uptime]
cloudflare_pages_project.project["weft"]: Refreshing state... [id=andy-apps-weft]
cloudflare_pages_project.project["peer-drop"]: Refreshing state... [id=andy-apps-peer-drop]
cloudflare_pages_project.project["mirage"]: Refreshing state... [id=andy-apps-mirage]
cloudflare_pages_project.project["homepage"]: Refreshing state... [id=andy-apps-homepage]
cloudflare_pages_project.project["zmk-keymap"]: Refreshing state... [id=andy-apps-zmk-keymap]
cloudflare_pages_project.project["clock"]: Refreshing state... [id=andy-apps-clock]
data.cloudflare_zone.zone: Read complete after 0s [id=a7f7a62f2c2b914baa9b82b9e41a29c5]
cloudflare_pages_project.project["trove"]: Refreshing state... [id=andy-apps-trove]
cloudflare_pages_domain.domain["homepage"]: Refreshing state... [id=2c55d7af-683f-4463-aa98-5bc7b1e707cd]
cloudflare_pages_domain.domain["github-uptime"]: Refreshing state... [id=fb284235-5daa-48d3-96c8-9f710b9b7687]
cloudflare_pages_domain.domain["trove"]: Refreshing state... [id=39c4bcf6-15b0-4e85-84c5-159df1259f47]
cloudflare_pages_domain.domain["mirage"]: Refreshing state... [id=490bf662-6e31-43f5-84af-7885bd6f3e2e]
cloudflare_pages_domain.domain["weft"]: Refreshing state... [id=df0069d6-a9c4-411d-b52b-88227318b108]
cloudflare_pages_domain.domain["bubble-share"]: Refreshing state... [id=3df37c0f-32b3-4824-a5de-8b421115e65a]
cloudflare_pages_domain.domain["zmk-keymap"]: Refreshing state... [id=34b8e5fe-0c6c-4a28-b763-6dda21d60d33]
cloudflare_pages_domain.domain["clock"]: Refreshing state... [id=74b72e0f-818d-420e-859a-f0437bd35828]
cloudflare_pages_domain.domain["peer-drop"]: Refreshing state... [id=69db182b-cd41-43ba-8c0c-bcfc92d974e9]
cloudflare_record.cname["clock"]: Refreshing state... [id=d0e16b835decb7bb06f5feb0736801e3]
cloudflare_record.cname["homepage"]: Refreshing state... [id=c2155ce7863f7e7689dc3f05367746e2]
cloudflare_record.cname["mirage"]: Refreshing state... [id=67987ca9b197eaef0c99d9ffd23f12d4]
cloudflare_record.cname["trove"]: Refreshing state... [id=02e8ec2382004fdc15c5411d66ccaf7f]
cloudflare_record.cname["bubble-share"]: Refreshing state... [id=65e4242902b2a43962fbd3107629d427]
cloudflare_record.cname["weft"]: Refreshing state... [id=e2411dbb4de2318f0f00d1d47b584e4d]
cloudflare_record.cname["github-uptime"]: Refreshing state... [id=718eea7effa4afb5ed2eeb5d151ba098]
cloudflare_record.cname["peer-drop"]: Refreshing state... [id=569777844ae8c626fc232d14b0837470]
cloudflare_record.cname["zmk-keymap"]: Refreshing state... [id=3de8a5e0f00ab4bf0533fd6cc8bd1114]

OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create

OpenTofu will perform the following actions:

  # cloudflare_pages_domain.domain["reader"] will be created
  + resource "cloudflare_pages_domain" "domain" {
      + account_id   = "6050946b66172190524579962c958e5a"
      + domain       = "reader.apps.andymolenda.com"
      + id           = (known after apply)
      + project_name = "andy-apps-reader"
      + status       = (known after apply)
    }

  # cloudflare_pages_project.project["reader"] will be created
  + resource "cloudflare_pages_project" "project" {
      + account_id        = "6050946b66172190524579962c958e5a"
      + created_on        = (known after apply)
      + domains           = (known after apply)
      + id                = (known after apply)
      + name              = "andy-apps-reader"
      + production_branch = "main"
      + subdomain         = (known after apply)

      + deployment_configs {
          + preview {
              + always_use_latest_compatibility_date = false
              + compatibility_date                   = (known after apply)
              + compatibility_flags                  = (known after apply)
              + fail_open                            = false
              + kv_namespaces                        = (known after apply)
              + usage_model                          = "bundled"
            }
          + production {
              + always_use_latest_compatibility_date = false
              + compatibility_date                   = (known after apply)
              + compatibility_flags                  = (known after apply)
              + fail_open                            = false
              + kv_namespaces                        = (known after apply)
              + usage_model                          = "bundled"
            }
        }
    }

  # cloudflare_record.cname["reader"] will be created
  + resource "cloudflare_record" "cname" {
      + allow_overwrite = true
      + content         = (known after apply)
      + created_on      = (known after apply)
      + hostname        = (known after apply)
      + id              = (known after apply)
      + metadata        = (known after apply)
      + modified_on     = (known after apply)
      + name            = "reader.apps"
      + proxiable       = (known after apply)
      + proxied         = true
      + ttl             = (known after apply)
      + type            = "CNAME"
      + value           = (known after apply)
      + zone_id         = "a7f7a62f2c2b914baa9b82b9e41a29c5"
    }

  # cloudflare_workers_kv_namespace.project["reader"] will be created
  + resource "cloudflare_workers_kv_namespace" "project" {
      + account_id = "6050946b66172190524579962c958e5a"
      + id         = (known after apply)
      + title      = "andy-apps-reader"
    }

Plan: 4 to add, 0 to change, 0 to destroy.

Changes to Outputs:
  ~ project_urls = {
      + reader        = "https://reader.apps.andymolenda.com"
        # (9 unchanged attributes hidden)
    }

─────────────────────────────────────────────────────────────────────────────

Saved the plan to: tfplan

To perform exactly these actions, run the following command to apply:
    tofu apply "tfplan"

@nirokato
nirokato merged commit f973f6f into main Nov 24, 2026
3 checks passed
@nirokato
nirokato deleted the claude/amazing-volta-1tya2d branch November 24, 2026 03:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants