Skip to content

feat: Decentralize Search Query Resolution for IPFS Wikipedia Mirror #2

@akhileshthite

Description

@akhileshthite

Currently, our search functionality depends on the centralized Wikipedia API (https://en.wikipedia.org/w/api.php) to resolve and canonicalize article titles.

Issue:
Centralized Dependency: relying on the centralized API means that if en.wikipedia.org is censored or the API goes down, our search functionality will fail, which contradicts the purpose of hosting a decentralized mirror on IPFS.

Develop and integrate a decentralized search index that works directly on our mirrored Wikipedia snapshot:
https://github.com/eja/wikilite
https://github.com/magik6k/distributed-wiki-search

We do have a fallback function. If the API fails, it will capitalize the first letter of the word in the query (and replace spaces with underscores) to form a valid URL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions