David Crawshaw on Nostr: Following where httpts leads me, here's the classic python one-liner: python -m ...
Published at
2024-09-16 19:26:01 UTCEvent JSON
{
"id": "34f916c910c1aece02a76f8f684fab1dcb6aa6892a18a8eb4ec738bd6bb12262",
"pubkey": "17d9588924edd5d1dce533dbaf22fe37f21aff65e690863950967582d3a3eb16",
"created_at": 1726514761,
"kind": 1,
"tags": [
[
"proxy",
"https://inuh.net/@crawshaw/113148871399746248",
"web"
],
[
"proxy",
"https://inuh.net/users/crawshaw/statuses/113148871399746248",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://inuh.net/users/crawshaw/statuses/113148871399746248",
"pink.momostr"
],
[
"-"
]
],
"content": "Following where httpts leads me, here's the classic python one-liner:\n\n python -m http.server 8000\n\nbut for your tailnet:\n\n go install github.com/crawshaw/httpts/cmd/tailweb@latest\n tailweb\n\ninstead of your LAN it serves to your tailnet with your colleagues.\n\nhttps://github.com/crawshaw/httpts/blob/main/cmd/tailweb/tailweb.go",
"sig": "7ad013a0b17c3ca772a340b362f4a7fe78121f142cd3919944cc9e588a45337bdce5b2125d49725125fcf9bf96220e5807d25df3d39aeab8e8fdd79082edd422"
}