- Notifications
You must be signed in to change notification settings - Fork7
Monkeytype Readme transforms MonkeyType typing data into SVGs for your GitHub Readme and Share Your MonkeyType Story With The World
monkeytype-hub/monkeytype-readme
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Monkeytype Readme transforms MonkeyType typing data into SVGs for your GitHub Readme.
Two way to generate MonkeyType Readme
Using GitHub Action from Marketplace (MonkeyType Readme Github Action)
Add a
monkeytype-readme.yml
file in your repository's.github/workflows/
path.Configure
monkeytype-readme.yml
with the following format:Username: Change
MONKEYTYPE_USERNAME
to your username in MonkeyType.Themes: Change
MONKEYTYPE_THEME_NAME
to your favorite theme in MonkeyType.
If theme name havespace
, please changespace
to_
.Example:
nord light
=>nord_light
Target Branch: Change
BRANCH_NAME
to the branch you want to put MonkeyType Readme.
name:generate monkeytype readme svgon:schedule: -cron:"0 */6 * * *"# every 6 hoursworkflow_dispatch:jobs:download-svg:runs-on:ubuntu-lateststeps: -name:Checkout codeuses:actions/checkout@v4 -name:Set up Node.jsuses:actions/setup-node@v3with:node-version:"20.x" -name:Generate Monkeytype Readme SVGuses:monkeytype-hub/monkeytype-readme@v1.0.0with:username:MONKEYTYPE_USERNAMEthemes:MONKEYTYPE_THEME_NAMEtarget-branch:BRANCH_NAMEgithub-token:${{ secrets.GITHUB_TOKEN }}
Go to actions and run
generate monkeytype readme svg
workflow.Done! Now, navigate to your target branch and you'll find the MonkeyType README file. You can also integrate it into your GitHub README.
Add a
monkeytype-readme.yml
file in your repository's.github/workflows/
path.Configure
monkeytype-readme.yml
with the following format:Note: change YOUR_USERNAME to your MonkeyType username.
Note: This workflow will auto to update your MonkeyType Readme.
Change
THEMES
to your favorite theme in MonkeyType.
If theme name havespace
, please changespace
to_
.Example:
nord light
=>nord_light
name:generate monkeytype readme svgon:schedule: -cron:"0 */6 * * *"# every 6 hoursworkflow_dispatch:jobs:download-svg:runs-on:ubuntu-lateststeps: -name:Checkout codeuses:actions/checkout@v3 -name:Set up Node.jsuses:actions/setup-node@v3with:node-version:"20.x" -name:Download SVGrun:| mkdir public curl -o public/monkeytype-readme.svg https://monkeytype-readme.zeabur.app/generate-svg/YOUR_USERNAME/THEMES curl -o public/monkeytype-readme-lb.svg https://monkeytype-readme.zeabur.app/generate-svg/YOUR_USERNAME/THEMES?lb=true curl -o public/monkeytype-readme-pb.svg https://monkeytype-readme.zeabur.app/generate-svg/YOUR_USERNAME/THEMES?pb=true curl -o public/monkeytype-readme-lb-pb.svg https://monkeytype-readme.zeabur.app/generate-svg/YOUR_USERNAME/THEMES?lbpb=true -name:push monkeytype-readme.svg to the monkeytype-readme branchuses:crazy-max/ghaction-github-pages@v4.0.0with:target_branch:monkeytype-readmebuild_dir:publicenv:GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}
Add SVGs to your GitHub Readme.
Note:
change YOUR_MONKEYTYPE_USERNAME to your MonkeyType username.
change YOUR_GITHUB_USERNAME to your Github username.
change YOUR_GITHUB_REPOSITORY to your repository name.
change SVG_NAME to the svg you want to use.original : monkeytype-readme.svg
original + leader boards : monkeytype-readme-lb.svg
original + personal bests : monkeytype-readme-pb.svg
original + leader boards + personal bests : monkeytype-readme-lbpb.svg<ahref="https://monkeytype.com/profile/YOUR_MONKEYTYPE_USERNAME"> <imgsrc="https://raw.githubusercontent.com/YOUR_GITHUB_USERNAME/YOUR_GITHUB_REPOSITORY/monkeytype-readme/SVG_NAME"alt="My Monkeytype profile" /> </a>
Go to actions and run
generate monkeytype readme svg
workflow.Done! Your MonkeyType Readme will show on your Readme.
To run MonkeyType Readme locally, follow these steps:
Clone this repository:
git clone https://github.com/monkeytype-hub/monkeytype-readme.git
Store the MonkeyType APE keys in
.env
:cp .env.example .env
Install the dependencies:
npm install
Run the application:
npm run dev
Finally, visithttp://localhost:3000 in your web browser.
About
Monkeytype Readme transforms MonkeyType typing data into SVGs for your GitHub Readme and Share Your MonkeyType Story With The World
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.