U Planet - LAT LON KEYS - Crypto Commons
This commit is contained in:
parent
e0a3f5ad84
commit
63f96bd547
9
12345.sh
9
12345.sh
|
@ -141,6 +141,11 @@ while true; do
|
||||||
if [[ $URL == "/" ]]; then
|
if [[ $URL == "/" ]]; then
|
||||||
echo "/ CONTACT : $HOSTP"
|
echo "/ CONTACT : $HOSTP"
|
||||||
echo "$HTTPCORS
|
echo "$HTTPCORS
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>[Astroport] :powered: Station</title>
|
||||||
|
<meta http-equiv=\"refresh\" content=\"3; url='https://astroport.com'\" />
|
||||||
|
</head>
|
||||||
DING : ${MOATS} : $(date)" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &
|
DING : ${MOATS} : $(date)" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &
|
||||||
end=`date +%s`
|
end=`date +%s`
|
||||||
echo " (‿/‿) $myHOST:$PORT / Execution time was "`expr $end - $start` seconds.
|
echo " (‿/‿) $myHOST:$PORT / Execution time was "`expr $end - $start` seconds.
|
||||||
|
@ -201,6 +206,10 @@ while true; do
|
||||||
exec ${MY_PATH}/API/QRCODE.sh "$PORT" "$THAT" "$AND" "$THIS" "$APPNAME" "$WHAT" "$OBJ" "$VAL" "${MOATS}" "$COOKIE" &
|
exec ${MY_PATH}/API/QRCODE.sh "$PORT" "$THAT" "$AND" "$THIS" "$APPNAME" "$WHAT" "$OBJ" "$VAL" "${MOATS}" "$COOKIE" &
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"uplanet")
|
||||||
|
exec ${MY_PATH}/API/UPLANET.sh "$PORT" "$THAT" "$AND" "$THIS" "$APPNAME" "$WHAT" "$OBJ" "$VAL" "${MOATS}" "$COOKIE" &
|
||||||
|
;;
|
||||||
|
|
||||||
"")
|
"")
|
||||||
echo "$HTTPCORS
|
echo "$HTTPCORS
|
||||||
ERROR UNKNOWN $CMD : ${MOATS} : $(date)" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &
|
ERROR UNKNOWN $CMD : ${MOATS} : $(date)" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &
|
||||||
|
|
|
@ -0,0 +1,99 @@
|
||||||
|
################################################################################
|
||||||
|
# Author: Fred (support@qo-op.com)
|
||||||
|
# Version: 0.1
|
||||||
|
# License: AGPL-3.0 (https://choosealicense.com/licenses/agpl-3.0/)
|
||||||
|
################################################################################
|
||||||
|
################################################################################
|
||||||
|
## API: UPLANET
|
||||||
|
## Dedicated to OSM2IPFS & UPlanet Client App
|
||||||
|
# ?uplanet=EMAIL&LAT=LON
|
||||||
|
## https://git.p2p.legal/qo-op/OSM2IPFS
|
||||||
|
################################################################################
|
||||||
|
MY_PATH="`dirname \"$0\"`" # relative
|
||||||
|
MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized
|
||||||
|
. "${MY_PATH}/../tools/my.sh"
|
||||||
|
|
||||||
|
start=`date +%s`
|
||||||
|
|
||||||
|
echo "PORT=$1
|
||||||
|
THAT=$2
|
||||||
|
AND=$3
|
||||||
|
THIS=$4
|
||||||
|
APPNAME=$5
|
||||||
|
WHAT=$6
|
||||||
|
OBJ=$7
|
||||||
|
VAL=$8
|
||||||
|
MOATS=$9
|
||||||
|
COOKIE=$10"
|
||||||
|
PORT="$1" THAT="$2" AND="$3" THIS="$4" APPNAME="$5" WHAT="$6" OBJ="$7" VAL="$8" MOATS="$9" COOKIE="$10"
|
||||||
|
### transfer variables according to script
|
||||||
|
QRCODE=$(echo "$THAT" | cut -d ':' -f 1) # G1nkgo compatible
|
||||||
|
|
||||||
|
HTTPCORS="HTTP/1.1 200 OK
|
||||||
|
Access-Control-Allow-Origin: ${myASTROPORT}
|
||||||
|
Access-Control-Allow-Credentials: true
|
||||||
|
Access-Control-Allow-Methods: GET
|
||||||
|
Server: Astroport.ONE
|
||||||
|
Content-Type: text/html; charset=UTF-8
|
||||||
|
|
||||||
|
"
|
||||||
|
function urldecode() { : "${*//+/ }"; echo -e "${_//%/\\x}"; }
|
||||||
|
|
||||||
|
## GET TW
|
||||||
|
mkdir -p ~/.zen/tmp/${MOATS}/
|
||||||
|
|
||||||
|
## DIRECT VISA.print.sh
|
||||||
|
PLAYER=${THAT}
|
||||||
|
SALT=${AND}
|
||||||
|
LAT=${AND}
|
||||||
|
PEPPER=${THIS}
|
||||||
|
LON=${THIS}
|
||||||
|
PASS=$(echo "${RANDOM}${RANDOM}${RANDOM}${RANDOM}" | tail -c-7)
|
||||||
|
|
||||||
|
|
||||||
|
EMAIL="${PLAYER,,}" # lowercase
|
||||||
|
|
||||||
|
[[ ! ${EMAIL} ]] && (echo "$HTTPCORS ERROR - MISSING ${EMAIL} FOR ${WHAT} CONTACT" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && echo "(☓‿‿☓) Execution time was "`expr $(date +%s) - $start` seconds. && exit 0
|
||||||
|
|
||||||
|
## CHECK WHAT IS EMAIL
|
||||||
|
if [[ "${EMAIL}" =~ ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$ ]]; then
|
||||||
|
echo "VALID ${EMAIL} EMAIL OK"
|
||||||
|
else
|
||||||
|
echo "BAD EMAIL"
|
||||||
|
(echo "$HTTPCORS KO ${EMAIL} : bad '" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
echo "${MY_PATH}/../tools/VISA.print.sh" "${EMAIL}" "'"$SALT"'" "'"$PEPPER"'" "'"$PASS"'"
|
||||||
|
${MY_PATH}/../tools/VISA.print.sh "${EMAIL}" "$SALT" "$PEPPER" "$PASS" ##
|
||||||
|
[[ ${EMAIL} != "" && ${EMAIL} != $(cat ~/.zen/game/players/.current/.player 2>/dev/null) ]] && rm -Rf ~/.zen/game/players/${EMAIL}/
|
||||||
|
|
||||||
|
# UPLANET #############################################
|
||||||
|
## OCCUPY COMMON CRYPTO KEY CYBERSPACE
|
||||||
|
## SALT="UPLANET LAT $LAT" PEPPER="UPLANET LON $LON"
|
||||||
|
######################################################
|
||||||
|
echo "UMAP = $LAT:$LON"
|
||||||
|
echo "# CALCULATING MAP G1PUB WALLET"
|
||||||
|
${MY_PATH}/../tools/keygen -t duniter -o ~/.zen/tmp/${MOATS}/secret.key "$LAT" "$LON"
|
||||||
|
G1PUB=$(cat ~/.zen/tmp/${MOATS}/secret.key | grep 'pub:' | cut -d ' ' -f 2)
|
||||||
|
[[ ! ${G1PUB} ]] && (echo "$HTTPCORS ERROR - (╥☁╥ ) - KEYGEN COMPUTATION DISFUNCTON" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && exit 1
|
||||||
|
echo "MAPG1PUB : ${G1PUB}"
|
||||||
|
|
||||||
|
echo "# CALCULATING UMAP IPNS ADDRESS"
|
||||||
|
ipfs key rm ${G1PUB} > /dev/null 2>&1
|
||||||
|
rm -f ~/.zen/tmp/${MOATS}/${G1PUB}.ipns.key
|
||||||
|
${MY_PATH}/../tools/keygen -t ipfs -o ~/.zen/tmp/${MOATS}/${G1PUB}.ipns.key "$LAT" "$LON"
|
||||||
|
UMAPNS=$(ipfs key import ${G1PUB} -f pem-pkcs8-cleartext ~/.zen/tmp/${MOATS}/${G1PUB}.ipns.key )
|
||||||
|
[[ ! ${UMAPNS} ]] && (echo "$HTTPCORS ERROR - (╥☁╥ ) - UMAPNS COMPUTATION DISFUNCTON" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && exit 1
|
||||||
|
|
||||||
|
echo "# OSM2IPFS using Chromium loading Umap.html"
|
||||||
|
|
||||||
|
|
||||||
|
echo "${HTTPCORS}" > ~/.zen/tmp/${MOATS}/http.rep
|
||||||
|
cat ~/.zen/tmp/${PLAYER}.moatube.json >> ~/.zen/tmp/${MOATS}/http.rep
|
||||||
|
cat ~/.zen/tmp/${MOATS}/http.rep | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &
|
||||||
|
|
||||||
|
|
||||||
|
end=`date +%s`
|
||||||
|
echo "(TW) MOA Operation time was "`expr $end - $start` seconds.
|
||||||
|
exit 0
|
|
@ -63,7 +63,7 @@ echo "${MOATS}" > ~/.zen/tmp/.MySwarm.moats
|
||||||
ipfs key import "MySwarm_${IPFSNODEID}" -f pem-pkcs8-cleartext ~/.zen/game/myswarm_secret.ipfskey
|
ipfs key import "MySwarm_${IPFSNODEID}" -f pem-pkcs8-cleartext ~/.zen/game/myswarm_secret.ipfskey
|
||||||
CHAN=$(ipfs key list -l | grep -w "MySwarm_${IPFSNODEID}" | cut -d ' ' -f 1 )
|
CHAN=$(ipfs key list -l | grep -w "MySwarm_${IPFSNODEID}" | cut -d ' ' -f 1 )
|
||||||
fi
|
fi
|
||||||
########################################################
|
######################################################## MAKE IPFS NODE CHAN ID CPU RELATED
|
||||||
|
|
||||||
## PUBLISH CHANNEL IPNS
|
## PUBLISH CHANNEL IPNS
|
||||||
echo "/ipns/$CHAN" > ~/.zen/tmp/${IPFSNODEID}/.MySwarm
|
echo "/ipns/$CHAN" > ~/.zen/tmp/${IPFSNODEID}/.MySwarm
|
||||||
|
|
|
@ -0,0 +1,244 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>[Astroport] :: Station _HOSTNAME_ :: _IPFSNODEID_ </title>
|
||||||
|
<meta http-equiv="refresh" content="9999; url='http://127.0.0.1:12345'" />
|
||||||
|
<link rel="icon" type="image/png" href="http://127.0.0.1:8080/ipfs/QmaCh8mywWfxkXF3JziFzqZS6yZFo3eNS5fSfnzJqdSQvX/logo.png" />
|
||||||
|
<link rel="stylesheet" href="http://127.0.0.1:8080/ipfs/QmaCh8mywWfxkXF3JziFzqZS6yZFo3eNS5fSfnzJqdSQvX/decoration.css" type="text/css" />
|
||||||
|
<link rel="stylesheet" href="http://127.0.0.1:8080/ipfs/QmaCh8mywWfxkXF3JziFzqZS6yZFo3eNS5fSfnzJqdSQvX/layout.css" type="text/css" />
|
||||||
|
<style>
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-image:url("http://127.0.0.1:8080/ipfs/QmSFgatcq3q898J56epa8SyGbH651vRBFnv93kQSwfoi83/background.000.jpg");
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
html {
|
||||||
|
height: 100%
|
||||||
|
}
|
||||||
|
header {
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
input[type=submit] {
|
||||||
|
width: 12em; height: 4em;
|
||||||
|
}
|
||||||
|
input[type=checkbox] {
|
||||||
|
width: 2em; height: 2em;
|
||||||
|
}
|
||||||
|
input {
|
||||||
|
width: 26em; height: 2em;
|
||||||
|
}
|
||||||
|
#yellow {
|
||||||
|
background: yellow;
|
||||||
|
position: absolute;
|
||||||
|
top: 12%;
|
||||||
|
left: 66%;
|
||||||
|
width: 18%;
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
#login {
|
||||||
|
right: 10%;
|
||||||
|
top: 5%
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<!-- Typed text animation -->
|
||||||
|
<script src="http://127.0.0.1:8080/ipfs/QmYyJmAT3cUbjk4vVWQG7LdpY3HkFH9phFD1VzzetHrgpa"></script>
|
||||||
|
<!-- Astro API JS LIB -->
|
||||||
|
<script src="http://127.0.0.1:8080/ipfs/Qmae5v9zydax9u6C9ceDijURu5PYdd5avmv4NkenCw7RFv/astro.js"></script>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<header>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<div id="login"><button onclick="promptUser('login')">LOGIN</button><button onclick="promptUser('logout')">LOGOUT</button></div>
|
||||||
|
-->
|
||||||
|
<h6>
|
||||||
|
<p id="station"> ♥<span>BOX <div id='countdown'></div></span></p>
|
||||||
|
</h6>
|
||||||
|
<span><div id="ainfo"></div></span>
|
||||||
|
<div id="debug"></div>
|
||||||
|
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<main>
|
||||||
|
|
||||||
|
<center>
|
||||||
|
<b>Welkom - Mirë se vini - Willkommen - Welkomma - Welcome - Marhaban - Bari galoust - Xos gelmissiniz - Welkum - Ongi etorri- Swagata - Ansuf yiswen - ščyra zaprašajem - Kyo tzo pa eit - ॐ★ॐ - Ani kié - Dobro došli - Dagemer mat - Dobre doshŭl - Benvinguts - Ulihebisdi - ௐ- Huān yíng - Karibu - Eoso eoseyo - Benvenuti - Bel bonjou - Bienvini - Dobrodošli - Velkommen - Bienvenido - Bonvenon - Tere tulemast - Gabitê - Vælkomin - Tervetuloa - Welkom - Wìllkòmme - Binvignut - Fàilte - Benvido - Croeso - Planvenguda - Mikouabô - Kalos irthate - Eguahé porá - Baroukh habaim - ﷽ </b><br>
|
||||||
|
<header>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<button onclick="homeAstroportStation('/?qrcode=station', '', 21654)">Ğ1Station</button>
|
||||||
|
</div>
|
||||||
|
<form id="formlink" action = "http://127.0.0.1:1234" method = "GET" enctype="application/x-www-form-urlencoded">
|
||||||
|
<h1><span>Astroport</span> <a href="http://127.0.0.1:12345">Ŋ1</a></h1>
|
||||||
|
<div id="yellow">
|
||||||
|
<h2>TW SECRETS</h2>
|
||||||
|
<input name='salt' value='0'>
|
||||||
|
<h3><a title="YOUR ASTRO PORT" href="http://127.0.0.1:12345"> >>> (◕‿‿◕) <<< </a></h3>
|
||||||
|
<input name='pepper' value='0'>
|
||||||
|
</div>
|
||||||
|
<h2>
|
||||||
|
<div id="typed-strings">
|
||||||
|
<p><span>/ <strong><em><a href="https://opencollective.com/monnaie-libre/projects/coeurbox" target="funding">La♥BOX</a></em></strong> /</span>^3223</p>
|
||||||
|
<p>⌘ Interplanetary <em>Cloud Storage</em> ⛅</span> ^3222</p>
|
||||||
|
<p>We Make <strong><em><u>👉<a href="https://opencollective.com/monnaie-libre">Le Claude</a>👈</u></em></strong>^3112</p>
|
||||||
|
<p>🔥.^999.^888.^777.^666.^555.^444.3^333.2^222.1^111 🚀^4321</p>
|
||||||
|
</div>
|
||||||
|
<span id="typed"></span>
|
||||||
|
</h2>
|
||||||
|
<span><a target="youtube" href="https://youtube.com">📺 (👍)</a> : </span><input name=g1pub value='enter video source to feed in TW'></br>
|
||||||
|
<span>Email : </span><input name=email value=''></br></br>
|
||||||
|
<input type='submit' value='[(♥‿‿♥)]'>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</h2>
|
||||||
|
</br>
|
||||||
|
<p>
|
||||||
|
<b><a target="pad" href="https://vdo.copylaradio.com/?room=cocoding">COCODING CHAT ROOM</a></b>
|
||||||
|
</p>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
</center>
|
||||||
|
|
||||||
|
<article>
|
||||||
|
<div class="row justify-center">
|
||||||
|
<h1 class="video-title">
|
||||||
|
<center>
|
||||||
|
<a href="https://astroport.com">Astroport.ONE</a>
|
||||||
|
<a href="https://opencollective.com/monnaie-libre/projects/coeurbox" target="funding">- ♥BOX Edition - </a>
|
||||||
|
<a href="https://olympe.network">Olympe.Network</a><br>
|
||||||
|
Astroport.ONE est un logiciel libre développé sous licence AGPL v3
|
||||||
|
</center>
|
||||||
|
<a target="gchange" href="https://gchange.fr">Une fois votre G1CARD obtenu, direction https://gchange.fr !</a>
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
<article>
|
||||||
|
<div class="row justify-center">
|
||||||
|
<ul>
|
||||||
|
<li>Installez Astroport.ONE puis ajoutez <a href="http://127.0.0.1:8080/ipns/docs.ipfs.tech/install/ipfs-companion/" target="doc"><b>ipfs-companion</b></a> à votre navigateur </li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</article>
|
||||||
|
BECOME ASTROŊAUTE
|
||||||
|
explore
|
||||||
|
Astroport Ŋ1 Swarm#0
|
||||||
|
|
||||||
|
Associate your key phrases with an email address
|
||||||
|
|
||||||
|
Phrase One ("login")
|
||||||
|
Phrase Two ("password")
|
||||||
|
|
||||||
|
Accept delegation of your key (Ŋ1 20h12 bitswap)
|
||||||
|
|
||||||
|
Need help? Contact support@qo-op.com
|
||||||
|
Astroport operates a 100% blockchain digitalization.
|
||||||
|
Copy, store, share, broadcast your multimedia and json channels in IPFS, between friends!
|
||||||
|
Take possession of your TW. Make freedom of expression uncensurable, unstoppable.
|
||||||
|
<br/><center><a href="https://git.p2p.legal/qo-op/Astroport.ONE">
|
||||||
|
>>> Let's reboot the INTERNET - Install IPFS - Activate Astroport.ONE <<<
|
||||||
|
</a></center><br/>
|
||||||
|
<center>
|
||||||
|
<h6>
|
||||||
|
<a href="https://madeinzion.org">Made In Zion funded project _\/_ </a> powered by <a href="https://astroport.com"><span>"</span>Astroport<span>"</span></a>
|
||||||
|
</h6>
|
||||||
|
</center>
|
||||||
|
</main>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
var typed = new Typed('#typed', {
|
||||||
|
stringsElement: '#typed-strings',
|
||||||
|
smartBackspace: true,
|
||||||
|
backDelay: 700,
|
||||||
|
loop: true,
|
||||||
|
typeSpeed: 40
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
const el = document.getElementById('yellow');
|
||||||
|
//~ const log = document.getElementById('login');
|
||||||
|
//~ log.style.visibility = 'visible';
|
||||||
|
|
||||||
|
setTimeout(() => {
|
||||||
|
el.style.visibility = 'visible';
|
||||||
|
}, 3456); // 👈️ delay in milliseconds
|
||||||
|
|
||||||
|
var arrTimes = [];
|
||||||
|
var i = 0; // start
|
||||||
|
var timesToTest = 3;
|
||||||
|
var tThreshold = 300; //ms
|
||||||
|
var testImage = "https://ipfs.copylaradio.com/ipfs/QmUUyiuCM4yXgaeGyqC2SVUUXZksuxhDfHQYpUpZPuL2oS/astroport.jpg"; // small image in your server
|
||||||
|
var dummyImage = new Image();
|
||||||
|
var isConnectedFast = false;
|
||||||
|
|
||||||
|
testLatency(function(avg){
|
||||||
|
isConnectedFast = (avg <= tThreshold);
|
||||||
|
/** output */
|
||||||
|
document.body.appendChild(
|
||||||
|
document.createTextNode("Time: " + (avg.toFixed(2)) + "ms - ♥Box ready ? " + isConnectedFast)
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
/** test and average time took to download image from server, called recursively timesToTest times */
|
||||||
|
function testLatency(cb) {
|
||||||
|
var tStart = new Date().getTime();
|
||||||
|
if (i<timesToTest-1) {
|
||||||
|
dummyImage.src = testImage + '?t=' + tStart;
|
||||||
|
dummyImage.onload = function() {
|
||||||
|
var tEnd = new Date().getTime();
|
||||||
|
var tTimeTook = tEnd-tStart;
|
||||||
|
arrTimes[i] = tTimeTook;
|
||||||
|
testLatency(cb);
|
||||||
|
i++;
|
||||||
|
};
|
||||||
|
} else {
|
||||||
|
/** calculate average of array items then callback */
|
||||||
|
var sum = arrTimes.reduce(function(a, b) { return a + b; });
|
||||||
|
var avg = sum / arrTimes.length;
|
||||||
|
cb(avg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
</script>
|
||||||
|
<script>
|
||||||
|
|
||||||
|
let cookies = document.cookie;
|
||||||
|
console.log(cookies);
|
||||||
|
|
||||||
|
var timeLeft = 5;
|
||||||
|
var elem = document.getElementById("countdown");
|
||||||
|
var timerId = setInterval(countdown, 999);
|
||||||
|
|
||||||
|
function countdown() {
|
||||||
|
if (timeLeft == -1) {
|
||||||
|
clearTimeout(timerId);
|
||||||
|
document.getElementById("countdown").innerHTML = "<form method='get' action='http://g1billet.localhost:33101' target='aframe'><input type='hidden' name='montant' value='0' ><label for='type'>Type :</label><select name='type'><option value=''>G1BILLET+ ( x 6 )</option><option value='jeu'>G1CARD</option><option value='xastro' selected>G1CARD+TW</option><option value='@astroport'>G1CARD+@</option></select><input type='hidden' name='dice' value='4' > <button type='submit'>Lancer Fabrication</button></form>";
|
||||||
|
} else {
|
||||||
|
// elem.innerHTML = timeLeft + " s";
|
||||||
|
timeLeft--;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// promptUser();
|
||||||
|
</script>
|
||||||
|
<!-- Matomo -->
|
||||||
|
<script>
|
||||||
|
var _paq = window._paq = window._paq || [];
|
||||||
|
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||||
|
_paq.push(['trackPageView']);
|
||||||
|
_paq.push(['enableLinkTracking']);
|
||||||
|
(function() {
|
||||||
|
var u="//g1sms.fr/matomo/";
|
||||||
|
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
||||||
|
_paq.push(['setSiteId', '1']);
|
||||||
|
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||||
|
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
|
<!-- End Matomo Code -->
|
||||||
|
|
||||||
|
</html>
|
|
@ -2,13 +2,12 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>[Astroport] :: Station _HOSTNAME_ :: _IPFSNODEID_ </title>
|
<title>[Astroport] : G1Visa Application : _HOSTNAME_ :: _IPFSNODEID_ </title>
|
||||||
<meta http-equiv="refresh" content="9999; url='http://127.0.0.1:12345'" />
|
<meta http-equiv="refresh" content="999; url='http://127.0.0.1:12345'" />
|
||||||
<link rel="icon" type="image/png" href="http://127.0.0.1:8080/ipfs/QmaCh8mywWfxkXF3JziFzqZS6yZFo3eNS5fSfnzJqdSQvX/logo.png" />
|
<link rel="icon" type="image/png" href="http://127.0.0.1:8080/ipfs/QmaCh8mywWfxkXF3JziFzqZS6yZFo3eNS5fSfnzJqdSQvX/logo.png" />
|
||||||
<link rel="stylesheet" href="http://127.0.0.1:8080/ipfs/QmaCh8mywWfxkXF3JziFzqZS6yZFo3eNS5fSfnzJqdSQvX/decoration.css" type="text/css" />
|
<link rel="stylesheet" href="http://127.0.0.1:8080/ipfs/QmaCh8mywWfxkXF3JziFzqZS6yZFo3eNS5fSfnzJqdSQvX/decoration.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="http://127.0.0.1:8080/ipfs/QmaCh8mywWfxkXF3JziFzqZS6yZFo3eNS5fSfnzJqdSQvX/layout.css" type="text/css" />
|
<link rel="stylesheet" href="http://127.0.0.1:8080/ipfs/QmaCh8mywWfxkXF3JziFzqZS6yZFo3eNS5fSfnzJqdSQvX/layout.css" type="text/css" />
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-image:url("http://127.0.0.1:8080/ipfs/QmSFgatcq3q898J56epa8SyGbH651vRBFnv93kQSwfoi83/background.000.jpg");
|
background-image:url("http://127.0.0.1:8080/ipfs/QmSFgatcq3q898J56epa8SyGbH651vRBFnv93kQSwfoi83/background.000.jpg");
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
@ -54,9 +53,9 @@ header {
|
||||||
<!--
|
<!--
|
||||||
<div id="login"><button onclick="promptUser('login')">LOGIN</button><button onclick="promptUser('logout')">LOGOUT</button></div>
|
<div id="login"><button onclick="promptUser('login')">LOGIN</button><button onclick="promptUser('logout')">LOGOUT</button></div>
|
||||||
-->
|
-->
|
||||||
<h6>
|
<div>
|
||||||
<p id="station"> ♥<span>BOX <div id='countdown'></div></span></p>
|
<button onclick="homeAstroportStation('/?qrcode=station', '', 21654)">Ğ1Station</button>
|
||||||
</h6>
|
</div>
|
||||||
<span><div id="ainfo"></div></span>
|
<span><div id="ainfo"></div></span>
|
||||||
<div id="debug"></div>
|
<div id="debug"></div>
|
||||||
|
|
||||||
|
@ -68,88 +67,38 @@ header {
|
||||||
<b>Welkom - Mirë se vini - Willkommen - Welkomma - Welcome - Marhaban - Bari galoust - Xos gelmissiniz - Welkum - Ongi etorri- Swagata - Ansuf yiswen - ščyra zaprašajem - Kyo tzo pa eit - ॐ★ॐ - Ani kié - Dobro došli - Dagemer mat - Dobre doshŭl - Benvinguts - Ulihebisdi - ௐ- Huān yíng - Karibu - Eoso eoseyo - Benvenuti - Bel bonjou - Bienvini - Dobrodošli - Velkommen - Bienvenido - Bonvenon - Tere tulemast - Gabitê - Vælkomin - Tervetuloa - Welkom - Wìllkòmme - Binvignut - Fàilte - Benvido - Croeso - Planvenguda - Mikouabô - Kalos irthate - Eguahé porá - Baroukh habaim - ﷽ </b><br>
|
<b>Welkom - Mirë se vini - Willkommen - Welkomma - Welcome - Marhaban - Bari galoust - Xos gelmissiniz - Welkum - Ongi etorri- Swagata - Ansuf yiswen - ščyra zaprašajem - Kyo tzo pa eit - ॐ★ॐ - Ani kié - Dobro došli - Dagemer mat - Dobre doshŭl - Benvinguts - Ulihebisdi - ௐ- Huān yíng - Karibu - Eoso eoseyo - Benvenuti - Bel bonjou - Bienvini - Dobrodošli - Velkommen - Bienvenido - Bonvenon - Tere tulemast - Gabitê - Vælkomin - Tervetuloa - Welkom - Wìllkòmme - Binvignut - Fàilte - Benvido - Croeso - Planvenguda - Mikouabô - Kalos irthate - Eguahé porá - Baroukh habaim - ﷽ </b><br>
|
||||||
<header>
|
<header>
|
||||||
|
|
||||||
<div>
|
|
||||||
<button onclick="homeAstroportStation('/?qrcode=station', '', 21654)">Ğ1Station</button>
|
|
||||||
</div>
|
|
||||||
<form id="formlink" action = "http://127.0.0.1:1234" method = "GET" enctype="application/x-www-form-urlencoded">
|
<form id="formlink" action = "http://127.0.0.1:1234" method = "GET" enctype="application/x-www-form-urlencoded">
|
||||||
<h1><span>Astroport</span> <a href="http://127.0.0.1:12345">Ŋ1</a></h1>
|
|
||||||
|
<h1><span>Astroport</span> <a href="https://pad.p2p.legal/s/Astroport.ONE">Ŋ1</a></h1>
|
||||||
|
|
||||||
<div id="yellow">
|
<div id="yellow">
|
||||||
<h2>TW SECRETS</h2>
|
<input type=hidden name='salt' value='0'>
|
||||||
<input name='salt' value='0'>
|
<h3><a title="SERVE YOURSELF" href="http://127.0.0.1:12345"> >>> (◕‿‿◕) <<< </a></h3>
|
||||||
<h3><a title="YOUR ASTRO PORT" href="http://127.0.0.1:12345"> >>> (◕‿‿◕) <<< </a></h3>
|
<input type=hidden name='pepper' value='0'>
|
||||||
<input name='pepper' value='0'>
|
|
||||||
</div>
|
</div>
|
||||||
<h2>
|
|
||||||
<div id="typed-strings">
|
<input name=g1pub value='any youtube link to feed your TW with ?'></br>
|
||||||
<p><span>/ <strong><em><a href="https://opencollective.com/monnaie-libre/projects/coeurbox" target="funding">La♥BOX</a></em></strong> /</span>^3223</p>
|
|
||||||
<p>⌘ Interplanetary <em>Cloud Storage</em> ⛅</span> ^3222</p>
|
|
||||||
<p>We Make <strong><em><u>👉<a href="https://opencollective.com/monnaie-libre">Le Claude</a>👈</u></em></strong>^3112</p>
|
|
||||||
<p>🔥.^999.^888.^777.^666.^555.^444.3^333.2^222.1^111 🚀^4321</p>
|
|
||||||
</div>
|
|
||||||
<span id="typed"></span>
|
|
||||||
</h2>
|
|
||||||
<span><a target="youtube" href="https://youtube.com">📺 (👍)</a> : </span><input name=g1pub value='enter video source to feed in TW'></br>
|
|
||||||
<span>Email : </span><input name=email value=''></br></br>
|
<span>Email : </span><input name=email value=''></br></br>
|
||||||
|
<input type=hidden name='lat' value='0.00'>
|
||||||
|
<input type=hidden name='lon' value='0.00'>
|
||||||
<input type='submit' value='[(♥‿‿♥)]'>
|
<input type='submit' value='[(♥‿‿♥)]'>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</h2>
|
|
||||||
</br>
|
|
||||||
<p>
|
|
||||||
<b><a target="pad" href="https://vdo.copylaradio.com/?room=cocoding">COCODING CHAT ROOM</a></b>
|
|
||||||
</p>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
</center>
|
|
||||||
|
|
||||||
<article>
|
|
||||||
<div class="row justify-center">
|
|
||||||
<h1 class="video-title">
|
|
||||||
<center>
|
|
||||||
<a href="https://astroport.com">Astroport.ONE</a>
|
|
||||||
<a href="https://opencollective.com/monnaie-libre/projects/coeurbox" target="funding">- ♥BOX Edition - </a>
|
|
||||||
<a href="https://olympe.network">Olympe.Network</a><br>
|
|
||||||
Astroport.ONE est un logiciel libre développé sous licence AGPL v3
|
|
||||||
</center>
|
|
||||||
<a target="gchange" href="https://gchange.fr">Une fois votre G1CARD obtenu, direction https://gchange.fr !</a>
|
|
||||||
</h1>
|
|
||||||
</div>
|
|
||||||
</article>
|
|
||||||
<article>
|
|
||||||
<div class="row justify-center">
|
|
||||||
<ul>
|
|
||||||
<li>Installez Astroport.ONE puis ajoutez <a href="http://127.0.0.1:8080/ipns/docs.ipfs.tech/install/ipfs-companion/" target="doc"><b>ipfs-companion</b></a> à votre navigateur </li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</article>
|
|
||||||
BECOME ASTROŊAUTE
|
|
||||||
explore
|
|
||||||
Astroport Ŋ1 Swarm#0
|
|
||||||
|
|
||||||
Associate your key phrases with an email address
|
|
||||||
|
|
||||||
Phrase One ("login")
|
|
||||||
Phrase Two ("password")
|
|
||||||
|
|
||||||
Accept delegation of your key (Ŋ1 20h12 bitswap)
|
|
||||||
|
|
||||||
Need help? Contact support@qo-op.com
|
|
||||||
Astroport operates a 100% blockchain digitalization.
|
|
||||||
Copy, store, share, broadcast your multimedia and json channels in IPFS, between friends!
|
|
||||||
Take possession of your TW. Make freedom of expression uncensurable, unstoppable.
|
|
||||||
<br/><center><a href="https://git.p2p.legal/qo-op/Astroport.ONE">
|
|
||||||
>>> Let's reboot the INTERNET - Install IPFS - Activate Astroport.ONE <<<
|
|
||||||
</a></center><br/>
|
|
||||||
<center>
|
|
||||||
<h6>
|
<h6>
|
||||||
<a href="https://madeinzion.org">Made In Zion funded project _\/_ </a> powered by <a href="https://astroport.com"><span>"</span>Astroport<span>"</span></a>
|
<p id="station"><div id='countdown'></div></span></p>
|
||||||
</h6>
|
</h6>
|
||||||
</center>
|
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
// Extract latitude and longitude from URL parameters
|
||||||
|
const urlParams = new URLSearchParams(window.location.search);
|
||||||
|
const lat = urlParams.get('lat').toFixed(2);
|
||||||
|
const lon = urlParams.get('lon').toFixed(2);
|
||||||
|
|
||||||
|
// Set latitude and longitude values to hidden inputs
|
||||||
|
document.getElementById('salt').value = lat;
|
||||||
|
document.getElementById('pepper').value = lon;
|
||||||
|
|
||||||
var typed = new Typed('#typed', {
|
var typed = new Typed('#typed', {
|
||||||
stringsElement: '#typed-strings',
|
stringsElement: '#typed-strings',
|
||||||
smartBackspace: true,
|
smartBackspace: true,
|
||||||
|
@ -166,7 +115,7 @@ const el = document.getElementById('yellow');
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
el.style.visibility = 'visible';
|
el.style.visibility = 'visible';
|
||||||
}, 3456); // 👈️ delay in milliseconds
|
}, 5456); // 👈️ delay in milliseconds
|
||||||
|
|
||||||
var arrTimes = [];
|
var arrTimes = [];
|
||||||
var i = 0; // start
|
var i = 0; // start
|
||||||
|
@ -217,7 +166,7 @@ function testLatency(cb) {
|
||||||
function countdown() {
|
function countdown() {
|
||||||
if (timeLeft == -1) {
|
if (timeLeft == -1) {
|
||||||
clearTimeout(timerId);
|
clearTimeout(timerId);
|
||||||
document.getElementById("countdown").innerHTML = "<form method='get' action='http://g1billet.localhost:33101' target='aframe'><input type='hidden' name='montant' value='0' ><label for='type'>Type :</label><select name='type'><option value=''>G1BILLET+ ( x 6 )</option><option value='jeu'>G1CARD</option><option value='xastro' selected>G1CARD+TW</option><option value='@astroport'>G1CARD+@</option></select><input type='hidden' name='dice' value='4' > <button type='submit'>Lancer Fabrication</button></form>";
|
document.getElementById("countdown").innerHTML = "<form method='get' action='http://g1billet.localhost:33101' target='aframe'><input type='hidden' name='montant' value='0' ><label for='type'>Type :</label><select name='type'><option value=''>G1BILLET+ ( x 6 )</option><option value='jeu'>G1CARD</option><option value='xastro' selected>G1CARD+TW</option><option value='@astroport'>G1CARD+@</option></select><input type='hidden' name='dice' value='4' > <button type='submit'>Extra</button></form>";
|
||||||
} else {
|
} else {
|
||||||
// elem.innerHTML = timeLeft + " s";
|
// elem.innerHTML = timeLeft + " s";
|
||||||
timeLeft--;
|
timeLeft--;
|
||||||
|
@ -225,20 +174,6 @@ function testLatency(cb) {
|
||||||
}
|
}
|
||||||
// promptUser();
|
// promptUser();
|
||||||
</script>
|
</script>
|
||||||
<!-- Matomo -->
|
|
||||||
<script>
|
|
||||||
var _paq = window._paq = window._paq || [];
|
|
||||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
|
||||||
_paq.push(['trackPageView']);
|
|
||||||
_paq.push(['enableLinkTracking']);
|
|
||||||
(function() {
|
|
||||||
var u="//g1sms.fr/matomo/";
|
|
||||||
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
|
||||||
_paq.push(['setSiteId', '1']);
|
|
||||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
|
||||||
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
|
|
||||||
})();
|
|
||||||
</script>
|
|
||||||
<!-- End Matomo Code -->
|
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -446,8 +446,9 @@ echo "--- PLAYER : ${PLAYER} - FILE SYSTEM LOADED";
|
||||||
[[ $XDG_SESSION_TYPE == 'x11' ]] && xdg-open "${myIPFS}/ipns/${ASTRONAUTENS}" && espeak "YOUR PASS IS $PASS"
|
[[ $XDG_SESSION_TYPE == 'x11' ]] && xdg-open "${myIPFS}/ipns/${ASTRONAUTENS}" && espeak "YOUR PASS IS $PASS"
|
||||||
|
|
||||||
################# PREPARE DOCKERIZATION
|
################# PREPARE DOCKERIZATION
|
||||||
rm ~/.zen/game/players/.current
|
[[ -l ~/.zen/game/players/.current ]] \
|
||||||
ln -s ~/.zen/game/players/${PLAYER} ~/.zen/game/players/.current
|
&& ln -s ~/.zen/game/players/${PLAYER} ~/.zen/game/players/.current
|
||||||
|
|
||||||
. "${MY_PATH}/my.sh"
|
. "${MY_PATH}/my.sh"
|
||||||
|
|
||||||
#################################################################
|
#################################################################
|
||||||
|
|
Loading…
Reference in New Issue