Skip to content

Honkai: Star Rail automation (auto-claiming dailies and codes) and web dashboard

License

Notifications You must be signed in to change notification settings

leetdavid/starrail-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StarRail Manager

A web application dashboard for viewing your Honkai: Star Rail stats, and automates the process of claiming your daily rewards.

Features

  • Auto-claim your dailies using api (Currently, it attempts to claim your daillies every hour, and only the api is required for this to work.)
  • Check the state of your assignments
  • (WIP, hoyoapi is bugged) Auto-redeem codes shown on prydwen.gg
  • (WIP) Get a discord alert when your assignments are complete
  • (WIP) Manage your automations using the webapp

Quickstart

1. Setup Environment Variables

The two required environment variables are PUBLIC_HOYO_API_TOKEN and PUBLIC_HOYO_API_UID. The instructions on obtaining the token is available on hoyoapi, and the UID is simply your in-game UID.

Copy .env.template and rename it to .env, and fill in the two environment variables mentioned above.

2. Install Dependencies

A prerequisite is to have pnpm installed globally (check here for instructions on installing pnpm).

Simply run the below command to install dependencies.

pnpm install

Run the below command to run the development server.

pnpm dev