TiloBox
Back to directory
AFFiNE project preview

AFFiNE

Open-source, privacy-first workspace combining documents, whiteboards, and database tables on one canvas.

LicenseMIT
GitHub stars71.8k
Last commit1 weeks ago
Tags6 topics
WorkspaceRustNotion AlternativeLocal FirstWhiteboardTypescript
Overview

Why consider AFFiNE?

A local-first, open-source workspace that merges structured docs and infinite whiteboards into a single canvas.

Guided learning

Learn AFFiNE by building

Practical setup notes, real use cases, and copy-ready examples in one focused guide.

3 min read

What is AFFiNE

AFFiNE is an open-source, privacy-focused "KnowledgeOS" that serves as a powerful alternative to established tools like Notion and Miro. It is meticulously designed to combine the structured editing of standard documents with an infinite, visual whiteboard canvas. Whether you are typing up weekly meeting notes, writing a blog post, or brainstorming a project timeline with sticky notes and flow diagrams, AFFiNE allows you to blend these entirely different workflows in one unified, edgeless space.

At its core, AFFiNE champions a local-first architecture. This means your data is saved to your local disk by default, giving you full ownership, data sovereignty, and privacy over your knowledge base without being locked into a cloud vendor. You have complete control over where your files live. However, the software does not sacrifice modern collaboration; it includes robust capabilities for real-time syncing across web and desktop platforms, allowing distributed teams to collaborate seamlessly whenever they choose to.

Features and Building Blocks

Most productivity applications force you to separate your text documents from your drawing boards. AFFiNE eliminates this barrier by deeply integrating them into a single environment. You can toggle back and forth between a "Page Mode" for structured, distraction-free writing and an "Edgeless Mode" for spatial, visual planning without having to switch applications.

Key features of the platform include:

  • Unified Canvas: You can freely add rich text paragraphs, sticky notes, embedded web pages, and vector shapes to a single overarching canvas.
  • Multi-view Databases: Organize your team's tasks or tracking data using familiar interfaces like spreadsheet tables and Kanban boards.
  • AI Assistant: An integrated multimodal AI partner can help you summarize long text segments, generate comprehensive outlines for presentations, or instantly build mind maps directly onto your whiteboard.
  • Self-Hosting Options: For organizations with strict compliance or privacy requirements, you can easily deploy your own private instance of AFFiNE on your own infrastructure.

How to Self-Host with Docker Compose

For users or teams that want to host their own instance, the official documentation strongly recommends using Docker Compose as the standard deployment method. This robust approach securely packages the primary AFFiNE application along with a Postgres database for reliable data storage and a Redis cache for improved performance.

To get started on your own server, you can download the latest official Docker Compose configuration file directly from the project's GitHub release page:

bash
1curl -L -o docker-compose.yml https://github.com/toeverything/AFFiNE/releases/latest/download/docker-compose.yml

Once the file is downloaded to your machine, you can start the service using the standard docker compose up -d command. After the containers have initialized, you will be able to access your locally hosted workspace via your web browser, keeping your data entirely under your control.

Related tools

More options with a similar category or technology profile.

AFFiNE FAQs

AFFiNE is listed as a Other tool on TiloBox. Review the overview, features, and official documentation on this page to decide whether it solves your specific workflow.

Start with the project's GitHub repository and official website for supported installation and deployment instructions. Test the setup with representative data or a small project before rolling it out more widely.

AFFiNE is listed under the MIT license. Read the complete license text and the project's notices before using, modifying, or distributing the software.

Production readiness depends on your requirements. Review maintenance activity, security practices, documentation, backup and upgrade procedures, and compatibility with your stack; then validate it in a non-production environment.

AFFiNE is listed as an alternative to Mural. Compare the core workflow, deployment model, integrations, and licensing against your must-have requirements before switching.