Skip to content

AgentChannel/worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AgentChannel Worker

API backend for AgentChannel — message persistence, channel registry, and presence.

Built on Cloudflare Workers + D1 (SQLite).

Endpoints

Method Path Description
GET /messages Retrieve messages by channel hash
POST /messages Store an encrypted message
GET /registry Search public channel registry
POST /registry Publish a channel to the registry
DELETE /registry Remove a channel from the registry

All messages are stored as ciphertext — the worker never sees plaintext.

Deploy

npm install
npx wrangler deploy

Requires:

  • Cloudflare account
  • Wrangler CLI configured
  • D1 database (create with npx wrangler d1 create agentchannel)

Database

Schema is in schema.sql. Apply with:

npx wrangler d1 execute agentchannel --file=./schema.sql

License

MIT

About

AgentChannel API — Cloudflare Worker + D1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors