clone

nostr relays on demand at <name>.bind.ws: claim one with your key, pay in zaps past the free allowance

dependabot/github_actions/actions-9b61906d8b
bindws / src / gen / templates.ts
templates.ts 11.8K
1// Generated by scripts/build/build-templates.mjs from relay-templates/. Do not edit; run npm run build:templates.2export const TEMPLATES: { name: string; document: unknown }[] = [3 {4 "name": "default",5 "document": {6 "format": "bind.ws/relay-config/2",7 "template": {8 "title": "Default",9 "about": "Anyone writes, anyone reads, every kind, kept forever. Feature settings stay as they are."10 },11 "policy": {12 "writes": "open",13 "reads": "open",14 "directoryPublic": true15 },16 "kinds": {17 "allow": [],18 "block": []19 },20 "retention": []21 }22 },23 {24 "name": "outbox",25 "document": {26 "format": "bind.ws/relay-config/2",27 "template": {28 "title": "Outbox",29 "about": "Only you write, anyone reads. Your public notes and articles, kept forever. Private kinds are refused."30 },31 "policy": {32 "writes": "owner",33 "reads": "open",34 "directoryPublic": true35 },36 "kinds": {37 "allow": [],38 "block": [39 4,40 105941 ]42 },43 "retention": [],44 "connections": [45 {46 "template": "notes",47 "visibility": "public"48 },49 {50 "template": "find-me",51 "visibility": "public"52 },53 {54 "template": "blog",55 "visibility": "public"56 }57 ]58 }59 },60 {61 "name": "inbox",62 "document": {63 "format": "bind.ws/relay-config/2",64 "template": {65 "title": "Inbox",66 "about": "Anyone writes notes, replies, reactions and zaps meant for you; anyone reads. Everything is kept 90 days."67 },68 "policy": {69 "writes": "open",70 "reads": "open",71 "directoryPublic": true72 },73 "kinds": {74 "allow": [75 0,76 1,77 6,78 7,79 16,80 1111,81 1984,82 9735,83 980284 ],85 "block": []86 },87 "retention": [88 {89 "kind": null,90 "days": 9091 }92 ],93 "connections": [94 {95 "template": "find-me",96 "visibility": "public"97 },98 {99 "template": "notes",100 "visibility": "public"101 }102 ]103 }104 },105 {106 "name": "private",107 "document": {108 "format": "bind.ws/relay-config/2",109 "template": {110 "title": "Private",111 "about": "Only you write, only members read. Drafts, wallets and app data, every kind, kept forever."112 },113 "policy": {114 "writes": "owner",115 "reads": "members",116 "directoryPublic": false117 },118 "kinds": {119 "allow": [],120 "block": []121 },122 "retention": []123 }124 },125 {126 "name": "chat",127 "document": {128 "format": "bind.ws/relay-config/2",129 "template": {130 "title": "Chat",131 "about": "Members write, members read. Private messages and the group's chat, kept forever. The directory is hidden."132 },133 "policy": {134 "writes": "allowlist",135 "reads": "members",136 "directoryPublic": false137 },138 "kinds": {139 "allow": [140 0,141 7,142 9,143 11,144 1059,145 1111146 ],147 "block": []148 },149 "retention": [],150 "connections": [151 {152 "template": "group",153 "visibility": "public"154 }155 ]156 }157 },158 {159 "name": "media",160 "document": {161 "format": "bind.ws/relay-config/2",162 "template": {163 "title": "Media",164 "about": "A media host. Members upload files; the only events accepted are profiles and Blossom server lists. Anyone reads."165 },166 "policy": {167 "writes": "allowlist",168 "reads": "open",169 "directoryPublic": true170 },171 "kinds": {172 "allow": [173 0,174 10063175 ],176 "block": []177 },178 "retention": [],179 "connections": [180 {181 "template": "files",182 "visibility": "members"183 },184 {185 "template": "photos",186 "visibility": "owner"187 }188 ]189 }190 },191 {192 "name": "search",193 "document": {194 "format": "bind.ws/relay-config/2",195 "template": {196 "title": "Search replica",197 "about": "A read-only copy of another relay's notes, threads, comments, highlights, articles and wiki pages, refreshed every six hours. Anyone reads.",198 "source": "required",199 "every": 6200 },201 "policy": {202 "writes": "owner",203 "reads": "open",204 "directoryPublic": true205 },206 "kinds": {207 "allow": [208 0,209 1,210 11,211 1111,212 9802,213 30023,214 30818215 ],216 "block": []217 },218 "retention": [],219 "connections": [220 {221 "template": "notes",222 "visibility": "public"223 }224 ]225 }226 },227 {228 "name": "articles",229 "document": {230 "format": "bind.ws/relay-config/2",231 "template": {232 "title": "Articles",233 "about": "Long-form articles and the profiles behind them, nothing else. Only you write, anyone reads. Give a source relay to mirror its articles daily.",234 "source": "optional",235 "every": 24236 },237 "policy": {238 "writes": "owner",239 "reads": "open",240 "directoryPublic": true241 },242 "kinds": {243 "allow": [244 0,245 30023246 ],247 "block": []248 },249 "retention": [],250 "connections": [251 {252 "template": "blog",253 "visibility": "public"254 },255 {256 "template": "notes",257 "visibility": "public"258 }259 ]260 }261 },262 {263 "name": "dm",264 "document": {265 "format": "bind.ws/relay-config/2",266 "template": {267 "title": "DM inbox",268 "about": "An inbox for private messages. Anyone drops gift wraps, only members read them. Nothing else is accepted."269 },270 "policy": {271 "writes": "open",272 "reads": "members",273 "directoryPublic": false274 },275 "kinds": {276 "allow": [277 0,278 1059279 ],280 "block": []281 },282 "retention": [],283 "connections": [284 {285 "template": "dm",286 "visibility": "public"287 }288 ]289 }290 },291 {292 "name": "quiet",293 "document": {294 "format": "bind.ws/relay-config/2",295 "template": {296 "title": "Quiet",297 "about": "A small private relay with nothing that costs or announces. Members write and read; search, sync, counts, the discovery record, names, files, pages, signer traffic, sites, Marmot and Git hosting are off."298 },299 "policy": {300 "writes": "allowlist",301 "reads": "members",302 "directoryPublic": false,303 "features": {304 "search": "off",305 "sync": false,306 "count": false,307 "discovery": false,308 "names": false,309 "files": false,310 "pages": false,311 "signer": false,312 "sites": false,313 "marmot": false,314 "grasp": false315 }316 },317 "kinds": {318 "allow": [],319 "block": []320 },321 "retention": [],322 "connections": []323 }324 },325 {326 "name": "site",327 "document": {328 "format": "bind.ws/relay-config/2",329 "template": {330 "title": "Sites",331 "about": "A static website host. Members publish NIP-5A manifests and files; the relay mirrors missing files into its own Blossom store."332 },333 "policy": {334 "writes": "allowlist",335 "reads": "open",336 "directoryPublic": true,337 "features": {338 "files": true,339 "sites": {340 "enabled": true,341 "mirror": true342 }343 }344 },345 "kinds": {346 "allow": [],347 "block": []348 },349 "retention": [],350 "connections": [351 {352 "template": "sites",353 "visibility": "public"354 },355 {356 "template": "notes",357 "visibility": "public"358 }359 ]360 }361 },362 {363 "name": "marmot",364 "document": {365 "format": "bind.ws/relay-config/2",366 "template": {367 "title": "Marmot",368 "about": "Public Marmot transport. Anyone publishes KeyPackages and opaque group messages; gift wraps keep their recipient checks. Relay write limits still apply."369 },370 "policy": {371 "writes": "open",372 "reads": "open",373 "directoryPublic": true,374 "features": {375 "marmot": true376 }377 },378 "kinds": {379 "allow": [380 10002,381 10050,382 1059,383 30443,384 445385 ],386 "block": []387 },388 "retention": [],389 "connections": [390 {391 "template": "marmot",392 "visibility": "public"393 }394 ]395 }396 },397 {398 "name": "grasp",399 "document": {400 "format": "bind.ws/relay-config/2",401 "template": {402 "title": "Git repositories",403 "about": "A GRASP Git host. Admitted members publish repository state and related events; the owner's fuel pays for storage."404 },405 "policy": {406 "writes": "allowlist",407 "reads": "open",408 "directoryPublic": true,409 "features": {410 "grasp": true411 }412 },413 "kinds": {414 "allow": [],415 "block": []416 },417 "retention": [],418 "connections": [419 {420 "template": "repos",421 "visibility": "public"422 },423 {424 "template": "notes",425 "visibility": "public"426 }427 ]428 }429 },430 {431 "name": "marmot-members",432 "document": {433 "format": "bind.ws/relay-config/2",434 "template": {435 "title": "Marmot members",436 "about": "Members publish Marmot KeyPackages and authenticate group message writes. Encrypted transport stays publicly readable; member limits apply and gift wraps keep their recipient checks."437 },438 "policy": {439 "writes": "allowlist",440 "reads": "open",441 "directoryPublic": true,442 "features": {443 "marmot": true444 }445 },446 "kinds": {447 "allow": [448 10002,449 10050,450 1059,451 30443,452 445453 ],454 "block": []455 },456 "retention": [],457 "connections": [458 {459 "template": "marmot",460 "visibility": "members"461 }462 ]463 }464 },465 {466 "name": "home",467 "document": {468 "format": "bind.ws/relay-config/2",469 "template": {470 "title": "Home",471 "about": "Your relay as your home on nostr. Members write, anyone reads; sites, files and Git hosting on, with notes, blog, bookmarks, sites, repos and a photo library shortcut only you see."472 },473 "policy": {474 "writes": "allowlist",475 "reads": "open",476 "directoryPublic": true,477 "features": {478 "files": true,479 "sites": {480 "enabled": true,481 "mirror": true482 },483 "grasp": true484 }485 },486 "kinds": {487 "allow": [],488 "block": []489 },490 "retention": [],491 "connections": [492 {493 "template": "notes",494 "visibility": "public"495 },496 {497 "template": "blog",498 "visibility": "public"499 },500 {501 "template": "bookmarks",502 "visibility": "auth"503 },504 {505 "template": "sites",506 "visibility": "public"507 },508 {509 "template": "repos",510 "visibility": "public"511 },512 {513 "template": "photos",514 "visibility": "owner"515 },516 {517 "template": "find-me",518 "visibility": "public"519 },520 {521 "template": "group",522 "visibility": "public"523 }524 ]525 }526 }527];