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

Feature Request: Sync to text files #102

Open
BeatLink opened this issue Apr 26, 2023 · 2 comments
Open

Feature Request: Sync to text files #102

BeatLink opened this issue Apr 26, 2023 · 2 comments

Comments

@BeatLink
Copy link

BeatLink commented Apr 26, 2023

Hi. As i currently understand it, Sticky currently saves all notes within a single json file. I was wondering if you would be willing to implement a feature where the notes could be instead autosaved to a text file on disk, along with the ability to refresh the notes on any external changes. This would allow notes to be synced using common filesystem based sync solutions such as Syncthing, Nextcloud, Dropbox etc.

I have some code that can actually implement this, from my own work on a small notepad app so I'd be happy to work on a pull request.

@collinss
Copy link
Member

Hi @BeatLink, thanks for the offer! I've been wanting to integrate with things like Nextcloud for quite some time, but haven't had much time lately to work on it. The biggest challenge to implement syncing ability is the formatting. Sticky uses a unique syntax to indicate formatting, so it's not as simple as just syncing a file. If you'd like to play around with it, go right ahead. I'd be happy to accept pull requests if you get something working. Otherwise, it will probably be at least a few months before I get the chance to work on this much.

@BeatLink
Copy link
Author

BeatLink commented May 2, 2023

Hey. I've been poking through the source code and you're right. Its a bit more intensive than I thought it would be. I'm not sure I understand enough to implement this. If it would help though, here's the link to the note app I was working on. Its deliberately designed to be as simple as possible.

https://github.com/BeatLink/StickyText

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants