mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Shorts plan decisions from maintainer walkthrough: - D1 whitelist scope, D2 inherit moderation (+ NSFW no-autoplay safeguard), D3 Shorts tab ONLY (exclude from main feeds), D4 kind is the definer. - D7 (agreed): upload-modal content-type selector + explicit isShort marker on the kind-30078 schema (native shorts need it; kind-22 only covers ingested). - D8 (leaning marker): native short = 30078 + isShort marker mirrored to 34236, OR a distinct kind that also mirrors to 34236 — both yield the same external result (WebTorrent-rich native + standard 34236 mirror so other NIP-71 apps see bitvid shorts). Marker recommended; maintainer to confirm. - Publish/management UI is flag-gated (off = no trace): no upload selector, no My Videos Shorts sub-tab when FEATURE_SHORTS off. - My Videos gets Videos/Shorts/Live sub-tabs (reusing the admin sub-tab pattern); Live sub-tab tied to publish (#16c), not ingest. Noted in both plans. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Documentation Index
Welcome to the bitvid documentation. This directory contains detailed architectural guides, API references, and system overviews.
Core Systems
- Application Coordinators: Overview of the coordinator pattern used to manage app-wide state and services.
- Data-Flow Refactor — Dev Plan & Spec: The incremental plan to put all subsystems on a shared, governed relay/data foundation (SubscriptionManager, stores, unidirectional flow).
- Known Bugs (deferred): Confirmed defects/limitations found during the refactor, queued to fix later.
- Feed Algorithm ↔ Lists Audit: Read-only audit of whether the For You feed is actually driven by the user's follows/hashtags/watch-history, with the gaps and a fix order.
- Authentication Architecture: How session management, login flows, and signer integration work.
- Feed Engine: The pipeline for fetching, filtering, scoring, and sorting video feeds.
- Playback & Fallback: The URL-first playback strategy with WebTorrent fallback orchestration.
- Watch History System: Encrypted watch history synchronization and storage.
Nostr Protocol
- Nostr Event Schemas: The definitive catalogue of all Nostr event kinds and data structures used by bitvid.
- DM Privacy Model: How Direct Messages are handled, including NIP-17 relays and privacy controls.
- NIP-46 Client Overview: Details on the NIP-46 remote signer implementation.
- Batch-Capable nip-07 Extension Proposal: Exploratory design for a signer extension that parallelizes bulk decryption (DMs, watch history) without exposing keys.
Moderation & Safety
- Moderation Service: How content moderation, reporting, and admin lists function.
- Logging Strategy: Guidelines for using
devLoggervsuserLoggerand production logging policies.
Design & UI
- Design System: Guide to the token-based design system and CSS architecture.
- Menus & Popovers: Documentation for the menu and popover system.
Operations
- Instance Configuration: Guide to configuring a bitvid instance.
- Deployment Notes: Notes and checklists for deploying bitvid.
- Manual QA Checklist: The standard manual QA script for releases.
For more details on contributing, please see CONTRIBUTING.md.