title: Achieving a Local-First, Privacy-Centric User Experience with AFFiNE's Offline Capabilities
author: Joe Hou
tags: The Open Source Engineering
slug: local-first-privacy-focussed-affine-offline
description: How we aim to achieve a local-first, privacy-focussed experience with AFFiNE.
created: 2023-03-17
updated: 2023-03-17
layout: blog
publish: true
At AFFiNE, we embrace the local-first philosophy and strive to provide a seamless user experience that combines the benefits of cloud collaboration while still staying true to our privacy-focussed roots and our commitment to offline support. Our aim is to achieve a truly local-first experience, which will be achievd through several stages. At each step we retain a strong focus on privacy and user control. By prioritising "privacy", "local-first", and "offline", we hope to offer users a better choice to keep control of their data in a secure way,
Stages Towards Comprehensive Offline Support
We've devised a three-stage plan to attain our goal of a fully offline-capable user experience:
First stage: Facilitating local use of AFFiNE. The choice to enable AFFiNE Cloud and the powerful benefits that come with it.
- Keep your data on your local device, ensuring complete privacy and offline access
- Choose whether to sync your data with the AFFiNE Cloud, based on your preferences and needs
- Experience an optimised user experience, whether or not you enable AFFiNE Cloud
Second stage: Enable real-time cross-device data synchronisation within a local network. Removing the dependency of the AFFiNE Cloud service.
- Increased privacy, as data remains within your local network, eliminating the need to share data with external cloud services
- Enhanced control over data sharing and access, restricting data synchronisation to devices within your network
- Seamless collaboration and data access across devices, while keeping your data local and secure
Third stage: Provide cross-account collaboration within a local network, incorporating server-side support and an optional cloud provider.
- Greater flexibility, allowing you to choose between hosting your own data or using a cloud provider based on your requirements and preferences
- Enhanced security and privacy, thanks to server-side support
- Smooth collaboration between different accounts, all while keeping data securely within the local network or a chosen cloud provider.
File-Level Data Control for Enhanced Flexibility
To empower you with flexibility and control over your data, AFFiNE allows you to choose where to store your workspace as a single file. The workspace file serves as a backup and can be directly accessed on any AFFiNE client, enabling you to effortlessly switch between devices.
We know that users have varying preferences for content management formats, so we plan to support multiple import and export formats. This includes exporting entire workspaces and page content, ensuring seamless data transfer to and from other applications or services, regardless of the format.
Prioritising Privacy with Additional Security Measures
Privacy is paramount at AFFiNE. We provide you with the option to enable or disable AFFiNE Cloud when creating a new workspace, respecting your decision to keep your data strictly offline if desired.
We remain committed to offering continuous support and enhancements for self-hosting AFFiNE, ensuring users who prefer to host their own data have the necessary resources at their disposal.
Moreover, in the longer term, we also plan to implement encryption to bolster privacy further. This guarantees that you can trust in the safety and security of your data when using AFFiNE.
In summary, AFFiNE prioritises protecting your privacy by granting you control over your data while simultaneously delivering a seamless, local-first experience. With our commitment to offline support and privacy, you can trust AFFiNE to meet your unique needs and preferences.