Giter Site home page Giter Site logo

Comments (5)

JamesL813 avatar JamesL813 commented on May 26, 2024

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.

from sticky.

lobau avatar lobau commented on May 26, 2024

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 :))

from sticky.

vixalien avatar vixalien commented on May 26, 2024

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.

from sticky.

vixalien avatar vixalien commented on May 26, 2024

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.

from sticky.

lobau avatar lobau commented on May 26, 2024

Sounds great, thanks!

from sticky.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.