Integrate External Website into My Application via Server

I want my server to retrieve an external site's content (HTML, JS, CSS) and embed it in my app instead of iframes. What should be implemented on client and server sides?

hey, try fetching the extermal content on the server using a http request library and then process it to inline assets. caching may help. using a templating engine on the client to inject it might work