I have a Wifi-compatible Kobo reader.
I use Calibre to manage material, and manage the desktop library in a Section 1 SCM repository, which enables safe backup across my environments.
The Kobo happens to run Linux, and source code for the GPLed bits is available at GitHub - Kobolabs / Kobo-Reader , but it's pretty much an untouchable embedded system.