Jace Media: posts and videos from Jace, YouTube, Bluesky, Mastodon, Lemmy and Hacker News in one app, with no ads.
Posts and videos from everywhere in one app, with no ads. A Jace app, open source under the MIT license.
Next.js 16 (App Router), TypeScript, Tailwind 4 and Postgres, hosted on Vercel.
Phone and TV apps live in apps/ and are built by GitHub Actions (.github/workflows/apps.yml).
Each shows the live site, so Jace Media updates reach them without an app update.
apps/android, Kotlin): fullscreen video, uploads,
downloads, back button, TV launcher banner. Release builds are signed with the key from packaging/android_keystore.py
(run it once; it saves the key as GitHub secrets and keeps a private backup in local/).apps/ios, SwiftUI, built unsigned on GitHub's Macs): install with AltStore or SideStore. Their source,
https://jace-media.vercel.app/api/altstore, keeps it updated.apps/webos): a webOS package of the site in TV mode./api/app-version and offer updates automatically (each launch) or manually (Get the app page).apps/VERSION, add notes to apps/CHANGELOG.md, push to main.YouTube doesn't let other apps see its recommendations, so Jace Media builds its own from the same kinds of signals (lib/recommend.ts):
/oauth/authorize with prompt=none (PKCE S256). Signed in to Jace → straight back with a code. login_required or consent_required → a cookie remembers the try (10 minutes) and the normal "Sign in with Jace" button shows; no loops. After signing out on purpose, it never signs in automatically until you sign in yourself.banned: true or 403 account_banned) is removed with a notice. "Add another Jace account" uses prompt=select_account. Remove, Sign out, and Sign out of all are in the menu.urn:ietf:params:oauth:grant-type:token-exchange) is not used.Node.js 20.9 or newer.
npm install
cp .env.example .env.local
npm run dev
Without DATABASE_URL, local development uses PGlite (Postgres in WebAssembly) in ./data/pglite. Tables are created on first use.
scripts/mock-jace.mjs stands in for Jace's sign-in and videos API, with accounts ada, linus and grace:
node scripts/mock-jace.mjs # http://localhost:4000
and in .env.local: JACE_URL=http://localhost:4000, JACE_CLIENT_ID=mock, JACE_CLIENT_SECRET=mock. Its home page lets you sign in to "Jace" as someone or sign out; /revoke?user=ada expires Ada's tokens and /ban?user=ada bans her.
DATABASE_URL).JACE_CLIENT_ID, JACE_CLIENT_SECRET, SESSION_SECRET, and optionally YOUTUBE_API_KEY (YouTube comments, trending, search, live) and TWITCH_CLIENT_ID / TWITCH_CLIENT_SECRET (Twitch).Posts come from the public APIs of Bluesky, Mastodon, Lemmy and Hacker News, and belong to their authors; every post links back to where it was posted. Videos come from Jace and YouTube. Ad segments come from SponsorBlock.
Android and Android TV: the .apk. iPhone: add the source https://jace-media.vercel.app/api/altstore to AltStore or SideStore. LG TV: the .ipk. Windows: the .exe. Mac: the .app.zip (right-click → Open the first time). Linux: the .AppImage (or the .deb). Opening the download runs setup, which installs it and removes the download; delete it from your account menu in the app. Instructions: https://jace-media.vercel.app/apps
Files
Source code
Android and Android TV: the .apk. iPhone: add the source https://jace-media.vercel.app/api/altstore to AltStore or SideStore. LG TV: the .ipk. Windows: the .exe. Mac: the .app.zip (right-click → Open the first time). Linux: the .AppImage (or the .deb). Opening the download runs setup, which installs it and removes the download; delete it from your account menu in the app. Instructions: https://jace-media.vercel.app/apps
Files
Source code
Android and Android TV: the .apk. iPhone: add the source https://jace-media.vercel.app/api/altstore to AltStore or SideStore. LG TV: the .ipk. Windows: the -setup.exe. Mac: the .dmg (right-click → Open the first time). Linux: the .AppImage or .deb. Instructions: https://jace-media.vercel.app/apps
Files
Source code
Android and Android TV: the .apk. iPhone: add the source https://jace-media.vercel.app/api/altstore to AltStore or SideStore. LG TV: the .ipk. Windows: the -setup.exe. Mac: the .dmg (right-click → Open the first time). Linux: the .AppImage or .deb. Instructions: https://jace-media.vercel.app/apps
Files
Source code
Android and Android TV: the .apk. iPhone: add the source https://jace-media.vercel.app/api/altstore to AltStore or SideStore. LG TV: the .ipk. Instructions: https://jace-media.vercel.app/apps
Files
Source code