▶ A guided tour of PITO — coming soon on @gmrdad82.
Twenty-odd years building Ruby on Rails apps for other people's companies — a lot of companies, a lot of apps — and then I started my own YouTube adventure with a fistful of channels. That's when I discovered the tooling situation is grim. YouTube Studio, in its infinite wisdom, lets you manage exactly one channel at a time — log out, log in, log out, log in, repeat until your will to live quietly files for unemployment.
So I went shopping. Social Blade, vidIQ, TubeBuddy — I paid for them, gave each a fair shot, and not one did the specific things I actually needed. They'd love €50+ a month, please, forever, amen, for the privilege of almost fitting.
So I did the math. The math said "build it yourself, you cheapskate." Two decades of Rails muscle memory agreed. So I did.
One evening I heard my son singing a little song from school — the old Spanish counting rhyme kids use to pick who's "it":
Pito, pito, gorgorito, ¿a dónde vas tú tan bonito?
I fell for it on the spot: the sound, the daftness, the way it lodges in your head and won't leave. So I baptized the thing PITO and never looked back.
Awesome. Glamorous. Charming. Stupidly easy. And mine — all mine, built exactly the way I work, answering to no product manager and no quarterly roadmap.
Then it occurred to me that maybe someone else runs their channels the way I do and wants the same thing. So here it is: you can have it too. Charmingly awesome, and now open. One dashboard, every channel, zero monthly ransom, and nobody handing a random SaaS company the keys to my business. My laptop, my data, my rules. It scratched my own itch first — if it scratches yours, wonderful. That's what the AGPL is for.
And hey — if this saves you a headache (or fifty euros), the nicest possible "thank you" is a click on one of the channels that dragged this tool into existence in the first place:
Self-hosted YouTube tool for creators who run multiple channels — track channels, videos, and games in one place, schedule across channels without conflicts, and get game/channel recommendations. Your laptop, your data.
one person's tool, open-sourced as-is. no SLA, no roadmap, no support obligation. issues triaged when there's time; PRs welcome but not guaranteed to merge. no hosted service from this repo.
PITO is best seen — it moves. Animated walkthroughs land here as I record them; for now, the captions mark the spot.
No menus, no forty-tab settings labyrinth. You type, PITO answers — a terminal-style chat with keyboard-first UI/UX that gets out of your way and stays out of it.
Type the way you think. PITO reads a little natural language, so list vids,
show game, or a quick question gets you your numbers without hunting through
dashboards.
Explicitly link a video to a game and PITO builds the graph: which games you cover,
which channels they fit, and — via Voyage embeddings — the similar games and best-fit
channels you hadn't thought of. It never guesses from titles; the links are yours.
schedule <id> slate lays out what's already on the calendar across every channel, so
you spread releases instead of stacking them and never quietly double-book a day.
19 built-in palettes — familiar editor themes, dark and light — switched live with
/themes and remembered per your taste. Don't love one? The tokens are right there to
tune.
It runs on a machine you already own, on free, open tooling. The walkthroughs below get you from nothing to running for exactly €0 — no servers to rent, no subscription, no "starter plan."
Free today and expandable tomorrow: richer natural-language understanding, deeper analytics, and MCP integrations are on the cards. No feature is going to vanish behind a paywall later.
Two decades of Rails, built for an actual creator's daily workflow — not a growth team's OKRs. No dark patterns, no upsell nags, no telemetry phoning home. Best from the best, shipped because it had to exist.
Everything happens in one chatbox: type a verb, or reply to any message with
#<handle> <action> (the message shows you its handle). <verb> --help prints a man
page for any verb. Keywords are case-insensitive and a little natural-language. The
full reference lives in CHANGELOG.md; the short version:
- Channels — connect via Google OAuth (
/connect), see them all at once with basic stats (subs · vids · views),visit @handle, or/disconnect. Read-only except the four YouTube writes below. - Videos —
list vidswith stats columns (views, likes, comments, length, status, scheduled, channel, game);show vid <id>for detail. The only YouTube writes:publish,unlist,schedule,deletea video.sync vidspulls the latest (private uploads included). - Games —
import game [title]from IGDB;show game <id>for genres, themes, developer/publisher, release, footage, and price. Set fields withplatform,price set/unset, and a manualfootagetotal. - Recommendations — every game card surfaces similar games and the channels it best fits, powered by Voyage embeddings.
- Linking — explicit
link/unlinkbetween a video and a game, both directions; PITO never guesses from titles. - Planning —
schedule <id> slateshows what's already on the calendar so you can spread releases; per-gamepriceandfootagehelp you budget and plan. - Notifications — Slack + Discord integration (rich, colored, emoji'd) for reauth reminders, sync summaries, and upcoming-release countdowns, plus a live in-app unread badge.
- Shinies — lifetime achievements across subs, subs gained, views, watch time, likes, and comms. They unlock as your channels, videos, and games grow, each arriving as a 🏆 notification and collected right on the video/game.
- The shell — terminal-style chat UI, one font, no hover; full keyboard navigation (ditch the mouse); themes; per-conversation scope/period that persists; self-hosted in Docker; free.
PITO ships 19 built-in themes — familiar editor palettes — switched live with
/themes (opens a picker; your choice persists):
- Dark —
ayu-dark·ayu-mirage·catppuccin-mocha·dracula·github-dark·gruvbox-dark·nord·one-dark·solarized-dark·synthwave·tokyo-night·tomorrow-night - Light —
ayu-light·catppuccin-latte·github-light·gruvbox-light·one-light·solarized-light·tomorrow
Every theme is a set of CSS custom properties in
app/assets/tailwind/themes.css, so all 19 are fully
supported. That said — I personally run synthwave, so most of the visual tuning
(shimmer colors, the #5170ff pito-blue accent, contrast choices) is dialed in around
that theme. Everything still works on the others, but if a palette doesn't feel quite
right to you, the tokens are right there: tune them to your preference.
🎨 Theme gallery — click to expand all 19
Dark
| ayu-dark | ayu-mirage |
|---|---|
![]() |
![]() |
| catppuccin-mocha | dracula |
|---|---|
![]() |
![]() |
| github-dark | gruvbox-dark |
|---|---|
![]() |
![]() |
| nord | one-dark |
|---|---|
![]() |
![]() |
| solarized-dark | synthwave |
|---|---|
![]() |
![]() |
| tokyo-night | tomorrow-night |
|---|---|
![]() |
![]() |
Light
| ayu-light | catppuccin-latte |
|---|---|
![]() |
![]() |
| github-light | gruvbox-light |
|---|---|
![]() |
![]() |
| one-light | solarized-light |
|---|---|
![]() |
![]() |
Rails 8 · Hotwire · Postgres · Voyage AI · IGDB · YouTube API · Tailwind CSS.
The easy path needs only Docker (+ Docker Compose). The image is prebuilt and pulled from GitHub's registry, so there's nothing to compile and no Ruby to install.
Hacking on it natively instead? You'll want:
- Ruby 3.4.9 (pinned in
.ruby-version;mise/rbenv/asdfwill read it) - PostgreSQL 17 with the pgvector extension (for the recommendation embeddings)
- imagemagick · libvips (game cover / thumbnail image processing)
No Redis — background jobs, cache, and websockets all ride on Postgres
(Solid Queue / Cache / Cable). And no ffmpeg: PITO itself never shells out to it.
The only place it comes up is the optional footage snippet helper — a copyable
one-liner you run in your own video folder (it uses ffprobe) to total your raw
hours. Install ffmpeg only if you want that convenience, wherever your footage lives.
Heads-up: setup is hands-on. This is a one-person tool wearing its "as-is" sticker
proudly.
Two ways in. Docker runs production mode; native runs development mode.
No clone, no Ruby. One command fetches a small ./pito install (a compose file + the
pito CLI), generates your own secrets, pulls the prebuilt image, and walks you
through enrolling a login:
curl -fsSL https://raw.githubusercontent.com/gmrdad82/pito/main/script/install.sh | shIt asks for the public URL (default http://localhost:3028), mints a fresh master
key + credentials (no editor required), enrolls TOTP (scan the printed otpauth://
into any authenticator), and offers a Cloudflare tunnel + a systemd unit for
reboot-persistence. When it finishes, open the URL and /login.
Custom host or in-place install. Flags pass through with sh -s --:
# set the public host up front, and install into the CURRENT folder (no ./pito subdir):
curl -fsSL https://raw.githubusercontent.com/gmrdad82/pito/main/script/install.sh \
| sh -s -- --host https://app.example.com --dir .The script's --help lists them all: --host URL, --dir DIR (default ./pito),
--tag TAG, --skip-pull. You provide nothing else — the master key + credentials
are generated for you; API keys go in later via /config.
Everything after that runs from the install dir (./pito by default):
./pito logs -f # tail the app
./pito console # a Rails console in the container
./pito update # pull the latest image + restart
./pito --help # the restSame on Linux, macOS, and Windows (WSL2) — and on both amd64 and arm64 (the image is multi-arch, so a Raspberry Pi 5 or Apple Silicon box is fine too).
git clone https://github.com/gmrdad82/pito && cd pitoMake your own secrets (the bundled config/credentials.yml.enc is the author's — you
can't decrypt it):
rm -f config/credentials.yml.enc config/master.key
EDITOR=nano bin/rails credentials:edit # creates a fresh config/master.key
bin/rails db:encryption:init # paste the printed keys into the credentials fileThen install your OS deps (below), run bin/setup (brings up Postgres + prepares the
DB) and bin/dev → http://localhost:3027. Enroll your login with
bin/rails pito:tools:totp — or, in development, just type /login 123456 (a dev-only
dummy code; see Operating PITO).
| OS | System packages |
|---|---|
| Arch | sudo pacman -S postgresql imagemagick libvips + pgvector (extra/AUR) |
| Ubuntu/Debian/WSL | sudo apt install postgresql-17 postgresql-17-pgvector imagemagick libvips42 |
| Fedora | sudo dnf install postgresql-server pgvector ImageMagick vips |
| macOS | brew install postgresql@17 pgvector imagemagick vips |
(Package names drift between distro versions — adjust as needed. Add ffmpeg only if
you want the optional footage snippet helper.)
PITO is built to run on your own machine — your laptop, a home server, a NUC under the TV. There's no hosted service from this repo and no cloud-deploy story baked in (no Kamal, no Helm, no "click to deploy"). You're welcome to put it behind a domain with a Cloudflare tunnel (see Exposing PITO) or deploy it however you please — it's AGPL, go wild — but the supported, tested path is local self-host.
PITO needs three sets of credentials. Grab them, then paste them into the chatbox
with /config (stored encrypted). Only Google is strictly required to do anything
useful; IGDB and Voyage unlock the game features.
1. Google / YouTube (required — it's the whole point)
- Google Cloud Console → create a project.
- APIs & Services → Library → enable YouTube Data API v3.
- OAuth consent screen → External → add your own Google account as a test user.
- Credentials → Create credentials → OAuth client ID → Web application. Add the
authorized redirect URI
http://localhost:3028/auth/youtube/callback(use your real host/tunnel if not local). Copy the Client ID + Client secret. - Credentials → Create credentials → API key. Copy it.
- In PITO:
/config google client_id=… client_secret=… api_key=…, then/connectto authorize each channel.
2. IGDB (game data — runs on Twitch)
- Twitch Developer Console → Register Your
Application (any name; OAuth redirect
http://localhostis fine). - Copy the Client ID and generate a Client Secret.
- In PITO:
/config igdb client_id=… client_secret=….
3. Voyage AI (embeddings — similar games + channel recommendations)
- Sign up at voyageai.com → API Keys → create one.
- In PITO:
/config voyage api_key=….
Optional — Slack / Discord notifications: create an incoming webhook in each, then
/config webhook slack=… discord=….
/login <6-digit code>(from the authenticator you enrolled above)./configyour keys, then/connectyour first channel.list channels→sync vids→list games. You're off.
The Docker stack is driven by the pito CLI (run from your install dir):
| Command | What it does |
|---|---|
pito up / down |
start / stop the stack |
pito logs [-f] |
tail container logs (Docker's own — capped + rotated) |
pito console |
a Rails console inside the running container |
pito rake [task] |
list pito:* tasks, or run one in the container |
pito clean |
clear tmp/ scratch (keeps storage/pids) + dev logs |
pito totp |
(re)enroll your login |
pito update |
pull the latest image + restart |
In-app, /jobs is your window into the background queue: /jobs status (workers,
state counts, recent failures), /jobs requeue <id|all>, /jobs run <key> (run a
recurring task now), and /jobs pause / /jobs resume.
Dev conveniences (development only — inert in production):
- Recurring jobs are off under
bin/dev, so nothing hits YouTube/Discord while you hack. Want the scheduler running?PITO_DEV_JOBS=1 bin/dev. /login 123456just works — no authenticator needed. Change the code withPITO_DEV_TOTP_CODE=…, or disable it (PITO_DEV_TOTP_CODE=off) to exercise the real TOTP flow. The dummy code is impossible outside development.
PITO forces HTTPS in production, so anything past localhost needs TLS in front. The
tidiest option is a Cloudflare Tunnel — no open ports, no certs to babysit. Set
your public URL at install time (or in .env as PITO_APP_BASE_URL, e.g.
https://app.example.com); that single value wires Host Authorization, link
generation, and asset delivery.
Install cloudflared (pacman -S cloudflared, brew install cloudflared, or
Cloudflare's apt repo), then the installer — or ./pito cloudflared — drops a starter
config.yml and prints the steps:
cloudflared tunnel login
cloudflared tunnel create pito
cloudflared tunnel route dns pito app.example.com
cloudflared tunnel --config ./cloudflared-config.yml run pitoPoint the tunnel at 127.0.0.1:3028 and set Cloudflare's SSL/TLS mode to Full.
CLAUDE.md— working agreement, plan discipline, condensed architecture + stack principles (read first)docs/architecture.md— topology, models, namespacesdocs/design.md— visual system: typography, theming, color/message palette, component rulesdocs/extending.md— how to add a theme, a language, a new message-content type, or a new fxdocs/footage.md— per-game manual footage total +footage snippetffprobe one-liner
PITO is free, AGPL, and costs nothing to give away — but it costs time. If it saves you the €50-a-month the others wanted, you can point a fraction of that back at keeping it alive and growing, through GitHub Sponsors:
👉 github.com/sponsors/gmrdad82
How it works: pick a tier — a few euros a month, or a one-time tip — and that's it. GitHub takes 0% and covers payment processing, so what you pledge is what lands. There's no paywall and never will be; sponsoring buys you exactly nothing extra except my genuine gratitude and the quiet satisfaction of keeping an indie tool indie. Monthly pledges are what keep the lights on and the feature list moving; one-time tips are the "this saved my afternoon" handshake. Either is appreciated more than the badge can convey.
| event | file | original | source | license |
|---|---|---|---|---|
| send | /sounds/send.mp3 |
vs-pop_5.mp3 |
Pop_5.mp3 by Vilkas_Sound | CC BY 4.0 |
| receive | /sounds/receive.mp3 |
pop-1.wav |
Pop 1 by theplax | CC BY 4.0 |
| notify | /sounds/notify.mp3 |
mail.wav |
516867 by PokeyWokey | CC0 |
PITO is one person's tool, but if you're stuck, lost, or just want to report that the cover art finally loaded, there's a Discord — pop in, ask away, judgment kept to a minimum 👉 discord.gg/q947UyDTqJ
Prefer elsewhere? Find me on X 👉 @GamerDady82, or on YouTube at @gmrdad82 — my engineering/personal channel, where PITO gets its tour. (The gaming side is the Manfy network linked up top.)
No SLA, no ticket queue, no "your call is important to us." Just a channel and a human who checks it between renders.
AGPL-3.0 — see LICENSE. Use it for whatever you like — self-host it, fork it, learn from it, build on it. Just don't pass it off as your own thing. No warranty, as-is. Questions? Ping me: gmrdad82 [at] gmail [dot] com.























