diff --git a/.gitignore b/.gitignore index 75c107b..c05ac65 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ *.pro.user + +output/ \ No newline at end of file diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 2c7bfd7..f96367b 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -1,3 +1,4 @@ The following people have helped making WallaRead yet more awesome. Thanks to them! * Quentin P.: French translation +* kirbylife: New maintainer diff --git a/README.md b/README.md new file mode 100644 index 0000000..769333c --- /dev/null +++ b/README.md @@ -0,0 +1,48 @@ +# Wallaread - SailfishOS client for Wallabag 2+ + +This project is a fork of the original [goestreicher repository](https://github.com/goestreicher/harbour-wallaread). In this repository is the continuation of that project . + +Wallaread is a client to SailfishOS for [Wallabag](https://www.wallabag.it/en), a self-hosted service that allows you to save a copy of your favorite articles to read later. + +## Installation + +The pre-compiled package is available through [OpenRepos](https://openrepos.net/content/kirbylife/wallabag). +You can install it by directly downloading the .rpm file for your architecture or through Storeman. + + +## Compilation + +The recomended option to compile this project is using Docker using the following command: + +aarch64 +```Bash +docker run --rm --privileged -v $PWD:/share coderus/sailfishos-platform-sdk:4.5.0.16 /bin/bash -c " mkdir -p build ; cd build ; cp -r /share/* . ; mb2 -t SailfishOS-4.5.0.16-aarch64 build ; sudo cp -r RPMS/*.rpm /share/output" +``` + +armv7 +```Bash +docker run --rm --privileged -v $PWD:/share coderus/sailfishos-platform-sdk:4.5.0.16 /bin/bash -c " mkdir -p build ; cd build ; cp -r /share/* . ; mb2 -t SailfishOS-4.5.0.16-armv7hl build ; sudo cp -r RPMS/*.rpm /share/output" +``` + +i486 +```Bash +docker run --rm --privileged -v $PWD:/share coderus/sailfishos-platform-sdk:4.5.0.16 /bin/bash -c " mkdir -p build ; cd build ; cp -r /share/* . ; mb2 -t SailfishOS-4.5.0.16-i486 build ; sudo cp -r RPMS/*.rpm /share/output" +``` + +The .rpm package should be in the output/ directory. + +## Features + +- Login to multiple wallabag servers. +- Synchronize aggregated items. +- Read articles through a WebView. +- Save articles locally so they can be read offline. + +## Translations + +You can help contribute to the translations of this project by creating files within the translations/ directory for the new language or by correcting existing translations. + + +## Credits and license + +This project was originally created by [goestreicher](https://github.com/goestreicher) and he licensed it under GPL v3, so this license is preserved. diff --git a/qml/pages/ArticlePage.qml b/qml/pages/ArticlePage.qml index cb6d2d8..413e9d2 100644 --- a/qml/pages/ArticlePage.qml +++ b/qml/pages/ArticlePage.qml @@ -21,6 +21,9 @@ import QtQuick 2.0 import Sailfish.Silica 1.0 +import Sailfish.WebView 1.0 +import Sailfish.WebEngine 1.0 +import Sailfish.WebView.Popups 1.0 Page { id: articlePage @@ -29,7 +32,7 @@ Page { property string title property string content - SilicaWebView { + WebView { id: webview anchors.fill: parent @@ -42,9 +45,13 @@ Page { var html = "" + "
" + + "" + "" + "" + "" + diff --git a/translations/harbour-wallaread-es.ts b/translations/harbour-wallaread-es.ts new file mode 100644 index 0000000..8ed7360 --- /dev/null +++ b/translations/harbour-wallaread-es.ts @@ -0,0 +1,251 @@ + + +