From 2faa1fede9cfe79e2bc93e3e5e2444e4f54cb32b Mon Sep 17 00:00:00 2001 From: Ahmed Date: Wed, 17 Jun 2026 15:45:51 +0300 Subject: fix: style, docs, and few routes --- wk.fo/body.html | 8 ++--- wk.fo/pks/index.html | 3 +- wk.fo/upload.html | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 88 insertions(+), 6 deletions(-) create mode 100644 wk.fo/upload.html (limited to 'wk.fo') diff --git a/wk.fo/body.html b/wk.fo/body.html index 158927c..ac05efb 100644 --- a/wk.fo/body.html +++ b/wk.fo/body.html @@ -1,16 +1,16 @@

File sharing, IRC, VPN, and tools for friends. Invite required for most services.

file sharing

-

Upload via HTTPS (token required):

-
curl -F "file=@photo.jpg" -H "Authorization: YOUR_TOKEN" https://wk.fo/
+

Upload via the web form or curl (token required):

+
curl -F "file=@photo.jpg" -H "Authorization: Bearer YOUR_TOKEN" https://wk.fo/

Files expire after 24 hours by default (max 48h with expires param). Max 256 MB.

irc

-

web client — no account needed. Or connect directly:

+

web client — requires a soju account. Or connect directly:

serverwk.fo:6697 (TLS)
authSASL PLAIN (invite only)

pgp

-

Curated keyserver — keys added after in-person verification. search or browse.

+

Curated keyserver — keys added after in-person verification. search or browse.

vpn

diff --git a/wk.fo/pks/index.html b/wk.fo/pks/index.html index 2847b9f..727a6f2 100644 --- a/wk.fo/pks/index.html +++ b/wk.fo/pks/index.html @@ -21,7 +21,6 @@ code { font-size: 85%; } hr { border: none; border-top: thin solid; margin: 1.25rem 0; } header { margin-bottom: 1em; } footer { margin-top: 3em; } -a { color: inherit; } input[type="text"], button { font-family: inherit; font-size: inherit; border: thin solid; padding: 0.3em 0.6em; background: transparent; color: inherit; } button { cursor: pointer; } @media (max-width: 600px) { body { font-size: 0.9em; } h1 { font-size: 1.8em; } } @@ -53,7 +52,7 @@ button { cursor: pointer; } irc / files / vpn / -pgp / +pgp / demo / wk.fo diff --git a/wk.fo/upload.html b/wk.fo/upload.html new file mode 100644 index 0000000..6578afd --- /dev/null +++ b/wk.fo/upload.html @@ -0,0 +1,83 @@ + + + + + + +wk.fo / upload + + + +
+

wk.fo / upload

+
+
+

Upload a file using your token. Files expire after 24 hours by default. Max 256 MB.

+

web form

+

+

+

+

+

curl

+
curl -F "file=@photo.jpg" -H "Authorization: Bearer YOUR_TOKEN" https://wk.fo/
+
+ + + + -- cgit v1.2.3
serverwk.fo:51820 (UDP)