Skip to content

Package search #1

@matteodelabre

Description

@matteodelabre

In its current form, our package listing page (live here: https://toltec-dev.org/stable, https://toltec-dev.org/testing, generated from this template) isn’t well suited to users looking for a specific package. Using Ctrl-F on that page will only match packages on their name and description, but another common use case is to be looking for a specific file without knowing the name of the package that provides it (perhaps most commonly, the name of a provided binary/script).

Proposal: Using an offline-generated index, provide an listing page on which one can search for packages based on the following criteria: name, description, and provided files. This search interface could include packages from Entware (thereby solving #2).

This new listing page could combine both https://toltec-dev.org/stable and https://toltec-dev.org/testing, with stable shown by default and a switch to select which branch to show.

To the extent possible, I’d rather make this search work client-side to avoid increasing the server load and operating costs. If the index is not too big, we can make the client download it and then query it in the browser. If the index is too large, we may consider using https://github.com/phiresky/sql.js-httpvfs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions