matievisthekat / poop-stats

View your pooping statistics in your README!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

📢 This project has been archived. Please use lowlighter/metrics with the PoopMap plugin enabled

💩 Poop Stats!

View your pooping statistics (from PoopMap) in your README!

Example

name: PoopStats
on:
  # Schedule updates (each hour)
  schedule: 
    - cron: "0 * * * *"
  push: 
    branches: 
      - master
jobs:
  poop-stats:
    runs-on: ubuntu-latest
    steps:
      - uses: matievisthekat/poop-stats@master
        with:
          # A GitHub Personal Access Token that allows the action the access the current repo
          pat: ${{ secrets.POOP_TOKEN }}
          
          # Your PoopMap username
          username: "poop-face-bob"
          
          # Your PoopMap password
          password: ${{ secrets.POOP_PASSWORD }}

This will generate a poop-metrics.svg file in the root directory of the repo.

You can then add the SVG to your repo like this:

<!-- If you're using "master" as default branch -->
![Metrics](https://github.com/my-github-user/my-github-user/blob/master/poop-metrics.svg)
<!-- If you're using "main" as default branch -->
![Metrics](https://github.com/my-github-user/my-github-user/blob/main/poop-metrics.svg)

Note

Credit to lowlighter for the graph style

About

View your pooping statistics in your README!

License:MIT License


Languages

Language:EJS 54.2%Language:JavaScript 45.8%