I have been following Repl.it since it's first release. We were quite amazed when repl.it was released. We, a bunch of students, were building a project very similar to what repl.it was in it's initial days, during the same time period. we never managed to get our project to an usable stage, and eventually everyone abandoned it.
I got back to working on repl.it in 2016 and my co-founders joined me.
Could you not provide an alternate DISPLAY environment variable pointing to a little proxy X11
Either way it's a neat hack. Is the source for the redirector available? It would undoubtedly have wider applications.
Client: NoVNC
Cool demo!
If you're talking about embedding the whole website then that's not doable. It's a security concern: Clickjacking etc.
This is just coming out and lots of users are building impressive games; here is quick small sample of things I found interesting:
- Super Mario: https://repl.it/@JONASRAINS/SMOB3-Python
- Pacman: https://repl.it/@argthe1st/Pacman
- Flappy Bird (hold space to fly): https://repl.it/@rennecastro/FlappyBird
- Dungeon game: https://repl.it/@AbrahamTinajero/VOLTHEGAME-V-061
- LOVE2D Ant: https://repl.it/@Essentuan/AntLove
- Evolution simulator: https://repl.it/@dumfing/OutpaceEvolution
- Doom style 3D maze: https://repl.it/@KatyaDelaney/GameJam-3DMAZE
I'm personally bullish on Pyxel -- the pico-8-like Python environment. Here is one of the example games running: https://repl.it/@amasad/jumper (make sure to check the sweet asset editor; instructions in the comment).
Also, I forgot to mention in the post but this works great with friends on Multiplayer -- you'll be able to interact with the same machine and output. Earlier this morning I watched YouTube with a bunch of random Twitter users: https://twitter.com/amasad/status/1108804242393821184 ^^