# AFFiNE | Toeverything | Knowledge Base | Instagit

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. 

GitHub Stars: 63.6k

Repository: https://github.com/toeverything/AFFiNE

---

## Articles

### [How to Access and Understand the Core Workspace Entity in AFFiNE](/toeverything/AFFiNE/how-can-developers-access-and-understand-the-core-workspace-entity-in-affine)

Developers access AFFiNE's core workspace entity via WorkspacesService openWorkspace(). Get reactive metadata, document collections, and engine services for real time collaboration.

- Tags: internals
- Published: 2026-03-05

### [Backend Storage Providers for AFFiNE: File System, S3, and Cloudflare R2 Configuration](/toeverything/AFFiNE/what-are-the-supported-backend-storage-providers-for-affine)

Discover 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.

- Tags: how-to-guide
- Published: 2026-03-05

### [How AFFiNE Implements Awareness and Presence Features for Real-Time Collaboration](/toeverything/AFFiNE/how-are-awareness-and-presence-features-implemented-for-real-time-collaboration)

Discover how AFFiNE implements real-time collaboration awareness and presence features using Yjs CRDTs and an AwarenessStore for seamless peer synchronization via WebSocket or WebRTC.

- Tags: internals
- Published: 2026-03-05

### [How AFFiNE Manages Blob Storage for Media and Attachments: Architecture and Implementation](/toeverything/AFFiNE/how-does-affine-manage-blob-storage-for-media-and-attachments)

Discover 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.

- Tags: architecture
- Published: 2026-03-05

### [Complete Guide to AFFiNE Block Types: Every Built-in Block Explained](/toeverything/AFFiNE/what-are-the-different-types-of-blocks-supported-by-affines-editor)

Explore AFFiNE block types and discover over 20 built-in options from paragraphs to databases and whiteboard surfaces. Master AFFiNE's powerful editor today.

- Tags: explainer
- Published: 2026-03-05

### [How GraphQL Powers AFFiNE's Backend Services: Architecture and Implementation](/toeverything/AFFiNE/explain-the-role-of-graphql-in-affines-backend-services)

Discover how AFFINE leverages a centralized GraphQL API for type-safe data fetching, automatic error handling, and reactive UI updates across its backend services.

- Tags: architecture
- Published: 2026-03-05

### [How the AFFiNE Electron Desktop Application Is Built and Integrated with Core Modules](/toeverything/AFFiNE/how-is-the-electron-desktop-application-built-and-integrated-with-the-core-modules)

Learn 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.

- Tags: architecture
- Published: 2026-03-05

### [How AFFiNE Handles Data Privacy and Security in Its Local-First Architecture](/toeverything/AFFiNE/how-does-affine-handle-data-privacy-and-security-given-its-local-first-nature)

Discover how AFFiNE's local-first architecture protects your data privacy and security with advanced encryption and secure hashing methods. Keep your information safe.

- Tags: deep-dive
- Published: 2026-03-05

### [AFFiNE Deployment Options: Self-Hosting, Docker, and Cloud Setup Guide](/toeverything/AFFiNE/what-are-the-deployment-options-for-affine-including-self-hosting)

Explore AFFiNE deployment options: self-host with Docker Compose, deploy on Kubernetes via Helm, or use the AFFiNE Cloud SaaS. Get your instance running easily.

- Tags: how-to-guide
- Published: 2026-03-05

### [How to Contribute to the AFFiNE Project: A Complete Developer Guide](/toeverything/AFFiNE/how-can-developers-contribute-to-the-affine-project)

Learn 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.

- Tags: how-to-guide
- Published: 2026-03-05

### [Benefits of AFFiNE's All-in-One Workspace Approach: A Technical Deep Dive](/toeverything/AFFiNE/what-are-the-benefits-of-affines-all-in-one-workspace-approach)

Discover the benefits of AFFiNE's all-in-one workspace. Unify notes, whiteboards, and databases with CRDT for seamless offline collaboration. Boost productivity now.

- Tags: deep-dive
- Published: 2026-03-05

### [AFFiNE Block-Based Editor: Core Features and Architecture Explained](/toeverything/AFFiNE/what-are-the-main-features-of-affines-block-based-editor)

Discover AFFiNE's core block editor features including dual editing modes, real-time Yjs sync, and extensible architecture. Explore the modular document system today.

- Tags: deep-dive
- Published: 2026-03-05

### [What is nbstore in AFFiNE? Complete Architecture and Implementation Guide](/toeverything/AFFiNE/what-is-nbstore-and-its-function-within-affine)

Discover nbstore in AFFiNE, a WebWorker storage abstraction unifying persistence, blobs, real-time sync, and indexing across backends. Learn its architecture and implementation.

- Tags: architecture
- Published: 2026-03-05

### [AFFiNE Local-First Architecture: How CRDTs Enable Offline-First Collaboration](/toeverything/AFFiNE/explain-the-local-first-architecture-of-affine)

Discover AFFiNEs local-first architecture powered by CRDTs and OctoBase enabling seamless offline-first collaboration. Learn how cloud sync ensures conflict-free real-time updates.

- Tags: architecture
- Published: 2026-03-05

### [What Is YJS and What Role Does It Play in AFFiNE?](/toeverything/AFFiNE/what-is-yjs-and-what-role-does-it-play-in-affine)

Discover YJS the CRDT library powering AFFiNE. Learn how YJS enables real-time collaboration conflict resolution and offline-first editing for seamless multi-user experiences.

- Tags: deep-dive
- Published: 2026-03-05

### [How AFFiNE Handles Real-Time Collaboration and Data Synchronization: Yjs CRDT and WebSocket Architecture](/toeverything/AFFiNE/how-does-affine-handle-real-time-collaboration-and-data-synchronization)

Discover how AFFiNE achieves real-time collaboration and data synchronization using Yjs CRDTs and WebSocket architecture. Learn about conflict-free merging and low-latency updates.

- Tags: architecture
- Published: 2026-03-05

### [What Is BlockSuite and How Does AFFiNE Use It? A Technical Deep Dive](/toeverything/AFFiNE/what-is-blocksuite-and-how-does-affine-utilize-it)

Discover BlockSuite, the collaborative editing engine powering AFFiNE. Explore its modular architecture and how AFFiNE leverages @blocksuite/affine for a seamless editing experience.

- Tags: deep-dive
- Published: 2026-03-05

### [AFFiNE Backend Architecture: How the TypeScript and Rust Codebase is Structured](/toeverything/AFFiNE/how-is-the-affine-backend-structured-and-what-technologies-does-it-use)

Explore the AFFiNE backend architecture, a NestJS TypeScript API server powered by a Rust storage engine via NAPI-RS for efficient local-first collaborative editing.

- Tags: architecture
- Published: 2026-03-05

### [What Programming Languages and Frameworks Power AFFiNE's Frontend?](/toeverything/AFFiNE/what-programming-languages-and-frameworks-are-used-in-affines-frontend)

Discover the frontend tech stack of AFFiNE, a powerful collaborative editor. Learn about the programming languages and frameworks like TypeScript, React 19, Radix UI, and Jotai powering its interface.

- Tags: technology-stack
- Published: 2026-03-05

### [What Is AFFiNE and Its Core Purpose? The Open-Source All-in-One Workspace Explained](/toeverything/AFFiNE/what-is-affine-and-its-core-purpose)

Discover AFFiNE an open-source workspace combining wiki notes databases whiteboards and AI. It offers a private Notion Miro alternative for your diverse needs.

- Tags: getting-started
- Published: 2026-03-05

