obsidian-git
obsidian-git copied to clipboard
[Feature]: git-lfs support on mobile version
Thanks for your great library! I can see that on pc your plugin supports git-lfs plugin to manage large files.
But isomorphic-git doesn't support this plugin out of the box (issue).
Is there an opportunity to support this feature with some sort of workaround? I'm not a js-dev, so I can't see what kind a difficulties you may face. But for example, there are some android applications and libraries made on top of isomorphic-git itself, which somehow handle this git extension to make everything works.
I hope there is a way to add this functionality to your plugin.
Are you on android or iOS?
I'm actually using termux on Android and have a foldere with a bunch of scripts to make sure, that git LFS works.
I had to use this, as isomorphic-git indeed doesn't support Git LFS.
If you want, I can share these scripts.
The nasty part was, that even on termux, the git-lfs hooks don't work because of some weird reeson which I don't understand. Instead, I had to manually invoke the git-lfs hooks on my mobile scripts 😅
Hi, @GollyTicker, could you please share your scripts? I am trying to setup Obsidian on Android and I, too, use Termux. I am running into headaches with my notes repository due to the fact that I have git-lfs enabled on the repository.
Thanks
Sorry, @GollyTicker, I must have missed your reply! Yeah, your scripts would be quite useful, thank you! Though I use obsidian both on android and ios devices, so, adapting git-lfs on ios still required :)
cool!
I'll need to adapt my script for public usage and add docs. I'll do that around the end of this week ideally
@i8degrees @antailyaqwer
Here you go!
https://github.com/GollyTicker/git-sync-template
I hope the documentation and comment are sufficient to get it working on your side.
Thank you @GollyTicker for the quick response! I will let you know how it goes here when I get to integrating it into my system.
@GollyTicker Many thanks for your repository!
@i8degrees @antailyaqwer
So, is it working for you?
@GollyTicker Sorry about that, now I don't have time to check with your script :( I will respond as soon as will have time for it, but still many thanks for your repository!
@antailyaqwer ping 😇