cosmic-store icon indicating copy to clipboard operation
cosmic-store copied to clipboard

Is there any query string param to open the store and show the results of a query?

Open jefer94 opened this issue 6 months ago • 0 comments

Related to https://github.com/pop-os/cosmic-epoch/issues/1867

The reason for asking for a querystring is to build a package that works as a proxy to the store, and implement and install a button agnostic to the store without requiring a database

Suggested params:

  • exact: true values 1, y, yes, YES, true, TRUE, if true, q is provided, and an app has 100% match insensitive, open the description of the app
  • q: search term
  • id: exact app ID to be installed
  • provider: one of snap, flatpak, or repo
  • repos: URL encoded to a file for additional repos

repos.yml

  • Choose a friendly config format
  • The vendor should configure the base distribution (POP!_OS based on Ubuntu, so install the package for POP!_OS, and if these repos aren't provided, install packages for Ubuntu)
  • The vendor should provide the mandatory params, for example, Ubuntu should require $ARCH and $VERSION_CODENAME
  • This standardized configuration file should be distributed in a public repository owned by the app provider to allow the distro maintainers to add support to their distros

Agreements

The base distros should use this as marketing related to users shouldn't run any command to install a package if they find a tutorial or the official website, the app provider doesn't require specifying the distro version, only to have a package as a proxy that follows the standard

Share button

The store should build this install link

jefer94 avatar May 20 '25 00:05 jefer94