[research and develop] use minetest as working environment

Post Reply
User avatar
bebebeko
Member
Posts: 27
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

[research and develop] use minetest as working environment

by bebebeko » Post

Hello, Minetest community!

This is Research and Develop thread, where I share my modest tries to create a working environment in Minetest.

What it means and my motivation I described in the BORING PART

BORING PART
+ Spoiler
I will upload all code to GitHub and share the videos ;-) I suppose, my Lua code is not perfect, please feel free to criticize it.

If you have technical questions or just want to chat, welcome to this thread too ;-)

The picture to attract attention Image

User avatar
bebebeko
Member
Posts: 27
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Github https://github.com/metacoma/minetest-server-rack

The floppy disk is a file with server-rack inventory, it's a reclass compiled model: https://github.com/metacoma/minetest-se ... entory.yml

After i use floppy disk on "special node", special node read yaml description and dynamically draw the server-rack based on inventory.
Youtube https://www.youtube.com/watch?v=_G9AmEtgzhU
Image
Last edited by bebebeko on Sun Jul 12, 2020 15:33, edited 3 times in total.

User avatar
bebebeko
Member
Posts: 27
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Another proof of concept: open desktop application after some action in minetest game
Github https://github.com/metacoma/minetest-gnome-terminal

Yep, i have similar mod. The desktop application will opens after player punching specific node.
I'm used modchannel feature in minetest to achieve that. https://github.com/minetest/minetest/pull/6351

The explanation below is only for sandbox environment, DON'T TRY IT IN THE PRODUCTION, BECAUSE IT'S A ONE BIG SECURITY HOLE:

CSM (clientside mod):
https://github.com/metacoma/minetest-gn ... l/init.lua

Also you need to explicitly enable CSM https://wiki.minetest.net/Mods#Client-Side_Mods mod in mods.conf on client side:

load_mod_channel = true


client minetest.conf

secure.enable_security = false
secure.trusted_mods = channel


Server side mod:
https://github.com/metacoma/minetest-gn ... l/init.lua

Example:
minetest.register_node("node:dhcp", {
tiles = { node_dhcp },
paramtype = "light",
diggable = false,
inventory_image = minetest.inventorycube(node_dhcp),
on_punch = function(pos, node, player, pointed_thing)
getUserChannel(player:get_player_name()):send_all("GNOME_TERMINAL_SCREEN='' gnome-terminal -e 'ssh -t entrypoint tmuxinator start dhcp'")
end,
})


Youtube https://www.youtube.com/watch?v=4LH5Fyt-cQM
Image
Last edited by bebebeko on Mon Aug 17, 2020 12:11, edited 1 time in total.

User avatar
bebebeko
Member
Posts: 27
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Just "spiderman" mode for fast movements across the world

Github https://www.youtube.com/watch?v=T8oehmlxaNw
Youtube https://www.youtube.com/watch?v=T8oehmlxaNw
Image

User avatar
bebebeko
Member
Posts: 27
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

3D visualization IP network traffic

Github https://github.com/metacoma/minetest-tcpdump-demo

This is minetest mod (and environment) to start minetest server in a docker container and visualise the tcpdump flow. Instead thousand of words, watch the video:

Youtube https://www.youtube.com/watch?v=pSENbiv_R_g
Image

User avatar
bebebeko
Member
Posts: 27
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Hey, how about walking through the POSIX file system?

cyan nodes.- directories
white nodes - files

video quality still bad, sry

GitHub https://github.com/metacoma/minetest-po ... ds/mine9fs

Youtube https://youtu.be/hKEwChhyx3A
Image

User avatar
bebebeko
Member
Posts: 27
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Hey folks!

How about examining kubernetes with minetest?

Video quality still ugly, but I hope you can check out the functionality

Youtube https://www.youtube.com/watch?v=AhSFfJVeJ2U
Image

User avatar
bebebeko
Member
Posts: 27
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

My second video with kubernetes
More textures and more actions like edit kubernetes resource and execute shell to specific pod

Youtube https://www.youtube.com/watch?v=HFgZQHYZGTo
Image

User avatar
Zughy
Member
Posts: 213
Joined: Thu Mar 26, 2020 18:23
GitHub: belongs_to_microsoft
In-game: Zughy
Location: Italy
Contact:

Re: [research and develop] use minetest as working environment

by Zughy » Post

