Initial commit

This commit is contained in:
2025-07-10 21:59:56 -04:00
commit 4dec00d283
35 changed files with 10272 additions and 0 deletions

72
config-examples.md Normal file
View File

@@ -0,0 +1,72 @@
# Configuration Examples
## Default Cache (5 minutes)
```json
{
"github": {
"token": "ghp_your_github_token_here",
"repositories": [
{
"owner": "facebook",
"name": "react"
}
]
},
"server": {
"port": 3001,
"host": "0.0.0.0"
}
}
```
## Short Cache (1 minute)
```json
{
"github": {
"token": "ghp_your_github_token_here",
"repositories": [
{
"owner": "facebook",
"name": "react"
}
]
},
"server": {
"port": 3001,
"host": "0.0.0.0"
},
"cache": {
"timeoutMinutes": 1
}
}
```
## Long Cache (15 minutes)
```json
{
"github": {
"token": "ghp_your_github_token_here",
"repositories": [
{
"owner": "facebook",
"name": "react"
}
]
},
"server": {
"port": 3001,
"host": "0.0.0.0"
},
"cache": {
"timeoutMinutes": 15
}
}
```
## Cache Configuration Notes
- **timeoutMinutes**: Sets how long API responses are cached (in minutes)
- **Default**: 5 minutes if not specified
- **Range**: Any positive number (1 minute minimum recommended)
- **Live Reload**: Changes to cache timeout require server restart to take effect
- **Memory Usage**: Longer cache times = more memory usage but fewer API calls