AFFiNE/README.md
2022-08-12 19:30:22 +08:00

19 KiB

AFFiNE.PRO
The Next-Gen Knowledge Base to Replace Notion & Miro.

Planning, Sorting and Creating all Together. Open-source, Privacy-First, and Free to use.

affine.pro stars All Contributors Node React React Rust

WebsiteDiscordTwitterMediumTelegram

affine_screen

Stay Up-to-Date and Support Us

952cd7a5-70fe-48ab-b74f-23981d94d2c5

How to use

🥳🥳🥳 Our web live demo is ready! 🥳🥳🥳

Start to play with AFFiNE web version on our landing page:

check_live_demo

If you have experience in front-end development, you may wish to refer to our documentation to learn more about deploying your own version or contributing further to development. Also, thanks to Lee who has made a desktop build with Tauri for you to try out. Please notice that AFFiNE is still under Alpha stage and is not ready for production use.

Table of contents

Shape your page

546163d6-4c39-4128-ae7f-55d59bc3b76b

Plan your task

41a7b3a4-32f2-4d18-ac6b-57d1e1fda753

Sort your knowledge

c9e1ff46-cec2-411b-b89d-6727a5e6f6c3

Create your story

We want your data always to be yours, without any sacrifice to your accessibility. Your data is always stored local first, yet we support real-time collaboration on a peer-to-peer basis. We don't think "privacy-first" is a good excuse for not supporting modern web features. And when it comes to collaboration, these features are not just necessarily for teams -- you can take and insert pictures on your phone, edit them from your desktop, and then share them with your collaborators. Affine is fully built with web technologies to ensure consistency and accessibility on Mac, Windows and Linux. The local file system support will be available when version 0.0.1beta is released.

Documentation

AFFiNE is not yet ready for production use. For installation, you may check how to build or deploy AFFiNE from our quick-start guide. Alternatively, you can view our full documentation.

Getting Started with development

Please view the path Contribute-to-AFFiNE/Software-Contributions/Quick-Start in the documentation.

Roadmap

Coming Soon...

Releases

Get our latest release notes from here.

Feature requests

Please go to feature requests.

FAQ

Get quick help on Telegram or Discord and join our community of developers and contributors.

Our latest news can be found on Twitter, Medium and the AFFiNE Blog.

The Philosophy of AFFiNE

Timothy Berners-Lee once taught us about the idea of the semantic web, where all the data can be interpreted in any form while the "truth" is kept. This gives our best image of an ideal knowledge base by far, that sorting of information, planning of project and goals as well as creating of knowledge can be all together. We have witnessed waves of paradigm shift so many times. At first, everything was noted on office-like apps or DSL like LaTeX, then we found todo-list apps and WYSIWYG markdown editors better for writing and planning. Finally, here comes Notion and Miro, who take advantage of the idea of blocks to further liberate our creativity. It is all perfect... without waste operations and redundant information. And, we insist that privacy first should always be given by default. That's why we are making AFFiNE. Some of the most important features are:

  • Transformable
    • Every block can be transformed equally
      • e.g. you can create a todo in Markdown in the text view and then later edit it in the kanban view.
    • Every document can be turned into a whiteboard
      • An always good-to-read, structured docs-form page is the best for your notes, but a boundless doodle surface is better for collaboration and creativity.
  • Atomic
    • The basic elements of AFFiNE are blocks, not pages.
      • Blocks can be directly reused and synced between pages.
    • Pages and blocks are searched and organized based on connected graphs, not tree-like paths.
    • Dual-link and semantic search are fully supported.
  • Collaborative and privacy-first
    • Data is always stored locally by default
    • CRDTs are applied so that peer-to-peer collaboration is possible.

We appreciate the ideas of Monday, Airtable, and Notion databases. They have inspired us and shaped our product, helping us get it right when it comes to task management. But we also do things differently. We don't like doing things again and again. It's easy to set a todo with Markdown, but then why do you need to repeat and recreate data for a kanban or other databases. This is the power of AFFiNE. With AFFiNE, every block group has infinite views, for you to keep your single source of data, a signle source of truth.

We would like to give special thanks to the innovators and pioneers who greatly inspired us:

  • Quip & Notion -- that docs can be organized as blocks
  • Taskade & Monday -- brilliant multi-dimensional tables
  • Height & Linear -- beautiful task management tool

We would also like to give thanks to open-source projects that make affine possible:

  • Yjs & Yrs -- Fundamental support of CRDTs for our implementation on state management and data sync.
  • React -- View layer support and web GUI framework.
  • Rust -- High performance language that extends the ability and availability of our real-time backend, JWST.
  • Fossil -- Source code management tool made with CRDTs which inspired our design on block data structure.
  • slatejs -- Customizable rich-text editor.
  • Jotai -- Minimal state management tool for frontend.
  • Tldraw -- Excellent drawing board.
  • MUI -- Our most used graphic UI component library.
  • Other dependencies

Thanks a lot to the community for providing such powerful and simple libraries, so that we can focus more on the implementation of the product logic, and we hope that in the future our projects will also provide a more easy-to-use knowledge base for everyone.

Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

Discuss AFFiNE on GitHub

Contributors


DarkSky

💻 📖

Chi Zhang

💻 📖

wang xinglong

💻 📖

DiamondThree

💻 📖

Whitewater

💻 📖

xiaodong zuo

💻 📖

MingLIang Wang

💻 📖

Qi

💻 📖

mitsuhatu

💻 📖

Austaras

💻 📖

Jin Yao

💻 📖

HeJiachen-PM

📖

Yipei Wei

📖

fanjing22

🎨

Svaney

🎨

Guozhu Liu

🎨

fyZheng07

📋 📓

CJSS

📖

Carlos Rafael

💻

Caleb OLeary

💻

JimmFly

💻

Weston Graham

📖

pointmax

📖

License

AFFiNE is distributed under the terms of MIT license.

See LICENSE for details.