proof of concept qotd server

This commit is contained in:
2025-07-29 18:06:12 +02:00
commit 4812da3f2f
10 changed files with 301 additions and 0 deletions

17
main.ua Normal file
View File

@@ -0,0 +1,17 @@
# find qotd
&fras &var "QOTD_QUOTES_PATH"
⊜□¬ ⦷"\n\n---\n\n".
°□⊡⊸(⌊×⚂⧻)
q ←
# continuously wait for connection
# &tcpl "127.0.0.1:0017"
# &p "listening on localhost:10017"
# ⍢(
# ⍜&tcpa(&w q).
# )1
# &cl
&pf q