Initial toot-worker implementation

This commit is contained in:
浪子
2026-05-14 09:59:58 +08:00
commit 01880d39a0
19 changed files with 4952 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
{
"name": "toot-worker",
"main": "src/index.ts",
"compatibility_date": "2026-05-13",
"vars": {
"PUBLIC_BASE_URL": "https://social.example.com",
"INSTANCE_NAME": "Toot Worker",
"ADMIN_USERNAME": "admin",
"ADMIN_PASSWORD": "change-me-before-deploy"
},
"d1_databases": [
{
"binding": "DB",
"database_name": "toot_db",
"database_id": "00000000-0000-0000-0000-000000000000"
}
],
"r2_buckets": [
{
"binding": "MEDIA",
"bucket_name": "toot-media"
}
],
"kv_namespaces": [
{
"binding": "KV",
"id": "00000000000000000000000000000000"
}
]
}