Salta ai contenuti

Archiviazione

There are multiple ways of storing notes in Butterfly. Either by using your device storage, or by using the cloud storage (WebDAV).

The data directory is the directory where documents, templates, and packs are stored. On desktop you can find it in ~/Documents/Linwood/Butterfly. Sul cellulare è in getExternalFilesDir(null)/Linwood/Butterfly. Puoi anche modificarlo nelle impostazioni in Dati.

In questa directory troverai una cartella Documenti, Templates e Packs.

I dati dell’applicazione sono memorizzati nel browser. È conservato in un deposito locale. Apri gli strumenti di sviluppo nel tuo browser e vedrai i dati.

By default, the application saves the data in your documents folder in a subfolder called “Linwood/Butterfly”. This folder is created when you save data for the first time. Questa cartella può essere cambiata nelle impostazioni.

The application data can be stored on a remote server. Questo è utile se si desidera condividere i dati con altre persone o se si dispone di più computer. Attualmente è supportato solo il protocollo WebDAV.

Per aggiungere un server remoto, vai alle impostazioni e clicca su Remotes. Quindi clicca su Aggiungi remoto. Aggiunge l’URL del server remoto e il nome utente e la password. Dopo di che è possibile specificare la cartella in cui vengono memorizzati i dati.

To get the WebDAV URL, please visit the documentation:

  • Nextcloud (dovrebbe assomigliare a questo: https://nextcloud.example.com/remote.php/dav/files/username/, sostituisci username e nextcloud.example.com con i valori corretti)

Questa funzione consente di modificare i file su server remoti mentre sei offline. Aprire il menu a comparsa su un file o una cartella e fare clic su Sync. Questo scaricherà il file o la cartella e lo salverà localmente. Per sincronizzare l’intera directory root, fare clic sul segno di spunta nella finestra di dialogo di creazione o fare clic sul remoto nell’impostazione e fare clic sul segno di spunta nella sezione di gestione.

Ci sono alcune limitazioni:

  • È possibile sincronizzare solo il livello superiore di una directory. Per esempio, se si dispone di una directory a/b/test.bfly, questo file non verrà sincronizzato.
  • Non è possibile eliminare un file o una cartella mentre si è offline.
  • Non puoi aggiungere, modificare o eliminare i modelli mentre sei offline.

Se sei su un dispositivo nativo puoi anche sincronizzare la directory dell’applicazione con la tua piattaforma preferita. Google Drive has an official app on Windows and there are unofficial ones on the Play Store. On Linux you can also use the native remote storage system and change your data directory to this or add a new external storage if you click on the add connection button.

Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.tbfly).

This file type is the recommended format for saving notes.

It is a zip archive containing the information (mostly in JSON files) about the note. These included JSON files aren’t optimized for human readability.

This file is recommended for use with version control software like git.

This file is not a zip archive; instead it is a JSON file. It contains all the information about the note in a single JSON file that is optimized for being readable and nicely formatted. It is slower to load than the normal Butterfly Note.

This file type doesn’t save information about the note! When this file is imported into Butterfly, it is treated as a single image.

Use this ONLY when the note shouldn’t be modified by Butterfly.