--- /dev/null
+#!/bin/bash
+# Gemini-Bash v7-21
+#
+# Copyright 2021 Fabián Bonetti <mama21mama2000@yahoo.com.ar>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+# MA 02110-1301, USA.
+echo "ejemplo: reisub.nsupdate.info"
+read -p 'Dominio: ' dominio
+echo "ejemplo: test"
+read -p 'Cápsula: ' uservar
+echo "ejemplo: index"
+read -p 'Página (sin extension): ' paginavar
+#la variable paginavar se puede usar como subcarpeta
+#ejempo: libros/index
+echo Tipos de Index
+read -p "index.gemini (1) index.gmi (2)?" CONT
+if [ "$CONT" = "1" ]; then
+index=.gemini
+printf "gemini://$dominio:1965/"$uservar"/$paginavar$index\r\n\r\n" | openssl s_client -quiet -connect $dominio:1965
+else
+index=.gmi
+printf "gemini://$dominio:1965/"$uservar"/$paginavar$index\r\n\r\n" | openssl s_client -quiet -connect $dominio:1965
+fi