mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-26 23:57:22 -08:00
Compare commits
7 commits
9c526573ea
...
1d738f3c3c
Author | SHA1 | Date | |
---|---|---|---|
|
1d738f3c3c | ||
|
0d8a8daddd | ||
|
cc2af329d0 | ||
|
a3ec711fb0 | ||
|
d416ecdd58 | ||
|
326ed49a39 | ||
|
58993104cc |
2 changed files with 25 additions and 18 deletions
24
README.md
24
README.md
|
@ -1,9 +1,9 @@
|
||||||
# InkBox
|
# Quill
|
||||||
<img src="https://github.com/Kobo-InkBox/inkbox/blob/master/screenshots/homepage.png?raw=true" width="30%"></img> <img src="https://github.com/Kobo-InkBox/inkbox/blob/master/screenshots/reading.png?raw=true" width="30%"></img> <img src="https://github.com/Kobo-InkBox/inkbox/blob/master/screenshots/library.png?raw=true" width="30%"></img>
|
<img src="https://github.com/Quill-OS/quill/blob/master/screenshots/homepage.png?raw=true" width="30%"></img> <img src="https://github.com/Quill-OS/quill/blob/master/screenshots/reading.png?raw=true" width="30%"></img> <img src="https://github.com/Quill-OS/quill/blob/master/screenshots/library.png?raw=true" width="30%"></img>
|
||||||
## About InkBox
|
## About Quill
|
||||||
InkBox is an open-source, Qt-based eBook reader for Kobo devices. It also comes as an entire [native open-source OS](https://github.com/Kobo-InkBox/rootfs) and provides support for a number of devices.
|
Quill is an open-source, Qt-based eBook reader for Kobo devices. It also comes as an entire [native open-source OS](https://github.com/Quill-OS/rootfs) and provides support for a number of devices.
|
||||||
<br>
|
<br>
|
||||||
InkBox features:
|
Quill features:
|
||||||
- Full integrated KoBox X11 subsystem
|
- Full integrated KoBox X11 subsystem
|
||||||
- ePUB, PDF, pictures and plain text display support
|
- ePUB, PDF, pictures and plain text display support
|
||||||
- Versatile configuration options for reading
|
- Versatile configuration options for reading
|
||||||
|
@ -12,7 +12,7 @@ InkBox features:
|
||||||
- Encrypted storage with EncFS
|
- Encrypted storage with EncFS
|
||||||
- Fast dictionary & local storage search
|
- Fast dictionary & local storage search
|
||||||
- Dark mode
|
- Dark mode
|
||||||
- Strict security policy ensuring that only signed software can be run on the device (this, however, can be adapted to your needs by recompiling the [kernel](https://github.com/Kobo-InkBox/kernel))
|
- Strict security policy ensuring that only signed software can be run on the device (this, however, can be adapted to your needs by recompiling the [kernel](https://github.com/Quill-OS/kernel))
|
||||||
- Full factory reset option if needed
|
- Full factory reset option if needed
|
||||||
- Seamless update process
|
- Seamless update process
|
||||||
- VNC viewer app
|
- VNC viewer app
|
||||||
|
@ -33,18 +33,18 @@ Alternatively, you can also open a terminal and check the device node of the Kob
|
||||||
```
|
```
|
||||||
xzcat inkbox.xz | dd of=/dev/mmcblk0
|
xzcat inkbox.xz | dd of=/dev/mmcblk0
|
||||||
```
|
```
|
||||||
<b>IMPORTANT:</b> InkBox OS does NOT provide ANY WARRANTY at all and we are not responsible if you brick your device with one of the factory images or update bundles available online. See [legal information](https://github.com/Kobo-InkBox/inkbox/blob/master/LEGAL.md) for more details.
|
<b>IMPORTANT:</b> Quill OS does NOT provide ANY WARRANTY at all and we are not responsible if you brick your device with one of the factory images or update bundles available online. See [legal information](https://github.com/Quill-OS/quill/blob/master/LEGAL.md) for more details.
|
||||||
|
|
||||||
## How do I upgrade InkBox?
|
## How do I upgrade Quill?
|
||||||
To upgrade InkBox, go to http://23.163.0.39/bundles/inkbox/native/update/ and copy the files for your device onto the `.inkbox` folder in the USB storage partition.
|
To upgrade Quill, go to http://23.163.0.39/bundles/inkbox/native/update/ and copy the files for your device onto the `.inkbox` folder in the USB storage partition.
|
||||||
|
|
||||||
**Note**: Prior to version 1.6, InkBox had to be upgraded one version at a time. If your device's factory image ships with version 1.5, you need to closely follow the upgrade instructions [here](http://23.163.0.39/bundles/inkbox/native/update/1.6/HOWTO-Update).
|
**Note**: Prior to version 1.6, Quill (then InkBox) had to be upgraded one version at a time. If your device's factory image ships with version 1.5, you need to closely follow the upgrade instructions [here](http://23.163.0.39/bundles/inkbox/native/update/1.6/HOWTO-Update).
|
||||||
|
|
||||||
If you install the Nickel add-on, unpack the 'base' archive in the root of the onboard storage, not in any subfolder inside it.
|
If you install the Nickel add-on, unpack the 'base' archive in the root of the onboard storage, not in any subfolder inside it.
|
||||||
## I want to learn more about this!
|
## I want to learn more about this!
|
||||||
I suggest you visit the [wiki](https://github.com/Kobo-InkBox/inkbox/wiki). Feel free to contribute if you think you have something valuable to add.
|
I suggest you visit the [wiki](https://github.com/Quill-OS/quill/wiki). Feel free to contribute if you think you have something valuable to add.
|
||||||
## How can I contribute?
|
## How can I contribute?
|
||||||
If you like this project and want to improve it in some way, feel free to fork this repository or [one of the subprojects this organization hosts](https://github.com/Kobo-InkBox), then make a [pull request](https://github.com/Kobo-InkBox/inkbox/pulls). I'll be happy to review it when I have time. You can also join the official [Matrix space](https://matrix.to/#/#inkbox-os-project:matrix.org) or [Discord server](https://discord.com/invite/uSWtWbY23m) if you'd like to chat a bit.
|
If you like this project and want to improve it in some way, feel free to fork this repository or [one of the subprojects this organization hosts](https://github.com/Quill-OS), then make a [pull request](https://github.com/Quill-OS/quill/pulls). I'll be happy to review it when I have time. You can also join the official [Matrix space](https://matrix.to/#/#inkbox-os-project:matrix.org), [Discord server](https://discord.com/invite/uSWtWbY23m) or [Linen](https://www.linen.dev/s/quill-os) if you'd like to chat a bit.
|
||||||
<br><br>
|
<br><br>
|
||||||
On the other hand, if you don't have the appropriate coding skills or just want to help in some way, feel free to make a donation at my [PayPal account](https://paypal.me/inkboxos/), [LiberaPay](https://liberapay.com/tux-linux/), or via Bitcoin: 3MmXq5o78b4C7ub5sb7F5WVC86jzc6PzSN . I'm a student and motivation has been the only thing that has helped me maintain this project for the last few years. Developing an entire operating system on my own was not an easy task. I have time, but I like to spend it wisely.
|
On the other hand, if you don't have the appropriate coding skills or just want to help in some way, feel free to make a donation at my [PayPal account](https://paypal.me/inkboxos/), [LiberaPay](https://liberapay.com/tux-linux/), or via Bitcoin: 3MmXq5o78b4C7ub5sb7F5WVC86jzc6PzSN . I'm a student and motivation has been the only thing that has helped me maintain this project for the last few years. Developing an entire operating system on my own was not an easy task. I have time, but I like to spend it wisely.
|
||||||
|
|
||||||
|
|
|
@ -33,9 +33,7 @@ QJsonObject Telemetry::collectDeviceInformation() {
|
||||||
bool Telemetry::sendDeviceInformation(QJsonObject data) {
|
bool Telemetry::sendDeviceInformation(QJsonObject data) {
|
||||||
log("Telemetry data to be sent to server: " + QJsonDocument(data).toJson(QJsonDocument::Compact), className);
|
log("Telemetry data to be sent to server: " + QJsonDocument(data).toJson(QJsonDocument::Compact), className);
|
||||||
|
|
||||||
// NOTE: This URL *will* change in the future
|
QNetworkRequest request(QUrl("http://23.163.0.39:4317/"));
|
||||||
// TODO: Add error-handling
|
|
||||||
QNetworkRequest request(QUrl("http://192.168.3.1:8080/"));
|
|
||||||
request.setHeader(QNetworkRequest::ContentTypeHeader, "application/json");
|
request.setHeader(QNetworkRequest::ContentTypeHeader, "application/json");
|
||||||
|
|
||||||
QNetworkAccessManager nam;
|
QNetworkAccessManager nam;
|
||||||
|
@ -45,8 +43,14 @@ bool Telemetry::sendDeviceInformation(QJsonObject data) {
|
||||||
}
|
}
|
||||||
QByteArray responseData = reply->readAll();
|
QByteArray responseData = reply->readAll();
|
||||||
reply->deleteLater();
|
reply->deleteLater();
|
||||||
|
QString responseDataQstring = QString(responseData);
|
||||||
|
log("Telemetry server's response data was: '" + responseDataQstring + "'", className);
|
||||||
|
if(responseDataQstring != "Data received successfully") {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else {
|
||||||
return true;
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Telemetry::telemetrySlot() {
|
void Telemetry::telemetrySlot() {
|
||||||
|
@ -54,6 +58,9 @@ void Telemetry::telemetrySlot() {
|
||||||
if(sendDeviceInformation(data)) {
|
if(sendDeviceInformation(data)) {
|
||||||
writeFile("/mnt/onboard/.adds/inkbox/.config/24-telemetry/asked", "true");
|
writeFile("/mnt/onboard/.adds/inkbox/.config/24-telemetry/asked", "true");
|
||||||
writeFile("/mnt/onboard/.adds/inkbox/.config/24-telemetry/enabled", "true");
|
writeFile("/mnt/onboard/.adds/inkbox/.config/24-telemetry/enabled", "true");
|
||||||
showToast("Data successfully sent\nThank you!");
|
showToast("Data sent successfully\nThank you!");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
showToast("Error while sending data");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue