explaingit

mrn0sleep/9router-auto-login-antigravity

Analysis updated 2026-05-18

43PythonAudience · developerComplexity · 2/5Setup · moderate

TLDR

A Python bot that automates adding a list of Google accounts to a self-hosted 9Router tool by driving a real Chrome browser.

Mindmap

mindmap
  root((9Router Auto Login Bot))
    What it does
      Automates account adding
      Drives real Chrome browser
      Reads accounts from a file
    Tech stack
      Python
      DrissionPage
      Chrome or Chromium
    Flow
      Opens 9Router locally
      Handles Google login
      Handles consent screens
    Modes
      Fast mode
      Normal mode
      Headless mode buggy
    Warnings
      Do not commit credentials
      CAPTCHA risk on many accounts

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

What do people build with it?

USE CASE 1

Bulk add a list of Google accounts to a locally running 9Router instance without manual clicking.

USE CASE 2

Automate repetitive Google login and consent screens using visible-text based browser automation.

USE CASE 3

Learn how DrissionPage can be used for browser automation that is harder to detect than standard WebDriver tools.

What is it built with?

PythonDrissionPageChrome

How does it compare?

mrn0sleep/9router-auto-login-antigravityalibaba/omnidoc-tokenbencharccalc/dwmfix
Stars434343
LanguagePythonPythonPython
Setup difficultymoderatemoderateeasy
Complexity2/53/52/5
Audiencedeveloperresearchergeneral

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

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires Python, Chrome or Chromium, and a locally running 9Router instance at a specific local address.

The README does not state a license.

In plain English

This project is a bot that automates a repetitive setup task for a self-hosted tool called 9Router: adding Antigravity accounts to it one by one. Instead of manually clicking through the router's web interface and logging into Google for each account, the bot drives a real Chrome browser to do it automatically, reading a list of email and password pairs from a text file and adding each account in turn. It is built in Python using a browser automation library called DrissionPage, which the README says is chosen because it avoids the standard WebDriver approach and is therefore harder for websites to detect as automation, and because it can find buttons and links by their visible text instead of relying on brittle technical selectors. The tool installs this dependency automatically the first time it runs if it is missing. To use it, you place your accounts in a file named akun.txt, one per line in the format email followed by a vertical bar and then the password, then run the main script. The bot opens Chrome, navigates to the local 9Router address, walks through the menus to add a new Antigravity connection, and then handles the Google login flow itself: entering the email, entering the password, and clicking through the various Google confirmation screens that can appear, such as workspace terms of service, an app verification notice, and OAuth consent. When an account succeeds, it is removed from the accounts file, and the bot moves on to the next one after a short delay. There are two speed modes, a slower default mode meant for unstable internet connections and a faster mode for good connections, which only changes how long the bot waits on Google's pages. A background, or headless, mode exists but the README states it is currently unreliable due to a browser connection bug, and recommends running with the browser visible instead. The README also includes a fairly detailed troubleshooting section covering missing dependencies, CAPTCHA prompts, timeouts, and browser detection issues, plus a clear warning never to commit or share the file containing your account credentials.

Copy-paste prompts

Prompt 1
Walk me through setting up this bot's akun.txt file and running it in normal mode.
Prompt 2
Explain the difference between fast mode and normal mode in this bot and when to use each.
Prompt 3
Help me troubleshoot a timeout error when this bot tries to log into Google.
Prompt 4
Explain why the README recommends against using headless mode right now.
Prompt 5
Explain how DrissionPage differs from a standard WebDriver browser automation approach.

Frequently asked questions

What is 9router-auto-login-antigravity?

A Python bot that automates adding a list of Google accounts to a self-hosted 9Router tool by driving a real Chrome browser.

What language is 9router-auto-login-antigravity written in?

Mainly Python. The stack also includes Python, DrissionPage, Chrome.

What license does 9router-auto-login-antigravity use?

The README does not state a license.

How hard is 9router-auto-login-antigravity to set up?

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

Who is 9router-auto-login-antigravity for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.