Looking behind my back, a very interesting part is done. Let me tell you what I did during this period and what is coming.
- A library for handling interaction with the WebKit WebView, which could be called GNOME Books Library,
- GNOME JS application.
GNOME BOOKS LIBRARY
The C library is exposing “controller” object with the methods which are calling into the WebKit WebView. WebKit View is then calling JS functions to execute the method.
The structure of the project at this point can be seen below.
. ├── autogen.sh ├── configure.ac ├── COPYING ├── Makefile.am ├── src │ ├── lib │ │ ├── gb-webview.c │ │ ├── gb-webview.h │ │ ├── gb-resources.c │ │ ├── gb-resources.xml │ ├── Makefile-js.am │ ├── Makefile-lib.am │ ├── Makefile.am │ ├── application.js │ ├── mainWindow.js │ ├── main.js │ └── webView.js └── README.md
GJS BOOKS APPLICATION
GJS Books application is based on GtkApplication class which handles aspects of GTK+ application. It exports actions and menus and manages a list of toplevel windows whose life-cycle is automatically tied to the life-cycle of the application.
By using introspected library application can load and render the book and present it in the window, with the WebKit WebView. Some extra functionality which is implemented is controlling the reading more.
The repository of the GNOME Books application can be found on github .
I am very glad to say that I’ll attend this years edition of GUADEC in Strasbourg, France. As a participant of Google Summer of Code I will give a short introduction of my application during the interns’ lightning talks session.
- Add more functionality in the library to navigate the book
- Integrate Books application with the document discovery part that Documents partly does
 github repository of the GNOME Books application: https://github.com/martamilakovic/gnome-books/tree/master