Code Monkey home page Code Monkey logo

wike's People

Contributors

albanobattistella avatar aunetx avatar brndan avatar camelcasenick avatar cho2 avatar fkinoshita avatar frandieguez avatar gabsedits avatar gregorni avatar hugolabe avatar kbdharun avatar kdwk avatar lqs01 avatar lunaneff avatar ratajs avatar rk234 avatar sophie-h avatar suborbitalpigeon avatar usnetv avatar werdahias avatar xfgusta avatar yakushabb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

wike's Issues

Faster Mouse Scrolling

Nice idea and good feature set!

However, when I am scrolling with the mouse, it feels way too slow (same problem with epiphany).
Wike 1.1.0 from Flathub

Add a match diacritics option to find on page

When finding text on the page (Ctrl+F) there could be an toggle option to match diacritics.

Currently Wike always matches diacritics so if you search for "Ånger" it also finds "Anger".

Hidden bottom of some pictures

When clicking a picture to see it with the application's viewer, the bottom of the image is often hidden by the bottom-titlebar (with the author, license...). It apparently occurs when the picture is big. [picture1]
A solution is to click on the picture to make the bottom-titlebar disappear [picture2] and then to scroll down to see the bottom of the picture, but it's not very convenient, and there is a sort of blank / empty space on the left and right sides, which is not very esthetic.. [picture3]
Picture1
Picture2
Picture3

other language by default

HI,
Thank you for this useful software.
I would like to search for articles in French by default. I have checked "fr" in the preferences and unchecked "en" for English but inevitably when I search for an article, I get the English article as a response.
What should I do to solve this?
Thanks
Alex

Sepia mode

In addition to the very nice dark mode, it would be nice to have the option of a sepia mode.

Font color: #5b4636
Background color: #f4ecd8

Ability to download article as PDF

I purpose the ability to download an article as PDF, this is not hard to do, wikipedia alredy has this feature and adding it would be just the same process as "Open Wikipedia page in browser". Simple feature that would be very useful.

Screenshots/Examples:
Screenshot from 2021-10-26 17-22-08
https://en.wikipedia.org/w/index.php?title=Special:DownloadAsPdf&page=Alexei_Navalny&action=show-download-screen
Screenshot from 2021-10-26 17-27-37
Screenshot from 2021-10-26 17-43-54
As i tested you can also download it directly without landing in the Download as PDF page with:

https://en.wikipedia.org/api/rest_v1/page/pdf/Patriot_Act
https://en.wikipedia.org/api/rest_v1/page/pdf/Name_Of_Article

Preferences windows doesn't stick to main window