You're crazy. I like it. Keep going!

Nino
New member
Posts: 8
Joined: Tue Jul 14, 2020 16:45
In-game: Nino

Re: [research and develop] use minetest as working environment

by Nino » Post

wooow!

User avatar
bebebeko
Member
Posts: 27
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Nino wrote:
Sat Jul 25, 2020 23:18
wooow!
that was my first thought when i saw it
Zughy wrote:
Sat Jul 25, 2020 22:37
You're crazy. I like it. Keep going!
Thanks ;-) please welcome my new video

Youtube https://www.youtube.com/watch?v=eAdKNowkplw
Image

GitHub https://github.com/metacoma/minetest-poc/


And I need say thanks to guys on #minetest@irc.freenode.net channel, they help me a lot

User avatar
Rayjack
Member
Posts: 21
Joined: Thu Nov 15, 2018 18:18
In-game: Rayjack

Re: [research and develop] use minetest as working environment

by Rayjack » Post

cool

User avatar
bebebeko
Member
Posts: 27
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Rayjack wrote:
Tue Jul 28, 2020 19:39
cool
Thanks, Rayjack!


Well, maybe the next video doesn't contain new minetest functionality, I have invested time to project architecture.

In this video, I connected 9gridchan public services to my filesystem tree over 9p2000 protocol and research them.
Links: https://ants.9gridchan.org/ http://9front.org

Youtube https://youtu.be/EUpbMSknjcM
Image

User avatar
bebebeko
Member
Posts: 27
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Heeeey folks, what's up?

I continue to make technical videos, keep calm, i hope, in next two weeks I'll make something interesting for minetest community ;-)

In this video, i mounted two remote filesystem through 9p2000 protocol


Youtube https://youtu.be/NlfM8WzWmcc
Image

User avatar
bebebeko
Member
Posts: 27
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

HeY!

In this video, i explained how 9p2000 works (i modified https://github.com/iru-/lua9p/ library and add flying packets inside network functions https://github.com/metacoma/minetest-po ... d10376R731 )


Youtube https://youtu.be/nguLRmpQDm4
Image

User avatar
bebebeko
Member
Posts: 27
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Hey, good news! One more person join me!

And this video is provided by him

Differenet visualization for the same things

Youtube https://youtu.be/rrU_8D0X7go
Image

User avatar
freshreplicant
Member
Posts: 34
Joined: Sun Aug 09, 2020 10:37
In-game: freshreplicant

Re: [research and develop] use minetest as working environment

by freshreplicant » Post

Man, this stuff is trippy. Reminds me of William Gibson's Neuromancer.

https://en.wikipedia.org/wiki/Neuromancer

User avatar
bebebeko
Member
Posts: 27
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

freshreplicant wrote:
Thu Sep 10, 2020 16:33
Man, this stuff is trippy. Reminds me of William Gibson's Neuromancer.

https://en.wikipedia.org/wiki/Neuromancer
Yep, I read this book and I really liked it

Thank you for your feedback! ;-)

User avatar
bebebeko
Member
Posts: 27
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Another video from my collegue: Traceroute for dummies :)


Youtube https://youtu.be/T-0m1XPU9yA
Image

User avatar
bebebeko
Member
Posts: 27
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Hey folks, using auth/logind(8) as authentication backend for minetest users ;-)


Youtube https://youtu.be/ABRHctf-puo
Image

User avatar
bebebeko
Member
Posts: 27
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Finally, some interesting to minetest community.

A little bit magic, and we got universal minetest console to any entities ;-)

Youtube https://youtu.be/4pgOLk6GPy8
Image

User avatar
bebebeko
Member
Posts: 27
Joined: Mon Jul 06, 2020 14:20
GitHub: metacoma
IRC: bebebeko

Re: [research and develop] use minetest as working environment

by bebebeko » Post

Hey! How about this?

It's a 24x7 online stream on youtube with real-time visualization about what happened in bitcoin blockhain ;-)

Youtube https://www.twitch.tv/btc_live
Image
Last edited by bebebeko on Sun Oct 11, 2020 21:31, edited 1 time in total.

User avatar
Yvanhoe
Member
Posts: 138
Joined: Fri Jul 05, 2019 03:18
Location: Japan

Re: [research and develop] use minetest as working environment

by Yvanhoe » Post

This is silly! I like it!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests