gitwtfhub

wtf is auto-renew-bothosting?

eooce/auto-renew-bothosting — explained in plain English

Analysis updated 2026-05-18

39PythonAudience · vibe coderComplexity · 2/5Setup · moderate

TL;DR

A GitHub Actions script that automatically logs into and renews a free Bot-hosting account on a schedule, with a Discord login fallback if the saved session expires.

Mindmap

mindmap
  root((repo))
    What it does
      Auto renews Bot-hosting account
      Runs on GitHub Actions schedule
      Discord OAuth fallback login
    Tech stack
      Python
      GitHub Actions
      Discord OAuth
    Use cases
      Keep free hosting alive
      Get renewal notifications
      Avoid manual daily login
    Audience
      Vibe coders
      Self hosters
      General

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Keep a free Bot-hosting.net account renewed automatically without logging in by hand.

REASON 2

Get Telegram notifications when the renewal script runs successfully or fails.

REASON 3

Use a proxy link to reach Bot-hosting when its Cloudflare protection blocks certain server locations.

What's in the stack?

PythonGitHub ActionsDiscord OAuth

How it stacks up

eooce/auto-renew-bothostingaa2448208027-code/localaihotswapamapvoice/pilottts
Stars393939
LanguagePythonPythonPython
Setup difficultymoderatemoderatehard
Complexity2/53/54/5
Audiencevibe coderdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires a Discord token and, for full automation, a GitHub personal access token to refresh the session token.

No license file is included, so terms of use are unclear.

Wtf does this do

Auto-Renew-Bothosting is an automation script that keeps a free account on the Bot-hosting service active by logging in and renewing it on a schedule, so the owner does not have to remember to do it manually and risk losing their hosted bot. It runs entirely through GitHub Actions, meaning it works on GitHub's own servers on a timer, without needing the user to keep a computer running. To set it up, you fork the repository, turn on GitHub Actions for your copy, and add a set of secret values in your repository settings. The only required secret is a Discord token, which the script uses as a backup login method through Discord's sign-in process. Optional secrets include a session token copied from your browser's cookies for Bot-hosting, a GitHub token that lets the script automatically update that session token when it expires, a proxy link if your network needs one to reach the service reliably, and Telegram bot credentials if you want renewal notifications sent to you. The core idea is resilience: the script normally logs in using the saved session token, but if that token has expired, it automatically falls back to logging in through Discord and then saves a fresh session token back into the repository's secrets, so the whole thing keeps working without ongoing maintenance. The schedule for how often the workflow runs is defined in a file called renew.yml and should be adjusted to match how often the hosting service actually needs renewing. The README notes that some hosting service network nodes are blocked by Cloudflare protection, so using a cleaner proxy connection may be necessary for the login to succeed. It also includes a disclaimer stating the project is for learning purposes only, is not intended for profit, and that users are responsible for following the laws of their own country and the country where their server is located. The project does not mention a license.

Yoink these prompts

Prompt 1
Walk me through forking Auto-Renew-Bothosting and setting up the required GitHub Actions secrets.
Prompt 2
Explain how the Discord token fallback login works when SESSION_TOKEN expires in this script.
Prompt 3
Help me adjust the cron schedule in renew.yml to match my hosting account's renewal date.
Prompt 4
What secrets does Auto-Renew-Bothosting need, and which ones are optional?

Frequently asked questions

wtf is auto-renew-bothosting?

A GitHub Actions script that automatically logs into and renews a free Bot-hosting account on a schedule, with a Discord login fallback if the saved session expires.

What language is auto-renew-bothosting written in?

Mainly Python. The stack also includes Python, GitHub Actions, Discord OAuth.

What license does auto-renew-bothosting use?

No license file is included, so terms of use are unclear.

How hard is auto-renew-bothosting to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is auto-renew-bothosting for?

Mainly vibe coder.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.