Every analytics tool wants a subscription. And your data. I built Twiligent instead. YouTube stats. Instagram stats. One dashboard. Runs locally on your machine.
feat(site)!: present YouTube and Instagram as the only platforms
spacesdrive8a94ca2f8f7d
diff --git a/site/build/docsPlugin.ts b/site/build/docsPlugin.tsindex 4a68a22..00fd6d0 100644--- a/site/build/docsPlugin.ts+++ b/site/build/docsPlugin.ts@@ -87,7 +87,7 @@ function llmsTxt(files: DocFile[]): string {`- [${pageTitle(file.source, file.slug || 'Docs')}](${SITE_URL}/docs${file.slug ? `/${file.slug}` : ''}): ${pageDescription(file.source)}`,);const summary =- 'Twiligent puts YouTube, Instagram and Reddit analytics side by side, publishes and schedules Instagram posts, and runs on accounts you own. It is open source under the MIT licence.';+ 'Twiligent puts YouTube and Instagram analytics side by side, publishes and schedules Instagram posts, answers Instagram comments with a private reply, and runs on accounts you own. It is open source under the MIT licence.';return `# Twiligent\n\n> ${summary}\n\n## Docs\n\n${lines.join('\n')}\n`;}diff --git a/site/content/docs/concepts.mdx b/site/content/docs/concepts.mdxindex 0285eb8..aa46a64 100644--- a/site/content/docs/concepts.mdx+++ b/site/content/docs/concepts.mdx@@ -4,7 +4,7 @@ export const meta = { title: 'Members and administrators', description: 'Who set### Member-A member signs in to an existing instance with Google, a code emailed to their address, or an email and password. Members connect their own YouTube, Instagram and Reddit accounts, read their analytics, publish and schedule posts, and track content. A member never needs a server, a database, API keys or GitHub.+A member signs in to an existing instance with Google, a code emailed to their address, or an email and password. Members connect their own YouTube and Instagram accounts, read their analytics, publish and schedule posts, and track content. A member never needs a server, a database, API keys or GitHub.### Administrator@@ -25,7 +25,7 @@ The administrator runs the instance. They create the Supabase project, get the p## What is shared and what is yours- **Shared by everyone on the instance:** the YouTube API key, the Instagram (Meta) app, the Cloudinary account and the server itself. These are set once by the administrator.-- **Yours alone:** the accounts you connect, their access tokens and cookies, your scheduled posts and your tracked content. Other members cannot see them, and the server never sends tokens or cookies back to any browser.+- **Yours alone:** the accounts you connect, their access tokens, your scheduled posts and your tracked content. Other members cannot see them, and the server never sends tokens back to any browser.<Callout type="tip" title="Running Twiligent just for yourself?">diff --git a/site/content/docs/index.mdx b/site/content/docs/index.mdxindex 012cc0b..f750d88 100644--- a/site/content/docs/index.mdx+++ b/site/content/docs/index.mdx@@ -2,7 +2,7 @@ export const meta = { title: 'Twiligent documentation', description: 'Guides for## What Twiligent does-Twiligent brings your YouTube channels, Instagram professional accounts and Reddit profiles into one place. You see their analytics side by side, publish and schedule Instagram posts, and follow individual Reddit posts and YouTube videos that matter to you.+Twiligent brings your YouTube channels and Instagram professional accounts into one place. You see their analytics side by side, publish and schedule Instagram posts, and follow individual YouTube videos that matter to you.Twiligent is self-hosted. Every copy of it, called an **instance**, belongs to the person or team who set it up. That person is the instance's **administrator**. Everyone who signs in to it is a **member**.@@ -20,10 +20,10 @@ Which guides you need depends on one question: did someone give you a Twiligent| Area | What it covers || --- | --- |-| **Analytics** | Subscribers, followers, karma, views, likes and comments across platforms, with per-account detail pages. |-| **Libraries** | Every YouTube video and Short, every Instagram reel, post and video, and every Reddit post, searchable and filterable. |+| **Analytics** | Subscribers, followers, views, likes and comments across platforms, with per-account detail pages. |+| **Libraries** | Every YouTube video and Short and every Instagram reel, post and video, searchable and filterable. || **Publishing** | Publish photos, Reels and Stories to Instagram now, schedule them for later, or upload many files at once. |-| **Tracked content** | Follow any Reddit post or YouTube video by link, group them into categories and compare them. |+| **Tracked content** | Follow any YouTube video or Short by link, group them into categories and compare them. |<Callout type="note" title="Not sure whether you are a member or an administrator?">diff --git a/site/content/docs/reference/environment.mdx b/site/content/docs/reference/environment.mdxindex d5d1e3d..8d28a4a 100644--- a/site/content/docs/reference/environment.mdx+++ b/site/content/docs/reference/environment.mdx@@ -57,6 +57,4 @@ Set these in `frontend/.env` before running `npm run build` in the top folder of## Not needed-- `REDDIT_ENCRYPTION_KEY` appears in older notes but is no longer read. Reddit cookies are stored server-side and never returned to the browser.- A GitHub personal access token. Earlier versions asked for one in Settings; it was never used and has been removed.-- A Reddit API key. Members use their own session cookie.diff --git a/site/content/docs/reference/faq.mdx b/site/content/docs/reference/faq.mdxindex 3aa4135..462e662 100644--- a/site/content/docs/reference/faq.mdx+++ b/site/content/docs/reference/faq.mdx@@ -16,9 +16,9 @@ It must be a Business or Creator account, and while the instance's Meta app is iYes. YouTube analytics use public data, so any public channel works.-## Does Twiligent publish to YouTube or Reddit?+## Does Twiligent publish to YouTube?-No. Publishing is Instagram only. YouTube and Reddit are analytics only.+No. Publishing is Instagram only. YouTube is analytics only.## What does running an instance cost?diff --git a/site/content/docs/reference/security.mdx b/site/content/docs/reference/security.mdxindex 442671b..9fd8ec3 100644--- a/site/content/docs/reference/security.mdx+++ b/site/content/docs/reference/security.mdx@@ -3,12 +3,12 @@ export const meta = { title: 'Security', description: 'How member data is kept a## What members can rely on- Other members cannot see your accounts, scheduled posts or tracked content.-- Instagram access tokens and Reddit cookies are stored on the server and never sent to any browser, including yours.+- Instagram access tokens are stored on the server and never sent to any browser, including yours.- No member, including you, ever handles the instance's API keys.## How isolation works-The browser signs in with Supabase and sends its token with every request. The Worker verifies the token and takes the member's ID from it, never from anything the browser sends. Every database query is limited to that ID. A scheduled post or tracked item can only use one of the member's own accounts: the Worker checks it, and the database refuses it too. Responses are stripped of tokens and cookies before they leave the Worker.+The browser signs in with Supabase and sends its token with every request. The Worker verifies the token and takes the member's ID from it, never from anything the browser sends. Every database query is limited to that ID. A scheduled post or tracked item can only use one of the member's own accounts: the Worker checks it, and the database refuses it too. Responses are stripped of access tokens before they leave the Worker.## Administrator responsibilitiesdiff --git a/site/content/docs/self-host/cloudinary.mdx b/site/content/docs/self-host/cloudinary.mdxindex 7be1462..281df09 100644--- a/site/content/docs/self-host/cloudinary.mdx+++ b/site/content/docs/self-host/cloudinary.mdx@@ -19,4 +19,4 @@ Browsers upload large videos straight to Cloudinary so they never pass through t</Callout>-Without Cloudinary, everything works except publishing and uploading screenshots for tracked Reddit posts.+Without Cloudinary, everything works except publishing to Instagram.diff --git a/site/content/docs/self-host/index.mdx b/site/content/docs/self-host/index.mdxindex 221432d..169dfcb 100644--- a/site/content/docs/self-host/index.mdx+++ b/site/content/docs/self-host/index.mdx@@ -8,7 +8,7 @@ If you signed in to a Twiligent link someone gave you, you do not need any of th## How the pieces fit-Twiligent has two parts. The **frontend** is the website people sign in to, hosted on Cloudflare Pages. The **backend** is a Cloudflare Worker that talks to YouTube, Instagram and Reddit, stores data in Supabase, and publishes scheduled posts every 15 minutes, trying again when Instagram has a passing problem. All secrets live in the backend; the frontend only holds values that are safe to be public.+Twiligent has two parts. The **frontend** is the website people sign in to, hosted on Cloudflare Pages. The **backend** is a Cloudflare Worker that talks to YouTube and Instagram, stores data in Supabase, and publishes scheduled posts every 15 minutes, trying again when Instagram has a passing problem. All secrets live in the backend; the frontend only holds values that are safe to be public.The repository has a third folder, `site`, which is the project's own public website and these docs. You do not need it to run Twiligent.@@ -25,8 +25,6 @@ The repository has a third folder, `site`, which is the project's own public web| Resend | Emailing sign-in and verification codes to members | <Badge tone="optional">Optional</Badge> | Free, 100 emails a day || GitHub | Deploy on every push, and a backup scheduler | <Badge tone="optional">Optional</Badge> | Free |-Reddit needs no key. Each member pastes their own Reddit session cookie when they connect an account.-## Order of setup1. [Supabase](/docs/self-host/supabase): create the project, then create the tables with `npm run db:push`.diff --git a/site/content/docs/self-host/supabase.mdx b/site/content/docs/self-host/supabase.mdxindex bbfee3c..ac6d862 100644--- a/site/content/docs/self-host/supabase.mdx+++ b/site/content/docs/self-host/supabase.mdx@@ -75,4 +75,4 @@ If a check stops the push because of an old row, the error names the rule. Fix tThe backend uses the secret key, which bypasses row level security, and limits every query to the signed-in user itself. The browser never reads the tables; it only signs in with Supabase. So the migrations turn security on with no policies and also remove every permission the publishable key's roles had on the tables and on Twiligent's database functions. The public publishable key, which ships in the frontend, cannot read or change any table directly, and neither can a signed-in member's own token.-A policy that let members reach their own rows would still expose their raw Instagram tokens and Reddit cookies to the browser, and would let them write rows the backend refuses, such as a post on another member's account. Older setups had such policies; the migrations remove them.+A policy that let members reach their own rows would still expose their raw Instagram tokens to the browser, and would let them write rows the backend refuses, such as a post on another member's account. Older setups had such policies; the migrations remove them.diff --git a/site/content/docs/use/analytics.mdx b/site/content/docs/use/analytics.mdxindex 05082b7..f1ae8ff 100644--- a/site/content/docs/use/analytics.mdx+++ b/site/content/docs/use/analytics.mdx@@ -6,17 +6,15 @@ The Overview has six tiles: **Audience**, **Views**, **Content**, **Accounts**,| Metric | How it is counted || --- | --- |-| Audience | YouTube subscribers plus Instagram followers plus Reddit karma. |+| Audience | YouTube subscribers plus Instagram followers. || Views | YouTube channel views, Instagram views where Instagram reports them, and views on tracked content. |-| Likes | YouTube likes, Instagram likes and Reddit karma. |-| Karma | Reddit calls a post's upvotes "score"; Twiligent always shows it as karma. |+| Likes | YouTube likes and Instagram likes. |## Account pages-Select an account in the sidebar to open its own page. YouTube channels have tabs for videos, engagement, publishing times, growth, Shorts and tags. Instagram and Reddit pages show posting patterns, best days and hours, and top posts.+Select an account in the sidebar to open its own page. YouTube channels have tabs for videos, engagement, publishing times, growth, Shorts and tags. Instagram pages show posting patterns, best days and hours, and top posts.## Why a number looks wrong- **Instagram views show a dash.** Instagram does not report views for some older posts or when insights are unavailable. A dash means "not reported", not zero.-- **Reddit has no view counts.** Reddit stopped publishing views in 2018. You can enter them by hand for tracked Reddit posts.- **Numbers are a little old.** Use **Refresh** on an account, or **Refresh all** in the top bar.diff --git a/site/content/docs/use/connect-accounts.mdx b/site/content/docs/use/connect-accounts.mdxindex a5b4013..37ffb47 100644--- a/site/content/docs/use/connect-accounts.mdx+++ b/site/content/docs/use/connect-accounts.mdx@@ -1,4 +1,4 @@-export const meta = { title: 'Connect your accounts', description: 'How to add YouTube channels, Instagram professional accounts and Reddit profiles.' }+export const meta = { title: 'Connect your accounts', description: 'How to add YouTube channels and Instagram professional accounts.' }## YouTube@@ -35,18 +35,3 @@ In Twiligent, open **Accounts**, choose **Add account**, then **Instagram accounInstagram access tokens last 60 days. Twiligent renews them automatically every night, so you only reconnect if you remove access in Instagram or change your password.</Callout>---Reddit blocks most requests from servers, so Twiligent uses your browser session cookie to read your profile and posts.--1. Sign in to reddit.com in your browser.-2. Open the browser's developer tools (F12), then **Application**, then **Cookies**, then `https://www.reddit.com`.-3. Find the cookie named `reddit_session` and copy its value.-4. In Twiligent choose **Add account**, **Reddit account**, enter your username (`name`, `u/name` or the address of your profile all work) and paste the cookie.--<Callout type="warning" title="Treat the cookie like a password">--It signs in as you. Twiligent stores it on the server and never shows it again. If Reddit signs you out, the cookie stops working: remove the account and add it again with a fresh cookie.--</Callout>diff --git a/site/content/docs/use/getting-started.mdx b/site/content/docs/use/getting-started.mdxindex dbc245d..04d39f2 100644--- a/site/content/docs/use/getting-started.mdx+++ b/site/content/docs/use/getting-started.mdx@@ -22,7 +22,7 @@ If the sign-in page says email codes are paused until tomorrow, your instance ha</Step><Step title="Connect an account">-Open **Accounts** in the sidebar and choose **Add account**. Pick YouTube, Instagram or Reddit. Each one is explained in [Connect your accounts](/docs/use/connect-accounts).+Open **Accounts** in the sidebar and choose **Add account**. Pick YouTube or Instagram. Each one is explained in [Connect your accounts](/docs/use/connect-accounts).</Step><Step title="Look around">@@ -44,8 +44,7 @@ Twiligent has a light and a dark theme. Switch with the sun or moon button at th| **Overview** | See audience, views, content, comments and likes across every account. || **Videos, Shorts** | Browse and sort every video from your YouTube channels. || **Instagram content** | Browse reels, posts and videos with views, likes and comments. |-| **Reddit posts** | See every post from your Reddit accounts with karma and comments. |-| **Tracked content** | Follow specific Reddit posts and YouTube videos by link. |+| **Tracked content** | Follow specific YouTube videos and Shorts by link. || **Publish** | Post or schedule to Instagram. || **Accounts** | Add, refresh and remove connected accounts. || **Settings** | Theme, server status and setup guides. |diff --git a/site/content/docs/use/tracked-content.mdx b/site/content/docs/use/tracked-content.mdxindex 71953a8..f72a5a2 100644--- a/site/content/docs/use/tracked-content.mdx+++ b/site/content/docs/use/tracked-content.mdx@@ -1,17 +1,17 @@-export const meta = { title: 'Track content', description: 'Follow any Reddit post or YouTube video by its link, even ones you did not make.' }+export const meta = { title: 'Track content', description: 'Follow any YouTube video or Short by its link, even ones you did not make.' }## Add an item-Open **Tracked content** and choose **Track content**. Paste a Reddit post link or a YouTube video or Shorts link. Add an optional label and category, then choose **Track**.+Open **Tracked content** and choose **Track content**. Paste a YouTube video or Shorts link. Add an optional label and category, then choose **Track**.## Categories-Categories group items, for example by campaign. Each category gets its own page in the sidebar with combined views, karma and comments. To set a category on many items, select them with the checkboxes and use **Assign category**.+Categories group items, for example by campaign. Each category gets its own page in the sidebar with combined views, likes and comments. To set a category on many items, select them with the checkboxes and use **Assign category**.-## Views and images for Reddit posts+## Where the numbers come from-Reddit does not report views, so use **Edit** to enter the number from the post's insights page. Reddit posts also have no thumbnail; you can upload a screenshot so you recognise the post at a glance.+Views, likes and comments are fetched from YouTube, so there is nothing to type in by hand.## Keep numbers current-Use the refresh button on a row to fetch the latest karma, likes and comments for that item.+Use the refresh button on a row to fetch the latest views, likes and comments for that item.diff --git a/site/content/docs/use/troubleshooting.mdx b/site/content/docs/use/troubleshooting.mdxindex e2f6c35..d32a189 100644--- a/site/content/docs/use/troubleshooting.mdx+++ b/site/content/docs/use/troubleshooting.mdx@@ -5,7 +5,6 @@ export const meta = { title: 'Troubleshooting', description: 'Common problems fo| Instagram shows an error or a blank page when connecting | Your account is probably not a tester yet. See [Get tester access first](/docs/use/connect-accounts). || "This Instagram account is already connected" | It is already in your Accounts list. Refresh it there instead. || Instagram connection says the account type is wrong | Switch the Instagram account to Business or Creator, then connect again. |-| Reddit says the session cookie is invalid or expired | Remove the Reddit account and add it again with a fresh reddit_session cookie. || A scheduled post shows Trying again on the next run | Nothing to do. The last attempt hit a passing problem, and the server tries again on its next run. || A scheduled post stays Pending more than 30 minutes past its time, or Publishing more than 50 minutes | Email the administrator. || A scheduled post Failed | Read the Error column. Common causes are a file Instagram does not accept, an account whose access was removed, or a problem that lasted three attempts. Schedule it again once the cause is fixed. |diff --git a/site/index.html b/site/index.htmlindex 34614a4..e85e717 100644--- a/site/index.html+++ b/site/index.html@@ -10,8 +10,8 @@location.replace('https://app.twiligent.ujjwal.fyi/');}</script>- <title>Twiligent: YouTube, Instagram and Reddit analytics in one dashboard</title>- <meta name="description" content="Twiligent puts your YouTube, Instagram and Reddit numbers side by side, publishes and schedules your Instagram posts, answers Instagram comments with a private reply, and runs on accounts you own." />+ <title>Twiligent: YouTube and Instagram analytics in one dashboard</title>+ <meta name="description" content="Twiligent puts your YouTube and Instagram numbers side by side, publishes and schedules your Instagram posts, answers Instagram comments with a private reply, and runs on accounts you own." /><link rel="icon" href="/brand/twiligent-favicon.svg" type="image/svg+xml" /><link rel="icon" href="/brand/twiligent-favicon-32.png" type="image/png" sizes="32x32" /><link rel="apple-touch-icon" href="/brand/twiligent-app-icon-dusk-180.png" />diff --git a/site/public/_redirects b/site/public/_redirectsindex d5b7fc2..d547721 100644--- a/site/public/_redirects+++ b/site/public/_redirects@@ -1,4 +1,4 @@-# the app moved to app.twiligent.ujjwal.fyi; links to its old pages land there+# the app moved to app.twiligent.ujjwal.fyi; links to its old pages land there, and the removed Reddit pages land on the Overview/login https://app.twiligent.ujjwal.fyi/login 301/accounts https://app.twiligent.ujjwal.fyi/accounts 301/settings https://app.twiligent.ujjwal.fyi/settings 301@@ -10,12 +10,12 @@/instagram https://app.twiligent.ujjwal.fyi/instagram 301/tracked-content https://app.twiligent.ujjwal.fyi/tracked-content 301/tracked-content/* https://app.twiligent.ujjwal.fyi/tracked-content/:splat 301-/reddit-posts https://app.twiligent.ujjwal.fyi/reddit-posts 301-/reddit-posts/* https://app.twiligent.ujjwal.fyi/reddit-posts/:splat 301+/reddit-posts https://app.twiligent.ujjwal.fyi/ 301+/reddit-posts/* https://app.twiligent.ujjwal.fyi/ 301/reddit-tracked https://app.twiligent.ujjwal.fyi/tracked-content 301/channel/* https://app.twiligent.ujjwal.fyi/channel/:splat 301/instagram/* https://app.twiligent.ujjwal.fyi/instagram/:splat 301-/reddit/* https://app.twiligent.ujjwal.fyi/reddit/:splat 301+/reddit/* https://app.twiligent.ujjwal.fyi/ 301# every docs page is drawn by the router from index.html; any other unknown path gets 404.html with a 404 status.# the target is / because Pages answers /index.html with its own redirect to /, so a rewrite to it never appliesdiff --git a/site/src/components/Footer.tsx b/site/src/components/Footer.tsxindex 051e3c3..704d038 100644--- a/site/src/components/Footer.tsx+++ b/site/src/components/Footer.tsx@@ -95,7 +95,7 @@ export function Footer() {<div className="flex flex-col gap-3"><Logo className="h-7" /><p className="max-w-xs text-[15px] leading-6 text-ink-muted">- YouTube, Instagram and Reddit in one dashboard you can run yourself.+ YouTube and Instagram in one dashboard you can run yourself.</p></div>{COLUMNS.map(column => (diff --git a/site/src/components/marks.tsx b/site/src/components/marks.tsxindex 551aa1b..2a57c6e 100644--- a/site/src/components/marks.tsx+++ b/site/src/components/marks.tsx@@ -20,14 +20,6 @@ export function InstagramIcon({ className, ...props }: PlatformIconProps) {);}-export function RedditIcon({ className, ...props }: PlatformIconProps) {- return (- <svg viewBox="0 0 24 24" className={className} fill="currentColor" aria-hidden="true" {...props}>- <path d="M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0zm5.01 4.744c.688 0 1.25.561 1.25 1.249a1.25 1.25 0 0 1-2.498.056l-2.597-.547-.8 3.747c1.824.07 3.48.632 4.674 1.488.308-.309.73-.491 1.207-.491.968 0 1.754.786 1.754 1.754 0 .716-.435 1.333-1.01 1.614a3.111 3.111 0 0 1 .042.52c0 2.694-3.13 4.87-7.004 4.87-3.874 0-7.004-2.176-7.004-4.87 0-.183.015-.366.043-.534A1.748 1.748 0 0 1 4.028 12c0-.968.786-1.754 1.754-1.754.463 0 .898.196 1.207.49 1.207-.883 2.878-1.43 4.744-1.487l.885-4.182a.342.342 0 0 1 .14-.197.35.35 0 0 1 .238-.042l2.906.617a1.214 1.214 0 0 1 1.108-.701zM9.25 12C8.561 12 8 12.562 8 13.25c0 .687.561 1.248 1.25 1.248.687 0 1.248-.561 1.248-1.249 0-.688-.561-1.249-1.249-1.249zm5.5 0c-.687 0-1.248.561-1.248 1.25 0 .687.561 1.248 1.249 1.248.688 0 1.249-.561 1.249-1.249 0-.687-.562-1.249-1.25-1.249zm-5.466 3.99a.327.327 0 0 0-.231.094.33.33 0 0 0 0 .463c.842.842 2.484.913 2.961.913.477 0 2.105-.056 2.961-.913a.361.361 0 0 0 .029-.463.33.33 0 0 0-.464 0c-.547.533-1.684.73-2.512.73-.828 0-1.979-.196-2.512-.73a.326.326 0 0 0-.232-.095z" />- </svg>- );-}-export function GitHubIcon({ className, ...props }: PlatformIconProps) {return (<svg viewBox="0 0 24 24" className={className} fill="currentColor" aria-hidden="true" {...props}>diff --git a/site/src/components/mockups/OverviewWindow.tsx b/site/src/components/mockups/OverviewWindow.tsxindex 52f010e..86de665 100644--- a/site/src/components/mockups/OverviewWindow.tsx+++ b/site/src/components/mockups/OverviewWindow.tsx@@ -4,7 +4,6 @@ import { formatNumber } from '@/lib/format';import {Bookmark,CalendarMark,- Chart,ClockCircle,Gallery,Home,@@ -25,7 +24,6 @@ const NAV = [{ label: 'Videos', icon: Videocamera },{ label: 'Shorts', icon: Widget },{ label: 'Instagram content', icon: Gallery },- { label: 'Reddit posts', icon: Chart },{ label: 'Tracked content', icon: Bookmark },];@@ -82,7 +80,7 @@ export function OverviewWindow({ className }: { className?: string }) {return (<divrole="img"- aria-label="The Twiligent Overview: audience totals, a growth chart, the top accounts across YouTube, Instagram and Reddit, and the next scheduled post."+ aria-label="The Twiligent Overview: audience totals, a growth chart, the top accounts across YouTube and Instagram, and the next scheduled post."className={className}><Window url="app.twiligent.ujjwal.fyi" bodyClassName="flex h-[30rem] md:h-[34rem]">@@ -121,7 +119,7 @@ export function OverviewWindow({ className }: { className?: string }) {<div className="flex items-center justify-between gap-3"><div><p className="font-display text-lg font-semibold text-ink md:text-xl">Overview</p>- <p className="text-xs text-ink-muted">{ACCOUNTS.length} accounts across YouTube, Instagram and Reddit</p>+ <p className="text-xs text-ink-muted">{ACCOUNTS.length} accounts across YouTube and Instagram</p></div><div className="hidden items-center gap-2 sm:flex"><span className="rounded-full bg-surface-sunken px-3 py-1.5 text-xs font-medium text-ink-muted">diff --git a/site/src/components/mockups/bento/DatabaseMock.tsx b/site/src/components/mockups/bento/DatabaseMock.tsxindex 98f6d88..fc4bcbc 100644--- a/site/src/components/mockups/bento/DatabaseMock.tsx+++ b/site/src/components/mockups/bento/DatabaseMock.tsx@@ -17,10 +17,10 @@ interface Row {const ROWS: Row[] = [{ platform: 'youtube', name: 'Northwind Kitchen', member: 'Asha', updated: '2 min ago' },{ platform: 'instagram', name: '@northwind.kitchen', member: 'Asha', updated: '2 min ago' },- { platform: 'reddit', name: 'u/northwind_cooks', member: 'Ben', updated: '9 min ago' },+ { platform: 'instagram', name: '@ben.bakes', member: 'Ben', updated: '9 min ago' },{ platform: 'youtube', name: 'Ben Bakes', member: 'Ben', updated: '14 min ago' },{ platform: 'instagram', name: '@chloe.plates', member: 'Chloe', updated: '1 h ago' },- { platform: 'reddit', name: 'u/chloe_cooks', member: 'Chloe', updated: '1 h ago' },+ { platform: 'youtube', name: 'Chloe Plates', member: 'Chloe', updated: '1 h ago' },];const ADDED: Row = { platform: 'youtube', name: 'Northwind Shorts', member: 'Asha', updated: 'just now' };diff --git a/site/src/components/mockups/bento/LeaderboardMock.tsx b/site/src/components/mockups/bento/LeaderboardMock.tsxindex ef73eda..7c89869 100644--- a/site/src/components/mockups/bento/LeaderboardMock.tsx+++ b/site/src/components/mockups/bento/LeaderboardMock.tsx@@ -23,7 +23,7 @@ export function LeaderboardMock() {return (<Frameref={ref}- label="The Overview leaderboard ranking four accounts across YouTube, Instagram and Reddit by audience, with each one's gain this week."+ label="The Overview leaderboard ranking four accounts across YouTube and Instagram by audience, with each one's gain this week."icon={<Chart className="size-5" />}title="Top accounts"meta={diff --git a/site/src/components/mockups/bento/MembersMock.tsx b/site/src/components/mockups/bento/MembersMock.tsxindex 2735c79..c5b296d 100644--- a/site/src/components/mockups/bento/MembersMock.tsx+++ b/site/src/components/mockups/bento/MembersMock.tsx@@ -19,10 +19,10 @@ const PEOPLE: Person[] = [name: 'Asha',email: '[email protected]',role: 'Administrator',- accounts: ['youtube', 'instagram', 'youtube', 'reddit'],+ accounts: ['youtube', 'instagram', 'youtube', 'instagram'],},- { name: 'Ben', email: '[email protected]', role: 'Member', accounts: ['youtube', 'reddit'] },- { name: 'Chloe', email: '[email protected]', role: 'Member', accounts: ['instagram', 'reddit'] },+ { name: 'Ben', email: '[email protected]', role: 'Member', accounts: ['youtube', 'instagram'] },+ { name: 'Chloe', email: '[email protected]', role: 'Member', accounts: ['instagram', 'youtube'] },];const STEPS = [0.3, 7];diff --git a/site/src/components/mockups/bento/TrackedMock.tsx b/site/src/components/mockups/bento/TrackedMock.tsxindex d1fe2ba..ae2fe4a 100644--- a/site/src/components/mockups/bento/TrackedMock.tsx+++ b/site/src/components/mockups/bento/TrackedMock.tsx@@ -17,19 +17,19 @@ interface Tracked {}const ITEMS: Tracked[] = [- { platform: 'reddit', title: 'One-pan lemon orzo, 20 minutes', stat: '2,400 upvotes' },+ { platform: 'youtube', title: 'One-pan lemon orzo, 20 minutes', stat: '41K views' },{ platform: 'youtube', title: 'Bread every day for a month', stat: '118K views' },{ platform: 'youtube', title: 'Knife skills in 60 seconds', stat: '64K views' },- { platform: 'reddit', title: 'Weeknight dinners that reheat well', stat: '1,100 upvotes' },+ { platform: 'youtube', title: 'Weeknight dinners that reheat well', stat: '23K views' },];-const ADDED: Tracked = { platform: 'reddit', title: 'Cast iron care, the short version', stat: '870 upvotes' };-const LINK = 'reddit.com/r/Cooking/comments/cast_iron';+const ADDED: Tracked = { platform: 'youtube', title: 'Cast iron care, the short version', stat: '37K views' };+const LINK = 'youtube.com/shorts/cast-iron-care';const STEPS = [0.8, 0.7, 2.1, 0.7, 1.2, 3.4];const PHASE = { atLink: 1, link: 2, atTrack: 3, track: 4, done: 5 } as const;const ENTER = [0.16, 1, 0.3, 1] as const;-// tracking a post by its link: the link typed, Track clicked, the post fetched into the Recipes category,+// tracking a video by its link: the link typed, Track clicked, the video fetched into the Recipes category,// and the category's combined numbers going upexport function TrackedMock() {const ref = useRef<HTMLDivElement>(null);@@ -49,7 +49,7 @@ export function TrackedMock() {return (<Frameref={ref}- label="Tracked content: a Reddit post link is pasted and tracked, the post joins the Recipes category, and the category's combined karma and comments go up."+ label="Tracked content: a YouTube Shorts link is pasted and tracked, the video joins the Recipes category, and the category's combined views, likes and comments go up."icon={<Bookmark className="size-5" />}title="Recipes"meta={<span className="font-mono text-[11px] text-ink-muted">category</span>}@@ -57,8 +57,8 @@ export function TrackedMock() {><div className="grid grid-cols-3 border-b border-line">{[- { label: 'Views', value: 182_000, to: 182_000, style: 'compact' as const },- { label: 'Karma', value: 3_500, to: 4_370, style: 'number' as const },+ { label: 'Views', value: 246_000, to: 283_000, style: 'compact' as const },+ { label: 'Likes', value: 9_800, to: 11_270, style: 'number' as const },{ label: 'Comments', value: 412, to: 498, style: 'number' as const },].map((stat, i) => (<div key={stat.label} className={cn('px-4 py-2.5', i > 0 && 'border-l border-line')}>@@ -86,7 +86,7 @@ export function TrackedMock() {{phase >= PHASE.link && !added ? (<Typed key={loop} text={LINK} active speed={30} />) : (- 'Paste a Reddit or YouTube link'+ 'Paste a YouTube video or Shorts link')}</span><spandiff --git a/site/src/components/mockups/kit.tsx b/site/src/components/mockups/kit.tsxindex 2e363bf..9d51d41 100644--- a/site/src/components/mockups/kit.tsx+++ b/site/src/components/mockups/kit.tsx@@ -1,7 +1,7 @@import type { ReactNode } from 'react';import { cn } from '@/lib/cn';import { LockKeyhole } from '@/components/icons';-import { InstagramIcon, RedditIcon, YouTubeIcon } from '@/components/marks';+import { InstagramIcon, YouTubeIcon } from '@/components/marks';import type { Platform } from './platforms';export interface WindowProps {@@ -56,7 +56,6 @@ export function Bar({ className }: { className?: string }) {const PLATFORM_STYLE: Record<Platform, { icon: typeof YouTubeIcon; tint: string }> = {youtube: { icon: YouTubeIcon, tint: 'text-youtube' },instagram: { icon: InstagramIcon, tint: 'text-instagram' },- reddit: { icon: RedditIcon, tint: 'text-reddit' },};// a platform's own mark in its own colour, the one place colours outside the palette appear, as each platform asksdiff --git a/site/src/components/mockups/platforms.ts b/site/src/components/mockups/platforms.tsindex 6b9cb2c..883aba1 100644--- a/site/src/components/mockups/platforms.ts+++ b/site/src/components/mockups/platforms.ts@@ -1,6 +1,6 @@-export type Platform = 'youtube' | 'instagram' | 'reddit';+export type Platform = 'youtube' | 'instagram';-const LABELS: Record<Platform, string> = { youtube: 'YouTube', instagram: 'Instagram', reddit: 'Reddit' };+const LABELS: Record<Platform, string> = { youtube: 'YouTube', instagram: 'Instagram' };export function platformLabel(platform: Platform): string {return LABELS[platform];diff --git a/site/src/components/mockups/sample.ts b/site/src/components/mockups/sample.tsindex ada3b0b..2966fe9 100644--- a/site/src/components/mockups/sample.ts+++ b/site/src/components/mockups/sample.ts@@ -12,7 +12,7 @@ export const ACCOUNTS: SampleAccount[] = [{ platform: 'youtube', name: 'Northwind Kitchen', audience: 84_213 },{ platform: 'instagram', name: '@northwind.kitchen', audience: 31_702 },{ platform: 'youtube', name: 'Northwind Shorts', audience: 22_940 },- { platform: 'reddit', name: 'u/northwind_cooks', audience: 12_410 },+ { platform: 'instagram', name: '@northwind.bakes', audience: 12_410 },];// weekly subscribers of the main channel and followers of the Instagram account, last 12 weeksdiff --git a/site/src/components/navLinks.ts b/site/src/components/navLinks.tsindex f14496e..62d7542 100644--- a/site/src/components/navLinks.ts+++ b/site/src/components/navLinks.ts@@ -33,7 +33,7 @@ export const MENUS: Menu[] = [items: [{title: 'Analytics',- description: 'YouTube, Instagram and Reddit side by side',+ description: 'YouTube and Instagram side by side',href: '/#analytics',icon: Chart,},diff --git a/site/src/components/sections/Faq.tsx b/site/src/components/sections/Faq.tsxindex 23db389..d2d2884 100644--- a/site/src/components/sections/Faq.tsx+++ b/site/src/components/sections/Faq.tsx@@ -15,8 +15,8 @@ const QUESTIONS: { q: string; a: ReactNode }[] = [a: 'Data is fetched when you open a page or choose Refresh, and cached for a short time when Redis is set up. Instagram tokens are renewed nightly.',},{- q: 'Does Twiligent publish to YouTube or Reddit?',- a: 'No. Publishing is Instagram only. YouTube and Reddit are analytics only.',+ q: 'Does Twiligent publish to YouTube?',+ a: 'No. Publishing is Instagram only. YouTube is analytics only.',},{q: 'Do I need my own Supabase project?',diff --git a/site/src/components/sections/Platforms.tsx b/site/src/components/sections/Platforms.tsxindex d1d7139..c00e113 100644--- a/site/src/components/sections/Platforms.tsx+++ b/site/src/components/sections/Platforms.tsx@@ -25,32 +25,31 @@ const READS: Read[] = [{platform: 'youtube',role: 'Analytics',- items: ['Subscribers and views', 'Likes and comments', 'Shorts against long videos', 'Tags and SEO'],+ items: [+ 'Subscribers and views',+ 'Likes and comments',+ 'Shorts against long videos',+ 'Tags and SEO',+ 'Any video, tracked by its link',+ ],metric: 'Subscribers',weeks: YOUTUBE_WEEKS,tone: 'accent',},{platform: 'instagram',- role: 'Analytics and publishing',+ role: 'Analytics, publishing and comment replies',items: ['Followers and engagement','Best day and hour to post','Content types and hashtags','Photos, Reels and Stories',+ 'Private replies to comments',],metric: 'Followers',weeks: INSTAGRAM_WEEKS,tone: 'afterglow',},- {- platform: 'reddit',- role: 'Analytics',- items: ['Karma', 'Posts', 'Comments', 'Any post, tracked by its link'],- metric: 'Karma',- weeks: [9_800, 10_050, 10_120, 10_400, 10_760, 10_900, 11_200, 11_380, 11_650, 11_900, 12_180, 12_410],- tone: 'accent',- },];const EASE = [0.22, 1, 0.36, 1] as const;@@ -104,7 +103,7 @@ function PlatformCard({ read, index }: { read: Read; index: number }) {);}-// the integrations wall from Activepieces, told honestly: three platforms, and what Twiligent reads from each+// the integrations wall from Activepieces, told honestly: two platforms, and what Twiligent reads from eachexport function Platforms() {return (<section@@ -114,11 +113,11 @@ export function Platforms() {><SectionHeaderid="platforms-heading"- title="Three platforms. One dashboard."- lead="YouTube and Reddit for analytics. Instagram for analytics, publishing and comment replies."+ title="Two platforms. One dashboard."+ lead="YouTube for analytics. Instagram for analytics, publishing and comment replies."/><FoldBand placement="bottom-left" className="rounded-[32px] p-4 sm:p-8 lg:p-12">- <ul className="grid gap-4 lg:grid-cols-3">+ <ul className="mx-auto grid w-full max-w-[56rem] gap-4 md:grid-cols-2">{READS.map((read, i) => (<PlatformCard key={read.platform} read={read} index={i} />))}@@ -126,10 +125,10 @@ export function Platforms() {</FoldBand><FeatureNotesnotes={[- { title: 'Libraries', text: 'Every video, Short, reel, post and Reddit post, searchable and filterable.' },+ { title: 'Libraries', text: 'Every video, Short, reel and post, searchable and filterable.' },{title: 'Tracked content',- text: 'Follow any Reddit post or YouTube video by its link, and group them into categories.',+ text: 'Follow any YouTube video or Short by its link, and group them into categories.',},{ title: 'Open source', text: 'MIT licensed. Read every line on GitHub.' },]}diff --git a/site/src/components/sections/Story.tsx b/site/src/components/sections/Story.tsxindex 7aae50e..2407dac 100644--- a/site/src/components/sections/Story.tsx+++ b/site/src/components/sections/Story.tsx@@ -13,8 +13,8 @@ import {FilesWindow,InstagramWindow,NotesWindow,- RedditWindow,SheetWindow,+ ShortsWindow,YouTubeStudioWindow,} from './storyWindows';@@ -43,7 +43,7 @@ const WINDOWS: FlyingWindowSpec[] = [{ Comp: FilesWindow, at: [21, 71], tilt: 5, from: [-89, 63, 10], start: 0.345, front: true },{ Comp: NotesWindow, at: [40, 68], tilt: -2, from: [-26, 100, -4], start: 0.37, front: true },{ Comp: CalendarWindow, at: [67, 60], tilt: 6, from: [73, 13, 12], start: 0.35, front: true },- { Comp: RedditWindow, at: [80, 72], tilt: -5, from: [73, 58, -10], start: 0.385, front: true },+ { Comp: ShortsWindow, at: [80, 72], tilt: -5, from: [73, 58, -10], start: 0.385, front: true },];const FLY_IN = 0.14;const LEAVE = 0.605;@@ -307,7 +307,7 @@ function NodeCard({ node }: { node: RingNodeSpec }) {if (node.id === 'platforms') {return (<div className="flex">- {(['youtube', 'instagram', 'reddit'] as const).map((platform, i) => (+ {(['youtube', 'instagram'] as const).map((platform, i) => (<spankey={platform}className={cn(diff --git a/site/src/components/sections/storyWindows.tsx b/site/src/components/sections/storyWindows.tsxindex f61cc04..c755c52 100644--- a/site/src/components/sections/storyWindows.tsx+++ b/site/src/components/sections/storyWindows.tsx@@ -77,14 +77,14 @@ export function InstagramWindow() {);}-export function RedditWindow() {+export function ShortsWindow() {return (- <Window url="reddit.com/user/northwind_cooks" className={BOX} bodyClassName="p-5">+ <Window url="youtube.com/@northwindshorts/shorts" className={BOX} bodyClassName="p-5"><div className="flex items-center gap-3">- <PlatformMark platform="reddit" className="size-6" />- <p className="font-display text-base font-semibold text-ink">u/northwind_cooks</p>+ <PlatformMark platform="youtube" className="size-6" />+ <p className="font-display text-base font-semibold text-ink">Northwind Shorts</p><span className="ml-auto rounded-full bg-surface-sunken px-2.5 py-1 font-mono text-[11px] text-ink">- 12,410 karma+ 22,940 subscribers</span></div><ul className="mt-4 flex flex-col gap-2.5">@@ -95,8 +95,8 @@ export function RedditWindow() {].map((title, i) => (<li key={title} className="flex items-center gap-3 rounded-md border border-line p-3"><span className="flex w-10 flex-col items-center font-mono text-[11px] text-ink">- {[2400, 1100, 870][i]}- <span className="text-ink-muted">up</span>+ {['41K', '23K', '37K'][i]}+ <span className="text-ink-muted">views</span></span><span className="min-w-0 flex-1"><span className="block truncate text-[13px] font-medium text-ink">{title}</span>@@ -111,17 +111,17 @@ export function RedditWindow() {export function SheetWindow() {const rows = [- ['Week 1', '81,960', '30,120', '11,880'],- ['Week 2', '82,700', '30,640', '12,010'],- ['Week 3', '83,310', '31,050', '12,190'],- ['Week 4', '84,213', '31,702', '12,410'],+ ['Week 1', '81,960', '30,120', '21,870'],+ ['Week 2', '82,700', '30,640', '22,210'],+ ['Week 3', '83,310', '31,050', '22,580'],+ ['Week 4', '84,213', '31,702', '22,940'],];return (<Window url="sheets: weekly numbers" className={BOX} bodyClassName="p-0"><table className="w-full text-left font-mono text-[12px]"><thead className="bg-surface-sunken text-ink-muted"><tr>- {['', 'YouTube', 'Instagram', 'Reddit'].map(h => (+ {['', 'YouTube', 'Instagram', 'Shorts'].map(h => (<th key={h} className="border-r border-b border-line px-3 py-2 font-medium last:border-r-0">{h}</th>@@ -231,7 +231,7 @@ export function NotesWindow() {<ul className="mt-4 flex list-disc flex-col gap-2 pl-5 text-[13px] text-ink"><li>Reels after 6 pm do better? Check again</li><li>Shorts views up, long videos flat</li>- <li>Which Reddit post brought the new subscribers?</li>+ <li>Which Short brought the new subscribers?</li></ul><div className="mt-4 space-y-2.5"><Bar className="w-2/3" />diff --git a/site/src/index.css b/site/src/index.cssindex 6ea7f39..63fdad8 100644--- a/site/src/index.css+++ b/site/src/index.css@@ -64,7 +64,6 @@/* the platforms' own colours, only for their marks */--color-youtube: #ff0000;--color-instagram: #e1306c;- --color-reddit: #ff4500;--font-display: 'Sora', 'Manrope', system-ui, sans-serif;--font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;diff --git a/site/src/pages/Home.tsx b/site/src/pages/Home.tsxindex e835462..0a0f093 100644--- a/site/src/pages/Home.tsx+++ b/site/src/pages/Home.tsx@@ -12,7 +12,7 @@ import type { Platform } from '@/components/mockups/platforms';// everything below the hero loads after it, so the first screen paints from the smallest bundleconst HomeBelow = lazy(() => import('./HomeBelow'));-const PLATFORMS: Platform[] = ['youtube', 'instagram', 'reddit'];+const PLATFORMS: Platform[] = ['youtube', 'instagram'];function Hero() {return (@@ -23,11 +23,11 @@ function Hero() {id="hero-heading"className="display fold-in mt-5 max-w-[17ch] text-[40px] leading-[44px] tracking-[-0.03em] text-ink sm:text-[52px] sm:leading-[56px] lg:text-[64px] lg:leading-[68px]">- YouTube, Instagram and Reddit analytics in one dashboard.+ YouTube and Instagram analytics in one dashboard.</h1><p className="fold-in mt-6 max-w-[40rem] text-lg leading-7 text-balance text-ink-muted">- Twiligent puts your YouTube, Instagram and Reddit numbers side by side, publishes and schedules your Instagram- posts, answers Instagram comments with a private reply, and runs on accounts you own.+ Twiligent puts your YouTube and Instagram numbers side by side, publishes and schedules your Instagram posts,+ answers Instagram comments with a private reply, and runs on accounts you own.</p><div className="fold-in mt-9 flex w-full flex-col items-center justify-center gap-3 sm:w-auto sm:flex-row"><Pill href={SIGN_UP_URL} size="lg" className="w-full sm:w-auto">@@ -64,9 +64,9 @@ function Hero() {export default function Home() {usePageMeta({- title: 'YouTube, Instagram and Reddit analytics in one dashboard',+ title: 'YouTube and Instagram analytics in one dashboard',description:- 'Twiligent puts your YouTube, Instagram and Reddit numbers side by side, publishes and schedules your Instagram posts, answers Instagram comments with a private reply, and runs on accounts you own.',+ 'Twiligent puts your YouTube and Instagram numbers side by side, publishes and schedules your Instagram posts, answers Instagram comments with a private reply, and runs on accounts you own.',path: '/',});return (diff --git a/site/src/pages/HomeBelow.tsx b/site/src/pages/HomeBelow.tsxindex b3ddb2d..048bc33 100644--- a/site/src/pages/HomeBelow.tsx+++ b/site/src/pages/HomeBelow.tsx@@ -36,7 +36,7 @@ export default function HomeBelow() {<FeatureSectionid="analytics"title="Every number, side by side."- lead="Subscribers, followers, karma, views, likes and comments across YouTube, Instagram and Reddit, with a detail page for each account."+ lead="Subscribers, followers, views, likes and comments across YouTube and Instagram, with a detail page for each account."notes={[{title: 'YouTube in depth',@@ -46,7 +46,7 @@ export default function HomeBelow() {title: 'Instagram in depth',text: 'Engagement, the best day and hour to post, consistency, content types and hashtags.',},- { title: 'Reddit too', text: 'Karma, posts and comments for every profile you add.' },+ { title: 'Tracked content', text: 'Follow any YouTube video or Short by its link, even ones you did not make.' },]}><AnalyticsCard />