various fixes

This commit is contained in:
Leon van Kammen 2024-10-04 17:57:27 +02:00
parent d72f7325ec
commit 2ae679c131
6 changed files with 18 additions and 23 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env -S awk -f #!/usr/bin/awk awk -f
BEGIN { BEGIN {

View File

@ -1,19 +1,4 @@
Welcome to XRSH
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
 . . ____ _____________ ________. ._. ._. . . . . . . . .
 . . _\ \/ /\______ \/ _____// | \. . . . . . . .
 . . _ \ / | _/\_____ \/ ~ \ . . . . . . .
 _ _ / \ | | \/ \ Y / _ _ _ _ _ _ _
 . . /___/\ \ |____|_ /_______ /\___|_ /. . . . . . . .
 . . . . . .\_/. . . . \/ . . . .\/ . . _ \/ . . . . . . . .
 ▬▬▬▬ https://xrsh.isvery.ninja ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Open, local-first, polyglot, unix hackable & selfcontained XR apps.
credits: NLnet | @nlnet@nlnet.nl https://nlnet.nl/project
all FOSS devs | copy.sh (v86) aframe.io (AFRAME)
Leon van Kammen | @lvk@mastodon.online
Fabien Benetou | @utopiah@mastodon.pirateparty.be
Please hook up your (bluetooth) keyboard to use xrsh. Please hook up your (bluetooth) keyboard to use xrsh.
Use Ctrl+a+0/1/2/3/.. to switch terminals. Use Ctrl+a+0/1/2/3/.. to switch terminals.

View File

@ -61,6 +61,14 @@ require(){
echo "<a-entity xrf='$1'></a-entity>" >> /root/index.html echo "<a-entity xrf='$1'></a-entity>" >> /root/index.html
;; ;;
sh)
js '
fetch('$1')
.then( (res) => res.text() )
.then( (text) => console.log(text) )
'
;;
*) *)
alert $ext "extension is not supported (yet)" alert $ext "extension is not supported (yet)"
;; ;;

View File

@ -8,4 +8,6 @@ enterAR
exitVR exitVR
exitAR exitAR
tail -n1 -f /dev/browser/console /var/log/messages tail -n1 -f /dev/browser/console /var/log/messages
require https://snips.sh/f/VBz-iWm8so?r=1
require https://xrfragment.org/example/assets/index.glb
require https://coderofsalvation.github.io/xrsh-media/assets/background.glb require https://coderofsalvation.github.io/xrsh-media/assets/background.glb

View File

@ -2,4 +2,4 @@
<a-box position="-1 0.5 -3" rotation="0 45 0" color="#4CC3D9"></a-box> <a-box position="-1 0.5 -3" rotation="0 45 0" color="#4CC3D9"></a-box>
<a-sphere position="0 1.25 -5" radius="1.25" color="#EF2D5E"></a-sphere> <a-sphere position="0 1.25 -5" radius="1.25" color="#EF2D5E"></a-sphere>
<a-cylinder position="1 0.75 -3" radius="0.5" height="1.5" color="#FFC65D"></a-cylinder> <a-cylinder position="1 0.75 -3" radius="0.5" height="1.5" color="#FFC65D"></a-cylinder>
<a-plane position="0 0 -4" rotation="-90 0 0" width="4" height="4" color="#7BC8A4"></a-plane> <a-plane position="0 0.05 -4" rotation="-90 0 0" width="4" height="4" color="#7BC8A4"></a-plane>

BIN
dist/v86-linux.iso vendored

Binary file not shown.