GET FRIEND EMAIL = APLAYER

This commit is contained in:
fred 2023-03-20 21:21:46 +01:00
parent 317e1efaf9
commit 887a26cafc
2 changed files with 48 additions and 33 deletions

View File

@ -118,11 +118,17 @@ do
for FRIENDTW in ${FINDEX[@]}; for FRIENDTW in ${FINDEX[@]};
do do
[[ ! -s $FRIENDTW ]] && echo "$FRIENDTW VIDE (AMI SANS TW)" && echo && ((floop++)) && continue
APLAYER=$(ls $FRIENDTW | cut -d '/' -f 7) [[ ! -s $FRIENDTW ]] && echo "$floop / ${#FINDEX[@]} $FRIENDTW VIDE (AMI SANS TW)" && echo && ((floop++)) && continue
## GET FRIEND EMAIL = APLAYER
tiddlywiki --load $FRIENDTW \
--output ~/.zen/tmp/${MOATS} \
--render '.' 'MadeInZion.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' 'MadeInZion'
[[ ! -s ~/.zen/tmp/${MOATS}/MadeInZion.json ]] && echo "${PLAYER} MadeInZion : BAD TW (☓‿‿☓) " && continue
APLAYER=$(cat ~/.zen/tmp/${MOATS}/MadeInZion.json | jq -r .[].player)
rm -f ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu/${WISHNAME}/_${APLAYER}.tiddlers.json rm -f ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu/${WISHNAME}/_${APLAYER}.tiddlers.json
echo "$floop / ${#FINDEX[@]} TRY EXPORT [tag[G1${WISHNAME}]] FROM $FRIENDTW" echo "$floop / ${#FINDEX[@]} TRY EXPORT [tag[G1${WISHNAME}]] FROM $APLAYER TW"
tiddlywiki --load $FRIENDTW \ tiddlywiki --load $FRIENDTW \
--output ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu/${WISHNAME} --render '.' _${APLAYER}'.tiddlers.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[tag[G1'${WISHNAME}']!tag[G1Voeu]]' --output ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu/${WISHNAME} --render '.' _${APLAYER}'.tiddlers.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[tag[G1'${WISHNAME}']!tag[G1Voeu]]'
[[ ! -s ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu/${WISHNAME}/_${APLAYER}.tiddlers.json ]] && echo "NO ${WISHNAME} - CONTINUE -" && echo && ((floop++)) && continue [[ ! -s ~/.zen/tmp/${IPFSNODEID}/${PLAYER}/g1voeu/${WISHNAME}/_${APLAYER}.tiddlers.json ]] && echo "NO ${WISHNAME} - CONTINUE -" && echo && ((floop++)) && continue

View File

