![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2025
Device: Kindle 10th gen
|
![]()
This week I started developing a plugin for KOReader and, while I can test it just fine with the desktop app, I already want to take advantage of my features on my Kindle. While I can simply copy the new versions of the plugin via SSH while at home, it'd be nicer to simply
Code:
git pull Is there any way to use git in the KOReader app (more specifically, on a Kindle 10th gen)? I've done some googling and found Lua bindings for libgit2. Has someone taken advantage of them or would it be easy to do so? Or can I simply just install a normal git binary? Thanks for KOReader btw! I've been loving it |
![]() |
![]() |
![]() |
#2 |
cosiñeiro
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,406
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
|
If there're binaries for your platform available use them. If not try to build it (there's a toolchain available for each embedded platorm where KO runs).
libgit2 is a bit of a PITA if you're used to git cli since day-to-day git actions that are simple in the cli involve figuring out how things are implemented in git at a lower level. But I would definitly suggest rsync for developing and testing. It should be available rn and, if it's not, it should be easier to port. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2025
Device: Kindle 10th gen
|
Maybe I didn't look in the right places, but I don't find any suitable git binary (for ARMv7) simply available... Maybe one day if I have the strength I'll try building it with the toolchain you mentioned. Thanks!
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,745
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
There should be Debian and/or Alpine packages if nothing else but rsync makes a heck of a lot more sense really.
![]() |
![]() |
![]() |
![]() |
Tags |
git, kindle, koreader, plugin, terminal emulator |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PW4 Use Git on Kindle PW | BronxHD | Kindle Developer's Corner | 1 | 08-26-2022 12:10 AM |
Switching to git | kovidgoyal | Development | 24 | 08-23-2014 11:24 PM |
Git | aditya3098 | Kindle Developer's Corner | 25 | 09-29-2013 08:39 AM |
Compiling from git, Ubuntu 12.04 | varlog | Sigil | 16 | 01-24-2013 04:27 AM |
EPUB for GIT User manual | miwie | Conversion | 2 | 07-20-2011 01:19 AM |