Compare commits

..
5 Commits
7 changed files with 9 additions and 661 deletions

No files matched your search

+7 -1
View File
@@ -12,6 +12,10 @@ on:
content:
description: the note to post
required: true
room:
description: optional room (not | slightly | very); posts a kind-9 chat message with an h tag
required: false
default: ''
jobs:
post:
runs-on: ubuntu-latest
@@ -23,6 +27,7 @@ jobs:
K_WK: ${{ secrets.WK_NSEC }}
WHICH: ${{ inputs.key }}
CONTENT: ${{ inputs.content }}
ROOM: ${{ inputs.room }}
RELAY: wss://relay.well-known.online
PUBLIC: wss://relay.damus.io,wss://nos.lol,wss://relay.primal.net
run: |
@@ -77,7 +82,8 @@ jobs:
console.log('auth:', ok, msg || '');
if (!ok) process.exit(1);
if (profile) { const [pok, pmsg] = await send(profile); console.log('profile:', pok, pmsg || ''); }
const note = sign({ kind: 1, content: process.env.CONTENT });
const room = (process.env.ROOM || '').trim();
const note = room ? sign({ kind: 9, content: process.env.CONTENT, tags: [['h', room]] }) : sign({ kind: 1, content: process.env.CONTENT });
const [nok, nmsg] = await send(note);
console.log('note:', nok, nmsg || '', note.id);
ws.close();
-1
View File
@@ -1 +0,0 @@
["madrid","closed","wardrobe","purple","thursday","grain of sand","monday","berlin","pink","paris","66","lisbon","yellow","train","77","orange","tokyo","8","priya","78","black","240","24","48","defeat","whale","owl","ant","8872","120","horse","quiet","trumpet","108","480","sunday","empty","short","bangkok","3764","sunday","vienna","friday","asleep","warsaw","96","15","25","buenos aires","16","65","green","tuesday","purple","blue","yellow","76","48","modern","slow","49","late","friday","30","1861","28","60","420","480","coin","saoirse","oslo","cairo","oren","42","nairobi","4031","airplane","violin","havana"]
-328
View File
@@ -1,328 +0,0 @@
{
"pubkey": "6f124e7ead9ca4283de2a15f93862ab3583b126cf1f150d87cbdb08045f104f2",
"deadline": "2026-10-29T20:43:46.321Z",
"need": 72,
"count": 80,
"items": [
{
"id": "q53",
"q": "What is the capital of Spain?"
},
{
"id": "q71",
"q": "Give the opposite of \"open\" in one word."
},
{
"id": "q2",
"q": "Which of these is a piece of furniture: horse, wardrobe, drum, tractor?"
},
{
"id": "q6",
"q": "Every temtix is purple. Hana is a temtix. What colour is Hana?"
},
{
"id": "q47",
"q": "What day comes next: Monday, Tuesday, Wednesday, …?"
},
{
"id": "q3",
"q": "Which is the smallest: football, car, grain of sand, apple?"
},
{
"id": "q11",
"q": "What day comes next: Tuesday, Thursday, Saturday, …?"
},
{
"id": "q54",
"q": "What is the capital of Germany?"
},
{
"id": "q25",
"q": "Every tixgrim is pink. Ilse is a tixgrim. What colour is Ilse?"
},
{
"id": "q68",
"q": "What is the capital of France?"
},
{
"id": "q7",
"q": "What is sixty-six plus nine minus nine? Answer in digits."
},
{
"id": "q62",
"q": "What is the capital of Portugal?"
},
{
"id": "q14",
"q": "Every kelquaf is yellow. Esme is a kelquaf. What colour is Esme?"
},
{
"id": "q74",
"q": "Which of these is a vehicle: train, rabbit, table, pineapple?"
},
{
"id": "q35",
"q": "What is eleven times seven? Answer in digits."
},
{
"id": "q46",
"q": "Every plozor is orange. Rafa is a plozor. What colour is Rafa?"
},
{
"id": "q23",
"q": "What is the capital of Japan?"
},
{
"id": "q63",
"q": "What is two times four? Answer in digits."
},
{
"id": "q1",
"q": "Niko gave the orange teapot to Priya on Thursday. Who received it?"
},
{
"id": "q75",
"q": "What is sixty-five plus thirty-nine minus twenty-six? Answer in digits."
},
{
"id": "q72",
"q": "Every mupquaf is black. Kwame is a mupquaf. What colour is Kwame?"
},
{
"id": "q21",
"q": "How many seconds are in four minutes?"
},
{
"id": "q69",
"q": "What is eight times three? Answer in digits."
},
{
"id": "q18",
"q": "What is sixty-three plus thirteen minus twenty-eight? Answer in digits."
},
{
"id": "q66",
"q": "Give the opposite of \"victory\" in one word."
},
{
"id": "q20",
"q": "Which is the largest: ant, elephant, whale, cat?"
},
{
"id": "q17",
"q": "Which of these is a animal: mango, trumpet, drill, owl?"
},
{
"id": "q79",
"q": "Which is the smallest: cat, dog, ant, elephant?"
},
{
"id": "q61",
"q": "Write \"eight thousand eight hundred and seventy-two\" in digits."
},
{
"id": "q80",
"q": "How many seconds are in two minutes?"
},
{
"id": "q59",
"q": "Which of these is a animal: horse, axe, skirt, peach?"
},
{
"id": "q49",
"q": "Give the opposite of \"noisy\" in one word."
},
{
"id": "q65",
"q": "Which of these is a musical instrument: tiger, stool, glove, trumpet?"
},
{
"id": "q55",
"q": "How many months are in nine years?"
},
{
"id": "q70",
"q": "How many minutes are in eight hours?"
},
{
"id": "q36",
"q": "What day comes next: Thursday, Friday, Saturday, …?"
},
{
"id": "q12",
"q": "Give the opposite of \"full\" in one word."
},
{
"id": "q22",
"q": "Give the opposite of \"tall\" in one word."
},
{
"id": "q31",
"q": "What is the capital of Thailand?"
},
{
"id": "q32",
"q": "Write \"three thousand seven hundred and sixty-four\" in digits."
},
{
"id": "q77",
"q": "What day comes next: Monday, Wednesday, Friday, …?"
},
{
"id": "q34",
"q": "What is the capital of Austria?"
},
{
"id": "q76",
"q": "What day comes next: Tuesday, Wednesday, Thursday, …?"
},
{
"id": "q27",
"q": "Give the opposite of \"awake\" in one word."
},
{
"id": "q28",
"q": "What is the capital of Poland?"
},
{
"id": "q67",
"q": "How many hours are in four days?"
},
{
"id": "q78",
"q": "What is five times three? Answer in digits."
},
{
"id": "q8",
"q": "What is five times five? Answer in digits."
},
{
"id": "q52",
"q": "What is the capital of Argentina?"
},
{
"id": "q73",
"q": "What is eight times two? Answer in digits."
},
{
"id": "q16",
"q": "What is forty-seven plus forty-three minus twenty-five? Answer in digits."
},
{
"id": "q42",
"q": "Every drobmup is green. Esme is a drobmup. What colour is Esme?"
},
{
"id": "q41",
"q": "What day comes next: Saturday, Sunday, Monday, …?"
},
{
"id": "q24",
"q": "Dario gave the purple umbrella to Rafa on Wednesday. What colour was it?"
},
{
"id": "q51",
"q": "On Tuesday, Noor gave Dario the blue candle. What colour was it?"
},
{
"id": "q60",
"q": "Tariq gave the yellow basket to Teo on Sunday. What colour was it?"
},
{
"id": "q39",
"q": "What is forty plus forty-four minus eight? Answer in digits."
},
{
"id": "q37",
"q": "How many hours are in two days?"
},
{
"id": "q56",
"q": "Give the opposite of \"ancient\" in one word."
},
{
"id": "q5",
"q": "Give the opposite of \"fast\" in one word."
},
{
"id": "q40",
"q": "What is forty-one plus thirty-four minus twenty-six? Answer in digits."
},
{
"id": "q48",
"q": "Give the opposite of \"early\" in one word."
},
{
"id": "q43",
"q": "What day comes next: Saturday, Monday, Wednesday, …?"
},
{
"id": "q15",
"q": "What is forty-three plus six minus nineteen? Answer in digits."
},
{
"id": "q13",
"q": "Write \"one thousand eight hundred and sixty-one\" in digits."
},
{
"id": "q9",
"q": "How many days are in four weeks?"
},
{
"id": "q29",
"q": "What is fifty-three plus sixteen minus nine? Answer in digits."
},
{
"id": "q50",
"q": "How many minutes are in seven hours?"
},
{
"id": "q26",
"q": "How many seconds are in eight minutes?"
},
{
"id": "q30",
"q": "Which is the smallest: door, coin, stadium, chair?"
},
{
"id": "q38",
"q": "On Wednesday, Oren gave Saoirse the blue teapot. Who received it?"
},
{
"id": "q19",
"q": "What is the capital of Norway?"
},
{
"id": "q44",
"q": "What is the capital of Egypt?"
},
{
"id": "q64",
"q": "Niko gave the orange shovel to Oren on Thursday. Who received it?"
},
{
"id": "q45",
"q": "How many days are in six weeks?"
},
{
"id": "q4",
"q": "What is the capital of Kenya?"
},
{
"id": "q10",
"q": "Write \"four thousand and thirty-one\" in digits."
},
{
"id": "q58",
"q": "Which of these is a vehicle: airplane, axe, otter, skirt?"
},
{
"id": "q57",
"q": "On Thursday, Kwame gave Tariq the black violin. What was given?"
},
{
"id": "q33",
"q": "What is the capital of Cuba?"
}
]
}
-1
View File
@@ -1 +0,0 @@
["20","saturday","453","friday","thursday","dublin","4430","exit","monday","slow","44","79","blue","black","saturday","sweater","7229","otter","32","chair","marble","45","3490","sunday","24","outside","athens","bus","monday","540","camel","grey","berlin","priya","pineapple","sunday","white","pull","bangkok","63","3910","white","8","68","59","804","ottawa","wednesday","bookshelf","6367","stadium","108","sad","down","black","45","tuesday","32","28","blue","coin","tuesday","84","22","44","closed","10","420","cat","lima","207","light","cairo","thursday","buenos aires","purple","quiet","wednesday","yuki","never"]
-328
View File
@@ -1,328 +0,0 @@
{
"pubkey": "b5b7ddee004988098391e827b371298bfdcf47c27fe2bcdb0a777b4032f92f73",
"deadline": "2026-10-29T20:43:16.241Z",
"need": 72,
"count": 80,
"items": [
{
"id": "q8",
"q": "What is two times ten? Answer in digits."
},
{
"id": "q43",
"q": "What day comes next: Sunday, Tuesday, Thursday, …?"
},
{
"id": "q65",
"q": "Write \"four hundred and fifty-three\" in digits."
},
{
"id": "q71",
"q": "What day comes next: Saturday, Monday, Wednesday, …?"
},
{
"id": "q70",
"q": "What day comes next: Monday, Tuesday, Wednesday, …?"
},
{
"id": "q26",
"q": "What is the capital of Ireland?"
},
{
"id": "q34",
"q": "Write \"four thousand four hundred and thirty\" in digits."
},
{
"id": "q33",
"q": "Give the opposite of \"entrance\" in one word."
},
{
"id": "q47",
"q": "What day comes next: Tuesday, Thursday, Saturday, …?"
},
{
"id": "q73",
"q": "Give the opposite of \"fast\" in one word."
},
{
"id": "q75",
"q": "What is four times eleven? Answer in digits."
},
{
"id": "q7",
"q": "What is forty plus forty minus one? Answer in digits."
},
{
"id": "q58",
"q": "Every frazor is blue. Lars is a frazor. What colour is Lars?"
},
{
"id": "q1",
"q": "Hana gave the black candle to Tariq on Thursday. What colour was it?"
},
{
"id": "q14",
"q": "What day comes next: Wednesday, Thursday, Friday, …?"
},
{
"id": "q53",
"q": "Which of these is a piece of clothing: sweater, lemon, pliers, clarinet?"
},
{
"id": "q45",
"q": "Write \"seven thousand two hundred and twenty-nine\" in digits."
},
{
"id": "q2",
"q": "Which of these is a animal: sofa, apple, otter, spanner?"
},
{
"id": "q15",
"q": "What is thirty-five plus twenty-three minus twenty-six? Answer in digits."
},
{
"id": "q42",
"q": "Which is the smallest: bus, stadium, chair, city?"
},
{
"id": "q62",
"q": "Which is the smallest: marble, car, house, mountain?"
},
{
"id": "q36",
"q": "What is five times nine? Answer in digits."
},
{
"id": "q10",
"q": "Write \"three thousand four hundred and ninety\" in digits."
},
{
"id": "q69",
"q": "What day comes next: Monday, Wednesday, Friday, …?"
},
{
"id": "q51",
"q": "How many months are in two years?"
},
{
"id": "q17",
"q": "Give the opposite of \"inside\" in one word."
},
{
"id": "q23",
"q": "What is the capital of Greece?"
},
{
"id": "q27",
"q": "Which of these is a vehicle: eagle, bus, screwdriver, pear?"
},
{
"id": "q31",
"q": "What day comes next: Friday, Saturday, Sunday, …?"
},
{
"id": "q55",
"q": "How many minutes are in nine hours?"
},
{
"id": "q46",
"q": "Which of these is a animal: camel, pineapple, sock, trumpet?"
},
{
"id": "q32",
"q": "Every quafsnee is grey. Rafa is a quafsnee. What colour is Rafa?"
},
{
"id": "q68",
"q": "What is the capital of Germany?"
},
{
"id": "q57",
"q": "On Saturday, Priya gave Oren the blue lantern. Who gave it away?"
},
{
"id": "q35",
"q": "Which of these is a fruit: train, pineapple, glove, rabbit?"
},
{
"id": "q28",
"q": "What day comes next: Thursday, Friday, Saturday, …?"
},
{
"id": "q52",
"q": "Juno gave the white candle to Kofi on Tuesday. What colour was it?"
},
{
"id": "q48",
"q": "Give the opposite of \"push\" in one word."
},
{
"id": "q20",
"q": "What is the capital of Thailand?"
},
{
"id": "q54",
"q": "How many days are in nine weeks?"
},
{
"id": "q56",
"q": "Write \"three thousand nine hundred and ten\" in digits."
},
{
"id": "q6",
"q": "Every keltem is white. Teo is a keltem. What colour is Teo?"
},
{
"id": "q61",
"q": "What is four times two? Answer in digits."
},
{
"id": "q77",
"q": "What is fifty-three plus seventeen minus two? Answer in digits."
},
{
"id": "q41",
"q": "What is forty-two plus thirty-one minus fourteen? Answer in digits."
},
{
"id": "q72",
"q": "Write \"eight hundred and four\" in digits."
},
{
"id": "q38",
"q": "What is the capital of Canada?"
},
{
"id": "q11",
"q": "What day comes next: Sunday, Monday, Tuesday, …?"
},
{
"id": "q29",
"q": "Which of these is a piece of furniture: chisel, skirt, bookshelf, rabbit?"
},
{
"id": "q37",
"q": "Write \"six thousand three hundred and sixty-seven\" in digits."
},
{
"id": "q3",
"q": "Which is the largest: book, chair, stadium, coin?"
},
{
"id": "q9",
"q": "How many months are in nine years?"
},
{
"id": "q19",
"q": "Give the opposite of \"happy\" in one word."
},
{
"id": "q44",
"q": "Give the opposite of \"up\" in one word."
},
{
"id": "q79",
"q": "Every wobgrim is black. Teo is a wobgrim. What colour is Teo?"
},
{
"id": "q78",
"q": "What is thirty-six plus thirty-six minus twenty-seven? Answer in digits."
},
{
"id": "q63",
"q": "What day comes next: Wednesday, Friday, Sunday, …?"
},
{
"id": "q22",
"q": "What is four times eight? Answer in digits."
},
{
"id": "q18",
"q": "What is twenty-two plus eight minus two? Answer in digits."
},
{
"id": "q67",
"q": "Every sneezor is blue. Lars is a sneezor. What colour is Lars?"
},
{
"id": "q80",
"q": "Which is the smallest: bus, chair, door, coin?"
},
{
"id": "q24",
"q": "What day comes next: Saturday, Sunday, Monday, …?"
},
{
"id": "q21",
"q": "What is sixty-three plus twenty-seven minus six? Answer in digits."
},
{
"id": "q76",
"q": "What is twenty-two plus sixteen minus sixteen? Answer in digits."
},
{
"id": "q66",
"q": "What is twenty-three plus forty-one minus twenty? Answer in digits."
},
{
"id": "q5",
"q": "Give the opposite of \"open\" in one word."
},
{
"id": "q30",
"q": "What is two times five? Answer in digits."
},
{
"id": "q39",
"q": "How many seconds are in seven minutes?"
},
{
"id": "q49",
"q": "Which is the smallest: dog, elephant, whale, cat?"
},
{
"id": "q4",
"q": "What is the capital of Peru?"
},
{
"id": "q60",
"q": "Write \"two hundred and seven\" in digits."
},
{
"id": "q59",
"q": "Give the opposite of \"heavy\" in one word."
},
{
"id": "q74",
"q": "What is the capital of Egypt?"
},
{
"id": "q16",
"q": "What day comes next: Friday, Sunday, Tuesday, …?"
},
{
"id": "q40",
"q": "What is the capital of Argentina?"
},
{
"id": "q25",
"q": "Every tixvash is purple. Femi is a tixvash. What colour is Femi?"
},
{
"id": "q50",
"q": "Give the opposite of \"noisy\" in one word."
},
{
"id": "q13",
"q": "What day comes next: Thursday, Saturday, Monday, …?"
},
{
"id": "q64",
"q": "Yuki gave the pink hammer to Tariq on Tuesday. Who gave it away?"
},
{
"id": "q12",
"q": "Give the opposite of \"always\" in one word."
}
]
}
+1 -1
View File
@@ -11,7 +11,7 @@ CNAME, then A/AAAA to the app's IPs (`fly ips list`), and a push webhook on the
Live: persimmons.app → `persimmons/app` (repo root, as its `pages/page.conf` says), phly.cloud → `phly/site`,
supertestnet.lol → `supertestnet/app#pages`, yolopreneur.lol and
`*.yolopreneur.lol` → `teahubxyz/time#gh-pages/ventures` (`PAGES_WILDCARDS`); open.teahub.xyz → `teahubxyz/open#pages` (the factory openvenice); gandora.yolopreneur.lol → `gandora/site` (a venture in
its own repo: an exact host in `PAGES_SITES` wins over the wildcard, so a venture graduates by adding one line). A site can be any public repo,
its own repo: an exact host in `PAGES_SITES` wins over the wildcard, so a venture graduates by adding one line); yapstr.lol (+www) → `yap/site` (the one-button on-device speech-to-text PWA; DNS in Cloudflare, apex CNAME-flattened to green-tea-pages.fly.dev); its old address yap.yolopreneur.lol → `yap/site#main/moved`, a static hand-off (moved page + self-removing service worker) rather than a 301, because installed PWAs can't follow a redirect for their service worker. A site can be any public repo,
`org/repo#branch/subdir`; it doesn't have to be called `site`. A product with a backend serves its own pages
instead (phast.app is `phast-app`), so there is never a copy to drift.
+1 -1
View File
@@ -6,7 +6,7 @@ primary_region = "iad"
[env]
GITEA_URL = "https://teahub.xyz"
PAGES_SITES = '{"persimmons.app":"persimmons/app","phly.cloud":"phly/site","supertestnet.lol":"supertestnet/app#pages","yolopreneur.lol":"teahubxyz/time#gh-pages/ventures","gandora.lol":"gandora/site","www.gandora.lol":"gandora/site","gandora.yolopreneur.lol":"gandora/site","dev.gandora.lol":"gandora/site#dev","asmr.gandora.lol":"gandora/site#main/asmr","maths.teahub.xyz":"maths/site","open.teahub.xyz":"teahubxyz/open#pages","merman.teahub.xyz":"teahubxyz/merman#main/merman","oracle.teahub.xyz":"teahubxyz/oracle#pages"}'
PAGES_SITES = '{"persimmons.app":"persimmons/app","phly.cloud":"phly/site","supertestnet.lol":"supertestnet/app#pages","yolopreneur.lol":"teahubxyz/time#gh-pages/ventures","gandora.lol":"gandora/site","www.gandora.lol":"gandora/site","gandora.yolopreneur.lol":"gandora/site","dev.gandora.lol":"gandora/site#dev","asmr.gandora.lol":"gandora/site#main/asmr","maths.teahub.xyz":"maths/site","open.teahub.xyz":"teahubxyz/open#pages","merman.teahub.xyz":"teahubxyz/merman#main/merman","oracle.teahub.xyz":"teahubxyz/oracle#pages","yap.yolopreneur.lol":"yap/site#main/moved","yapstr.lol":"yap/site","www.yapstr.lol":"yap/site","uniqornz.lol":"uniqorn/site","www.uniqornz.lol":"uniqorn/site"}'
PAGES_WILDCARDS = '{"yolopreneur.lol":"teahubxyz/time#gh-pages/ventures"}'
PAGES_PULL_SECONDS = "300"