A simple tool which lets you scrape twitter accounts and crosspost them to bluesky accounts! Comes with a CLI and a webapp for managing profiles! Works with images/videos/link embeds/threads.
13
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: handle empty alt text lines

Jack G 1d1f743f feb9e86c

+5 -2
+5 -2
src/ai-manager.ts
··· 106 106 cleaned = cleaned.replace(/^["'“”]+|["'“”]+$/g, '').trim(); 107 107 cleaned = cleaned.replace(/^(alt\s*text|description)\s*[:\-]\s*/i, '').trim(); 108 108 109 - const lines = cleaned.split(/\r?\n/).map((line) => line.trim()).filter(Boolean); 110 - if (lines.length > 0) cleaned = lines[0]; 109 + const lines = cleaned 110 + .split(/\r?\n/) 111 + .map((line) => line.trim()) 112 + .filter((line): line is string => Boolean(line)); 113 + if (lines.length > 0) cleaned = lines[0] ?? ''; 111 114 112 115 cleaned = cleaned.replace(/^option\s*\d+\s*[:\-]\s*/i, '').trim(); 113 116 cleaned = cleaned.replace(/^[\-\*\d\.\)]+\s*/g, '').trim();