You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Token-based storage quota: hold tokens, get storage #185
Pod tokens as storage quota. Instead of (or in addition to) admin-assigned byte limits, users hold pod tokens that grant storage capacity. More tokens = more storage.
How it works
Token balance = quota — e.g. 1 PODS token = 1 MB of storage
Webledger tracks balance — existing infrastructure, no new deps
Quota check on PUT — before writing, check user's token balance vs current usage
Automatic or manual — pod owner configures rate (tokens per MB)
Top up anytime — buy more tokens via /pay/.buy, deposit via /pay/.deposit
Withdraw unused — /pay/.withdraw converts unused quota back to portable tokens
Integration with existing quota system
JSS already has --default-quota (bytes per pod). Token quota would be an alternative mode:
Activity