johnfactotum / quick-lookup

Simple GTK dictionary application powered by Wiktionary
GNU General Public License v3.0
94 stars 8 forks source link
dictionary gjs gtk wiktionary

Quick Lookup

Quick Lookup is a simple GTK dictionary application powered by Wiktionary™.

Screenshot

Features

Installation

Dependencies:

To install, run meson builddir && sudo meson install -C builddir

To uninstall, run sudo meson uninstall -C builddir

An AUR package is available for Arch Linux and derivatives.

Run without installing

gjs quick-lookup.js

Flatpak

Download on Flathub

Building Flatpaks manually

Using Gnome Builder

Open Gnome Builder, choose "Clone Repository…", and follow the instructions. After cloning the project, hit Ctrl+F5 to build and run.

Using flatpak-builder
flatpak-builder --force-clean --install --user build com.github.johnfactotum.QuickLookup.json

FAQ

Why does it only support English Wiktionary?

This app only supports the English version of Wiktionary. This means that you can lookup all words of all languages and find their definitions and descriptions in English.

This is because Wiktionary's definition API is currently only available for English. Explanation from MediaWiki:

Wiktionary content is unstructured, and presenting a concise set of definitions requires parsing them from the page HTML. English Wiktionary has an entry layout guide which assisted in this for the current English-only implementation.

Why is WebKit a dependency?

Because I'm lazy and I used the DOM APIs provided by WebKit to manipulate HTML markups.

Will you add support for other online/offline dictionaries?

Probably not, because I'm lazy.


Wiktionary is a trademark of the Wikimedia Foundation. This program is not endorsed by or affiliated with the Wikimedia Foundation.