Usually, these smaller pop-out windows (I don't know how to call them) like the preferences window should stick to the main parent window. Wike does this for the About window and the Keyboard Shortcuts window, but not for the preferences window.

Use better icon for the "Change language" button

At first I didn't quite understand what this button did. It's also used in the preferences window's view switcher. But now I've understood it's to change the language of the page. The little flag icon doesn't ring a bell here on what it's about, so maybe replacing it with globe-symbolic would make it clearer, as that's generally the kind of icon websites use for that purpose (and anyway seeing a globe like that seems nearer to a "Language" button than a flag…).

Support displaying articles in chosen language variant

Some languages in Wikipedia can be displayed in multiple scripts. In Serbian, for instance, Wikipedia offers an option to display Serbian articles in Latin or Cyrillic. Likewise for Chinese, which has Traditional (for Hong Kong, Macau, and Taiwan) and Simplified (chiefly Mainland China) scripts. It would be great if we could read articles exclusively in our chosen script for such languages.

P.S. I would have asked if this app could be more than just a Wikipedia reader, since it's built on MediaWiki, but I could wholly bet that will never happen. ✌

Handle Wikipedia URL entry

If you press F2 or Ctrl+K it could handle URLs to Wikipedia articles.

Example if you paste in:

https://en.wikipedia.org/wiki/Linux

or

https://en.m.wikipedia.org/wiki/Linux

Then it knows you want the Linux article.

Add option to download images

Would it be possible to have an item, when you right-click on the images, allow you to save the images to pc without having to go through the browser?

Add some more keyboard shortcuts

F10 to open the menu.
F11 to toggle fullscreen.
Ctrl+? show keyboard shortcuts.
Ctrl+L (in addition to Ctrl+K) for article search. Epiphany, Chrome, Edge, Firefox all support both Ctrl+K and Ctrl+L.

Allow font size greater than 20

It is hard to read on a phone/tablet when the font size is 20. It would be great if the maximum fontsize can be increased beyond 20 (at the moment I am not sure what the upper limit should be. But 30 or 40 may be good on a small screen).

I encountered this issue in an Android phone running Ubuntu in Termux, but the same issue may be present in PinePhone or Librem 5 phone.

Implement type-to-search to search new page

Since the wikipedia pages shown by Wike will almost never have a text input area, it makes sense to provide a type-to-search feature like all GNOME apps. Searching in a page is less often useful than opening a new page I'd say (and it has Ctrl+F even then), so searching for a new page using the headerbar's entry is a reasonable behavior when typing text in the app.

More convenient keyboard shortcut to search for articles

In a laptop, one needs to type fn + f2 to search for articles.
It is quite awkward to quickly type this key pair (it is hard to quickly and accurately reach f2 with one finger, after pressing fn with another finger).

Something like ctrl + shift + f would be more convenient.

data/meson.build:9:0: ERROR: Tried to assign an invalid value to variable

When building without gettext, I get this error:

Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
WARNING: Gettext not found, all translation targets will be ignored.

data/meson.build:9:0: ERROR: Tried to assign an invalid value to variable.

A full log can be found at /builddir/Wike-1.5.4/build/meson-logs/meson-log.txt

Move document outline from hidden transient popover to a sidebar

Since the wikipedia page's own document outline is hidden in Wike, the only place where the outline can be accessed is from the not very visible popover in the headerbar. Since it's implemented as a popover menu, it can't be shown in a tree-like manner, making it a bit more difficult to find a particular information from the (usually) quite general top-level headings. As such, I wonder if the document outline could be moved to a sidebar (on the left?) shown in a tree-like manner for easier access. That would make it nicer to use and more accessible there IMO :)


On a related note, I'd like to thank you for making this very nice app! :) I often read wikipedia pages and this app allows me to have a more native and specialised app for reading Wikipedia, while separating it from the main browser activities (the same as e.g. a wiktionnary or software documentation app provide). I don't know trademark laws, but I wonder if a permission is needed from the Wikimedia Foundation to use the "W" in the logo. The logo already seems to respect the Visual identity guidelines, but its use here isn't explicitely in the YES section of the Trademark Policy, so maybe "getting a regular license" is needed from there? I doubt they would object to its use, but it's likely a good idea to get that sorted out.

changing search language with filled in search term does show new suggestions

When

  1. opening article search field
  2. filling in a complete search term in a language different from the currently selected
  3. selecting the correct language

the language switch does either not repopulate or does not open the suggestion popup. Looking into the source code, I suspect it is the former.

Therefore, it is required to make dummy key presses like entering a space to re-trigger the suggestion popup.

Feature Request - Wikitionary

Is it possible to extend Wikitionary in this application?
If not, is it feasible to make a new wikitionary application from this?

Search in multiple languages

switching between languages are very boring. and somewhere (in live desktop search) is impossible.
It's better to can search in all selected languages.
Thanks!

Croatian translation

Please add the following:

  • Croatian translation from POEditor
  • hr abbreviation to the LINGUA file

Meson tests fail

Log of Meson test suite run on 2021-04-12T18:46:31.340573

Inherited environment: SHELL=/bin/bash COLORTERM=truecolor SUDO_GID=0 TEXTDOMAINDIR=/usr/share/locale SUDO_COMMAND='/bin/bash -c chrootbuild wike fs' SUDO_USER=root PWD=/build/wike/src SOURCE_DATE_EPOCH=1618253190 LOGNAME=builduser CXXFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' XAUTHORITY=/run/user/1000/gdm/Xauthority COMMAND_MODE=legacy LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now HOME=/build LANG=en_US.utf8 CPPFLAGS=-D_FORTIFY_SOURCE=2 MAKEFLAGS=-j17 TERM=xterm-256color USER=builduser DISPLAY=:0 SHLVL=2 LC_ALL=en_US.UTF-8 CHOST=x86_64-pc-linux-gnu PATH=/build/.local/bin:/build/.local/bin:/home/yochanan/bin:/home/yochanan/.local/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' SUDO_UID=0 MAIL=/var/mail/builduser OLDPWD=/build/wike/src TEXTDOMAIN=pacman-scripts _=/usr/bin/meson 

1/3 Validate desktop file   FAIL            0.01s   exit status 1
18:46:31 MALLOC_PERTURB_=218 /usr/bin/desktop-file-validate data/com.github.hugolabe.Wike.desktop
----------------------------------- output -----------------------------------
data/com.github.hugolabe.Wike.desktop: error: value "GNOME;GTK;Internet;" for key "Categories" in group "Desktop Entry" contains an unregistered value "Internet"; values extending the format should start with "X-"
data/com.github.hugolabe.Wike.desktop: hint: value "GNOME;GTK;Internet;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu
------------------------------------------------------------------------------

2/3 Validate schema file    OK              0.00s
18:46:31 MALLOC_PERTURB_=61 /usr/bin/glib-compile-schemas --strict --dry-run /build/wike/src/Wike-1.1.0/data
----------------------------------- output -----------------------------------
------------------------------------------------------------------------------

3/3 Validate appstream file FAIL            0.40s   exit status 1
18:46:31 MALLOC_PERTURB_=70 /usr/bin/appstream-util validate data/com.github.hugolabe.Wike.metainfo.xml
----------------------------------- output -----------------------------------
stdout:
data/com.github.hugolabe.Wike.metainfo.xml: FAILED:
• style-invalid         : <ul> cannot start a description [(null)]
• style-invalid         : Not enough <p> tags for a good description [0/1]
stderr:
Validation of files failed
------------------------------------------------------------------------------


Summary of Failures:

1/3 Validate desktop file   FAIL            0.01s   exit status 1
3/3 Validate appstream file FAIL            0.40s   exit status 1


Ok:                 1   
Expected Fail:      0   
Fail:               2   
Unexpected Pass:    0   
Skipped:            0   
Timeout:            0   

Meson build fails

I get the following build error in Manjaro as well as Ubuntu 20.04.

$ meson builddir --prefix=/usr/local
The Meson build system
Version: 0.59.1
Source dir: /home/archisman/Wike
Build dir: /home/archisman/Wike/builddir
Build type: native build
Project name: wike
Project version: 1.5.7
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/usr/bin/python)
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Program desktop-file-validate found: YES (/usr/bin/desktop-file-validate)
Program appstream-util found: YES (/usr/bin/appstream-util)
Program glib-compile-schemas found: YES (/usr/bin/glib-compile-schemas)
Configuring com.github.hugolabe.Wike.SearchProvider.service using configuration
Configuring wike using configuration
Configuring wike-sp using configuration
Program build-aux/meson/postinstall.py found: YES (/home/archisman/Wike/build-aux/meson/postinstall.py)
Build targets in project: 6

