An open API service indexing awesome lists of open source software.

https://github.com/4rivappa/typeracer-readme

github action workflow for generating typeracer graph for readme
https://github.com/4rivappa/typeracer-readme

profile-readme python readme-generator readme-stats typeracer typeracer-stats

Last synced: 7 months ago
JSON representation

github action workflow for generating typeracer graph for readme

Awesome Lists containing this project

README

          

```
__ __ __
/ /___ ______ ___ _________ _________ _____ ____/ /___ _/ /_____ _
/ __/ / / / __ \/ _ \/ ___/ __ `/ ___/ _ \/ ___/ / __ / __ `/ __/ __ `/
/ /_/ /_/ / /_/ / __/ / / /_/ / /__/ __/ / / /_/ / /_/ / /_/ /_/ /
\__/\__, / .___/\___/_/ \__,_/\___/\___/_/ \__,_/\__,_/\__/\__,_/
/____/_/
```

typeracer-readme generates typeracer graph for profile readme


typeracer graph

# how it works
getting data from typeracer with your username

1000 at a time, looping until it gets all racing data

generate two theme graphs (light and dark) images, and data.json file

# setup workflow
copy script.py and requirements.txt into root directory of your repo

copy typeracer_graph.yml yaml file into .github/workflows directory

# configure script.py
username variable

start_date variable (YYYY-MM-DD)

average-window

# adding graph to readme
add image with `src = "https://raw.githubusercontent.com/YOUR_USERNAME/YOUR_REPOSITORY/typeracer-readme/dark_graph.png"`

typeracer-readme above determines the branch in which images are saved