Skip to content

Add Tumblr reader with series navigation and EPUB export#11

Merged
gvonness-apolitical merged 1 commit intomainfrom
feat/tumblr-reader
Feb 2, 2026
Merged

Add Tumblr reader with series navigation and EPUB export#11
gvonness-apolitical merged 1 commit intomainfrom
feat/tumblr-reader

Conversation

@gvonness-apolitical
Copy link
Copy Markdown
Collaborator

Summary

  • Add TumblrReader for reading Tumblr post series directly in speed-reader
  • Fetch posts via legacy JSON API (/api/read/json) with HTML fallback
  • Extract navigation links from author-embedded Next/Prev links in post content
  • Support all post types: text, photo, quote, link, chat, video, audio, answer
  • Two-tier caching (memory + localStorage, 24hr TTL, max 50 posts)
  • EPUB export with embedded images and progress indicator
  • Add tumblr and tumblr-proxy attributes to speed-reader component
  • Show cached post count and clear cache button in UI

New Files

  • src/core/tumblr/ - Tumblr fetcher, parser, cache, and EPUB export
  • src/readers/tumblr-reader.ts - TumblrReader implementation

Test plan

  • Load Tumblr post via demo page "Load Tumblr Post" button
  • Navigate through post series using Next/Prev
  • Verify navigation links are extracted from content and removed from display
  • Export cached posts as EPUB with embedded images
  • Clear cache and verify count updates
  • Switch between Tumblr and file formats without state bleeding
  • All 124 tests pass

- Add TumblrReader for reading Tumblr post series directly
- Fetch posts via legacy JSON API with HTML fallback
- Extract navigation links from author-embedded Next/Prev links
- Support all post types: text, photo, quote, link, chat, video, audio, answer
- Two-tier caching (memory + localStorage, 24hr TTL)
- EPUB export with embedded images and progress indicator
- Add tumblr and tumblr-proxy attributes to speed-reader component
- Show cached post count and clear cache button in UI
- Add jszip dependency for EPUB generation
@gvonness-apolitical gvonness-apolitical merged commit c8ce0c6 into main Feb 2, 2026
1 of 3 checks passed
@gvonness-apolitical gvonness-apolitical deleted the feat/tumblr-reader branch February 2, 2026 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant