From a3ffdd8ae6dc803588e5f4b8f4cd32204092d788 Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Sat, 13 Jun 2026 07:38:04 +0200 Subject: [PATCH] CMD: share directory locally --- command.rec | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/command.rec b/command.rec index 30f0ef2..0ab9f01 100644 --- a/command.rec +++ b/command.rec @@ -597,3 +597,14 @@ bin: sway bin: jq tag: bar shell: sh + +aim: Share a directory as a local website +cmd: python3 -m http.server +note: Anyone can go to your computer's IP address and access all files in the current directory. +shell: sh +bin: python3 +tag: tip +tag: network +tag: share +cmd: qrencode -t ansi "$(ip route show | grep -Pom1 'src \K[\d.]+')" ++ sudo python -m http.server 80