summaryrefslogtreecommitdiff
path: root/cgithub/package.json
AgeCommit message (Collapse)Author
2026-09-18Run cgithub locally on elmotestJoe Mou
2026-08-27Move the workerd build allowance out of package.jsonJoe Mou
pnpm 11 no longer reads the "pnpm" field in package.json and warns that it ignored onlyBuiltDependencies, which would leave workerd's build script unapproved and unrun on a fresh install. Its new home is pnpm-workspace.yaml, which pnpm accepts without a packages key for a single-package repo. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PbJ1wy2dNdjk7LpME4ud3J
2026-08-11Redirect to GitHub with a meta refreshJoe Mou
A browser extension redirects github.com to cgithub with declarative net requests. Its rules match our HTTP redirects back to github.com too, so those bounce straight back here and loop forever. A meta refresh makes cgithub the initiator origin instead, which the extension's rules can exclude, and its delay leaves a page the user can stop on. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-11Show the build's commit in the page footerJoe Mou
Workers can't shell out at request time, so the commit has to be baked in before wrangler bundles the sources. compile-views.ts grows a second job and becomes scripts/build.ts: alongside the precompiled views it writes src/commit.generated.ts with `git describe --tags --always --dirty`, which yields a bare short hash until the repo is tagged and marks builds made from an unclean working copy. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-11Deploy only to Cloudflare WorkersJoe Mou
The Node server entry, esbuild bundle, and Makefile rsync/systemd deploy are gone; wrangler dev and wrangler deploy are the only paths now, so the dev:cf/deploy:cf scripts take over the plain dev/deploy names. @hono/ node-server and esbuild drop out with src/index.ts, and the README's systemd socket and nginx snippets go with them. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-15Add Cloudflare Workers deployment targetJoe Mou
Split routes into a shared createApp() (src/app.ts) used by both the Node entry (src/index.ts) and a new Workers entry (src/worker.ts). Workers disallow runtime code generation, so scripts/compile-views.ts precompiles the Eta templates into src/views.generated.ts and rendering switches from renderAsync to the sync render. Static files move to public/static so Workers Static Assets can serve them; the Node build and serveStatic root are updated to match. Deploy with pnpm run deploy:cf, local dev with pnpm run dev:cf. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-02-21Parse release page HTMLJoe Mou
Fixes reading complex release descriptions that had unbalanced tags. Written with Gemini.
2026-01-27Propagate GitHub HTTP errorsJoe Mou
Render `error.eta` on HTTP error from GitHub. Implemented with Gemini.
2026-01-27MIT licenseJoe Mou
2026-01-27GitHub scraper testJoe Mou
2026-01-26Use Node native TypeScript elisionJoe Mou
See https://nodejs.org/api/typescript.html#type-stripping
2026-01-25esbuild to bundle for deploymentJoe Mou
2026-01-23Simple web server for viewing treesJoe Mou