Discord Reverse Proxy
requests it's pretty easy to create a proxy server to retrieve resources from another location and serve them to the client, making it appear as if it came directly from the proxy! (If you didn't get any of that, I recommend reading this and this, too lol @21natzil used to make Medium articles.)
To put it in simple terms: my flask application will stand between Discord and your client, tossing resources back and forth programmatically, meaning it can't be monitored by any blocker or web filter!
The advantage of using my flask proxy is that it can handle
DELETE methods, making it so that most forms can be submitted; it won't just be you retrieving resources.
Right now, the server can only handle server-side forms and can't retrieve resources from subdomains of discord, unless specified. That means:
- Logging in is pretty hit or miss, for every 100 times you click the Login button, it'll probably work twice.
- There's a 0.5-2 second delay from when you press 'Enter' and when your messages actually sent
- Certain actions, like changing your pfp, username, managing bots, creating/deleting servers, etc. straight up don't work :(
Like I've said, the flask application is a middle man between you and your requests to Discord. Don't, for any reason, complete sensitive forms besides the login form (signups are dangerous too!)
With that said, enjoy Discord unblocked! =D
Discord uses absolute URLs, not relative ones. This means that when you click on a link, the "Login" link, for example, it will take you to discord.com/login, which is blocked, instead of discord.irethekid.repl.co/login. If something breaks and you get redirected to your "Blocked" page, try typing the URL manually. Sorry for the inconvenience :P
NOTE (Read Before Commenting):
For those of you who can't get past the login page, I may have found the issue.
discord.com ONLY sends/receives HTTPS requests/responses, and repl.it doesn't support hosting web applications over HTTPS. (At least, not with any method that I've tried.) So I guess the only way to get around this is, if available, to log in via Discord mobile with QR Code and log in that way. Once you've done that, my proxy server will make your cookies static until you logout, so that you can use Discord on your computer. Sorry for the inconvenience, but it's not exactly something that I can fix. Thanks for the nice comments! T~T
All replit web apps get https by default (I could explain more but that would get a bit into the technical side).
What is the best way to log in? holding down the enter key or spam clicking login?
@IreTheKID Wait how do i access the new version thing.
Edit: it takes me to the login page but then when i press the 'login' button it dosent work... it loads for a second but then still stays on the login screen.
Edit #2: It may be loading!!! rn!!! hope it works! fingers crossed.
EDIT #3: its back to staynig in the login screen... still attempting lmao.. ive pressed the login button like 100 times now.
Edit#4: plz work
everyone who is annoyed at the qr code + login button; i have found a way to login with token, this requires another device to gain your token however so i suggest once you get it save it somewhere.
this is a bookmarklet so it can be preformed on any device
it started working for a little bit then after a few days it signed me out after i changed my pass and i can’t get back in, i strongly suggest to not change your password on this, though overall it’s a great repl
POSSIBLE SOLUTION TO LOGIN BUTTON:
- put this code on a github repo
- make a github pages site.
- go to netlify
- get a domain from freenom.com
- connect freenom domain to netlify
- There's the ssl, meaning https
Hey guys, if your QR code login does not work try these steps:
1. Lower down the brightness of your desktop
2. Scan the QR code again and...
You have discord
@IreTheKID is this a coincidence i have a chromebook too xddddd
edit: you could just view the page source and copy it onto github or something and then just edit the html, thats kinda inspect tool 2.0
This is pretty good to be honest
Now I an use discord on my school chromebook no problemo
And then I can just close it no problemo
where did you learn how to do something like this? I want to try to make this for some other websites