/sanki

small anki app rewritten for e-readers, with focus on InkBox support, written in Qt5 & C++

Primary LanguageC++GNU General Public License v3.0GPL-3.0

sanki

small anki app rewritten for e-readers in Qt & c++ (No QML), with focus on InkBox support

0.2 version demo:

https://github.com/Szybet/sanki/raw/master/sanki-demo.mkv

Supported, tested devices:

  • Kobo Nia
  • Kobo Clara 2E - Thanks Rumpelstilzli
  • Kobo Clara HD - Thanks elinkser

Should work on all devices, if not, please export debug info in device settings and send me it.

Sync

To sync sanki with anki ( On Linux host ):

  1. Setup anki connect on anki
  2. Install rust ( The programming language )
  3. Clone the repo, enter sanki-sync repo
  4. Run the following command ( Make sure it's running a stable toolchain, nightly doesn't work )
    cargo run --release -- --help
    
  5. Adjust your command line options, then run the server, wait for it to finish getting all the decks
  6. On the ereader, input your host IP address and port like that: <ip_address>:<port> for example 192.168.1.1:8766
  7. Sync :)

anki-attach

This tool allows to open koreader and read books directly from sanki. Notes:

  • Works only on InkBox OS
  • Avoid using dots and command in your file names :/

Installation

  • For Nickel, just extract the zip to the main folder when connecting via usb - You also need Nickel Menu, Kfmon and Koreader installed ( from the one click package )
  • For InkBox, extract it to .apps folder

Keep in mind

  • The app has problems with images above 2MB. It lags and gestures freeze. The sync program at default solves the issue by resizing the images inside

Contribute

Everything really is welcome.

Building

Instructions can be found here

Thanks to

  • NiLuJe for providing the toolchain for kobo devices, and helping with some bugs
  • tux-linux for developing inkbox and helping with qt magic
  • Rain92 for developing the qt5-kobo-platform-plugin

Donations

If you want to support the project, or request a feature I'm not interested in implementing, please contact ;)