flathub-infra / linux-store-frontend

A web application to browse and install applications present in Flatpak repositories. Powers https://www.flathub.org
Apache License 2.0
187 stars 50 forks source link

About the frontend json api? #292

Closed Zaryob closed 1 year ago

Zaryob commented 3 years ago

I'm planning to create a native application for flathub named fluthub. I'm on preliminary research for flathub.com

I got look at the codes of backend and recognize some of parts date pipe to get all relations for flathub. I got that addresses from backend:

After the create a desktop app with json data, then I gonna try to adapt it to install apps easily via this app. But from the first step i screwed up. Because I connot find json queries for that things:

If I cannot find them all to adapt Discover, I just adapt CATEGORIES, then try to implement desktop app installation as well.

Best regards.

loganmarchione commented 3 years ago

Not ideal, but would these work? I think these lists are updated manually first, then scripts run to update the site.

Popular
https://raw.githubusercontent.com/flathub/linux-store-frontend/master/scripts/update-popular-apps-inputlist

Editor's choice
https://raw.githubusercontent.com/flathub/linux-store-frontend/master/scripts/update-editors-choice-apps-inputlist

Editor's choice games
https://raw.githubusercontent.com/flathub/linux-store-frontend/master/scripts/update-editors-choice-games-inputlist