How bjesus/teatime works
Main Components
a) Frontend Layer (Nuxt.js Application):
• Search Interface (AdvancedSearch.vue)
• Book Viewer (BookView.vue)
• Settings Management (Settings.vue)
• Instance Selection (Instances.vue)
• Local Storage (IndexDB)
b) Data Sources Layer:
1. GitHub Pages Container:
• Database Repositories (teatime-database)
• Configuration Files (config.json)
• SQLite Databases
2. IPFS Network Container:
• Book Files Storage
c) Integration Layer:
• sql.js-httpvfs connector
• IPFS Gateway
Technical Details
• Database Schema
• Supported File Formats
• Key Technologies:
• Nuxt.js
• IPFS
• SQLite
• sql.js-httpvfs
• IndexDB
Architectural Patterns to Emphasize
• Decentralized Architecture
• Static Site Generation
• Client-Side Processing
• Local-First Data Management
[User Layer]
• ↓
[Frontend Instances Layer]
• ↓
[Integration Layer]
• ↓
[Distributed Storage Layer]
How the system maintains resilience through distribution
• The frontend can be hosted anywhere
• Databases are independent GitHub repositories
• Content is served through IPFS
• No central server is required
• All processing happens client-side