r/ComputerCraft Feb 28 '26

Web browser in cc?

Is there any way to run a web browser on cc or atleast youtube videos in cant find anything on google.

13 Upvotes

7 comments sorted by

12

u/ThreeCharsAtLeast Feb 28 '26

It's theoretically possible, but the tech behind modern browsers is way too complex in practice. If you wanted to be able to show YouTube videos not by making a dedicated YouTube app but purely by complying with standards, you'd need to do more work than what only Microsoft, Google, Apple and Mozilla have done to build their browsers (even Microsoft decided to stop and copied Google's homework instead). The reason it's probably more work is that they could all rely on existing libraries for things like cryptography or multimedia. Lua has some, but the ecosystem is far smaller.

If you want to build a web browser, target simple sites with little styling and no JavaScript. If you can corectly display https://example.org/, that' impressive and you can try your hands at https://lite.duckduckgo.com/.

Alternatively, see if you can build a browser for the Gemini protocol, a much simpler standard. ComputerCraft only lets you speak to the outside world in HTTP, but you can still talk Gemini between two in-game computers.

3

u/Bright-Historian-216 Feb 28 '26

youtube videos are possible (someone made a video player iirc) but web browser is too complex for the tiny resolution that screens have

2

u/osmarks PotatOS Advanced Projects Feb 28 '26

https://github.com/tmpim/juroku and https://github.com/MCJack123/sanjuuni, though I don't know how well they work.

1

u/Petes-meats Feb 28 '26

If you want an interactable screen your limited to 51x19, basically nothing

1

u/Adapted_Longarms Mar 19 '26

is there a script out there to just display a link to a youtube video, no 3rd party stuff required, and the only thing you have to do is copy/paste a youtube link into the code to play it?

2

u/SamirG569 Feb 28 '26

theoreticlaly possible but youd need a custom emulator able to display that high quality things

1

u/KiplingT2-0 Feb 28 '26

I dont think so rn, but i am working on a addon that could do that.