Monorepo for Aesthetic.Computer aesthetic.computer

Make the Reels player read every account, not just the factory master

The window only ever knew the oskiewar ledger, so reels published through ig.mjs were invisible to it. Now it merges one ledger per account, found by listing social/instagram rather than by a hardcoded list, and stamps each post with where it came from — provisioning an account is enough to put its reels in the window. The two ledger shapes had to stop fighting. The factory stamps mode/id/ segment on everything; a hand-published reel knows only its media id, so those fields are optional now and identity falls back to the media id. Requiring either made one file's shape empty the whole window. ig.mjs earns its half: a publish appends to the account's ledger instead of only dropping a sidecar next to one mp4, and insights --refresh hangs the numbers on it. Captions are editable in the app long after publish, so the refresh re-reads Meta's copy rather than trusting what we sent — the laerklokken reel had already been retitled by hand. Segment is a factory concept; posts without one now roll up under their account instead of collecting in a single unlabeled row.


+1074 -9
5 changed files