How to get a Firefox Repl in like a few steps:
- Create a Blank Repl
- Delete all its files (including .replit and replit.nix)
- Run firefox in the console
- Select firefox-wrapper.out with the arrow keys and press Enter
- Make a .replit file
- Make its contents the following:
run="firefox"
Tada you now have a firefox emulator that you can run with the Run button (though I don’t think it has sound)
5 Likes
Dang, this would just be a proxy on non-firewalled Replit
2 Likes
Wouldn’t this be able to access any website from Replit’s own servers? (Essentially a proxy)
1 Like
Yeah it acts as a proxy, but I didn’t really know it was from Replit’s servers. (I guess I thought it went through your computer or something?)
This post was really just me trying to simplify all of those old/outdated Firefox/Chromium Repls into something you can make yourself
Sorry
, thought I’d point that out though.
Back more on topic, would I be able to access sites hosted from Replit with localhost on Firefox?
1 Like
No I don’t think so. Well actually maybe…
I will try it. But I would say…no…because maybe it doesn’t really use a Replit server or an actual network/IP address. I could access the single Repl’s files that Firefox was running on, though. But you could do that with any Repl you own by going into the shell and going up a few directories.
1 Like
I don’t think Replit can do that… Lol…
2 Likes
Well I mean when you open a Replit website (like a *.*.repl.co
) then use IPify or something then it gets your IP, so I thought it like fetched from your internet and passed it over somehow
I tried localhost on both ports 5000 and 3000, both to get this screen:
1 Like
No… That’s not… possible… AFAIK.
3 Likes
I didn’t think it would be since each Repl is kind of its own cloud container but it was worth trying in case (though someone probably would have discovered it by now if it did work like that)
3 Likes
Wait… How did you make that?
1 Like
Who are you replying to? Me?
And you can follow the tutorial to answer that question.
Replit is able to run executables (or at least DEB files), so I think that NixPkg just does that. I tried looking up the nixpkg and couldn’t find much docs/info on it but it’s still cool. And just to note:
1 Like
Hw do I create a repl like this?
Can I use Chromium instead?
*in the shell* not the console, as the console might not be bash/command line