Qingque Gamba
Features
- Account binding
- Automatic localization depending on your Discord language!
- Player profile card
- Character profile card
- Battle Chronicles (via HoyoLab)
- Simulated Universe (via HoyoLab)
- Memory of Chaos (via HoyoLab)
- Daily reward claim (HoyoLab)
- Relic scoring
- Redemption code claim (via HoyoLab)
Running it Yourself
Requirements:
- Python 3.10+
- Poetry
- Redis Database
- Working server
Running:
- Run
poetry install
to install all deps
- Create
config.toml
from config.toml.example
and fill everything.
- Start bot by running
poetry run srsbot
You can also generate your card without the bot by just running: poetry run srscard [UID]
(See poetry run srscard --help
for more info)
Rate Limited?
See here: naoTimesdev/qingque-data
Rate Limited
Credits
- Original Mihomo API implementation: https://github.com/kT-Yeh/mihomo/ (Yoinked most of the code and rewrite it using
msgspec
)
- StarDB.gg: https://stardb.gg/ (I basically ripped their design styles and decide to reimplement it and tweaks)
- Some difference are:
- Relic set bonus information
- Show avatar
- More iconography
- Better skills view (Show major trace, alignment issue, etc.)
- Fixed a ton of centering issue
- Better information for Element/Path
- Add rarity star
- Margin adjustment
- Use font that are used in-game
- Mar-7th StarRailRes: https://github.com/Mar-7th/StarRailRes (I'm using assets from here and saved it locally.)
- thesadru genshin.py: https://github.com/thesadru/genshin.py (Used some of their code for my own HoyoLab client.)
- miHoYo/Honkai: Star Rail — As all the fonts/assets are taken from the game, all rights reserved.
Copyright
The code in this repository is owned by naoTimesdev, the code is released under the MIT License. Original assets and fonts used in this project are sourced from the game Honkai: Star Rail, developed by miHoYo. All rights to these assets and fonts belong to miHoYo and/or COGNOSPHERE PTE LTD, and they are used here for our profile generator purposes only. Additionally, this project has taken inspiration from other projects, which are credited in the Credits section. The license terms for any incorporated elements depend on the individual projects from which they were sourced.