mirror of
https://github.com/yusufipk/RepoHub.git
synced 2026-09-11 10:36:07 +00:00
feat: extend /api/sync endpoint to support Arch, Fedora, Winget, and Homebrew package syncing and document API usage.
This commit is contained in:
+10
-5
@@ -12,10 +12,9 @@ NEXTAUTH_SECRET=your_secret_here
|
||||
# API Configuration
|
||||
API_BASE_URL=http://localhost:3000/api
|
||||
|
||||
# Cryptomus API Configuration
|
||||
# Get these from your Cryptomus merchant dashboard: https://cryptomus.com/merchant
|
||||
CRYPTOMUS_MERCHANT_ID=your_merchant_id_here
|
||||
CRYPTOMUS_PAYMENT_API_KEY=your_payment_api_key_here
|
||||
# GitHub Token (for Winget package fetching)
|
||||
# Get token from: https://github.com/settings/tokens
|
||||
GITHUB_TOKEN="github_token_here"
|
||||
|
||||
# Sync Configuration
|
||||
# Enable sync operations only from the server itself (set to 'true' on production server)
|
||||
@@ -28,4 +27,10 @@ SYNC_SECRET_KEY=your_sync_secret_key_here
|
||||
# Prune Configuration
|
||||
# Number of days to wait before pruning packages
|
||||
PRUNE_GRACE_DAYS=7
|
||||
PRUNE_HARD_DELETE_DAYS=1
|
||||
PRUNE_HARD_DELETE_DAYS=1
|
||||
|
||||
# Cryptomus API Configuration
|
||||
# Get these from your Cryptomus merchant dashboard: https://cryptomus.com/merchant
|
||||
CRYPTOMUS_MERCHANT_ID=your_merchant_id_here
|
||||
CRYPTOMUS_PAYMENT_API_KEY=your_payment_api_key_here
|
||||
CRYPTOMUS_ENABLED=false
|
||||
Reference in New Issue
Block a user