Úložiště
There are multiple ways of storing notes in Butterfly. Either by using your device storage, or by using the cloud storage (WebDAV).
Datový adresář
Section titled “Datový adresář”The data directory is the directory where documents, templates, and packs are stored.
On desktop you can find it in ~/Documents/Linwood/Butterfly.
Na mobilu je v getExternalFilesDir(null)/Linwood/Butterfly.
Můžete to také změnit v nastavení pod Data.
V tomto adresáři najdete složku Documents, Templates a Packs.
Webová
Section titled “Webová”Data aplikace jsou uložena ve vašem prohlížeči. Je uložen v místním úložišti. Otevřete nástroje vývojáře ve vašem prohlížeči a uvidíte data.
Domácí nástupiště
Section titled “Domácí nástupiště”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. Tuto složku lze změnit v nastavení.
Vzdálené úložiště
Section titled “Vzdálené úložiště”The application data can be stored on a remote server. To je užitečné, pokud chcete sdílet data s ostatními lidmi nebo pokud máte více počítačů. V současné době je podporován pouze protokol WebDAV.
Chcete-li přidat vzdálený server, přejděte do nastavení a klikněte na “Remotes”. Poté klikněte na “Přidat vzdálené”. Přidejte URL vzdáleného serveru a uživatelské jméno a heslo. Poté můžete specifikovat složku, kde jsou data uložena.
To get the WebDAV URL, please visit the documentation:
- Nextcloud (mělo by to vypadat takto:
https://nextcloud.example.com/remote.php/dav/files/username/, nahraďteusernameanextcloud.example.comsprávnými hodnotami)
Offline synchronizace
Section titled “Offline synchronizace”Tato funkce umožňuje upravit soubory na vzdálených serverech, když jste v režimu offline. Otevřete vyskakovací menu v souboru nebo složce a klikněte na “Synchronizovat”. Toto stáhne soubor nebo složku a uloží ji lokálně. Synchronizovat celý kořenový adresář, klikněte na zaškrtávací značku v dialogovém okně pro vytvoření nebo klikněte na ovladač v nastavení a klikněte na zaškrtávací značku v sekci Správa záznamů.
Existuje několik omezení:
- Můžete synchronizovat pouze nejvyšší úroveň složky. Například pokud máte adresář
a/b/test.bfly, tento soubor nebude synchronizován. - Nelze odstranit soubor nebo složku, pokud jste v režimu offline.
- Nemůžete přidávat, upravovat nebo odstraňovat šablony, když jste offline.
Jiné metody skladování
Section titled “Jiné metody skladování”Pokud jste na nativním zařízení, můžete také synchronizovat adresář aplikace s vaší oblíbenou platformou. 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.
Supported file types
Section titled “Supported file types”Butterfly supports importing SVG, Butterfly Note (.bfly), Butterfly Raw Note (.tbfly).
Butterfly Note (.bfly)
Section titled “Butterfly Note (.bfly)”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.
Butterfly Raw Note (.tbfly)
Section titled “Butterfly Raw Note (.tbfly)”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.