[Patched] How to Make Replit Code Run 24/7 (Python and NodeJS)
HTML-код
- Опубликовано: 27 июл 2024
- In this video I show you how to run your Python or Nodejs script for all the time 24/7, even your PC is turned off. I use replit and uptimerobot to run my scripts. You can run discord bot 24/7 or telegram bot, any time boosts. how to make discord bot online 24/7
Our Discord - / discord
Links:
1. replit.com
2. uptimerobot.com/?rid=7c9687c4...
(for nodejs) keep_alive.js:
var http = require('http');
http.createServer(function (req, res) {
res.write("I'm alive");
res.end();
}).listen(8080);
In the main file (index.js) add:
const keep_alive = require('./keep_alive.js')
(for python) keep_alive.py:
from flask import Flask,render_template
from threading import Thread
app = Flask(__name__)
@app.route('/')
def index():
return "Alive"
def run():
app.run(host='0.0.0.0',port=8080)
def keep_alive():
t = Thread(target=run)
t.start()
in the main py file add:
from keep_alive import keep_alive
keep_alive()
Timestamps:
0:00 Replit 24/7
0:31 Paid subscription
0:51 Replit NodeJS 24/7
1:56 Replit Python 24/7
Our Social:
Instagram - / gunther.super
Discord server - / discord
Telegram - t.me/gunther_super
Steam - steamcommunity.com/id/gunther...
#python #programming #nodejs #coding #discord #replit #viral #video #viralvideo #viralshort Хобби
Hey! In this video I show you how to run any Python or NodeJs script 24/7 on Replit. Thanks for watching.
Will you open a new sellers channel on your server?
Traceback (most recent call last):
File "main.py", line 5, in from keep_alive import keep_alive
File "/home/ runner/discord-bot/keep_alive.py", line 1 from flask import Flask, render_template from threading import Thread
へ
SyntaxError: invalid syntax
@GuntherSuper please help idk how to fix it
@@ham_bugar from flask import Flask, render_template
from threading import Thread
@@ham_bugar Try adding this to the first line of your code
THANK YOU, this helps a lot for my final project, thank you
THANKS BRO YOU ARE AMAZING!
thank you so much! it helped alot!
You're a life saver
we love you
Nice 😂
Hey, I liked your video, keep it up, although I wanted to ask you if you could make a video on how to put a WhatsApp bot in replit 24/7.👀
Me too
Hello man how i can create a VPS with browser for navegate ?
i have simple python bot code how i can find the application link
How can I use for python anywhere?
Dunno why, but Im not getting always on option 😅
Please make a video on how to creata our own discord music bot
can you make video to discord bot python 24/7?
but how do you run your Java app 24/7? please reply.
Hello, good morning: script 24/7 on Replit is the same for Render?
@GuntherSuper It works fine but after 5 hours it's automatically turned off. Any fixes for this??
How to find that app name in adress bar??
sir bot not run 24/7 when have alot user use bot
same problam
Bro. The drops on twitch are not auto claiming. Why is that ? Is there a fix
updated replit
The monitor URL/IP is in blacklist, please try with another URL/IP. Why?
same
sorry but there's an error : the module flask and keep_alive doesn't exist
it says patched in the title so it dont work no more
@@voorrrr ok
why is it not giving me a url?
same it just says /
@Shadow_Shadow04 did u find any solution?
@@EspeedE nope but one possible is using a run code of one of the codes they give for free discord bot in yt that you put your token and they are ready to use
@@Shadow_Shadow04 if you fail reset the bot tokens and you are safe
It seems replit already knew about it so they fixed it by giving us a temporary link with its note: Dev URLs are temporary and will sleep after you leave the workspace.
sooo any other way?
Not working 😭
It keepts not workin pls help its says intendation error
then indent it
bro is DUMB
thats ur code not the tutorials fault
my bot is online but it doesn't send respone message even though there's no error on console log
You need to enable send messages in guild in discord developer settings
You need to enable send messages in guild in discord developer settings
Hi man, the option "Always on" doesn't even show, when I deploy my code. I upgraded to Core and had a chatbot running for about 2-3 weeks flawlessly. Then it wouldn't work anymore - it seemed off. How can I keep the code "Always on"? I already deployed it on Autoscale.
there is no 'always on' anymore on replit.
you can deploy some app but its not free. and it works 24/7 without interruptions
@@GuntherSuper is there any new way to run replt 24/7 please!
Do a tutorial on how to make a discord bot
lol its ez
i still font understand how you get the website link that you say application username?
That's not working anymore. Now they are giving dynamic url which is valid only while developer session is active on replit.
Doesn't work dude. The bot goes offline after around 1 hour
fr
@@itszubariel you can run a node js program in your computer and have it ping it for you
wdym? @@alex_turing
@@alex_turingwhat is point of using uptimebot if pc can be online 24x7 😂
@@alex_turing Lol. There's better ways to ping it without using your PC.
Ok I can now run nude bot 24.7
Please teach more please 😢😭😭😭🙏 thanks but not fully I see i'am alive only but uptime is still not working 😢😞😞😓
yes replit isnt free anymore, you can only deploy an app
The URL isn't showing up for me :?
Same
There is a button near the "🔧" button it will redirect to your website in a browser copy the link from the browser
Idk how to explain
Replit is updated and got many changes and it won't work anymore :(
my replit dont show always option, why?
It’s patched
where is the url
Replit made it paid to deploy your app so it no longer works apparently
do we have another fix or workaround? the update kinda sucks
@@profklins
Yep i responded but smh the comment did not go through@@XFounder23
@@XFounder23 Of course there is... And it's quite easy.
Is this method still working?
No
No
01:56
How to make main.py ?
DUDE it's your main python file!
You shouldn't be coding anything if you don't know the basics
help me i dont get the URL
There is a button near the "🔧" button it will redirect to your website in a browser copy the link from the browser
Idk how to explain
I got my url but the bot isn't 24/7 online, when i close replit, it stops working
yes i got the same problem,i have put my bot https in uptime it same didnt work 24/7
@@MystreemPlus-unofficial
@@MystreemPlus-unofficial yeah sane
@@bvsontxp replit update their hosting :'(
Where I need to put bot token?
in secrets
What's the purpose of these bots?
Whatever you code them to do.
For example: My own coded Discord bot in Python is linked with my Discord Account, so my Account is only 24/7 and i can change the Game to what ever i like
@user-yx9po9or4p ?
I sew many people facing issues url not found
Replit has been updated and got many changes
To get the url
There is a button next to the "🔧" button it will redirect to your website in a browser copy the link from the browser
Before doing that note you still cannot make the replit 24/7 online after the update so try finding a different engine
Hope i helped some of you ❤
suggest then
Blud is out of ideas😂
Made for search traffic
@user-yx9po9or4p what you talking about buddy?
its a bot, its the same message under every comment@@1.6183
@@1.6183 it’s a common search so he made a video about it
my steam account got one vac ban and someone stole all my inventory :D
dont put the secret key to this site
im working atm i didnt play at all
You have to put the token in the secrets tab.
What happened to ur discord server!!
My discord has been banned
I created a new one check link in the description
@@GuntherSupernot in description
this could have been so useful if you didn't fucking keep on zooming into your cursor at the microscopic scale!
give us the whole screen when you do a tutorial for god's sake!