[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
  • ХоббиХобби

Комментарии • 126

  • @GuntherSuper
    @GuntherSuper  10 месяцев назад +19

    Hey! In this video I show you how to run any Python or NodeJs script 24/7 on Replit. Thanks for watching.

    • @pasqualedimariano2759
      @pasqualedimariano2759 10 месяцев назад

      Will you open a new sellers channel on your server?

    • @ham_bugar
      @ham_bugar 7 месяцев назад

      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

    • @ham_bugar
      @ham_bugar 7 месяцев назад

      @GuntherSuper please help idk how to fix it

    • @Acr0KazixArx
      @Acr0KazixArx 7 месяцев назад

      ​@@ham_bugar from flask import Flask, render_template
      from threading import Thread

    • @Acr0KazixArx
      @Acr0KazixArx 7 месяцев назад +1

      @@ham_bugar Try adding this to the first line of your code

  • @gtasanandreas684
    @gtasanandreas684 10 месяцев назад +2

    THANK YOU, this helps a lot for my final project, thank you

  • @gillisagorastos7586
    @gillisagorastos7586 7 месяцев назад

    THANKS BRO YOU ARE AMAZING!

  • @BosniaWorldMapping
    @BosniaWorldMapping 9 месяцев назад

    thank you so much! it helped alot!

  • @gtasanandreas684
    @gtasanandreas684 10 месяцев назад +2

    You're a life saver

  • @Rutuz
    @Rutuz 6 месяцев назад

    we love you

  • @ryuuotsuka
    @ryuuotsuka 8 месяцев назад +1

    Nice 😂

  • @user-ix6qr2tx9w
    @user-ix6qr2tx9w 7 месяцев назад +2

    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.👀

  • @NightElvf
    @NightElvf 10 месяцев назад

    Hello man how i can create a VPS with browser for navegate ?

  • @user-bc1xp2of2x
    @user-bc1xp2of2x 6 месяцев назад

    i have simple python bot code how i can find the application link

  • @Sourav-fj4zc
    @Sourav-fj4zc 6 месяцев назад +1

    How can I use for python anywhere?

  • @cyb0rg14
    @cyb0rg14 7 месяцев назад

    Dunno why, but Im not getting always on option 😅

  • @KabirSafdar
    @KabirSafdar 10 месяцев назад

    Please make a video on how to creata our own discord music bot

  • @Pawlo370
    @Pawlo370 4 месяца назад +1

    can you make video to discord bot python 24/7?

  • @Racist112
    @Racist112 День назад

    but how do you run your Java app 24/7? please reply.

  • @_ROMANO_
    @_ROMANO_ 9 месяцев назад +2

    Hello, good morning: script 24/7 on Replit is the same for Render?

  • @itszubariel
    @itszubariel 10 месяцев назад +1

    ​ @GuntherSuper It works fine but after 5 hours it's automatically turned off. Any fixes for this??

  • @tapanpaul3341
    @tapanpaul3341 24 дня назад

    How to find that app name in adress bar??

  • @imsela
    @imsela 10 месяцев назад +4

    sir bot not run 24/7 when have alot user use bot

  • @mohammedfayas6195
    @mohammedfayas6195 10 месяцев назад

    Bro. The drops on twitch are not auto claiming. Why is that ? Is there a fix

  • @chenbrian8193
    @chenbrian8193 3 месяца назад +1

    The monitor URL/IP is in blacklist, please try with another URL/IP. Why?

  • @Skyyy671
    @Skyyy671 25 дней назад +1

    sorry but there's an error : the module flask and keep_alive doesn't exist

    • @voorrrr
      @voorrrr 12 дней назад

      it says patched in the title so it dont work no more

    • @Skyyy671
      @Skyyy671 12 дней назад +1

      @@voorrrr ok

  • @LainaWilson-qd9ih
    @LainaWilson-qd9ih 7 месяцев назад +5

    why is it not giving me a url?

    • @Shadow_Shadow04
      @Shadow_Shadow04 6 месяцев назад

      same it just says /

    • @EspeedE
      @EspeedE 6 месяцев назад

      ​@Shadow_Shadow04 did u find any solution?

    • @Shadow_Shadow04
      @Shadow_Shadow04 6 месяцев назад

      @@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

    • @EspeedE
      @EspeedE 6 месяцев назад

      @@Shadow_Shadow04 if you fail reset the bot tokens and you are safe

  • @user-mg5qj7fz4u
    @user-mg5qj7fz4u Месяц назад

    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.

  • @TheInnovationsofFahim
    @TheInnovationsofFahim Месяц назад +1

    Not working 😭

  • @MonkeDrex
    @MonkeDrex 7 месяцев назад

    It keepts not workin pls help its says intendation error

    • @easternboy66
      @easternboy66 7 месяцев назад +1

      then indent it

    • @spriteman1925
      @spriteman1925 6 месяцев назад

      bro is DUMB
      thats ur code not the tutorials fault

  • @weebsbrotherhood6125
    @weebsbrotherhood6125 9 месяцев назад +2

    my bot is online but it doesn't send respone message even though there's no error on console log

    • @nhetwork
      @nhetwork 6 месяцев назад

      You need to enable send messages in guild in discord developer settings

    • @nhetwork
      @nhetwork 6 месяцев назад

      You need to enable send messages in guild in discord developer settings

  • @user-tl3hw5go6s
    @user-tl3hw5go6s 6 месяцев назад

    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.

    • @GuntherSuper
      @GuntherSuper  6 месяцев назад

      there is no 'always on' anymore on replit.
      you can deploy some app but its not free. and it works 24/7 without interruptions

    • @Ultime_on-top
      @Ultime_on-top 5 месяцев назад

      @@GuntherSuper is there any new way to run replt 24/7 please!

  • @ocplayz1206
    @ocplayz1206 10 месяцев назад

    Do a tutorial on how to make a discord bot

  • @user-bc1xp2of2x
    @user-bc1xp2of2x 6 месяцев назад +1

    i still font understand how you get the website link that you say application username?

    • @mrmightybgm9648
      @mrmightybgm9648 2 месяца назад

      That's not working anymore. Now they are giving dynamic url which is valid only while developer session is active on replit.

  • @alex_turing
    @alex_turing 10 месяцев назад +3

    Doesn't work dude. The bot goes offline after around 1 hour

    • @itszubariel
      @itszubariel 10 месяцев назад

      fr

    • @alex_turing
      @alex_turing 10 месяцев назад +1

      @@itszubariel you can run a node js program in your computer and have it ping it for you

    • @itszubariel
      @itszubariel 10 месяцев назад

      wdym? @@alex_turing

    • @rutvikrana512
      @rutvikrana512 9 месяцев назад

      @@alex_turingwhat is point of using uptimebot if pc can be online 24x7 😂

    • @lua5.1
      @lua5.1 8 месяцев назад

      ​@@alex_turing Lol. There's better ways to ping it without using your PC.

  • @basakdeep
    @basakdeep 10 месяцев назад

    Ok I can now run nude bot 24.7

  • @tonyjaa6102
    @tonyjaa6102 6 месяцев назад

    Please teach more please 😢😭😭😭🙏 thanks but not fully I see i'am alive only but uptime is still not working 😢😞😞😓

    • @GuntherSuper
      @GuntherSuper  6 месяцев назад

      yes replit isnt free anymore, you can only deploy an app

  • @AlternativelyBananas
    @AlternativelyBananas 6 месяцев назад

    The URL isn't showing up for me :?

    • @EspeedE
      @EspeedE 6 месяцев назад +1

      Same

    • @MystreemPlus-unofficial
      @MystreemPlus-unofficial 5 месяцев назад

      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

    • @MystreemPlus-unofficial
      @MystreemPlus-unofficial 5 месяцев назад

      Replit is updated and got many changes and it won't work anymore :(

  • @paulo-ob8yx
    @paulo-ob8yx 9 месяцев назад

    my replit dont show always option, why?

  • @freestudymusic550
    @freestudymusic550 4 месяца назад +2

    It’s patched

  • @im9oood
    @im9oood 6 месяцев назад +1

    where is the url

    • @profklins
      @profklins 6 месяцев назад

      Replit made it paid to deploy your app so it no longer works apparently

    • @XFounder23
      @XFounder23 6 месяцев назад

      do we have another fix or workaround? the update kinda sucks
      @@profklins

    • @profklins
      @profklins 6 месяцев назад

      Yep i responded but smh the comment did not go through@@XFounder23

    • @lua5.1
      @lua5.1 6 месяцев назад

      ​@@XFounder23 Of course there is... And it's quite easy.

  • @Saye7
    @Saye7 6 месяцев назад

    Is this method still working?

  • @iammonster5026
    @iammonster5026 3 месяца назад +1

    01:56

  • @tonyjaa6102
    @tonyjaa6102 6 месяцев назад

    How to make main.py ?

    • @davidtomic1010
      @davidtomic1010 3 месяца назад

      DUDE it's your main python file!

    • @Catty.R
      @Catty.R 22 дня назад +2

      You shouldn't be coding anything if you don't know the basics

  • @bvsontxp
    @bvsontxp 5 месяцев назад

    help me i dont get the URL

    • @MystreemPlus-unofficial
      @MystreemPlus-unofficial 5 месяцев назад

      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

    • @MystreemPlus-unofficial
      @MystreemPlus-unofficial 5 месяцев назад +1

      I got my url but the bot isn't 24/7 online, when i close replit, it stops working

    • @Z1TRGB
      @Z1TRGB 5 месяцев назад

      yes i got the same problem,i have put my bot https in uptime it same didnt work 24/7
      @@MystreemPlus-unofficial

    • @bvsontxp
      @bvsontxp 5 месяцев назад +1

      @@MystreemPlus-unofficial yeah sane

    • @MystreemPlus-unofficial
      @MystreemPlus-unofficial 5 месяцев назад

      @@bvsontxp replit update their hosting :'(

  • @Voramae
    @Voramae 9 месяцев назад

    Where I need to put bot token?

  • @rottenfist220
    @rottenfist220 10 месяцев назад +1

    What's the purpose of these bots?

    • @felixbemme7257
      @felixbemme7257 10 месяцев назад +1

      Whatever you code them to do.

    • @mbeezy5062
      @mbeezy5062 10 месяцев назад +1

      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

    • @felixbemme7257
      @felixbemme7257 10 месяцев назад

      @user-yx9po9or4p ?

  • @MystreemPlus-unofficial
    @MystreemPlus-unofficial 5 месяцев назад

    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 ❤

  • @1.6183
    @1.6183 10 месяцев назад +13

    Blud is out of ideas😂

    • @GuntherSuper
      @GuntherSuper  10 месяцев назад

      Made for search traffic

    • @1.6183
      @1.6183 10 месяцев назад

      @user-yx9po9or4p what you talking about buddy?

    • @mbeezy5062
      @mbeezy5062 10 месяцев назад

      its a bot, its the same message under every comment@@1.6183

    • @maxwheeler4254
      @maxwheeler4254 9 месяцев назад +3

      @@1.6183 it’s a common search so he made a video about it

  • @monstercrafttv02
    @monstercrafttv02 10 месяцев назад

    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

    • @mak448a
      @mak448a 6 месяцев назад

      You have to put the token in the secrets tab.

  • @sepremz
    @sepremz 10 месяцев назад

    What happened to ur discord server!!

    • @GuntherSuper
      @GuntherSuper  10 месяцев назад +1

      My discord has been banned
      I created a new one check link in the description

    • @WoixSKFetko404
      @WoixSKFetko404 10 месяцев назад +1

      @@GuntherSupernot in description

  • @sasoushii2816
    @sasoushii2816 4 месяца назад

    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!