mirror of
https://github.com/anyproto/docs.git
synced 2025-06-08 05:47:05 +09:00
GITBOOK-267: self-h
This commit is contained in:
parent
780ecaf424
commit
a27016f406
4 changed files with 28 additions and 20 deletions
|
@ -71,6 +71,7 @@
|
||||||
* [How we keep your data safe](data-and-security/how-we-keep-your-data-safe.md)
|
* [How we keep your data safe](data-and-security/how-we-keep-your-data-safe.md)
|
||||||
* [What is a Recovery Phrase?](data-and-security/what-is-a-recovery-phrase.md)
|
* [What is a Recovery Phrase?](data-and-security/what-is-a-recovery-phrase.md)
|
||||||
* [Data Storage & Deletion](data-and-security/data-storage-and-deletion.md)
|
* [Data Storage & Deletion](data-and-security/data-storage-and-deletion.md)
|
||||||
|
* [Self-hosting](data-and-security/self-hosting.md)
|
||||||
* [Analytics & Tracking](data-and-security/analytics-and-tracking.md)
|
* [Analytics & Tracking](data-and-security/analytics-and-tracking.md)
|
||||||
|
|
||||||
## 🌍 OUR COMMUNITY <a href="#community" id="community"></a>
|
## 🌍 OUR COMMUNITY <a href="#community" id="community"></a>
|
||||||
|
|
|
@ -4,7 +4,7 @@ description: There are no passwords in Anytype - only your recovery phrase.
|
||||||
|
|
||||||
# Recovery Phrase
|
# Recovery Phrase
|
||||||
|
|
||||||
Your Recovery Phrase functions as your login and passphrase at the same time. This mnemonic represents your master key generated upon signup, similar to a Bitcoin wallet. 
|
Your Recovery Phrase functions as your login and passphrase at the same time. This mnemonic represents your master key generated upon signup, similar to a Bitcoin wallet.
|
||||||
|
|
||||||
Changing it is impossible, and it's extremely important you keep it safe.
|
Changing it is impossible, and it's extremely important you keep it safe.
|
||||||
|
|
||||||
|
@ -16,15 +16,15 @@ When you create your account, you will receive your very own _12 word mnemonic p
|
||||||
|
|
||||||
### Don't forget to save it!
|
### Don't forget to save it!
|
||||||
|
|
||||||
We do not save a copy of your recovery phrase, which means that if it's lost, we are not able to assist with account recovery. For this reason, we recommend making a digital backup or writing it down and keeping it somewhere safe. 
|
We do not save a copy of your recovery phrase, which means that if it's lost, we are not able to assist with account recovery. For this reason, we recommend making a digital backup or writing it down and keeping it somewhere safe.
|
||||||
|
|
||||||
You will need this phrase each time you login on a new device.
|
You will need this phrase each time you login on a new device.
|
||||||
|
|
||||||
### Login on mobile
|
### Login on mobile
|
||||||
|
|
||||||
You can login on your mobile device (iOS or Android), either by using your recovery phrase or by scanning the QR code on your the 'Recovery Phrase' screen in your desktop app, located by navigating to: Account > Recovery Phrase. 
|
You can login on your mobile device (iOS or Android), either by using your recovery phrase or by scanning the QR code on your the 'Recovery Phrase' screen in your desktop app, located by navigating to: Account > Recovery Phrase.
|
||||||
|
|
||||||
Simply launch the Anytype app on your device, tap "Login" and "Scan QR code". 
|
Simply launch the Anytype app on your device, tap "Login" and "Scan QR code".
|
||||||
|
|
||||||
<figure><img src="../../.gitbook/assets/image (20).png" alt="" width="375"><figcaption></figcaption></figure>
|
<figure><img src="../../.gitbook/assets/image (20).png" alt="" width="375"><figcaption></figcaption></figure>
|
||||||
|
|
||||||
|
@ -34,4 +34,4 @@ To access your QR code in the desktop app, navigate to Settings > Recovery Phras
|
||||||
|
|
||||||
### Tech
|
### Tech
|
||||||
|
|
||||||
Your recovery phrase is used to derive your account's [**private key**](https://en.wikipedia.org/wiki/Public-key\_cryptography) using the [**BIP39 Algorithm**](https://medium.com/coinmonks/mnemonic-generation-bip39-simply-explained-e9ac18db9477). Then, your private key is further used to derive your profile page with a [**Textile-DB thread ID**](https://github.com/textileio/go-threads) and the encryption key. This is how we ensure that your account is associated with your ID. Finally, your private key is used to derive the ID and encryption key for the [**ThreadsDB**](https://github.com/textileio/go-threads#running-threaddb) that contains encryption keys for the rest of the content that you have created in Anytype.
|
Your recovery phrase is used to derive your account's [**private key**](https://en.wikipedia.org/wiki/Public-key\_cryptography) using the [**BIP39 Algorithm**](https://medium.com/coinmonks/mnemonic-generation-bip39-simply-explained-e9ac18db9477).
|
||||||
|
|
|
@ -1,20 +1,5 @@
|
||||||
# Data Storage & Deletion
|
# Data Storage & Deletion
|
||||||
|
|
||||||
## Storage & Deletion
|
|
||||||
|
|
||||||
{% hint style="info" %}
|
|
||||||
**Self-hosting is available**
|
|
||||||
|
|
||||||
If you don’t want to use Anytype backup node, you can self-host your own using [this guide](https://tech.anytype.io/how-to/self-hosting).\
|
|
||||||
It's also possible to use p2p sync between your devices, you can [block Anytype network traffic](https://community.anytype.io/t/is-there-a-way-to-limit-storage-of-data-only-local/6982) (Anytype & Anytype Helper) via your firewall.
|
|
||||||
{% endhint %}
|
|
||||||
|
|
||||||
{% hint style="warning" %}
|
|
||||||
**Custom storage location is currently unavailable**
|
|
||||||
|
|
||||||
Currently, you can not change the directory of your local data storage. We have it in [plans for Q3 2023](https://github.com/orgs/anyproto/projects/1/views/1). You might consider using a [workaround from our user](https://community.anytype.io/t/custom-storage-location/994) as a temporary solution for Windows and MacOS.
|
|
||||||
{% endhint %}
|
|
||||||
|
|
||||||
### Storage <a href="#storage" id="storage"></a>
|
### Storage <a href="#storage" id="storage"></a>
|
||||||
|
|
||||||
Anytype is offline first; hence, all data you create will be stored locally first. After that, the data is synced to the backup node and your devices for redundancy. We use a private [IPFS](https://docs.ipfs.tech/concepts/what-is-ipfs/) network to handle storage. It is a Peer-To-Peer file system that facilitates decentralized data storage across devices. Furthermore, we use the deduplication feature to reduce storage. For example, if the same picture is uploaded three times, there is only one image copy stored to reduce storage consumption.
|
Anytype is offline first; hence, all data you create will be stored locally first. After that, the data is synced to the backup node and your devices for redundancy. We use a private [IPFS](https://docs.ipfs.tech/concepts/what-is-ipfs/) network to handle storage. It is a Peer-To-Peer file system that facilitates decentralized data storage across devices. Furthermore, we use the deduplication feature to reduce storage. For example, if the same picture is uploaded three times, there is only one image copy stored to reduce storage consumption.
|
||||||
|
|
22
data-and-security/self-hosting.md
Normal file
22
data-and-security/self-hosting.md
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# Self-hosting
|
||||||
|
|
||||||
|
**How to self-host Anytype**
|
||||||
|
|
||||||
|
If you don’t want to use Anytype backup node, you can self-host your own using [this guide](https://tech.anytype.io/how-to/self-hosting). It is our first step in this direction, so it requires some technical skills from users and depends on several external solutions.
|
||||||
|
|
||||||
|
Our contributors are already working on creating a Docker image to simplify the setup of self-hosted infrastructure. You can join if you wish: [https://github.com/orgs/anyproto/discussions/17](https://github.com/orgs/anyproto/discussions/17).
|
||||||
|
|
||||||
|
Internally, we're already working on adding network configuration ability into the apps. This will make the process of rebuilding clients optional and greatly simplify the self-hosting flow. We expect to deliver this feature in upcoming releases.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
**How to remove Anytype backup node**\
|
||||||
|
It's also possible to use p2p sync between your devices, you can [block Anytype network traffic](https://community.anytype.io/t/is-there-a-way-to-limit-storage-of-data-only-local/6982) (Anytype & Anytype Helper) via your firewall.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
**Custom storage location**
|
||||||
|
|
||||||
|
{% hint style="warning" %}
|
||||||
|
Currently, you can not change the directory of your local data storage. We have it in [plans for Q3 2023](https://github.com/orgs/anyproto/projects/1/views/1). You might consider using a [workaround from our user](https://community.anytype.io/t/custom-storage-location/994) as a temporary solution for Windows and MacOS.
|
||||||
|
{% endhint %}
|
Loading…
Add table
Add a link
Reference in a new issue