forked from omer-faruq/appstore.koplugin
-
Notifications
You must be signed in to change notification settings - Fork 2
2. Configuration
Jimmy Pautz edited this page Jul 20, 2026
·
4 revisions
If you routinely browse many repositories or hit rate-limit warnings, supply a PAT in plugins/storefront.koplugin/storefront_config.lua:
return {
auth = {
github = {
type = "github",
token = "ghp_your_token_here",
},
},
}Use a classic token, not a fine-grained one. GitHub's search API (which this plugin relies on to discover plugins/patches) does not support fine-grained personal access tokens at all — requests with one will fail regardless of the permissions you grant it. Classic tokens work correctly.
- Sign in at github.com and open Settings → Developer settings → Personal access tokens → Tokens (classic). You can follow this link.
- Click Generate new token (classic).
- Name the token (e.g.,
KOReader Storefront), set an expiration, and grant at least thepublic_reposcope. - Generate and copy the token immediately—GitHub will not show it again.
- Paste it into
storefront_config.luaand restart KOReader.
The plugin automatically includes the token in GitHub API requests, raising your quota to the standard authenticated limits.