AFFiNE

affine.pro
AFFiNE Icon

Privacy first, open-source alternative to Notion, monday.com and Miro. It is a knowledge management tool that allows you to create, organize and share your knowledge.

No Security Audit Open Source

AFFiNE Source Code

Author

toeverything

Description

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.

#app#crdt#editor#electron#knowledge-base#markdown#miro#notes#notion#notion-alternative#rust#rust-lang#rust-language#table#tableview#whiteboard#wiki#workspace

Homepage

https://affine.pro

License

NOASSERTION

Created

31 Jul 22

Last Updated

26 Feb 26

Latest version

v2026.2.23-canary.919

Primary Language

TypeScript

Size

311,316 KB

Stars

63,270

Forks

4,416

Watchers

63,270

Language Usage

Language Usage

Star History

Star History

Recent Commits

  • DarkSky (26 Feb 26)

    fix(server): transaction error (#14518) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Events can be dispatched in a detached context to avoid inheriting the current transaction. * **Bug Fixes** * Improved resilience and error handling for event processing (graceful handling of deleted workspaces and ignorable DB errors). * More reliable owner assignment flow when changing document owners. * **Tests** * Added tests for doc content staleness with deleted workspaces. * Added permission event tests for missing workspace/editor scenarios. <!-- end of auto-generated comment: release notes by coderabbit.ai -->

  • donqu1xotevincent (26 Feb 26)

    chore(ios): update description (#14522)

  • DarkSky (25 Feb 26)

    fix: static file handle & ws connect

  • DarkSky (24 Feb 26)

    fix: old client compatibility

  • DarkSky (24 Feb 26)

    feat: handle calendar sync failed (#14510) #### PR Dependency Tree * **PR #14510** πŸ‘ˆ This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved calendar sync reliability with exponential backoff for repeated failures. * Better handling of token refresh failures with automatic account invalidation and cleanup when needed. * Subscriptions are now automatically disabled and related events removed when the calendar provider reports missing resources. * **Tests** * Added comprehensive tests covering sync failures, backoff behavior, token refresh handling, skipping retries during backoff, and recovery. <!-- end of auto-generated comment: release notes by coderabbit.ai -->

  • DarkSky (24 Feb 26)

    fix: linux release

  • DarkSky (24 Feb 26)

    fix: deps link

  • DarkSky (24 Feb 26)

    feat: bump typescript (#14507) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Upgraded TypeScript toolchain to v5.9.3 across packages and tooling. * Removed legacy ts-node and migrated developer tooling to newer runtimes (tsx/SWC) where applicable. * **Documentation** * Updated developer CLI docs and runtime behavior notes to reflect the new loader/runtime for running TypeScript files; no changes to public APIs or end-user behavior. <!-- end of auto-generated comment: release notes by coderabbit.ai -->

  • DarkSky (24 Feb 26)

    chore: bump deps (#14506) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Version bumped to 0.26.3 across the project and Helm charts. * Removed an unused dependency (minimatch) from multiple packages. * Updated build/tooling and packaging metadata, including packaging maker replacement. * Adjusted app release metadata and platform packaging config. * **Tests** * Updated test snapshots to reflect minor presentational styling adjustments. <!-- end of auto-generated comment: release notes by coderabbit.ai -->

  • DarkSky (23 Feb 26)

    fix: image proxy url (#14505) #### PR Dependency Tree * **PR #14505** πŸ‘ˆ This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Improvements** * Better image-proxy detection to avoid double-proxying already proxied images. * Improved runtime image proxy configuration so images load consistently across deployments. * More robust image URL handling for optimized image loading and fewer redundant requests. <!-- end of auto-generated comment: release notes by coderabbit.ai -->

  • passabilities.eth (23 Feb 26)

    fix(mobile): fixed toolbar position (#14329) ## Summary Fixed the text formatting toolbar not working properly on mobile web browsers. ## Problem The toolbar had multiple issues on mobile devices: - It would render off-screen or be covered by the virtual keyboard - The flag-based rendering system caused visibility issues on mobile - Long-press text selection didn't trigger the toolbar - Wide toolbars could overflow the viewport <img src="https://github.com/user-attachments/assets/8f54590c-1d2c-4c87-abab-32206df17ebf" width="250"> ## Solution - Use fixed positioning at bottom of screen on mobile devices - Position toolbar above virtual keyboard using Visual Viewport API - Handle toolbar visibility directly via `selectionchange` event - Bypass flag-based rendering system on mobile to avoid rendering issues - Add `touchend` listener to handle long-press text selection - Limit toolbar max-width to viewport minus padding - Enable horizontal scrolling for overflow content <img src="https://github.com/user-attachments/assets/45130860-f01a-45c1-87c5-d43264f88613" width="250"> ## Test plan - [x] Tested on mobile Safari (iOS) - [x] Tested on mobile Chrome (Android) - [x] Verified desktop browsers still work correctly - [x] Verified the toolbar is fixed to the bottom of the screen and above virtual keyboard - [x] Verified long-press text selection triggers toolbar <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Improvements** * Mobile toolbar now anchors to the bottom, adapts width, and repositions dynamically to stay above on-screen keyboards. * Toolbar visibility is context-aware, showing when native-like text selections occur and hiding otherwise; touch interactions are handled for reliable toggling. * Desktop experience and public APIs remain unchanged. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: DarkSky <darksky2048@gmail.com>

  • DarkSky (23 Feb 26)

    chore: improve cors

  • DarkSky (23 Feb 26)

    feat(infra): improve ci perf (#14503) #### PR Dependency Tree * **PR #14503** πŸ‘ˆ This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Improved CI efficiency with targeted Rust test detection and workspace-scoped builds for faster, more focused runs. * Added workflow static-analysis configuration and refined Node/Playwright/Electron build flags and platform controls. * Added a new test workspace dependency and TypeScript project reference for blocksuite tests; updated workspace wiring for focused builds. * Cleaned CI environment handling for server test orchestration. * **Bug Fixes** * Hardened mobile release steps (safer credential handling and quoting) to improve iOS/Android publish reliability. <!-- end of auto-generated comment: release notes by coderabbit.ai -->

  • DarkSky (23 Feb 26)

    feat: improve selfhosted login (#14502) fix #13397 fix #14011 #### PR Dependency Tree * **PR #14502** πŸ‘ˆ This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Centralized CORS policy with dynamic origin validation applied to server and realtime connections * Improved sign-in flows with contextual, localized error hints and toast notifications * Centralized network-error normalization and conditional OAuth provider fetching * **Bug Fixes** * Better feedback for self-hosted connection failures and clearer authentication error handling * More robust handling of network-related failures with user-friendly messages <!-- end of auto-generated comment: release notes by coderabbit.ai -->

  • DarkSky (23 Feb 26)

    docs: cleanup outdated infos

  • Pixel Perfect (23 Feb 26)

    fix(data-view): preserve filtering on hidden properties (#14500) Fixes issue #14036 where hiding a column used in filters caused empty table/kanban results. Root cause: filter evaluation built the row map from visible properties only. Change: evaluate filters using full property set (propertiesRaw$) so hidden filtered columns still participate. Added unit regressions for both table and kanban hidden-column filtering behavior. Verified this does fix the filtering issue for hidden columns: <img width="3440" height="1440" alt="Screenshot of before and after views of a database with hidden columns and filtering on said column" src="https://github.com/user-attachments/assets/c1e2674f-06be-44e9-97bd-63593172f05b" /> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Fixed filtering in Kanban and Table views so filters evaluate against all properties (including hidden/raw columns), ensuring consistent results regardless of column visibility. * **Tests** * Added tests covering filtering behavior with hidden and filtered columns to prevent regressions. <!-- end of auto-generated comment: release notes by coderabbit.ai -->

  • DarkSky (22 Feb 26)

    fix(editor): editor behavior and styles (#14498) fix #14269 fix #13920 fix #13977 fix #13953 fix #13895 fix #13905 fix #14136 fix #14357 fix #14491 #### PR Dependency Tree * **PR #14498** πŸ‘ˆ This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Callout and toolbar defaults now reliably show grey backgrounds * Keyboard shortcuts behave better across layouts and non-ASCII input * Deleted workspaces no longer appear in local listings * **New Features** * Cell editing now respects pre-entry validation hooks * Scrollbars use themeable variables and include Chromium compatibility fixes * **Style** * Minor UI color adjustment for hidden properties * **Tests** * Added unit tests for table column handling and keymap behavior <!-- end of auto-generated comment: release notes by coderabbit.ai -->

  • DarkSky (22 Feb 26)

    chore: trim useless files for client (#14488) #### PR Dependency Tree * **PR #14488** πŸ‘ˆ This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Improved Electron build to trim unused locale files on macOS, Windows, and Linux while always preserving English fallbacks; added post-build cleanup and stricter packaging ignore rules to exclude tests, examples, scripts, docs, README, and build metadata. * **Style** * Reformatted a TypeScript type annotation for consistency. <!-- end of auto-generated comment: release notes by coderabbit.ai -->

  • DarkSky (21 Feb 26)

    fix: history may duplicate on concurrency (#14487) #### PR Dependency Tree * **PR #14487** πŸ‘ˆ This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Enhanced history record creation to prevent duplicate entries in concurrent scenarios. * **Tests** * Added validation for idempotent history record creation. <!-- end of auto-generated comment: release notes by coderabbit.ai -->

  • DarkSky (21 Feb 26)

    feat: improve admin build (#14485) #### PR Dependency Tree * **PR #14485** πŸ‘ˆ This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Admin static assets now served under /admin for self-hosted installs * CLI is directly executable from the command line * Build tooling supports a configurable self-hosted public path * Updated admin package script for adding UI components * Added a PostCSS dependency and plugin to the build toolchain for admin builds * **Style** * Switched queue module to a local queuedash stylesheet, added queuedash Tailwind layer, and scoped queuedash styles for the admin UI * **Bug Fixes** * Improved error propagation in the Electron renderer * Migration compatibility to repair a legacy checksum during native storage upgrades * **Tests** * Added tests covering the migration repair flow <!-- end of auto-generated comment: release notes by coderabbit.ai -->

  • DarkSky (21 Feb 26)

    feat: bump deps (#14484)

  • DarkSky (20 Feb 26)

    fix: android build

  • DarkSky (20 Feb 26)

    fix: enhance MCP token handling (#14483) fix #14475 #### PR Dependency Tree * **PR #14483** πŸ‘ˆ This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes * **New Features** * Enhanced MCP server token management with improved securityβ€”tokens now display only once with redaction support. * Updated token creation and deletion workflows with clearer UI state controls. * Added tooltip guidance when copying configuration with redacted tokens. <!-- end of auto-generated comment: release notes by coderabbit.ai -->

  • DarkSky (20 Feb 26)

    feat: improve mobile native impl (#14481) fix #13529 #### PR Dependency Tree * **PR #14481** πŸ‘ˆ This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Mobile blob caching with file-backed storage for faster loads and reduced network usage * Blob decoding with lazy refresh on token-read failures for improved reliability * Full-text search/indexing exposed to mobile apps * Document sync APIs and peer clock management for robust cross-device sync * **Tests** * Added unit tests covering payload decoding, cache safety, and concurrency * **Dependencies** * Added an LRU cache dependency and a new mobile-shared package for shared mobile logic <!-- end of auto-generated comment: release notes by coderabbit.ai -->

  • DarkSky (19 Feb 26)

    chore: update flags

  • Neo (17 Feb 26)

    fix: docTitle unexpectedly translated (#14467) fix #14465 In Chinese mode, the document with the specified name may not be displayed correctly in the sidebar, and it may be mistaken for the translation of the content that needs to be translated. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Fixed document title display in navigation panels on desktop and mobile to properly render without additional processing steps. <!-- end of auto-generated comment: release notes by coderabbit.ai -->

  • DarkSky (17 Feb 26)

    feat: improve admin panel design (#14464)

  • DarkSky (16 Feb 26)

    fix: electon rendering on windows (#14456) fix #14450 fix #14401 fix #13983 fix #12766 fix #14404 fix #12019 #### PR Dependency Tree * **PR #14456** πŸ‘ˆ This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added new tab navigation functions: `switchTab`, `switchToNextTab`, and `switchToPreviousTab`. * **Bug Fixes** * Improved bounds validation for tab view resizing. * Enhanced tab lifecycle management during navigation events. * Refined background throttling behavior for active tabs. <!-- end of auto-generated comment: release notes by coderabbit.ai -->

  • DarkSky (16 Feb 26)

    feat: bump eslint & oxlint (#14452) #### PR Dependency Tree * **PR #14452** πŸ‘ˆ This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved null-safety, dependency tracking, upload validation, and error logging for more reliable uploads, clipboard, calendar linking, telemetry, PDF/theme printing, and preview/zoom behavior. * Tightened handling of all-day calendar events (missing date now reported). * **Deprecations** * Removed deprecated RadioButton and RadioButtonGroup; use RadioGroup. * **Chores** * Unified and upgraded linting/config, reorganized imports, and standardized binary handling for more consistent builds and tooling. <!-- end of auto-generated comment: release notes by coderabbit.ai -->

  • DarkSky (16 Feb 26)

    fix: sign

AFFiNE Website

Website

AFFiNE - All In One KnowledgeOS

The universal editor that lets you work, play, present or create just about anything.

Redirects

Does not redirect

Security Checks

1 security checks failed (65 passed)

  • Top-Level Domain Highly Abused

Server Details

  • IP Address 104.26.1.190
  • Location San Francisco, California, United States of America, NA
  • ISP CloudFlare Inc.
  • ASN AS13335

Associated Countries

  • US

Safety Score

Website marked as risky

70%

Blacklist Check

affine.pro was found on 0 blacklists

  • ThreatLog
  • OpenPhish
  • PhishTank
  • Phishing.Database
  • PhishStats
  • URLhaus
  • RPiList Not Serious
  • AntiSocial Blacklist
  • PhishFeed
  • NABP Not Recommended Sites
  • Spam404
  • CRDF
  • Artists Against 419
  • CERT Polska
  • PetScams
  • Suspicious Hosting IP
  • Phishunt
  • CoinBlockerLists
  • MetaMask EthPhishing
  • EtherScamDB
  • EtherAddressLookup
  • ViriBack C2 Tracker
  • Bambenek Consulting
  • Badbitcoin
  • SecureReload Phishing List
  • Fake Website Buster
  • TweetFeed
  • CryptoScamDB
  • StopGunScams
  • ThreatFox
  • PhishFort

Website Preview

AFFiNE Socials

AFFiNE Reviews

More Digital Notes

  • Standard Notes Icon

    Standard Notes

    standardnotes.com

    S.Notes is a free, open-source, and completely encrypted private notes app. It has a simple UI, yet packs in a lot of features, thanks to the Extensions Store, allowing for: To-Do lists, Spreadsheets, Rich Text, Markdown, Math Editor, Code Editor and many more. You can choose between a number of themes (yay, dark mode!), and it features built-in secure file store, tags/ folders, fast search and more. Standard Notes is actively developed, and fully open-source.

    Security Audited Open Source standardnotes/app
  • Turtle Icon

    Turtle

    turtlapp.com

    A secure, collaborative notebook. Self-host it yourself, or use their hosted plan (free edition or $3/ month for premium).

    Security Audited Open Source turtl/desktop
  • Notable Icon

    Notable

    notable.md

    An offline markdown-based note editor for desktop, with a simple, yet feature-rich UI. All notes are saved individually as .md files, making them easy to manage. No mobile app, built-in cloud-sync, encryption or web UI. But due to the structure of the files, it is easy to use your own cloud sync provider, and additional features are provided through extensions.

    No Security Audit Open Source notable/notable
  • Joplin Icon

    Joplin

    joplinapp.org

    Cross-platform desktop and mobile note-taking and todo app. Easy organisation into notebooks and sections, revision history and a simple UI. Allows for easy import and export of notes to or from other services. Supports synchronisation with cloud services, implemented with E2EE.

    Security Audited Open Source laurent22/joplin
  • Logseq Icon

    Logseq

    logseq.com

    Privacy-first, open-source knowledge base that works on top of local plain-text Markdown and Org-mode files. Supports lots of different note modes, including task management, PDF annotation, flashcards, whiteboards strong markdown support and more. Includes themes and extensions, backed by a strong community

    No Security Audit Open Source logseq/logseq
  • Obsidian Icon

    Obsidian

    obsidian.md

    A powerful knowledge base that works on top of local plain-text Markdown files. It has a strong community, and a lot of plugins and themes. Generally privacy-respecting, but no encryption out of the box, and some of the code is obfuscated or not fully open source

    Security Audited Not Open Source obsidianmd/obsidian-releases
  • Cryptee Icon

    Cryptee

    crypt.ee

    Private & encrypted rich-text documents. Cryptee has encryption and anonymity at its core, it also has a beautiful and minimalistic UI. You can use Cryptee from the browser, or download native apps. Comes with many additional features, such as support for photo albums and file storage. The disadvantage is that only the frontend is open source. Pricing is free for starter plan, $3/ month for 10GB, additional plans go up-to 2TB.

    No Security Audit Not Open Source cryptee/web-client

About the Data: AFFiNE

API

You can access AFFiNE's data programmatically via our API. Simply make a GET request to:

https://api.awesome-privacy.xyz/productivity/digital-notes/affine

The REST API is free, no-auth and CORS-enabled. To learn more, view the Swagger Docs or read the API Usage Guide.

About the Data

Beyond the user-submitted YAML you see above, we also augment each listing with additional data dynamically fetched from several sources. To learn more about where the rest of data included in this page comes from, and how it is computed, see the About the Data section of our About page.

Share AFFiNE

Help your friends compare Digital Notes, and pick privacy-respecting software and services.
Share AFFiNE and Awesome Privacy with your network!

View Digital Notes (8)