popcar2 / GodotOS

A Fake Operating System Interface made in Godot!
GNU Affero General Public License v3.0
1.05k stars 53 forks source link

Add Chromium as a browser (via CEF)? #6

Open popcar2 opened 5 months ago

popcar2 commented 5 months ago

Adding a browser to GodotOS is a long-term goal that might never happen. This issue is just for tracking interest and giving some context about it, since it's a feature a ton of people requested.

Lecrapouille is porting the gdcef (Godot Chromium Embedded Framework) extension to Godot 4, which means it would be technically possible to run Chromium inside of GodotOS. It currently works but is incomplete and may contain issues.

When gdcef is stable, I may look into adding it to GodotOS. There are some things to consider though:

We could separate GodotOS to a version that includes Chromium and a version that doesn't, but that complicates things. GodotOS was also built in mind to keep things as simple as possible and make it easy to build upon and learn from. Can adding a big extension harm that goal?

Again, this issue is mostly wishful thinking. There aren't any immediate plans to include a browser but I hope this gives some answers before someone inevitably makes an issue asking for it.

Rucadi commented 5 months ago

While I've never worked with Godot, so I don't know if this is feasible,
If you want to maintain a simple and small project, embedding everything may not be the best of the ideas,

you could create simple AppStore to add more functionality to GodotOs, and there you could download simple games or the cef browser, for example.

popcar2 commented 5 months ago

you could create simple AppStore to add more functionality to GodotOs, and there you could download simple games or the cef browser, for example.

Unfortunately that's not possible with the way Godot is now. There isn't much support for loading apps and scripts on runtime, you'd have to add them beforehand then compile the game with them included.

It's one part of the engine people are hopeful will improve over time but it may take years for simply loading in a Godot game/app to be feasible.

the-az-dev commented 4 months ago

How about fake browser or design window in which we will get http / https requests?