explaingit

moesnow/march7thassistant

10,481PythonAudience · generalComplexity · 3/5Setup · moderate

TLDR

A Python tool that automates every repetitive daily and weekly task in Honkai: Star Rail, stamina spending, login rewards, battle modes, so the game plays itself while you are away.

Mindmap

mindmap
  root((March7thAssistant))
    Daily tasks
      Stamina quests
      Login rewards
      Delegations
    Weekly tasks
      Echo of War
      Forgotten Hall
      Cosmoverse
    Automation
      Screenshot recognition
      Auto-schedule
      Docker support
    Extras
      Notifications
      Gacha export
      Frame rate unlock
Click or tap to explore — scroll the page freely

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

Things people build with this

USE CASE 1

Automatically complete daily stamina quests and collect login rewards in Honkai: Star Rail while you are away from the computer.

USE CASE 2

Run weekly Forgotten Hall and Echo of War battles unattended and receive a phone notification when everything is finished.

USE CASE 3

Export your gacha pull history in the UIGF community format to track results across sessions.

USE CASE 4

Run the assistant in Docker for silent background operation without a visible game window.

Tech stack

PythonOpenCVPyAutoGUI

Getting it running

Difficulty · moderate Time to first run · 30min

Requires Windows and a running Honkai: Star Rail installation, source install needs Python 3.12.

In plain English

March7thAssistant is a Python tool that automates repetitive daily and weekly tasks in the game Honkai: Star Rail. The README is written in Chinese. The name comes from March 7th, a character in the game. The tool is designed for players who find it tedious to log in every day to complete routine in-game chores. The daily tasks it handles include spending the game's stamina currency, completing training missions, collecting login rewards, running delegation assignments, and fighting in the Forgotten Hall. Weekly tasks include Echo of War battles, the Cosmoverse mode, and other recurring game modes. After finishing everything, the tool can play a sound to notify the user, then automatically close the game or even shut down the computer. The tool watches for when tasks become available again (either on a daily reset schedule or when the in-game stamina meter refills to a set value) and starts itself automatically. It also supports sending notification messages to the user's phone or messaging app when tasks finish. For players who want to run it unattended, it supports background operation without a visible game window and can also run inside Docker. Under the hood, the tool works by taking screenshots and using image recognition libraries (OpenCV, PyAutoGUI) along with optical character recognition to read what is on screen and click the right things. It includes a small utility panel for features like auto-advancing dialogue, unlocking the frame rate cap, and redeeming gift codes. Gacha pull history can be exported in the UIGF and SRGF standard formats, which are community-defined data formats for this purpose. Installation is available as a Windows executable for non-technical users, or from source using Python 3.12 and pip for those who prefer that approach.

Copy-paste prompts

Prompt 1
I want to set up March7thAssistant on Windows to handle my daily Honkai: Star Rail tasks automatically. Walk me through the installation and first-run configuration.
Prompt 2
How do I configure March7thAssistant to send me a notification on my phone when my daily tasks finish?
Prompt 3
I want the assistant to start automatically when my in-game stamina reaches 160. How do I set that threshold?
Prompt 4
How do I export my Honkai: Star Rail gacha history using March7thAssistant and save it in the UIGF format?
Open on GitHub → Explain another repo

← moesnow on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.