Clone the template
| Endpoint | Purpose |
|---|---|
GET / | Returns service name and description |
GET /contract | Machine-readable contract for ZAM (schema, pricing, examples) |
POST /run | Runs your service logic |
Customize
Opensrc/index.ts and edit the top section:
Develop and test
Deploy
https://<name>.<your-subdomain>.workers.dev.
List on ZAM
Once deployed, auto-import your service by giving ZAM the worker URL. ZAM callsGET /contract, reads the schema and pricing, and creates a listing.
Full template README
Setup options, configuration details, and deployment instructions.