Skip to main content

Wiki Offline

A fully offline general-knowledge fallback for OVOS - "who was Charlie Chaplin", "what is the Eiffel Tower", "tell me about tomato". An offline alternative to ovos-skill-wikipedia/ovos-skill-ddg/ ovos-skill-wolfie for the topics covered by each language's own Wikipedia "Level 4 Vital Articles" equivalent - the subjects that language's Wikipedia community itself has curated as the most essential encyclopedia entries. No internet connection needed at runtime for the natively-supported languages. English, Spanish, French and Danish are natively supported; any other language works too via on-demand translation - see Language support below.

It is part of Emkay, OpenVoiceOS in the browser, and works on any OpenVoiceOS.

Build PyPI version

Usage

"who was Charlie Chaplin"
"what is the Eiffel Tower"
"tell me about tomato"
"what do you know about photosynthesis"
"where is Mount Everest"
"quién fue Charlie Chaplin"       (Spanish)
"cuéntame sobre el Tomate"        (Spanish)
"qui était Charlie Chaplin"       (French)
"parle-moi de la Tomate"          (French)
"hvem var Charlie Chaplin"        (Danish)
"wer war Charlie Chaplin"         (German, via translation - see below)

What this is (and isn't)

An encyclopedia lookup, not a reasoning engine. It resolves a single named entity from the question and speaks that entity's own short summary. It can answer "what is a tomato" but not "are tomatoes and potatoes related" - the second is a comparison across two entities, and there's no structured data being compared here, only free-text extracts (some relational questions get answered by luck, when one entity's own summary happens to mention the other - not by design). See DEVELOPMENT.md for the reasoning.

Language support

Language How Notes
English (en-us) Native, bundled data ~10,000 topics
Spanish (es-es) Native, bundled data ~6,200 topics - 3 of 11 topic categories are missing from the source list itself, see Known limitations
French (fr-fr) Native, bundled data ~10,000 topics
Danish (da-dk) Native, bundled data ~8,300 topics: the English list's topics that Danish Wikipedia has its own article on, found through Wikipedia's interlanguage links (see below)
Any other language On-demand translation Works automatically, no bundled data - requires a translation plugin to be installed and configured, see below

The natively-supported languages need nothing beyond pip install ovos-skill-wiki-offline - the data ships with the skill. For every other language (German included), this skill translates the question and answer on the fly, using whatever OVOS translation plugin is configured on the device - it doesn't ship or require one itself. Recommended: ovos-translate-plugin-nllb, which runs a local NLLB-200 model (no internet connection needed once the model is downloaded, unlike ovos-translate-plugin-server, which calls a remote server by default). See Install below for the setup steps. Translated answers take a few extra seconds (typically 2-5s) compared to a native-language answer - see DEVELOPMENT.md "Ad-hoc translation for unsupported languages" for measured performance and the full design reasoning.

Danish Wikipedia has no vital-articles list of its own, so data/build_data.py (strategy langlinks) follows the ~10,000 English Level 4 titles through Wikipedia's interlanguage links to Danish Wikipedia's own article on each topic, and fetches its summary. 8,295 of them have one. The answers are natively written Danish, not machine translation, and need no translator at all: Danish works fully offline. German can be built the same way (python3 data/build_data.py de-de).

A Common Query + Fallback skill, not a fixed intent

Every sibling skill in this project family (geography, geometry, convert, calculator) uses fixed Padatious intents as the primary path. This one doesn't - ~10,000 arbitrary proper nouns don't fit a bounded intent-slot vocabulary the way 194 countries or 24 geometry terms do. Instead this skill competes via Common Query (alongside Wikipedia/DDG/Wolfram, when the platform routes a question there) and catches whatever's left via a Fallback handler - the same dual pattern ovos-skill-wolfie already uses. See DEVELOPMENT.md for the full reasoning, including why this needed extending FallbackSkill specifically (not just adding the @fallback_handler decorator to a plain skill).

Data sourcing and licensing

Article titles and summaries both come directly from Wikipedia's own official APIs - the Level 4 Vital Articles category structure for the title list, and the REST summary API for the short spoken extracts. Wikipedia content is CC BY-SA 4.0; this skill bundles it offline the same way ovos-skill-wikipedia reads it aloud live. Full attribution and licensing details, plus why Level 4 was chosen over Kiwix/ZIM, DBpedia, or Wikipedia's own larger vital-article levels: CREDITS.md and DEVELOPMENT.md.

Known limitations

  • Non-native languages need a translation plugin configured - see Language support and Install.
  • The Spanish dataset is smaller (~6,200 topics vs ~10,000 for English/French) - 3 of Spanish Wikipedia's own 11 topic categories (biology/health, physics, social sciences) don't actually exist as pages despite the source list claiming full completion. See DEVELOPMENT.md "The Spanish gap" for the full story - this means Spanish can't currently answer biology, physics, or social-science questions.
  • Single-entity lookup, not relational reasoning - see above and DEVELOPMENT.md.
  • A snapshot, not a live mirror - each data/summaries_<lang>.json reflects Wikipedia as of whenever data/build_data.py was last run for that language, not the current live article.
  • Scope is Level 4 (~10,000 topics for en-us/fr-fr) - Level 5 (50,000 articles) exists as a natural future extension (Level 4 is a strict subset), not built in v1.

On a screen

On a device with a screen (Emkay, a Mark II, any OVOS GUI) the answer is shown as text under the article's title, so it can be read along, and the screen is released after a minute. Answers translated on the fly show the text alone. There are no pictures: nothing is bundled or fetched for the screen, so the skill works offline exactly as before.

Install

pip install ovos-skill-wiki-offline

That's enough for English, Spanish, and French. For any other language (German, Danish, or anything else), also install and configure a translation plugin - see Language support above for why this skill doesn't bundle one itself. Recommended, fully-local option:

pip install ovos-translate-plugin-nllb

Then add this to ~/.config/mycroft/mycroft.conf (or wherever your OVOS config lives):

{
  "language": {
    "translation_module": "ovos-translate-plugin-nllb",
    "ovos-translate-plugin-nllb": {
      "model": "nllb-200_600M_int8"
    }
  }
}

Restart ovos-core after installing/configuring. The model (~600MB) downloads automatically on first use and takes roughly 40 seconds to load the first time a translated answer is requested after each restart - after that it stays loaded for the rest of the session. Full plugin details, other model size options, and GPU configuration: ovos-translate-plugin-nllb on GitHub.

Any OTHER OVOS translation plugin works too, as long as language.translation_module points to it - this skill uses whatever's configured, generically, not specifically NLLB.

Development

See DEVELOPMENT.md.

Category

Information

Tags

#wikipedia #offline #encyclopedia #reference #commonquery #fallback

Metadata

Release files for ovos-skill-wiki-offline 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ovos-skill-wiki-offline 0.2.1
File Size Uploaded Provenance Actions
ovos_skill_wiki_offline-0.2.1.tar.gz 6.2 MB With provenance Details for ovos_skill_wiki_offline-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ovos-skill-wiki-offline 0.2.1
File Interpreter ABI Platform Actions
ovos_skill_wiki_offline-0.2.1-py3-none-any.whl Python 3 none any Details for ovos_skill_wiki_offline-0.2.1-py3-none-any.whl

Total release size: 12.4 MB

Release files / ovos_skill_wiki_offline-0.2.1.tar.gz

Download URL ovos_skill_wiki_offline-0.2.1.tar.gz
Size 6.2 MB
Tags Source
SHA-256 checksum
How to use checksums
d71d9fed8cb87ad2531a0f49e616182be687132faa2ea01a2801092c6fd59abe
BLAKE2b-256 checksum
How to use checksums
f0431d020964cda0b456ef32219b6c5b2f3f385904c324d58fe41e25fe8ab06b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / ovos_skill_wiki_offline-0.2.1-py3-none-any.whl

Download URL ovos_skill_wiki_offline-0.2.1-py3-none-any.whl
Size 6.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
0a7a2d6e9c900c74b4915f998683c0524c423595e28ae7f025552a4bba4001bb
BLAKE2b-256 checksum
How to use checksums
91be7e9f67a6046290bcee6979806fe44d0ee9104dddc3d0f54c0a395723c88a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Security for ovos-skill-wiki-offline 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ovos_skill_wiki_offline-0.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page