How ke8vpc/gather works
Gather has two parallel products: the TypeScript/Cloudflare app and a standalone PHP/MySQL conversion. The main workflow is sign-in, importing creator or podcast sources, storing subscriptions, then viewing recent content and recommendations; refresh can also check live status. The README documents imports, playback, filters, and platform integrations. Some runtime wiring—especially how the TypeScript UI calls its routes and unsampled PHP page handlers—is not shown, so those links are omitted rather than inferred.
Main entry points: Connections.php Account connections · YouTube.php YouTube live checks · bootstrap.php PHP runtime and DB · route.ts Library operations
Components 20
TypeScript app
- Library interface
app/hub.tsx - ChatGPT identity
app/chatgpt-auth.ts - Library operations
app/api/library/route.ts - Refresh operations
app/api/sync/route.ts - Import formats
lib/imports.ts
PHP conversion
- PHP sign-in entry
php/public/auth.php - PHP library
php/app/Library.php - Account connections
php/app/Connections.php - PHP feed parsing
php/app/Feeds.php - YouTube live checks
php/app/YouTube.php - Site installer
php/app/Installer.php - Admin settings
php/app/AdminSettings.php - PHP runtime and DB
php/app/bootstrap.php
Feed and persistence
- Feed parsing
lib/feeds.ts - Library store
db/store.ts - D1 schema
db/schema.ts
Provider services
- Twitch API
- YouTube API
- Public RSS feeds
Other components
- Library user
Connections 21
- Library user → Library interface: uses
- Library operations → ChatGPT identity: authenticates
- Refresh operations → ChatGPT identity: authenticates
- Library operations → Library store: reads and writes
app/api/library/route.ts - Library operations → Feed parsing: resolves sources
app/api/library/route.ts - Refresh operations → Library store: reads and writes
app/api/sync/route.ts - Refresh operations → Feed parsing: parses feeds
app/api/sync/route.ts - Library user → PHP sign-in entry: signs in
- PHP library → PHP feed parsing: parses feeds
php/app/Library.php - PHP library → Account connections: uses links
php/app/Library.php - PHP library → YouTube live checks: checks channels
php/app/Library.php - Account connections → PHP runtime and DB: uses runtime
php/app/Connections.php - Account connections → PHP feed parsing: uses feeds
php/app/Connections.php - YouTube live checks → PHP runtime and DB: uses runtime
php/app/YouTube.php - YouTube live checks → PHP feed parsing: fetches feeds
php/app/YouTube.php - Site installer → PHP runtime and DB: configures site
- PHP runtime and DB → Admin settings: loads settings
php/app/bootstrap.php - Account connections → Twitch API: calls API
php/app/Connections.php - Account connections → YouTube API: calls API
php/app/Connections.php - YouTube live checks → YouTube API: checks live videos
php/app/YouTube.php - Feed parsing → Public RSS feeds: fetches feeds
lib/feeds.ts