accrescent / meta

Umbrella Accrescent issue tracker
6 stars 1 forks source link

Add searchable app index to website #11

Open lberrymage opened 2 years ago

lberrymage commented 2 years ago

Users who don't have Accrescent installed may decide whether to install it based on what apps it contains, so it's important to make that information easily available to users who don't already have Accrescent installed.

The index could be generated periodically via a cron job or similar in the initial implementation, but it would be possible to have the developer portal trigger a reindex every time the repository is updated.

deckerst commented 1 year ago

I was looking for a way to fetch the currently available version of apps on Accrescent and I didn't see any API for this. I considered scraping an app listing, but I couldn't find that either.

Is there a plan for an API, or only details via the site?

lberrymage commented 1 year ago

I've considered creating an API, but I'm not completely sold on it yet. For now, you can fetch the app index at https://store.accrescent.app/repodata.0.json. Per-app details can be found at https://store.accrescent.app/apps/{app_id}/repodata.json. This is what the client uses.