Finally got Chrome to work inside Minetest ...
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: Finally got Chrome to work inside Minetest ...
it would lag though, on a server. i imagine the mess.
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
- LMD
- Member
- Posts: 1396
- Joined: Sat Apr 08, 2017 08:16
- GitHub: appgurueu
- IRC: appguru[eu]
- In-game: LMD
- Location: Germany
- Contact:
Re: Finally got Chrome to work inside Minetest ...
First of all : That looks awesome. But I'd like to know how you got Chrome's GUI to work ?
- numzero
- New member
- Posts: 8
- Joined: Tue Apr 21, 2015 18:51
- GitHub: numberZero
- IRC: numzero
Re: Finally got Chrome to work inside Minetest ...
@azekill_DIABLO this is client-side only.
@Beerholder Your work is too heavy to be embedded in MT, but might be used as a plugin, if there were an API. Look at the issue #4064.
@Beerholder Your work is too heavy to be embedded in MT, but might be used as a plugin, if there were an API. Look at the issue #4064.
- Linuxdirk
- Member
- Posts: 3219
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: Finally got Chrome to work inside Minetest ...
Minetest has an HTTP API. It’s possible to create a very simple browser by implementing some kind of HTML-to-text parser. Links could be summarized and shown in a dropdown list which would allow simple browsing, mod-storage or player-attributes could be used for bookmarks.
… but running Chrome in Minetest is much cooler that that :D
… but running Chrome in Minetest is much cooler that that :D
- sorcerykid
- Member
- Posts: 1847
- Joined: Fri Aug 26, 2016 15:36
- GitHub: sorcerykid
- In-game: Nemo
- Location: Illinois, USA
Re: Finally got Chrome to work inside Minetest ...
Extending formspecs with support for hyperlinked text as well as downloadable JPEG and PNG images would be a huge step in the right direction. These three features alone would absolutely make browsing of most mobile Websites possible, at least using basic GET and POST requests.
There are already several HTML parsers for Lua, so that base is already covered.
https://github.com/msva/lua-htmlparser
https://github.com/thenumbernine/htmlparser-lua
As for transmitting the images (or any multimedia content) to the client, the IETF standard for multipart form data might be a viable option:
https://www.ietf.org/rfc/rfc2388.txt
There are already several HTML parsers for Lua, so that base is already covered.
https://github.com/msva/lua-htmlparser
https://github.com/thenumbernine/htmlparser-lua
As for transmitting the images (or any multimedia content) to the client, the IETF standard for multipart form data might be a viable option:
https://www.ietf.org/rfc/rfc2388.txt
- Linuxdirk
- Member
- Posts: 3219
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: Finally got Chrome to work inside Minetest ...
That would be awesome on the same level as real multicolor lighting would be.sorcerykid wrote:Extending formspecs with support for hyperlinked text as well as downloadable JPEG and PNG images would be a huge step in the right direction.
- azekill_DIABLO
- Member
- Posts: 7507
- Joined: Wed Oct 29, 2014 20:05
- GitHub: azekillDIABLO
- In-game: azekill_DIABLO
- Location: OMICRON
- Contact:
Re: Finally got Chrome to work inside Minetest ...
LOL
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!
DMs are always open if you want to get in touch!
- sorcerykid
- Member
- Posts: 1847
- Joined: Fri Aug 26, 2016 15:36
- GitHub: sorcerykid
- In-game: Nemo
- Location: Illinois, USA
Re: Finally got Chrome to work inside Minetest ...
Exactly, with dynamic loading of embedded content (raster images for starters, but maybe sound or video too) as well as dynamically generated elements (thus allowing for moving buttons, resizing images, changing text fields, etc.), I think formspecs could take on a whole new life of interactive possibilities for modders, just like the introduction of DHTML and Ajax for the Web.Linuxdirk wrote:That would be awesome on the same level as real multicolor lighting would be.sorcerykid wrote:Extending formspecs with support for hyperlinked text as well as downloadable JPEG and PNG images would be a huge step in the right direction.
As far as implemention, I imagine this would involve extending the client-server protocol to allow asynchronous formspec updates from the server during the lifecycle of a given formspec. This way embedded content (some of which could be quite large) wouldn't even have to be sent in its entirety, for the client to initially display the formspec.
Heck, even a few very basic drawing primitives (or support for SVG graphics) and simple text formatting (size, alignment, and style) would be absolutely AWESOME in terms of design potential.
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: Finally got Chrome to work inside Minetest ...
This is one of the features planned for client-side scriptingsorcerykid wrote:Even a few very basic drawing primitives (or support for SVG graphics) and simple text formatting (size, alignment, and style) would be absolutely AWESOME in terms of design potential.
- Linuxdirk
- Member
- Posts: 3219
- Joined: Wed Sep 17, 2014 11:21
- In-game: Linuxdirk
- Location: Germany
- Contact:
Re: Finally got Chrome to work inside Minetest ...
At least proper text wrapping and scrollable non-editable texts in formspecs would be a good start :Dsorcerykid wrote:Heck, even a few very basic drawing primitives (or support for SVG graphics) and simple text formatting (size, alignment, and style) would be absolutely AWESOME in terms of design potential.
Re: Finally got Chrome to work inside Minetest ...
Any progress updates on this?
- christoferlevich
- Member
- Posts: 325
- Joined: Thu Dec 01, 2016 23:44
- GitHub: ChristoferL
- Location: Athol, Massachusetts
Re: Finally got Chrome to work inside Minetest ...
This post seems dead - but I would love to see something like this released... oh how good it looks!
everything can be a learning experience...
Re: Finally got Chrome to work inside Minetest ...
If this keeps getting worked on, real video theaters in Minetest could happen one day.
[BitChute: https://www.bitchute.com/channel/fCcBQxrYQjNX/] [Rumble: https://rumble.com/user/HPoorHMagentaHChildH]
Re: Finally got Chrome to work inside Minetest ...
I showed your videos of this project in the public theater in Swamp Cinema in Garry's Mod. However, that does no good if it has been discontinued. What will you do with it now that version 5.0.0 of Minetest is out?
[BitChute: https://www.bitchute.com/channel/fCcBQxrYQjNX/] [Rumble: https://rumble.com/user/HPoorHMagentaHChildH]
- Miniontoby
- Member
- Posts: 616
- Joined: Fri Mar 01, 2019 19:25
- GitHub: Miniontoby
- IRC: Miniontoby
- In-game: Miniontoby
- Location: The Netherlands
Re: Finally got Chrome to work inside Minetest ...
Can I get the resource??
Re: Finally got Chrome to work inside Minetest ...
I someone still working on this? It looks so promising, why was this given up?...
Who is online
Users browsing this forum: No registered users and 5 guests