Boxes: your code from GitHub, run on volunteers' devices when a request arrives. Nothing is stored.
Loading…
Sign in to use mPAKT Compute.
Sign in — accounts are by invitation from the owner.
Each step is checked off by actually doing it, and pays XP and credits.
A box is a GitHub repository (public, or private once you connect GitHub below) plus a memory range and a CPU filter. It gets an address under . When someone opens that address, the grid picks a volunteer's device, sends it the request, and relays the answer. Between requests nothing runs.
What it runs is decided by what is in the repository:
index.html static site — served straight from memory
worker.js / index.js JavaScript: export default { async fetch(request, env) { return new Response("hi") } }
main.py / app.py Python: def handler(request): return "hi" (or a WSGI app, e.g. Flask)
Dockerfile a container listening on port 8080 (installed Docker volunteers, or a Linux VM in a browser)
mpakt.json optional: {"runtime","entry","root","port","image","spa"}
Nothing is stored. Code is pulled from GitHub into memory when it is needed. A box has no disk that survives a request. To keep anything, talk to a database over HTTP.
No internet by default. A box cannot reach the network until you turn its internet on, and then everything it sends leaves through Tor — slower, and some sites refuse Tor. In JavaScript use fetch; in Python await mpakt.fetch(url) from an async def handler.
Volunteers see what they run. The code, each request and each response pass through someone else's device. Do not put secrets in a box you would not show a stranger.
Memory and CPUs. The minimum is what a volunteer must have free to be chosen; the preferred amount is what you get, and pay for, when it is there. "web" is a browser tab — cheap and everywhere; x86_64 and arm64 are installed volunteers — fewer, twice the price, and much faster at containers (browsers run them in a Linux virtual machine, with a cold start of tens of seconds).
Public repositories need nothing. Connect your GitHub account to run private ones.
On GitHub: Settings → Developer settings → Fine-grained tokens. Pick only the repositories you want to run, and give it Contents: Read-only — nothing else. It is checked with GitHub, then stored encrypted; it is never sent to volunteers or shown again.
A private repository's code is pulled by the server with a short-lived read-only token and handed to the volunteers that run your box — never a GitHub link or token. Like any box, volunteers' devices do see the code they run, so keep secrets in your database or external services, not in the repository.
No boxes yet.
1,000 credits = US$1. You are charged per request and per second of memory actually used:
You pay on Stripe's page; the credits arrive within a few seconds of paying. Refunds take the credits back.
| When | Credits | Paid |
|---|
Everything here is also an API under /api/compute/v0 — see /llms.txt.