Merge pull request #2311 from PR0M3TH3AN/ai/docs-update-20250212-5553057857850821992

Update Documentation: Quickstarts and Index
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2026-02-10 09:26:17 -05:00
commit 11df8f79a3
3 files changed
+39 -2

No files matched your search

+1
View File
@@ -219,6 +219,7 @@ To use it:
Before starting your work, please review these key documents:
- **[AGENTS.md](./AGENTS.md)**: Architectural guidelines, mission statement, and troubleshooting tips.
- **[Documentation Index](./docs/README.md)**: A complete list of system documentation, including architecture and feed logic.
- **[Nostr Event Schemas](./docs/nostr-event-schemas.md)**: The source of truth for all Nostr events published by the application.
- **[Playback Fallback](./docs/playback-fallback.md)**: Details on the URL-first playback strategy and WebTorrent fallback mechanism.
+3 -2
View File
@@ -190,6 +190,8 @@ This project includes a `.devcontainer` configuration. If you use VS Code, you c
See [`CONTRIBUTING.md`](./CONTRIBUTING.md) for the full developer guide.
For detailed architecture and system documentation, see the [Documentation Index](docs/README.md).
**Verify your work:**
- **Run unit tests**: `npm run test:unit` (Required before PRs). _Tip: Use `npm run test:unit:shard1`, `shard2`, or `shard3` for faster local feedback._
@@ -267,7 +269,7 @@ const event = buildVideoPostEvent({
console.log("Event constructed:", event);
// 2. Publish the event (requires browser/extension or active signer)
/*
// In an application context (e.g. browser console or module):
import { nostrClient } from "./js/nostrClientFacade.js";
// Ensure client is connected
@@ -278,7 +280,6 @@ await nostrClient.loginWithExtension();
// Publish the built event
await nostrClient.signAndPublishEvent(event);
*/
```
### CSS build pipeline
+35
View File
@@ -0,0 +1,35 @@
# Documentation Index
Welcome to the bitvid documentation. This directory contains detailed architectural guides, API references, and system overviews.
## Core Systems
- **[Application Coordinators](./app-coordinators.md)**: Overview of the coordinator pattern used to manage app-wide state and services.
- **[Authentication Architecture](./auth-architecture.md)**: How session management, login flows, and signer integration work.
- **[Feed Engine](./feed-engine.md)**: The pipeline for fetching, filtering, scoring, and sorting video feeds.
- **[Playback & Fallback](./playback-fallback.md)**: The URL-first playback strategy with WebTorrent fallback orchestration.
- **[Watch History System](./watch-history-system.md)**: Encrypted watch history synchronization and storage.
## Nostr Protocol
- **[Nostr Event Schemas](./nostr-event-schemas.md)**: The definitive catalogue of all Nostr event kinds and data structures used by bitvid.
- **[DM Privacy Model](./dm-privacy-model.md)**: How Direct Messages are handled, including NIP-17 relays and privacy controls.
- **[NIP-46 Client Overview](./nip46-client-overview.md)**: Details on the NIP-46 remote signer implementation.
## Moderation & Safety
- **[Moderation Service](./moderation-service-overview.md)**: How content moderation, reporting, and admin lists function.
- **[Logging Strategy](./logging.md)**: Guidelines for using `devLogger` vs `userLogger` and production logging policies.
## Design & UI
- **[Design System](./design-system.md)**: Guide to the token-based design system and CSS architecture.
- **[Menus & Popovers](./menus.md)**: Documentation for the menu and popover system.
## Operations
- **[Instance Configuration](./instance-config.md)**: Guide to configuring a bitvid instance.
- **[Deployment Notes](./deployment-notes.md)**: Notes and checklists for deploying bitvid.
- **[Manual QA Checklist](./qa.md)**: The standard manual QA script for releases.
For more details on contributing, please see [CONTRIBUTING.md](../CONTRIBUTING.md).