Found ninja-1.10.2 at /usr/bin/ninja
$ sudo ninja -C builddir install                             
ninja: Entering directory `builddir'
[2/4] Generating com.github.hugolabe.Wike.desktop_data_merge with a custom command
FAILED: data/com.github.hugolabe.Wike.desktop 
/usr/bin/meson --internal msgfmthelper ../data/com.github.hugolabe.Wike.desktop.in data/com.github.hugolabe.Wike.desktop desktop ../data/../po
../data/../po/sv.po:432: 'msgid' and 'msgstr' entries do not both begin with '\n'
msgfmt: found 2 fatal errors
[3/4] Generating com.github.hugolabe.Wike.metainfo.xml_data_merge with a custom command
FAILED: data/com.github.hugolabe.Wike.metainfo.xml 
/usr/bin/meson --internal msgfmthelper ../data/com.github.hugolabe.Wike.metainfo.xml.in data/com.github.hugolabe.Wike.metainfo.xml xml ../data/../po
../data/../po/sv.po:432: 'msgid' and 'msgstr' entries do not both begin with '\n'
msgfmt: found 2 fatal errors
ninja: build stopped: subcommand failed.

Cantarell

Nice idea and good feature set!
Wike 1.1.0 from Flathub
I would like a even more native look. That would mean to have Cantarell as font. I see three options here:

  1. Hardcode: Make Cantarell the default font
  2. Use the default document font: gsettings get org.gnome.desktop.interface document-font-name
  3. Allow custom css.

Feature request: enable dark mode when using a dark GTK theme

Thank you for wike! Is a really nice little app that I am enjoying a lot.

I would like to ask for a feature: I would be really nice if wike enabled dark mode when a dark GTK theme is been used.

I have my ubuntu install configured to change to yaru-dark at sunset and many apps and webpages (all of them if using Dark Reader on Firefox) also change to dark mode when the gtk theme is changed. Wike does not and it would be really nice if it did.
It is not a big deal to enable it manually, but it would be a nice quality of life improvement if is easily doable.

Request for support for saving articles offline

Great programme!

One feature that may be a bit complicated to add but I think would make a lot of sense would be to have an offline database of articles as an addition to bookmarking (perhaps an altogether different option to download or perhaps as an option to download a bookmark).

<3

Error when building from AUR on aarch64

It would be really nice to be able to use this app on a linux phone like the pine phone but the AUR build lists this package as not available for aarch64. Coude the aarch64 tag be added to the AUR if it was verified to build correctly?

Feature request: Login + reading lists sync / save

The Wikipedia Android and iOS app has a feature to save wikipedia articles into a (or multiple) reading lists.
Synchronization is also possible, but an account is required for this feature.

Adding this feature would make it possible to read articles later or save important ones and be able to switch between devices when wanting to read an article.

Preferrably this would be implemented with support for not only the default list but for all the reading lists of the user.

There is also a browser extension that has this feature but the Wikipedia website itself does not yet have this, more info here: https://www.mediawiki.org/wiki/Wikimedia_Apps/Reading_list_browser_extension

Also, thanks a lot for making this!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.