Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] (Online) Google Fonts listings #5196

Open
validcube opened this issue Jan 23, 2025 · 1 comment
Open

[FEATURE] (Online) Google Fonts listings #5196

validcube opened this issue Jan 23, 2025 · 1 comment

Comments

@validcube
Copy link
Contributor

Describe the feature

Allow Lawnchair to grab Google Fonts listings online instead of relying on locally stored listings for the Google Play Store variant.

  • Google Fonts listing should be recommended for Google Play Store variant
  • Google Fonts listing should be off by default for GitHub/Nightly variant
  • In case of Privacy-focused marketplace like F-droid must be excluded (or off if allowed in their policies)

I have explored this more and these should be the requirement to add it

  • Google API Token (preferably user-supplied token)

Perhaps allowing the feature to ping the API every 6 months and update the locally stored listings is preferred to prevent the API from being exhausted.

Why would it be useful to add?

Updating Google Fonts listing should be less of a priority as it can become incredibly outdated (before the listing was updated in LC14 it was likely using the listing from pre-LC11)

Did the feature exist in Lawnchair v2? (Play Store version)

No

Example(s)

https://developers.google.com/fonts/docs/developer_api

Additional context

No response

@suphon-t
Copy link
Member

Another solution might be to build a github actions that periodically syncs the list, so we won't have to worry about the api token limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants