AFFiNE
There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
Developers access AFFiNE's core workspace entity via WorkspacesService openWorkspace(). Get reactive metadata, document collections, and engine services for real time collaboration.
Backend Storage Providers for AFFiNE: File System, S3, and Cloudflare R2 ConfigurationDiscover AFFiNE backend storage options File-System, AWS S3, and Cloudflare R2. Learn how to configure these providers for blobs, attachments, and user assets in your server setup.
How AFFiNE Implements Awareness and Presence Features for Real-Time CollaborationDiscover how AFFiNE implements real-time collaboration awareness and presence features using Yjs CRDTs and an AwarenessStore for seamless peer synchronization via WebSocket or WebRTC.
How AFFiNE Manages Blob Storage for Media and Attachments: Architecture and ImplementationDiscover how AFFINE's plugin-based blob storage abstracts cloud, IndexedDB, and SQLite, enabling unified media and attachment management across all environments. Learn its architecture and implementation.
Complete Guide to AFFiNE Block Types: Every Built-in Block ExplainedExplore AFFiNE block types and discover over 20 built-in options from paragraphs to databases and whiteboard surfaces. Master AFFiNE's powerful editor today.
How GraphQL Powers AFFiNE's Backend Services: Architecture and ImplementationDiscover how AFFINE leverages a centralized GraphQL API for type-safe data fetching, automatic error handling, and reactive UI updates across its backend services.
How the AFFiNE Electron Desktop Application Is Built and Integrated with Core ModulesLearn how the AFFiNE Electron desktop app integrates with core modules. Discover its Vite-built React frontend, electron-forge packaging, and typed RPC bridge for native OS features.
How AFFiNE Handles Data Privacy and Security in Its Local-First ArchitectureDiscover how AFFiNE's local-first architecture protects your data privacy and security with advanced encryption and secure hashing methods. Keep your information safe.
AFFiNE Deployment Options: Self-Hosting, Docker, and Cloud Setup GuideExplore AFFiNE deployment options: self-host with Docker Compose, deploy on Kubernetes via Helm, or use the AFFiNE Cloud SaaS. Get your instance running easily.
How to Contribute to the AFFiNE Project: A Complete Developer GuideLearn how to contribute to the AFFiNE project. Fork the repo, set up your dev environment, and submit pull requests following our developer guide for the toeverything/AFFiNE repository.
Benefits of AFFiNE's All-in-One Workspace Approach: A Technical Deep DiveDiscover the benefits of AFFiNE's all-in-one workspace. Unify notes, whiteboards, and databases with CRDT for seamless offline collaboration. Boost productivity now.
AFFiNE Block-Based Editor: Core Features and Architecture ExplainedDiscover AFFiNE's core block editor features including dual editing modes, real-time Yjs sync, and extensible architecture. Explore the modular document system today.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →