OpenTalon / website · opentalon.ai / README.md
OpenTalon website
Website: https://opentalon.ai
The product site served at opentalon.ai. A static Vite page with no framework, styled to match the other Project ATOM app sites and the app's Warm Paper theme.
cd site
npm ci
npm run dev # local preview
npm run build # outputs site/dist
index.htmlholds the page content.src/main.jsrenders the board mock-ups, the theme picker and the send-to-agent walkthrough.src/style.cssholds all styling. Fonts are self-hosted through Fontsource.public/holds the brand assets, derived from the files in../assets.public/_headers,public/_redirectsandpublic/_routes.jsonset Cloudflare Pages response headers, redirects and which paths runfunctions/_middleware.js(installers from R2).vercel.jsonis the old Vercel config, kept until Vercel is retired.
Hosting is the Cloudflare Pages project opentalon (root directory opentalon/site, build rm -rf public/downloads && npm run build, output dist), deployed from GitHub main.
Installers and update zips are too big for Pages (25 MiB per file), so they live in the R2 bucket opentalon-downloads, bound to the Pages project as DOWNLOADS. functions/_middleware.js serves https://opentalon.ai/downloads/<file> from it, so Sparkle and download links keep the same URLs. When you publish a release, upload the new files before you push the appcast:
npx wrangler r2 object put opentalon-downloads/OpenTalon-X.Y.Z.dmg --file public/downloads/OpenTalon-X.Y.Z.dmg --remote --content-type application/x-apple-diskimage
npx wrangler r2 object put opentalon-downloads/OpenTalon-X.Y.Z.zip --file public/downloads/OpenTalon-X.Y.Z.zip --remote --content-type application/zip
iPhone and iPad
The iPhone and iPad companion ships through the public TestFlight beta at https://testflight.apple.com/join/HQZ8TAnq. The site links TestFlight, not the App Store. The Project ATOM feedback form is available in every build.
Sitemap dates and IndexNow
tools/indexnow.mjs runs at the end of every Cloudflare Pages build. It compares each page in the sitemap with the page that is live, writes <lastmod> into the deployed sitemap (today for a page whose words changed, otherwise the date already live), and on a production deploy submits the changed pages to IndexNow so Bing re-reads them within minutes. Preview deploys only print what they would submit. The dates in the committed sitemap are starting values only. Keep public/66365049776433ceca35572e03fca658.txt: IndexNow checks it to confirm the site sent the request.
Preview: every branch also builds on Cloudflare Pages at https://<branch>.opentalon.pages.dev.