Is it possible to make a surface gui render as a website?

  1. What do you want to achieve? I want to make a surface gui frame that can search stuff on google including images and text.

  2. What is the issue? I don’t know how to do httpsservice.

  3. What solutions have you tried so far? i can’t find anything how to do httpservice to surfacegui.

if you know how to just send a tutorial how to use it so i can learn it also i don’t know if this is against terms of service

A viewportframe renders parts in 2d on GUIs. You probably want to use a ScreenGui or SurfaceGui for this. As for HttpService you can read about it here.

1 Like

is it possible to make it look like this?

This isn’t what viewports are for, they’re simply used to render 3D objects from your game in a 2D space - as it says on the developer hub page.

It’s not impossible to display a static webpage in Roblox (with limitations), but it would be a ridiculous amount of work for what you get from it. You’d have to have your own implementation to read and display HTML, just as a browser does. You’d then need to load any stylesheets, convert fonts to Roblox supported and so much more.

Loading images would be near impossible unless you had a web service that uploaded each of them to Roblox (and then wait an unknown length of time for moderation) or create your own way to read and display images (of multiple formats of course!).

To summarise, it’s just not worth doing with all the limitations and the huge amount of work it would take to actually display everything.

TL;DR don’t do this, it’s impractical and pointless.

Edit: There’s an old post in reply to a thread about this which explains things even better than I have. Unfortunately it’s in #lounge:roblox-discussion so is only visible to Regulars.

Here's a quote of it:

Some of this may not be true to date as this was an old post, but it still largely applies.

2 Likes

i meant surface gui but you’re right.