/poop-stats

View your pooping statistics in your README!

Primary LanguageEJSMIT LicenseMIT

📢 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