![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2023
Device: Kobo Libra H20
|
Where to start for developing in Kobo?
Hi, first time poster here but I'm amazed by the amount of good quality engagement here. So excited to start playing with my new Kobo.
I want to ask if there is a mega thread or guide on how to start developing for the Kobo. I want to do some baby steps, so I'm not aiming on UI. I see that for UI, QT is the way (or maybe there is more). My first idea is to send my highlights with a script to my server, so I don't need to connect my Kobo to the computer. For that, I was thinking that bash code could do the trick, but I do wonder if cURL is included in Kobo. Also, something I noticed is that some people are using Lua, Rust(?), Golang, c/c++ and/or python. Are there some SDK out there? Thank you 🙏 I hope I can learn and help the community. |
![]() |
![]() |
![]() |
#2 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 231
Karma: 146236
Join Date: Oct 2022
Device: Kobo Clara HD
|
I'm not a developer, but my impression is it's more of a do-it-yourself environment.
The most up-to-date "tutorials" are all the free and open-source projects you can discover as you go back through the forums. If you go really far back, I think there are a couple of attempts at beginners guides (using Qt4, so, not even sure if they still work.). The two main projects are KOReader (which spun off a neat libEink API - EDIT: FBInk, not libEink, sorry about that NiLuJe!Although "libEink" does have a nice ring to it...) and Plato (which sombody recently piggybacked off of to create a vnc client in Rust, for example). Vlasovsoft and XCSoar are other huge ones but I don't know how active they are. Edit: Newer ones which don't yet support all devices are Inkbox and rmkit: https://www.mobileread.com/forums/sh...d.php?t=337972 http://rmkit.dev/rmkit-comes-to-kobo/ There are also various small projects you can build off of. Basically start browsing, and you'll get an idea, I'm sure. Last edited by elinkser; 10-17-2023 at 05:20 PM. Reason: Inkbox and rmkit: |
![]() |
![]() |
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,650
Karma: 16307824
Join Date: Sep 2022
Device: Kobo Libra 2
|
I'd say the first thing you'll want to do is install NickelMenu, so you have access to SSH and FTP. Most Kobo projects are hosted on GitHub, so you can see exactly how they work.
|
![]() |
![]() |
![]() |
#4 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Err, were you perhaps thinking of FBInk?
Because if you weren't, that would be news to me ;p. And if you were, it wasn't exactly spun off KOReader (or, at all, really). I do often use FBInk as a sandbox to poke at stuff that may end up in the KOReader backend (e.g., the sunxi stuff was written/tested in FBInk first), and being familiar with said backend certainly helped kickstart development on FBInk, but that's it ![]() ![]() Last edited by NiLuJe; 03-31-2023 at 02:09 AM. |
![]() |
![]() |
![]() |
#5 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
But to answer the actual question, @elinkser was pretty spot on.
Qt can "work", but it isn't for the faint of heart (like, at all), and the QPA you'll have to go through (the one used by UMR) currently has, to various degrees, compatibility issues with a fair amount of boards (for good reason: doing this right is a massive PITA, especially when you don't have access to most of the devices); so if that's a concern to you, I'd keep to Plato & KOReader, *especially* if you're just looking at code to see how stuff works. (I... wouldn't necessarily recommend looking at FBInk's code without first a basic understanding how how "interestingly" weird this shit can be ;p. But you'll certainly get to experience my numerous rants about that across the comments if you do ;p). Last edited by NiLuJe; 03-31-2023 at 02:17 AM. |
![]() |
![]() |
![]() |
#6 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2023
Device: Kobo Libra H20
|
Hey, thank you so much
![]() I'll start poking around with ssh and the code of several github projects. I see that @NiLuJe compiled some binaries (cURL is one I was looking for). Thank you, everyone ![]() |
![]() |
![]() |
![]() |
#7 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 63
Karma: 143000
Join Date: Apr 2022
Device: Kobo Libra 2
|
[QUOTE=AlgusDark;4310485]
My first idea is to send my highlights with a script to my server, so I don't need to connect my Kobo to the computer. For that, I was thinking that bash code could do the trick, but I do wonder if cURL is included in Kobo./QUOTE] Check this out: https://www.mobileread.com/forums/sh...d.php?t=349637 |
![]() |
![]() |
![]() |
#8 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2023
Device: Kobo Libra H20
|
Quote:
|
|
![]() |
![]() |
![]() |
#9 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 231
Karma: 146236
Join Date: Oct 2022
Device: Kobo Clara HD
|
Quote:
Absolutely, NickelMenu to launch your program and other services... And NickelDBus lets you do user input (as well as other "duct-tapey" things I believe, though I'm not too versed on that). *Edit: I have tried to address some of the security hazard of accepting user input in shell scripts here: https://www.mobileread.com/forums/sh...8&postcount=21 Last edited by elinkser; 04-25-2023 at 04:22 PM. Reason: security issues with input |
|
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Apr 2023
Device: Kobo Libra H2O
|
New here
Hi everyone! So happy to have found this thread! I'm new here, but not to programming... though I've never coded for the Kobo. I recently got a Kobo Libra H2O and I want to make a simple weather app for it that can be opened and closed from within it without having to restart the kobo... is that possible? I know there are tons of weather apps out there, but I wanted to have fun making my own... I downloaded NickelMenu, but I am not sure on how to program a (python app probably unless recommended otherwise) that is launched from the NickelMenu...
any tips, guidance, other projects that are done and can help as guidance/motivation/inspiration are super welcome! Thank you! |
![]() |
![]() |
![]() |
#11 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 231
Karma: 146236
Join Date: Oct 2022
Device: Kobo Clara HD
|
|
![]() |
![]() |
![]() |
#12 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Apr 2023
Device: Kobo Libra H2O
|
thank you for replying
![]() I need to be able to install some new packages, any ideas on how to do this in the Kobo using telnet or a package manager? If possible could a clear example be provided please? I learn best that way |
![]() |
![]() |
![]() |
#13 | ||
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 231
Karma: 146236
Join Date: Oct 2022
Device: Kobo Clara HD
|
Quote:
Quote:
That means you now know how to "install" in Kobo - basically go to each project's page on mobileread.com and follow instructions! I think most of us learned like that - bit by bit. It's fun to browse through all the projects because the Kobo and Kobo Developer's forums have saved everything for you in a nice linear order,. It's like going down a yellow brick road, except there is no fake wizard at the end - just the magic of Free and Open Source Software for you to browse and learn from. So get going, and have fun! |
||
![]() |
![]() |
![]() |
#14 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Apr 2023
Device: Kobo Libra H2O
|
thank you for your reply! It is exciting, but at times frustrating when nothing works haha
Last edited by iJi; 04-25-2023 at 05:10 PM. |
![]() |
![]() |
![]() |
#15 | |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Apr 2023
Device: Kobo Libra H2O
|
Quote:
I have tried working only with python and kivy, but I can't seem to be able to install kivy nor do I know how to make Kobo apps with QT... is there a way to make the kobo sleep and wake-up periodically? I'm searching for an answer, but I have found nothing yet... |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Start KOReader automatically with Kobo Start Menu | checcousero | KOReader | 2 | 03-07-2017 11:42 AM |
Developing Qt apps for Kobo in 2016? | sherman | Kobo Developer's Corner | 3 | 01-03-2017 02:23 PM |
Kobo is developing a 7.8 eReader | RZetlin | Kobo Reader | 552 | 08-31-2016 04:23 AM |
Developing on the Kobo Arc | slate | Kobo Tablets | 9 | 02-08-2013 02:11 AM |
So... what do I need to know to start developing apps for the Kindle? | sweevo | Kindle Developer's Corner | 11 | 10-15-2010 07:23 AM |