Every analytics tool wants a subscription. And your data. I built Twiligent instead. YouTube stats. Instagram stats. One dashboard. Runs locally on your machine.
docs(readme): replace the GIF recordings with animated WebP
spacesdrive35fbac1d65bc
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex ff11aa7..064161f 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -33,6 +33,7 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).### Changed+- The README recordings are animated WebP instead of GIF: 8.3 MB for all seven instead of 35.5 MB, so the repository page loads in a fraction of the time, with smoother motion and full colour (#129)- Connecting an Instagram account that is already connected renews its token instead of answering that it is already added, so a revoked token can be fixed without removing the account (#89)- The Worker's publishing cron runs every 5 minutes instead of 15; posts still publish on the quarter hour, and the other runs check the reply queue (#89, #100)- The reply queue sends up to 10 replies a minute instead of 10 every five minutes, accounts take turns so one busy reel cannot hold back another account, and paused, cooling or limited accounts are no longer claimed and put back on every run (#99)diff --git a/README.md b/README.mdindex 491367a..d78d0c8 100644--- a/README.md+++ b/README.md@@ -27,7 +27,7 @@ It runs on accounts you own, mostly on free plans.</p><br/>-<img src="docs/media/overview.gif" alt="The Twiligent Overview: every account's audience, views and likes side by side" width="100%" />+<img src="docs/media/overview.webp" alt="The Twiligent Overview: every account's audience, views and likes side by side" width="100%" /></div>@@ -44,36 +44,36 @@ Twiligent puts them in one dashboard that you host yourself. Your data stays in<table><tr><td width="50%" valign="top">- <img src="docs/media/youtube.gif" alt="A YouTube channel's analytics page" width="100%" />+ <img src="docs/media/youtube.webp" alt="A YouTube channel's analytics page" width="100%" /><h4>See each channel in depth</h4><p>Views, subscribers, engagement and growth for every YouTube channel, with Shorts and long videos compared and your best videos ranked.</p></td><td width="50%" valign="top">- <img src="docs/media/instagram.gif" alt="An Instagram account's analytics page" width="100%" />+ <img src="docs/media/instagram.webp" alt="An Instagram account's analytics page" width="100%" /><h4>Know what works on Instagram</h4><p>Followers, engagement rate, the best day and hour to post, and how Reels, photos and videos compare.</p></td></tr><tr><td width="50%" valign="top">- <img src="docs/media/publish.gif" alt="The Publish page with post settings" width="100%" />+ <img src="docs/media/publish.webp" alt="The Publish page with post settings" width="100%" /><h4>Publish now, or at the hour you pick</h4><p>Post photos, Reels and Stories to Instagram, or schedule them. The server publishes within 15 minutes of that time, even with your browser closed.</p></td><td width="50%" valign="top">- <img src="docs/media/automations.gif" alt="Comment automation rules and activity" width="100%" />+ <img src="docs/media/automations.webp" alt="Comment automation rules and activity" width="100%" /><h4>Answer comments automatically</h4><p>When someone comments a keyword such as GUIDE, they get your private reply and link within seconds, a public reply under their comment, or both.</p></td></tr><tr><td width="50%" valign="top">- <img src="docs/media/videos.gif" alt="The Videos explorer table" width="100%" />+ <img src="docs/media/videos.webp" alt="The Videos explorer table" width="100%" /><h4>Find any video or post</h4><p>Search and sort every video, Short, Reel and post across your accounts, by views, likes, comments or engagement.</p></td><td width="50%" valign="top">- <img src="docs/media/accounts.gif" alt="The Accounts page with connected channels" width="100%" />+ <img src="docs/media/accounts.webp" alt="The Accounts page with connected channels" width="100%" /><h4>Bring every account together</h4><p>Add YouTube channels by link or handle and Reddit profiles by username, connect Instagram with one sign-in, and refresh them all at once.</p></td>diff --git a/docs/media/README.md b/docs/media/README.mdindex e2ec836..c598333 100644--- a/docs/media/README.md+++ b/docs/media/README.md@@ -1,11 +1,13 @@# README media-The GIFs in this folder are the recordings on the repository's front page. Each shows a real page of the app, rendered from the app's own components, with a made-up brand (Northwind Kitchen) and made-up numbers. No real account data is in them.+The animated WebP files in this folder are the recordings on the repository's front page. Each shows a real page of the app, rendered from the app's own components, with a made-up brand (Northwind Kitchen) and made-up numbers. No real account data is in them.-They were recorded with [Flute](https://github.com/webprodigies-org/flute), which films a React page as a 3D camera move, then exported at 1440x900 and 30 frames a second and turned into GIFs with FFmpeg:+They were recorded with [Flute](https://github.com/webprodigies-org/flute), which films a React page as a 3D camera move, then exported at 1440x900 and 30 frames a second and turned into animated WebP with FFmpeg:```bash-ffmpeg -i overview.mp4 -vf "setpts=0.67*PTS,fps=12,scale=720:-1:flags=lanczos,split[a][b];[a]palettegen=max_colors=128:stats_mode=diff[p];[b][p]paletteuse=dither=bayer:bayer_scale=5:diff_mode=rectangle" -loop 0 overview.gif+ffmpeg -i overview.mp4 -vf "setpts=0.67*PTS,fps=15,scale=720:-1:flags=lanczos" -c:v libwebp_anim -lossless 0 -q:v 75 -compression_level 6 -loop 0 -an overview.webp```-Keep each GIF under about 6 MB, so the front page loads quickly. When a page changes enough that its recording looks out of date, record it again the same way.+They are WebP rather than GIF because GitHub shows animated WebP in a README like any image, and the same recording is about a fifth of the size with full colour instead of a 256 colour palette. GitHub does not play video files from the repository in a README, so a video is not an option.++Keep each file under about 1.5 MB and the set under about 10 MB, so the front page loads quickly. When a page changes enough that its recording looks out of date, record it again the same way.diff --git a/docs/media/accounts.gif b/docs/media/accounts.gifdeleted file mode 100644index cb86469..0000000Binary files a/docs/media/accounts.gif and /dev/null differdiff --git a/docs/media/accounts.webp b/docs/media/accounts.webpnew file mode 100644index 0000000..590c032Binary files /dev/null and b/docs/media/accounts.webp differdiff --git a/docs/media/automations.gif b/docs/media/automations.gifdeleted file mode 100644index d5a30d0..0000000Binary files a/docs/media/automations.gif and /dev/null differdiff --git a/docs/media/automations.webp b/docs/media/automations.webpnew file mode 100644index 0000000..4d3866eBinary files /dev/null and b/docs/media/automations.webp differdiff --git a/docs/media/instagram.gif b/docs/media/instagram.gifdeleted file mode 100644index ad3a5c3..0000000Binary files a/docs/media/instagram.gif and /dev/null differdiff --git a/docs/media/instagram.webp b/docs/media/instagram.webpnew file mode 100644index 0000000..c457771Binary files /dev/null and b/docs/media/instagram.webp differdiff --git a/docs/media/overview.gif b/docs/media/overview.gifdeleted file mode 100644index 151e16c..0000000Binary files a/docs/media/overview.gif and /dev/null differdiff --git a/docs/media/overview.webp b/docs/media/overview.webpnew file mode 100644index 0000000..dad48efBinary files /dev/null and b/docs/media/overview.webp differdiff --git a/docs/media/publish.gif b/docs/media/publish.gifdeleted file mode 100644index 23a7288..0000000Binary files a/docs/media/publish.gif and /dev/null differdiff --git a/docs/media/publish.webp b/docs/media/publish.webpnew file mode 100644index 0000000..83388afBinary files /dev/null and b/docs/media/publish.webp differdiff --git a/docs/media/videos.gif b/docs/media/videos.gifdeleted file mode 100644index 88a83ba..0000000Binary files a/docs/media/videos.gif and /dev/null differdiff --git a/docs/media/videos.webp b/docs/media/videos.webpnew file mode 100644index 0000000..efd06a1Binary files /dev/null and b/docs/media/videos.webp differdiff --git a/docs/media/youtube.gif b/docs/media/youtube.gifdeleted file mode 100644index 5e9cdfe..0000000Binary files a/docs/media/youtube.gif and /dev/null differdiff --git a/docs/media/youtube.webp b/docs/media/youtube.webpnew file mode 100644index 0000000..7b313e7Binary files /dev/null and b/docs/media/youtube.webp differ