@ -4,7 +4,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Astroport - Make Your Planet a Better Place</title> <title>Friend of Friend Planet</title>
<meta name="description" content="ScuttleButt like Protocol in a Public Key Infrasctructure"> <meta name="description" content="ScuttleButt like Protocol in a Public Key Infrasctructure">
<meta name="author" content="Fred"> <meta name="author" content="Fred">
@ -30,44 +30,45 @@
<div class="slides"> <div class="slides">
<section> <section>
<a href="https://astroport.com"> <a href="https://astroport.com">
<img src="/ipfs/QmYW1TnjLktxYDDt8vL5okGpbMTmSBfccbVgoTuoKbLzD6/astroport.svg" alt="astroport logo" style="height: 180px; margin: 0 auto 4rem auto; background: transparent;" class="demo-logo"> <img src="http://127.0.0.1:8080/ipfs/QmYW1TnjLktxYDDt8vL5okGpbMTmSBfccbVgoTuoKbLzD6/astroport.svg" alt="astroport logo" style="height: 180px; margin: 0 auto 4rem auto; background: transparent;" class="demo-logo">
</a> </a>
<h3>Open Source Planet</h3> <h3>Libre Planet</h3>
<p> <p>
<small>Created by <a href="https://madeinzion.org">MadeInZion</a> <small><a href="https://madeinzion.org">MadeInZion</a> Foundation
with <a href="https://github.com/papiche/Astroport.ONE">Astroport.ONE</a> present <br><a href="https://github.com/papiche/Astroport.ONE">Astroport.ONE</a>
on <a href="https://opencollective.com/monnaie-libre/projects/coeurbox">♥BOX Network</a> & La<a href="https://opencollective.com/monnaie-libre/projects/coeurbox">♥BOX Network</a> PKI engine
run by <a href="https://opencollective.com/monnaie-libre/projects/stiits">STI</a></small> <br>collectively funded through La <a href="https://opencollective.com/monnaie-libre/projects/stiits">STI</a></small>
</p> </p>
</section> </section>
<section> <section>
<h2>Reveal</h2> <h2>Reveal</h2>
<p> <p>
Reveal the places you would like to enhance. Reveal the commons.
Put a spell on it. Open a beautiful interactive TW deck. <br>Enhance the World with good ideas.
Record a presentation of your ideas and plan of what can be done.
</p> </p>
</section> </section>
<!-- Example of nested vertical slides --> <!-- Example of nested vertical slides -->
<section> <section>
<section> <section>
<h2>Discover How</h2> <h2>GChange Ŋ1</h2>
<p>Start with "Gchange" </p> <p>A mobile application<br> to find and fund the commons</p>
<p>Press <em>Space</em> to get help.</p> <p>Press <em>Space</em> to know how.</p>
<br> <br>
<a href="#/2/1" class="navigate-down"> <a href="#/2/1" class="navigate-down">
<img class="r-frame" style="background: rgba(255,255,255,0.1);" width="178" height="238" data-src="https://static.slid.es/reveal/arrow.png" alt="Down arrow"> <img class="r-frame" style="background: rgba(255,255,255,0.1);" width="178" height="238" data-src="https://static.slid.es/reveal/arrow.png" alt="Down arrow">
</a> </a>
</section> </section>
<section> <section>
<h2>Install</h2> <h2>Make Wishes</h2>
<p>https://play.google.com/store/apps/details?id=fr.gchange</p> <p>Add to the map any place that deserver better<br>
Crowdfund for it to progress.</p>
</section> </section>
<section> <section>
<h2>Connect</h2> <h2>Add Ressources</h2>
<p>https://astroport.copylaradio.com/</p> <p>Nothing to be buy or sell.<br>Make the list of all common good.<br>Arrange sharing and maintenance of it</p>
<br> <br>
<a href="#/2"> <a href="#/2">
<img class="r-frame" style="background: rgba(255,255,255,0.1); transform: rotate(180deg);" width="178" height="238" data-src="https://static.slid.es/reveal/arrow.png" alt="Up arrow"> <img class="r-frame" style="background: rgba(255,255,255,0.1); transform: rotate(180deg);" width="178" height="238" data-src="https://static.slid.es/reveal/arrow.png" alt="Up arrow">
@ -76,11 +77,15 @@
</section> </section>
<section> <section>
<h2>Slides</h2> <h2>Astroport Ŋ1</h2>
<p> <p>
Not a coder? Not a problem. There's a fully-featured visual editor for authoring these, try it out at <a href="https://slides.com" target="_blank">https://slides.com</a>. A data shaping protocol.
<br>A storage network.
<br>A PKI application sandbox
<br><a href="https://git.p2p.legal/STI/Astroport.ONE" target="_blank">Astroport.ONE</a>
</p> </p>
</section> </section>
<!--
<section data-visibility="hidden"> <section data-visibility="hidden">
<h2>Hidden Slides</h2> <h2>Hidden Slides</h2>
@ -88,9 +93,11 @@
This slide is visible in the source, but hidden when the presentation is viewed. You can show all hidden slides by setting the `showHiddenSlides` config option to `true`. This slide is visible in the source, but hidden when the presentation is viewed. You can show all hidden slides by setting the `showHiddenSlides` config option to `true`.
</p> </p>
</section> </section>
-->
<!--
<section data-auto-animate> <section data-auto-animate>
<h2 data-id="code-title">Pretty Code</h2> <h2 data-id="code-title">Social layers</h2>
<pre data-id="code-animation"><code class="hljs javascript" data-trim data-line-numbers> <pre data-id="code-animation"><code class="hljs javascript" data-trim data-line-numbers>
import React, { useState } from 'react'; import React, { useState } from 'react';
@ -150,10 +157,11 @@
(NOTE: Use ctrl + click in Linux.) (NOTE: Use ctrl + click in Linux.)
</p> </p>
</section> </section>
-->
<section data-auto-animate data-auto-animate-easing="cubic-bezier(0.770, 0.000, 0.175, 1.000)"> <section data-auto-animate data-auto-animate-easing="cubic-bezier(0.770, 0.000, 0.175, 1.000)">
<h2>Auto-Animate</h2> <h2>Identify</h2>
<p>Automatically animate matching elements across slides with <a href="https://revealjs.com/auto-animate/">Auto-Animate</a>.</p> <p>Create, seek and collect <a href="https://revealjs.com/auto-animate/">World Keys</a>.</p>
<div class="r-hstack justify-center"> <div class="r-hstack justify-center">
<div data-id="box1" style="background: #999; width: 50px; height: 50px; margin: 10px; border-radius: 5px;"></div> <div data-id="box1" style="background: #999; width: 50px; height: 50px; margin: 10px; border-radius: 5px;"></div>
<div data-id="box2" style="background: #999; width: 50px; height: 50px; margin: 10px; border-radius: 5px;"></div> <div data-id="box2" style="background: #999; width: 50px; height: 50px; margin: 10px; border-radius: 5px;"></div>
@ -166,7 +174,7 @@
<div data-id="box2" data-auto-animate-delay="0.1" style="background: magenta; width: 150px; height: 100px; margin: 10px;"></div> <div data-id="box2" data-auto-animate-delay="0.1" style="background: magenta; width: 150px; height: 100px; margin: 10px;"></div>
<div data-id="box3" data-auto-animate-delay="0.2" style="background: yellow; width: 150px; height: 100px; margin: 10px;"></div> <div data-id="box3" data-auto-animate-delay="0.2" style="background: yellow; width: 150px; height: 100px; margin: 10px;"></div>
</div> </div>
<h2 style="margin-top: 20px;">Auto-Animate</h2> <h2 style="margin-top: 20px;">Collect</h2>
</section> </section>
<section data-auto-animate data-auto-animate-easing="cubic-bezier(0.770, 0.000, 0.175, 1.000)"> <section data-auto-animate data-auto-animate-easing="cubic-bezier(0.770, 0.000, 0.175, 1.000)">
<div class="r-stack"> <div class="r-stack">
@ -174,29 +182,30 @@
<div data-id="box2" style="background: magenta; width: 200px; height: 200px; border-radius: 200px;"></div> <div data-id="box2" style="background: magenta; width: 200px; height: 200px; border-radius: 200px;"></div>
<div data-id="box3" style="background: yellow; width: 100px; height: 100px; border-radius: 200px;"></div> <div data-id="box3" style="background: yellow; width: 100px; height: 100px; border-radius: 200px;"></div>
</div> </div>
<h2 style="margin-top: 20px;">Auto-Animate</h2> <h2 style="margin-top: 20px;">Associate</h2>
</section> </section>
<!--
<section> <section>
<h2>Touch Optimized</h2> <h2>Touch Optimized</h2>
<p> <p>
Presentations look great on touch devices, like mobile phones and tablets. Simply swipe through your slides. Presentations look great on touch devices, like mobile phones and tablets. Simply swipe through your slides.
</p> </p>
</section> </section>
-->
<section data-markdown> <section data-markdown>
<script type="text/template"> <script type="text/template">
## Markdown Support ## Extendable API
Write content using inline or external Markdown. Instructions and more info available in the [code repository](https://git.p2p.legal/STI/Astroport.ONE/).
Instructions and more info available in the [docs](https://revealjs.com/markdown/).
```html [] ```html []
<section data-markdown> <section data-markdown>
## Markdown Support ## Extendable API
Instructions and more info available in the [code repository](https://git.p2p.legal/STI/Astroport.ONE/).
Write content using inline or external Markdown.
Instructions and more info available in the [docs](https://revealjs.com/markdown/).
</section> </section>
``` ```
</script> </script>