Alternatives for glitch right now?

So because of this new update of glitch making their URLs unpingable, I cannot host my discord bot, so any alternatives for glitch? I have found some services like repl.it and codesandbox.io but they have a huge problem…all the code you write is considered open source and anyone can swoop in and take your code, in repl.it you have to upgrade to “Hacker Plan” which allows your project to be private, and in codesandbox.io its called “Pro”. Can anyone please suggest me a cloud IDE which provides URLs like glitch? It would help me a lot!

People should really notice that the .env part of your project is hidden for repl.
You can always stick all your code in .env as base64 and decode from there if you want to keep the code private :stuck_out_tongue:

1 Like

Oh wait…I can hide my whole code? like my WHOLE CODE? @javaarchive

yeah you just need to need to turn it into base64 and decode from base64 when you are running it however editing it will be a big problem.

Hmm, I agree…but do you know any services like glitch? Where you can code your bot privately?

For editing, I might as well just use GitHub because I need an account for repl.it so I should just make use of that.

What do you mean?? Sorry I don’t understand!

So, make a private github rep, then add all the code, then you convert it to base 64.

Might work on a proof of concept for this…

Might be annoying to have 10-100 files and having to edit all of them.

Probably isn’t practical, just thought it would be fun to try it.

2 Likes

Ima have to self host now. And my ISP randomly goes down at 1:48:30 exactly for no reason. And I have to host like 10 bots. RIP my network card. :frowning:

2 Likes

Not sure why this was flagged, thanks @SpencerSharkey!

Github actions auto converts to base 64 and pushes to repl.it/a diff repo which one can then use to push to repl.it

2 Likes

I have been thinking abound buying a raspberry pi and pinging the projects that way. But idk if that would be abuse.

You could just host a bot on there

Or even a website

1 Like

I’d rather do that. Cause then I don’t have to rely on GitHub or the raspberry Pi.

Also most websites are pay for private or free for x amount of time

The raspi is actually quite decent and you can just ssh and sftp into it

I just don’t feel like transfering code. I think if you are lazy and don’t feel like doing a lot, just do that, but if you don’t want to do that, then use the rasberry Pi for the entire bot.

Actually this is possible. And you can edit your code as well. Here’s how (part of it):

  1. Write all the code into a GitHub repo.

  2. Use the Github API to fetch the contents of the repo. The best thing is that the API returns contents of a file in Base64 format and not raw text.

  3. Somehow update the Repl.it project with the Base64 text returned from the API.

  4. Use window.atob() to decode the Base64 text and run it (maybe something like eval).

This is just a hypothesis of how it could work, haven’t tried and I don’t have any guarantee that it might work.

1 Like

I use Crontabs so my code on github is automatically on many Pi after a certain amount of time.

Actually yeah lol. If you were doing python, you could just have your .env like this:

CODE=[Base64 Here]

Open it in your repl and run it with exec(). Other languages are very similar, and I promote you check it out.

On top of that, Repl.it doesn’t ban pingers like glitch (proof).

1 Like

What Repl.it Terms of Service says:

You agree not use or launch any automated system, including without limitation, “robots”, “spiders”, or “offline readers” that access the Service in a manner that sends more request messages to the Neoreason servers in a given period of time than a human can reasonably produce in the same period by using a conventional online web browser.

2 Likes

By that it means you wouldn’t DDOS or DOS their servers. Pinging is perfectly fine, and I’ve even talked to the CEO about it. A human can reasonably ping a service every 5 minutes, but not 20 times a second.

1 Like

That’s a reasonable answer, I would say. :slightly_smiling_face:

2 Likes