commit cbb30c7eb2aa2fa04fd31a0ef999ae50c7ecd583 from: Aleksey Ryndin date: Sun Sep 22 18:08:54 2024 UTC Add /vostok/vgi_router.gmi commit - c65838f5849bdbf8e53055d9051216ac7ffd757a commit + cbb30c7eb2aa2fa04fd31a0ef999ae50c7ecd583 blob - /dev/null blob + b36dd741f6917194482c2cbde407ede36b34323c (mode 644) --- /dev/null +++ capsule/vostok/vgi_router.gmi @@ -0,0 +1,15 @@ + +``` +#!/bin/sh + +URL=$(cat -) + +case $URL in + gemini://any-key.press/vgi/gtransl/* ) + echo $URL | /home/_vostok/gtransl/gtransl.retro + exit $? + ;; +esac + +echo "51 Not found" +```