Coder Social home page Coder Social logo

handzcz / genshin-stats Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 6.0 25 KB

Repository that host code to show my genshin stats. Claims daily reward and active primo codes.

Home Page: https://genshin.handz.us.to/

Python 19.55% Procfile 0.19% PHP 2.78% Mako 77.34% Shell 0.14%
code codes genshin genshin-impact genshinimpact reward rewards stats game primogem

genshin-stats's Introduction

Genshin stats

Repository that hosts code to show my genshin stats.
Automatically claims:

My stats

Deploy

Setup

You will need to have or create Deta account and optionally some website hosting that supports php scripts.

Deta

  1. Create account if you don't have one
  2. Deploy
  3. Configure environment variables
    1. Set key to GAME_UID and value to your UID in game
    2. Set COOKIE
      1. Go to https://www.hoyolab.com/.
      2. Login to your account.
      3. Press F12 to open Inspect Mode (ie. Developer Tools).
      4. Go to Console
      5. run copy(document.cookie)
        image
    3. (Optional) Set key to WEB_KEY and value to the generated key you created when you were editing index.php
    4. (Optional) Set key to WEB_URL and value to your web url
  4. Go to the URL it gives you and add /force-refresh after it (e.g. https://dawdad.deta.dev/force-refresh).
    It should take a while to load and either say it timed out or OK.
    If it says timed out, then refresh until it doesn't.

Website (optional)

Use some free hosting or your own.

  1. Edit index.php
    1. Change $KEY="" to $KEY="SOME_GENERATED_KEY" (eg. $KEY="f54as65f156a1f6as156dc156asc61asd56a64f65as46f4as6d")
  2. Upload file index.php
  3. Load the page and make sure it's not showing any errors, you should see a blank page or a warning that page.html is missing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.