Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 03-30-2023, 06:18 PM   #1
AlgusDark
Junior Member
AlgusDark began at the beginning.
 
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.
AlgusDark is offline   Reply With Quote
Old 03-30-2023, 11:04 PM   #2
elinkser
Addict
elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.
 
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:
elinkser is offline   Reply With Quote
Old 03-31-2023, 12:23 AM   #3
Aleron Ives
Wizard
Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.Aleron Ives ought to be getting tired of karma fortunes by now.
 
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.
Aleron Ives is offline   Reply With Quote
Old 03-31-2023, 02:07 AM   #4
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
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
Quote:
Originally Posted by elinkser View Post
KOReader (which spun off a neat libEink API)
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 . It's all admittedly a rather boring technicality, though .

Last edited by NiLuJe; 03-31-2023 at 02:09 AM.
NiLuJe is offline   Reply With Quote
Old 03-31-2023, 02:14 AM   #5
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
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.
NiLuJe is offline   Reply With Quote
Old 03-31-2023, 02:52 AM   #6
AlgusDark
Junior Member
AlgusDark began at the beginning.
 
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
AlgusDark is offline   Reply With Quote
Old 03-31-2023, 05:07 AM   #7
qkqw
Connoisseur
qkqw is at one with the great books of the world.qkqw is at one with the great books of the world.qkqw is at one with the great books of the world.qkqw is at one with the great books of the world.qkqw is at one with the great books of the world.qkqw is at one with the great books of the world.qkqw is at one with the great books of the world.qkqw is at one with the great books of the world.qkqw is at one with the great books of the world.qkqw is at one with the great books of the world.qkqw is at one with the great books of the world.
 
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
qkqw is offline   Reply With Quote
Old 04-03-2023, 01:08 AM   #8
AlgusDark
Junior Member
AlgusDark began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Mar 2023
Device: Kobo Libra H20
Quote:
Originally Posted by qkqw View Post
Thanks, this is a lot of what I was trying to do. This really helps me to start with Kobo tinkering.
AlgusDark is offline   Reply With Quote
Old 04-21-2023, 11:15 PM   #9
elinkser
Addict
elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.
 
Posts: 231
Karma: 146236
Join Date: Oct 2022
Device: Kobo Clara HD
Quote:
Originally Posted by Aleron Ives View Post
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.


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
elinkser is offline   Reply With Quote
Old 04-22-2023, 09:00 PM   #10
iJi
Junior Member
iJi began at the beginning.
 
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!
iJi is offline   Reply With Quote
Old 04-24-2023, 02:56 PM   #11
elinkser
Addict
elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.
 
Posts: 231
Karma: 146236
Join Date: Oct 2022
Device: Kobo Clara HD
Quote:
Originally Posted by iJi View Post
any tips, guidance..

Yes, see above! (welcome to kobo developer forum)
elinkser is offline   Reply With Quote
Old 04-25-2023, 04:30 PM   #12
iJi
Junior Member
iJi began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2023
Device: Kobo Libra H2O
thank you for replying I had read everything before and didn't find much guidance in the posts above so I asked... anyways I figured out how to add things to NickelMenu and how to run scripts from there.

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
iJi is offline   Reply With Quote
Old 04-25-2023, 04:49 PM   #13
elinkser
Addict
elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.
 
Posts: 231
Karma: 146236
Join Date: Oct 2022
Device: Kobo Clara HD
Quote:
Originally Posted by iJi View Post
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?
No package manager!


Quote:
Originally Posted by iJi View Post
anyways I figured out how to add things to NickelMenu and how to run scripts from there.

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!
elinkser is offline   Reply With Quote
Old 04-25-2023, 05:07 PM   #14
iJi
Junior Member
iJi began at the beginning.
 
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.
iJi is offline   Reply With Quote
Old 04-25-2023, 05:10 PM   #15
iJi
Junior Member
iJi began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2023
Device: Kobo Libra H2O
Quote:
Originally Posted by elinkser View Post
No package manager!





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!

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...
iJi is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 11:06 AM.


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