How fakecodderck/hentai works
This is a web studio for extracting media-post details from websites, editing episode and post content, and publishing to Telegram. The principal workflow runs from the Studio interface through scraping, editing and preview, then Telegram delivery; separate branches support multi-post catalogs, a persistent data library, batch broadcasts, and scheduled/automated crawling. The graph includes the documented crawler and storage capabilities, but source excerpts are partial, so unshown connections are omitted rather than inferred.
Main entry points: App.tsx Workspace shell · api.ts Client API · crawlerService.ts Crawler service · apiHandler.ts API handlers
Components 23
Studio interface
- Workspace shell
src/App.tsx - Website scraper
src/components/studio/WebsiteScraperBar.tsx - Multi-post catalog
src/components/studio/MultiPostManager.tsx - Post editor
src/components/studio/PostEditor.tsx - Episode parser
src/components/BulkEpisodesModal.tsx - Gallery display
src/components/studio/GalleryDisplay.tsx - Telegram preview
src/components/studio/TelegramPreview.tsx - Telegram settings
src/components/studio/TelegramSettingsCard.tsx - Bot setup
src/components/BotSetupModal.tsx
Extraction and crawling
- Crawler controls
src/components/crawler/AutoCrawlerPanel.tsx - Crawler monitor
src/components/crawler/AutoCrawlerView.tsx - Flow builder
src/components/pipeline/FlowBuilder.tsx - Crawler service
src/server/crawlerService.ts
Publishing
- Batch sender
src/components/batch/BatchSender.tsx - Send history
src/components/history/HistoryList.tsx
Data and state
- Client API
src/services/api.ts - App state
src/store/useAppStore.ts - API handlers
src/server/apiHandler.ts - Post library
src/server/storageManager.ts
Other components
- Studio user
- Telegram Bot API
- Source websites
- Data files
data
Connections 32
- Studio user → Workspace shell: uses
src/App.tsx - Workspace shell → Website scraper: renders
src/App.tsx - Workspace shell → Multi-post catalog: renders
src/App.tsx - Workspace shell → Post editor: renders
src/App.tsx - Workspace shell → Telegram preview: renders
src/App.tsx - Workspace shell → Telegram settings: renders
src/App.tsx - Workspace shell → Batch sender: renders
src/App.tsx - Workspace shell → Send history: renders
src/App.tsx - Workspace shell → Crawler controls: renders
src/App.tsx - Workspace shell → Crawler monitor: renders
src/App.tsx - Workspace shell → Flow builder: renders
- Website scraper → Client API: requests scrape
src/components/studio/WebsiteScraperBar.tsx - Multi-post catalog → Client API: scrapes URLs
src/components/studio/MultiPostManager.tsx - Batch sender → Client API: scrapes and sends
src/components/batch/BatchSender.tsx - Telegram preview → Client API: sends post
src/components/studio/TelegramPreview.tsx - Bot setup → Client API: verifies bot
src/components/BotSetupModal.tsx - Post editor → Gallery display: renders
src/components/studio/PostEditor.tsx - Episode parser → App state: updates episodes
src/components/BulkEpisodesModal.tsx - Post editor → App state: reads and updates
src/components/studio/PostEditor.tsx - Telegram preview → App state: reads post settings
src/components/studio/TelegramPreview.tsx - Client API → API handlers: calls API routes
src/services/api.ts - API handlers → Source websites: fetches page content
src/server/apiHandler.ts - API handlers → Post library: saves and loads posts
src/server/apiHandler.ts - Post library → Data files: reads and writes
src/server/storageManager.ts - Client API → Telegram Bot API: publishes messages
src/services/api.ts - Client API → Crawler service: controls crawler
- Crawler controls → Client API: starts crawler
src/components/crawler/AutoCrawlerPanel.tsx - Crawler monitor → Client API: checks and stops
src/components/crawler/AutoCrawlerView.tsx - Crawler service → Source websites: scrapes pages
src/server/crawlerService.ts - Crawler service → Post library: checks and saves
src/server/crawlerService.ts - Crawler service → API handlers: extracts catalogs
src/server/crawlerService.ts - Flow builder → Client API: configures operations
src/components/pipeline/FlowBuilder.tsx