Documentation
README
PinMe Worker R2 Storage
Use the project-scoped R2 bucket that PinMe binds to every deployed Worker as env.R2. Do not create credentials, choose a bucket name, or edit generated Wrangler configuration.
Runtime Contract
PinMe rebuilds trusted Worker metadata on create, save, and update. Client metadata cannot replace the R2 binding.
| Binding | TypeScript type | Availability |
|---|---|---|
DB |
D1Database |
Always injected |
R2 |
R2Bucket |
Always injected; current project's bucket |
API_KEY |
string |
Always injected |
LLM_API_KEY |
string |
Always injected |
BASE_URL |
string |
Always injected |
WORKER_URL |
string |
Always injected |
PROJECT_NAME |
string |
Always injected |
This is the opening of the README. Read the full README on GitHub.