# Jotley website Website: https://jotley.ai Marketing and support website for Jotley, a native app with free note-taking features, open source for Mac, iPhone and iPad powered by on-device Apple Intelligence. Jotley transcribes as you speak and keeps transcribing when the device is locked; transcription and summaries run on the device after Apple model setup. Private iCloud sync is on by default and can be turned off; Mac update checks also use a connection and can be turned off. All features are free, with no in-app purchases or subscription. App help, bug reports and feedback are free. ## App source repository Jotley's app source is public at [projectatomai/jotley](https://github.com/projectatomai/jotley). ## Support Use [Jotley feedback](https://projectatom.ai/apps?app=jotley#feedback) or [GitHub issues](https://github.com/projectatomai/jotley/issues). ## Social preview and metadata Page titles, descriptions, canonical URLs, Open Graph and Twitter cards are defined in `src/lib/site-metadata.ts`. The social card uses the real app screenshots and logo at `public/og/jotley-v2.png` (1200 × 630). Regenerate it with `npm run generate:og`. `/api/og` serves the same image. `/metadata-preview` shows the image and all page metadata for review and is marked noindex. The sitemap uses the same public page list, with no synthetic modification dates. Homepage JSON-LD identifies the website and publisher. `www.jotley.ai` permanently redirects to `jotley.ai`. Maintenance rewrites return HTTP 503 with Retry-After while crawler files remain accessible. Run `npm test -- e2e/seo.spec.ts` to verify metadata, canonicals, indexable content, crawler files, JSON-LD, image delivery and maintenance behavior. IndexNow: `scripts/indexnow.mjs` runs at the end of every Vercel build. It compares each sitemap page's words with the live page and, on a production deploy, submits only the changed pages so Bing re-reads them within minutes (preview deploys just print the list; local builds do nothing; it never fails a build). Keep `public/66365049776433ceca35572e03fca658.txt`: IndexNow checks it to confirm the site sent the request. ## Website videos The narrated films (the marketing film, the walkthrough and the iPhone, iPad and Mac tutorials) play from YouTube, so their views count on the original YouTube channel; each shows its poster from `public/media/films` until someone presses play. The short app clips stream from the `jotley-media` Cloudflare R2 bucket at `https://media.jotley.ai`. Videos are not committed or deployed; posters and stills stay in `public/media`. `src/app/components/home/media.ts` lists every film's YouTube id and every clip URL. To publish a new cut of a film, upload it to YouTube and change its `youtubeId`. The master copy of each uploaded file is on the Expand drive in `/Volumes/Expand/Video/Library/website-media/jotley`. That folder mirrors the bucket: `films/name.mp4` is served at `https://media.jotley.ai/films/name.mp4`. To publish a new video: 1. Copy it into the folder at the path its URL should have. Use a new filename for every new cut, for example `films/jotley-marketing-v4-1080p.mp4`. Uploads are cached for a year, and the upload script refuses to overwrite a key with different bytes. 2. Run `python3 /Volumes/Expand/Video/Library/website-media/r2_media.py upload jotley films/jotley-marketing-v4-1080p.mp4`. It sets the content type and `Cache-Control: public, max-age=31536000, immutable`, then checks the stored checksum. 3. Run `python3 /Volumes/Expand/Video/Library/website-media/r2_media.py verify jotley` to check every public URL, its headers, range requests and CORS. 4. Update the paths in `media.ts`. The How it works phone uses current iPhone captures. The live transcription clip streams as a WebGL video texture, with a poster for reduced motion and a native video fallback when WebGL is unavailable. To preview unpublished videos locally, run `r2_media.py serve jotley --port 8790` and start the site with `NEXT_PUBLIC_VIDEO_BASE_URL=http://127.0.0.1:8790`. ## Development Use Node.js 20.9 or later. ```sh npm ci npm run dev ``` Open http://localhost:3006. ```sh npm run lint npm run build npm test ``` ## App distribution This repository contains the website and verified public Mac distribution assets. The `/download` page starts the Mac installer download and shows installation instructions; iPhone and iPad links go to the public TestFlight beta, https://testflight.apple.com/join/1y7UFzjK (`IOS_TESTFLIGHT_URL` in `src/lib/links.ts`). We are not on the App Store. - The signed Sparkle update feed and release manifest are in `public/`. The Mac installers are served from Cloudflare R2 (see "Mac distribution"). - `/tips` and `/donate` redirect to the homepage. The site has no tip or payment links. - `NEXT_PUBLIC_MAINTENANCE_MODE=true` enables website maintenance mode. See [SETUP.md](SETUP.md) for configuration. ## Mac distribution The production Mac buttons lead to the original `/download` installation guide, which offers the signed installer and installation steps. The installers are not in git or the deploy. They live in the `jotley-media` Cloudflare R2 bucket at `https://media.jotley.ai/downloads/Jotley--.dmg`, with master copies on the Expand drive in `/Volumes/Expand/Video/Library/website-media/jotley/downloads`. The site keeps installer URLs on jotley.ai: `vercel.json` permanently redirects `https://jotley.ai/Jotley-*.dmg` to the matching R2 file, which is served as an attachment under its own filename. The appcast, `mac-release.json`, the download page and installed apps can keep using jotley.ai URLs. Release 2.2 (417) is the Developer ID signed and Apple-notarized release from app source `codex/mac-local-only` at `9de2bad`, built by GitHub Actions run [39832953460](https://github.com/protomota/jotley-app/actions/runs/39832953460). It includes the reviewed Liquid Glass controls, lighter theme-tinted transcripts, consistent onboarding, contextual Mac menus, inline transcript editing, aligned recording controls, restored native sidebar toggle and scroll-to-top fixes. The live onboarding walkthrough is available at [media.jotley.ai](https://media.jotley.ai/clips/jotley-onboarding-main-window-20261020.mp4). `public/install-jotley-339.jpg` is a real Finder capture of that signed installer, with its saved layout and embedded artwork; it replaces the old DMG contents image in the installation guide. `public/appcast.xml` is the Sparkle feed, using the existing app public key. `public/mac-release.json` records the version, build, byte count and SHA-256 digest. These files are public distribution assets; private signing material never belongs here. For a future release: 1. Verify Apple notarization and the Sparkle signature. 2. Copy the DMG to the Expand-drive folder above, then run `python3 /Volumes/Expand/Video/Library/website-media/r2_media.py upload jotley downloads/Jotley--.dmg` and `verify jotley`. Never commit the DMG. 3. Update `public/appcast.xml` and `public/mac-release.json` together. Keep their URLs on `https://jotley.ai/`. 4. Let the original installation page select the newest installer from the appcast, and run the production build and browser tests. Deploy the matching committed branch to the existing `projectatomai/jotley-site` Vercel project with the production target. Retain old release files in R2 while publishing a successor. No app-source repository visibility change is needed. `e2e/mac-download.spec.ts` checks actual download bytes against the manifest and verifies the Ed25519 signature using the public key. It checks automatic download on entry, manual download retries, the original installation screenshots, and home-page Mac destinations. Use a fresh local port and `TEST_BASE_URL` if the standard development port is occupied. The original installation page and components were restored from site commit `5c453acd5e0b331b91f470dab0cb175b9efa60e9`; four installation screenshots were restored byte-for-byte. `/downloads` is not a page. Legacy `/downloads/:file` asset requests redirect to the identical root file, and from there to R2, so previously fetched update feeds can still retrieve the signed installer. The iPhone v2 and iPad v3 tutorials use a rounded screen mask that follows the 3D device, with matched captions and 720p/1080p/4K60 exports. See [the screen-mask fix and verification](docs/video-fixes/README.md).