genosdb
eres un experto usando GenosDB
SKILL.mdskills/genosdb/SKILL.md
GitHubREGLA: Footer obligatorio en artículos
Todo post/artículo relacionado con GenosDB DEBE incluir al final el contenido de:
/Users/estebanrfp/Projects/Deployments/GDB-Project/GenosDB/docs/genosdb-links.md
Leer ese archivo e insertar su contenido como footer del artículo.
API Reference & Core Documentation
- 📘 GDB API Reference - Detailed API documentation
- ✨ GenosDB Features - Comprehensive feature overview and architecture
- 🧪 GenosDB Examples - Live demos and community projects
- 🤝 Distributed Trust Model - P2P trust via cryptographic identity, signed ops, and RBAC enforcement
- 🔒 Zero Trust Security Model - Understanding GenosDB Zero-Trust Security Model: From Guest to SuperAdmin
- ↔️ Cursor-Based Pagination - Efficient paging with $after/$before/$limit
- 📚 Resources - Helpful links: whitepaper, docs, wiki, npm, discussions
CRUD Operations
- 🛠️ CRUD Operation Guide - Overview of CRUD APIs with links to detailed guides
- 📤 PUT Guide - Insert/update nodes; auto ID, persistence, and events
- 📥 GET Guide - Retrieve nodes by ID; optional real-time subscription
- 🗺️ MAP Guide - Query language, real-time subscriptions, and $edge traversal
- 🗑️ REMOVE Guide - Delete nodes and clean up edges; persistence and notifications
- 🔗 LINK Guide - Create directed relationships between nodes
GenosRTC (P2P Real-time)
- 📡 GenosRTC API Reference - P2P WebRTC API: rooms, data channels, audio/video
- ⚙️ GenosRTC Architecture - Technical breakdown of GenosRTC Module architecture, decentralized signaling with Nostr, P2P transport with WebRTC
- 🧭 GenosRTC Guide - Tutorials for data channels and media streaming
- 🔷 GenosRTC Cells - Cellular mesh overlay: architecture, bridges, TTL, metrics, and scalability
- 🛰️ Nostr Relay Deployment Guide - How to run your own Nostr signaling relay for GenosDB/GenosRTC
Security Manager
- 🔐 SM API Reference - RBAC, identity (WebAuthn/mnemonic), signing/verification
- 🏗️ SM Architecture - Security Manager architecture overview
- 🔒 SM ACLs Module - Node-level permissions and access control
Optional Modules
- 🌳 Radix Tree (rx) - Prefix index with $startsWith and searchByPrefix
- 🕵️ Audit Option (audit) - Asynchronous moderation of the oplog with custom prompt
- 🤖 NLQ Module - Natural Language for Queries in db.map using prompts
- 📍 GEO Query Module (geo) - Geo queries with $near and $bbox operators
Architecture & Internals
- ⚙️ GenosDB Worker Architecture - Technical overview of persistence worker, tiered storage strategy and data integrity
- 🔄 GenosDB Hybrid Delta Protocol - Dual-mode engine ensuring real-time speed via delta updates and reliability via full-state fallback
- 🕰️ GenosDB Hybrid Logical Clock (HLC) - Advanced timestamping for causal event ordering and deterministic conflict resolution
- 🧯 GenosDB Fallback Server - Optional superpeer Node.js service to improve availability
- 📦 Bundler Configuration - Vite, Webpack, Bun, esbuild, and CDN usage
Reference Example for Pagination
IMPORTANT: When implementing pagination with GenosDB, ALWAYS read and use this example as the canonical reference. It demonstrates the correct patterns for cursor-based pagination with
$after,$before, and$limit.
- ⭐ Pagination (REFERENCE) - THE canonical example for pagination implementation. Blog Grid with mixed pagination, persistence, and correct usage of
$after/$before/$limitoperators.
Basic Examples (HTML)
- 📝 Basic To-Do List - Simple real-time app to manage pending tasks
- ✅ Advanced To-Do List - Task management with filtering, inline editing, persistent storage
- 📊 Status List - Multiple query-filtered db.map() listeners in real-time
- 🔄 Infinite Scroll - Dynamic content loading while scrolling
- 💬 Real-Time Chat - Basic chat with real-time updates
- 📋 Real-Time Kanban - Kanban board with real-time updates
- 🖱️ Custom Cursor - Move your mouse cursor in realtime
- 🎨 P2P Collaborative Whiteboard - Collaborative whiteboard running entirely P2P
- 🔍 Instant Search - Quick search for GDB Operator testing
- 📋 Real-Time Paste - Textarea that syncs content in real-time
- 🎮 Tic Tac Toe Game - Game with real-time player synchronization
- 🎙️ Real-Time Audio Room - P2P audio streaming with voice activity detection
- 📹 Real-Time Video Room - P2P video streaming with webcam broadcasting
- 📁 Real-Time File Streaming - P2P file streaming
- 📍 Real-time Location Sharing - Live location on map using Leaflet and GenosRTC
- 📝 Collaborative Rich-Text Editor - Live typing sync, remote cursors, RBAC + WebAuthn, version history
- 🔐 Secure Decentralized Notes - Decentralized identity, real-time sharing, full-text search
- 🌡️ IoT Thermostat Control - Real-time P2P thermostat demo with reactive sync