Skip to content

A TikTok-style iOS video player for exploring videos from the Internet Archive.

Notifications You must be signed in to change notification settings

pj4533/LostArchiveTV

Repository files navigation

LostArchiveTV Demo

LostArchiveTV

Discover the Internet Archive in a TikTok-style experience

Download on App Store MIT License iOS 18.0+ Swift 5.9+

✨ Archive.org Meets Modern Interface

LostArchiveTV reimagines how we explore the vast Internet Archive collection. Swipe through a curated stream of historical films, educational videos, and public domain treasures in a familiar, modern interface.

🔄 Bidirectional
Swipe up for new videos, down for history
✂️ Trim & Save
Extract perfect clips to your Photos
🔍 Smart Search
Find videos using natural language

🚀 Key Features

  • Intuitive Navigation - TikTok-style interface with bidirectional swiping
  • Smart Preloading - Videos buffer before you need them with visual indicators
  • Video Trimming - Select and save the perfect moments with timeline scrubbing
  • Semantic Search - Find videos using natural language queries
  • Content Discovery - Find similar videos based on what you're watching
  • Favorites System - Save interesting discoveries for later viewing
  • Time-Aware Playback - Smart time offsets to show interesting parts of longer videos

🧠 Powered By

  • OpenAI - For natural language understanding and semantic search
  • Pinecone - Vector database for finding similar content
  • AVKit - High-performance video playback and processing
  • SQLite - Efficient storage of video identifiers and collections

🛠️ Technical Highlights

  • Advanced Preloading System with priority-based loading for seamless transitions
  • Robust Caching with automatic recovery mechanisms
  • Swift Concurrency (async/await) for smooth performance
  • Protocol-Based Architecture for consistent video control interfaces
  • Component-Based UI for unified experience across features

📱 Requirements

  • iOS 18.0+
  • Xcode 16.0+
  • Swift 5.9+
  • API Keys for OpenAI and Pinecone (see Setup)

🔧 Setup

API Keys

For the semantic search and similar videos features, you'll need:

  1. OpenAI API key for embeddings
  2. Pinecone API key and host for vector search

Developer Setup (Recommended)

  1. Duplicate the "LostArchiveTV" scheme in Xcode (Product > Scheme > Manage Schemes)
  2. Name it "LostArchiveTV-Dev" and add these environment variables:
    • OPENAI_API_KEY
    • PINECONE_API_KEY
    • PINECONE_HOST

CI/CD Setup

For Xcode Cloud or other CI systems, set the same environment variables in your build settings.

📚 Documentation

  • Modern Swift Testing framework (not XCTest)
  • Preloading and caching details in docs/preloading_and_cacheing.md

📄 License

MIT © LostArchiveTV

About

A TikTok-style iOS video player for exploring videos from the Internet Archive.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •