Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 04-17-2025, 07:38 AM   #1
flip-rossi
Junior Member
flip-rossi began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2025
Device: Kindle 10th gen
Smile Can I use git within KOReader?

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
via the terminal emulator (and also for updating any other community plugins!)

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
flip-rossi is offline   Reply With Quote
Old 04-17-2025, 08:37 AM   #2
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
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.
pazos is offline   Reply With Quote
Advert
Old 04-19-2025, 08:44 AM   #3
flip-rossi
Junior Member
flip-rossi began at the beginning.
 
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!
flip-rossi is offline   Reply With Quote
Old 04-19-2025, 09:57 AM   #4
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
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.
Frenzie is offline   Reply With Quote
Reply

Tags
git, kindle, koreader, plugin, terminal emulator


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 06:26 PM.


MobileRead.com is a privately owned, operated and funded community.