This repository contains the Indexer used to build and maintain the Scoop applications index used by https://scoopinstaller.github.io/
The indexer runs every 2 hours and search for buckets across the whole GitHub site + some additional inclusions/exclusions.
- Install .NET 8.0 SDK
- Create an Azure Search service
- Retrieve the name (in Properties) and use it for
ServiceUrl
- Retrieve the primary admin key (in Keys) and use it for
AdminApiKey
- Retrieve the name (in Properties) and use it for
- Create a GitHub access token without any scope and use it for
Token
- Create a file
src/ScoopSearch.Indexer.Console/appsettings.Production.json
with the following content
{
"AzureSearch": {
"ServiceUrl": "https://[SERVICENAME].search.windows.net",
"AdminApiKey": "[ADMINAPIKEY]",
"IndexName": "[INDEXNAME]"
},
"GitHub": {
"Token": "[GITHUBTOKEN]"
}
}
- Alternatively, you can declare environment variables
AzureSearch__ServiceUrl = "https://[SERVICENAME].search.windows.net"
AzureSearch__AdminApiKey = "[ADMINAPIKEY]"
AzureSearch__IndexName: "[INDEXNAME]"
GitHub__Token = "[GITHUBTOKEN]"