BoostIO / BoostNote-Legacy

This repository is outdated and new Boost Note app is available! We've launched a new Boost Note app which supports real-time collaborative writing. https://github.com/BoostIO/BoostNote-App
Other
17.07k stars 1.47k forks source link

Sync using git repository #1085

Open chaoticryptidz opened 6 years ago

chaoticryptidz commented 6 years ago

Issuehunt badges

I wish there was a feature that could sync folders with git and store the markdown files in a git repo.


IssueHunt Summary ### Backers (Total: $105.00) - [boostio boostio](https://issuehunt.io/u/boostio) ($100.00) - [sfjohansson sfjohansson](https://issuehunt.io/u/sfjohansson) ($5.00) ### Submitted pull Requests - [#3261 GitHub sync](https://issuehunt.io/r/BoostIO/Boostnote/pull/3261) --- #### [Become a backer now!](https://issuehunt.io/r/BoostIo/Boostnote/issues/1085) #### [Or submit a pull request to get the deposits!](https://issuehunt.io/r/BoostIo/Boostnote/issues/1085) ### Tips - Checkout the [Issuehunt explorer](https://issuehunt.io/r/BoostIo/Boostnote/) to discover more funded issues. - Need some help from other developers? [Add your repositories](https://issuehunt.io/r/new) on IssueHunt to raise funds. --- IssueHunt has been backed by the following sponsors. [Become a sponsor](https://issuehunt.io/membership/members)
danvilar commented 6 years ago

Yeah, it would be great to be able to use git automatically to sync the files. I do it manually, but that way we could use it on the phone as well

Kimi-Arthur commented 6 years ago

IntelliJ has a feature to sync settings automatically+exiting. It's basically pulling and committing/pushing to git repo.

Hope Boostnote has that too!

jadolg commented 6 years ago

I'm currently doing it like that

wzzx commented 6 years ago

It would be great (🥇) if this could be done directly from the phone applications with SSH keys

sfjohansson commented 6 years ago

Lost all my notes using dropbox sync after a re-organisatin...so a better sync options feels important and I believe we are all friends with git :)

chaoticryptidz commented 6 years ago

This could probably be implemented by making a save and commit button which has a pop up dialog where you can title and give a description to the commit. This way it can autosave localy and whenever you feel like you should commit it, you would just need to press the button. The git part of this could be implemented by using personal access tokens to authorize boostnote to commit to git. The storage folders could each have a settings menu to connect a folder up to git. You could probably also have a way to configure auto export as HTML/PDF/Markdown whenever a document is commmitted.

Just a idea for a implementation of this feature. Wish it could be implemented.

ergunsh commented 6 years ago

I'm very excited about this feature; if you give me a code start, I can try implementing this :)

sensiblemedia commented 6 years ago

+1 for this feature. I also employ wiki.js which stores markdown in a Github or Gogs repro as *.md files and maps them via MongoDB. Mention this as it maybe an interesting integration.

chaoticryptidz commented 6 years ago

This feature would be really nice but unfortuantly I have no idea how to do it...

hulloanson commented 6 years ago

What is the current status of this issue? I'd love to have this feature, or even work on it myself

ratsclub commented 6 years ago

+UP

It would be great!

sfjohansson commented 6 years ago

Maybe an alternative way to do this is by "boost hooks", command line calls that's gets executed when you save, change notes, close app. They could be git commands or anything else you might want to do.

patrick-steele commented 5 years ago

Zim has a Version Control plugin that does something similar. You basically make your storage location a git repository. The plugin has two options you can set:

Both of these options do an add/commit to the local git repository. In addiiton, you can manually initiate an add/commit via a UI option. There is currently no automatic push/pull option in the Zim version.

It's a nice way to get versioning of your notes. I use it to keep my "home" and "work" installations of Zim on separate branches. I usually don't edit the same notes at home and work, but if I do, I can simply merge the two together pretty easily via git since Zim, like Boostnote, saves notes as plain text files.

IssueHuntBot commented 5 years ago

@boostio funded this issue with $100. See it on IssueHunt

IssueHuntBot commented 5 years ago

@sfjohansson has funded $5.00 to this issue.


chrisstpierre commented 4 years ago

I'm working on this :)

sfjohansson commented 4 years ago

I'm working on this :)

Amazing to see that this is happening, how is it going? :)