Discuss Scratch

Knightbot63
Scratcher
1000+ posts

Any good code hosting sites that CAN stay on 24/7 with no limits?

^ I heard of something called railway, but the thing is, I need to use my github but I don't know how to use environment variables for github and host it on railway.
MagicCrayon9342
Scratcher
1000+ posts

Any good code hosting sites that CAN stay on 24/7 with no limits?

self hosting
Knightbot63
Scratcher
1000+ posts

Any good code hosting sites that CAN stay on 24/7 with no limits?

MagicCrayon9342 wrote:

(#2)
self hosting
I don't have money.
gilbert_given_189
Scratcher
1000+ posts

Any good code hosting sites that CAN stay on 24/7 with no limits?

Knightbot63 wrote:

MagicCrayon9342 wrote:

(#2)
self hosting
I don't have money.
You do know you had the device you're currently using, right?
In a pinch you could just use that to host it.
Knightbot63
Scratcher
1000+ posts

Any good code hosting sites that CAN stay on 24/7 with no limits?

gilbert_given_189 wrote:

(#4)
You do know you had the device you're currently using, right?
In a pinch you could just use that to host it.
? Linux? But I want to run the code even if I go offline.
davidtheplatform
Scratcher
500+ posts

Any good code hosting sites that CAN stay on 24/7 with no limits?

Do you have a computer that is always on/you could keep always on? If so you could run it off that. A raspberry pi is also only 35$ if you dont.
ajskateboarder
Scratcher
1000+ posts

Any good code hosting sites that CAN stay on 24/7 with no limits?

MagicCrayon9342 wrote:

self hosting

Title wrote:

Any good code hosting sites that CAN stay on 24/7 with no limits?

Knightbot63 wrote:

^ I heard of something called railway, but the thing is, I need to use my github but I don't know how to use environment variables for github and host it on railway.
You should look at Railway's documentation or just look up how to host whatever programming language you're using.

Repository environment variables are located in the “Secrets and Variables” section of the Settings tab.
Knightbot63
Scratcher
1000+ posts

Any good code hosting sites that CAN stay on 24/7 with no limits?

ajskateboarder wrote:

(#7)
Repository environment variables are located in the “Secrets and Variables” section of the Settings tab.
So that's github's? Are there any alternatives to railway or no?
NFlex23
Scratcher
1000+ posts

Any good code hosting sites that CAN stay on 24/7 with no limits?

davidtheplatform wrote:

Do you have a computer that is always on/you could keep always on? If so you could run it off that. A raspberry pi is also only 35$ if you dont.
Good luck finding a Raspberry Pi for $35! Currently they are selling for outrageous prices.
ajskateboarder
Scratcher
1000+ posts

Any good code hosting sites that CAN stay on 24/7 with no limits?

Knightbot63 wrote:

ajskateboarder wrote:

(#7)
Repository environment variables are located in the “Secrets and Variables” section of the Settings tab.
So that's github's? Are there any alternatives to railway or no?
PythonAnywhere?
Knightbot63
Scratcher
1000+ posts

Any good code hosting sites that CAN stay on 24/7 with no limits?

ajskateboarder wrote:

(#10)
PythonAnywhere?
https://help.pythonanywhere.com/pages/AlwaysOnTasks
Warning - This will only work on paid accounts
And from what I've heard, pythonanywhere doesn't support websocket connections from scratchattach and such.
ideapad-320
Scratcher
1000+ posts

Any good code hosting sites that CAN stay on 24/7 with no limits?

Get a raspberry pi. It depends what your doing, but even one of the cheapest ones might be fine.
You can also use task scheduler to make your code start if your windows PC is on. Make sure you choose the right settings for that. I suggest you don't make a simple task, you make a normal task.
Ask a IRL friend to run the code 24/7 on their hardware.
Knightbot63
Scratcher
1000+ posts

Any good code hosting sites that CAN stay on 24/7 with no limits?

ideapad-320 wrote:

(#12)
Get a raspberry pi. It depends what your doing, but even one of the cheapest ones might be fine.
You can also use task scheduler to make your code start if your windows PC is on. Make sure you choose the right settings for that. I suggest you don't make a simple task, you make a normal task.
Ask a IRL friend to run the code 24/7 on their hardware.
Raspberry pi's are expensive now though…
WojtekGame
Scratcher
1000+ posts

Any good code hosting sites that CAN stay on 24/7 with no limits?

Knightbot63 wrote:

ideapad-320 wrote:

(#12)
Get a raspberry pi. It depends what your doing, but even one of the cheapest ones might be fine.
You can also use task scheduler to make your code start if your windows PC is on. Make sure you choose the right settings for that. I suggest you don't make a simple task, you make a normal task.
Ask a IRL friend to run the code 24/7 on their hardware.
Raspberry pi's are expensive now though…
then make the raspberry pi or you can't.
Knightbot63
Scratcher
1000+ posts

Any good code hosting sites that CAN stay on 24/7 with no limits?

WojtekGame wrote:

(#14)
then make the raspberry pi or you can't.
I do not know how. Plus, All I said was hosting sites, why are we going off-topic?
~~~
Replit is one but the new egress limit is bothering me and uptimerobot is slow
WojtekGame
Scratcher
1000+ posts

Any good code hosting sites that CAN stay on 24/7 with no limits?

Knightbot63 wrote:

WojtekGame wrote:

(#14)
then make the raspberry pi or you can't.
I do not know how. Plus, All I said was hosting sites, why are we going off-topic?
~~~
Replit is one but the new egress limit is bothering me and uptimerobot is slow
1.hardware and assembly
2.yes replit added the egress limit but codesandbox.io dosen't have that kind-of, and it has the same features, but collaboration might be like remixing though and limited, however use the personal one because some limits are removed.

3.I don't think someone make a uptimerrobot copy, unless you want to do it in a language
imfh
Scratcher
1000+ posts

Any good code hosting sites that CAN stay on 24/7 with no limits?

Lookup raspberry pi locator. There’s a website that finds stores that have Pis in stock. You can buy RPi 3s for fairly normal pricing, about $30.

You could also try using oracle cloud always free tier. Setup is a bit complex, and you need a credit card to prove you are a human (it doesn’t charge anything though, except like $0.99 that it refunds), but at the end you get a Linux server that is always running. You can host whatever you want from there. Sometimes the availability is a bit spotty, so it might not end up working for you.

See this tutorial to get an idea of how to setup the oracle cloud server. It shows how to do a Minecraft server, but you could do a web server instead.

https://blogs.oracle.com/developers/post/how-to-set-up-and-run-a-really-powerful-free-minecraft-server-in-the-cloud
Mryellowdoggy
Scratcher
1000+ posts

Any good code hosting sites that CAN stay on 24/7 with no limits?

I have been using this website for a while. Seems to work pretty good, and doesn't go offline or have a ton of limitations.
Knightbot63
Scratcher
1000+ posts

Any good code hosting sites that CAN stay on 24/7 with no limits?

Mryellowdoggy wrote:

(#18)
I have been using this website for a while. Seems to work pretty good, and doesn't go offline or have a ton of limitations.
So I can run all my backends on there 24/7?

imfh wrote:

(#17)
Lookup raspberry pi locator. There’s a website that finds stores that have Pis in stock. You can buy RPi 3s for fairly normal pricing, about $30.

You could also try using oracle cloud always free tier. Setup is a bit complex, and you need a credit card to prove you are a human (it doesn’t charge anything though, except like $0.99 that it refunds), but at the end you get a Linux server that is always running. You can host whatever you want from there. Sometimes the availability is a bit spotty, so it might not end up working for you.

See this tutorial to get an idea of how to setup the oracle cloud server. It shows how to do a Minecraft server, but you could do a web server instead.

https://blogs.oracle.com/developers/post/how-to-set-up-and-run-a-really-powerful-free-minecraft-server-in-the-cloud
Thanks, but I was looking for online sites that I can host my backends.

WojtekGame wrote:

(#16)

Knightbot63 wrote:

WojtekGame wrote:

(#14)
then make the raspberry pi or you can't.
I do not know how. Plus, All I said was hosting sites, why are we going off-topic?
~~~
Replit is one but the new egress limit is bothering me and uptimerobot is slow
1.hardware and assembly
2.yes replit added the egress limit but codesandbox.io dosen't have that kind-of, and it has the same features, but collaboration might be like remixing though and limited, however use the personal one because some limits are removed.

3.I don't think someone make a uptimerrobot copy, unless you want to do it in a language
1. Assembly is, bleh
2. Depends if it runs 24/7 no pingers
3. Some others managed to ping faster with uptimerobot.
bigspeedfpv
Scratcher
500+ posts

Any good code hosting sites that CAN stay on 24/7 with no limits?

Knightbot63 wrote:

^ I heard of something called railway, but the thing is, I need to use my github but I don't know how to use environment variables for github and host it on railway.
you'll need to learn environment variables (and preferably docker) for any good hosting solution

aws azure gcp digitalocean heroku linode hetzner cloud are online 24/7!

if you don't even know how environment variables work you do not need to design production software. that should be one of your FIRST STEPS - planning configuration through the environment. railway literally deploys the whole thing for you - the others have a variety of services (Heroku is similar to Railway, the rest all have VPS machines and other services like Serverless) that give you lower level access

Powered by DjangoBB