Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Store the notes in a user visible folder, so they can be synced #51

Closed
lobau opened this issue Apr 13, 2023 · 5 comments
Closed

[FR] Store the notes in a user visible folder, so they can be synced #51

lobau opened this issue Apr 13, 2023 · 5 comments

Comments

@lobau
Copy link

lobau commented Apr 13, 2023

I use dropbox to sync many things, but the service I use is irrelevant.
If sticky notes allowed me to point at a folder in which the notes are stores as .txt or .md files, I could store this folder in my dropbox and access the notes everywhere.
It would also allow me to open the same folder in another app, like Paper or Inkdrop, to achieve total data portability!

@JamesL813
Copy link
Contributor

From what I know, the app stores its notes in json files that store the note itself as a string, metadata, plus styling information, like if a section is bold it stores where the bold text starts and ends. This means that while it could possibly store the content as a reference to another file rather than a string, it wouldn't be able to preserve formatting if another program edited or moved the file.

But I like this idea too, and I'd be willing to give up formatting for certain apps in order to sync them with Nextcloud. I'm not sure of a good way to make this work intuitively, though.

@lobau
Copy link
Author

lobau commented Apr 19, 2023

I'll be honest, to me, that means that if tomorrow I want to move my notes to another app, I will lose data (even if it's just formatting data). Having interoperability (even if just an export) is important to me (some random user feedback for you :))

@vixalien
Copy link
Owner

well the notes store the app inn a standard location, but that location can be different.

GLib.build_filenamev([GLib.get_user_data_dir(), pkg.name, "notes"]),

in the future, I want for the app to log what that location is so that you could sync the notes (copy pasting all the files in the directory to another stick notes's saving directory will work).

but I'm not sure if this accommodate your needs, in which case sticky can be made to have a configurable storage directory.

it may also be useful to have an export/import thing but that seems not very useful for me at the moment (e.g would it export markdown or the raw JSON) so if you have a use case please tell me.

@vixalien
Copy link
Owner

On the latest sticky notes, the app will log where it stores the notes (may vary based on flatpak, distro etc) and you can use that folder to sync notes. I will be closing this soon as solved if there's no further comment.

@lobau
Copy link
Author

lobau commented Apr 28, 2023

Sounds great, thanks!

@lobau lobau closed this as completed Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants