Skip to content

Latest commit

 

History

History
264 lines (200 loc) · 10.4 KB

README.md

File metadata and controls

264 lines (200 loc) · 10.4 KB

Table of Contents

  1. Introduction
  2. Snake Animation
  3. 3D Profile Contribution
  4. Wakatime Stats
    1. By athul
  5. Recent Activity
  6. Spotify Playing Now
  7. Profile Metrics (lowlighter)

Introduction

Here I tested cool things for readme profiles. If you like this, please do give a star 🌟! 🤗

⚠️ Copyright Disclaimer: I DO NOT own these codes. All rights belonged to their respective owners! No copyright infringement intended.


Snake Animation

  • Name your main branch as master or change the line 14 master to main
  • Then Create another branch named output
  • Create /.github/snake.yml in main branch
  • Paste the following codes in that file
name: generate snake animation

on:
  # run automatically every 24 hours
  schedule:
    - cron: "0 */24 * * *" 
  
  # allows to manually run the job at any time
  workflow_dispatch:
  
  # run on every push on the master branch
  push:
    branches:
    - master # or main
    
  

jobs:
  generate:
    runs-on: ubuntu-latest
    timeout-minutes: 10
    
    steps:
      # generates a snake game from a github user (<github_user_name>) contributions graph, output a svg animation at <svg_out_path>
      - name: generate github-contribution-grid-snake.svg
        uses: Platane/snk/svg-only@v2
        with:
          github_user_name: ${{ github.repository_owner }}
          outputs: |
            dist/github-contribution-grid-snake.svg
            dist/github-contribution-grid-snake-dark.svg?palette=github-dark

      # push the content of <build_dir> to a branch
      # the content will be available at https://raw.githubusercontent.com/<github_user>/<repository>/<target_branch>/<file> , or as github page
      - name: push github-contribution-grid-snake.svg to the output branch
        uses: crazy-max/ghaction-github-pages@v2.6.0
        with:
          target_branch: output
          build_dir: dist
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  • Run the Workflow in action.
  • If it is successful, it will create 2 svg, 1 for dark mode another one for light mode.

Original source : Platane
Back To Top


3D Profile Contribution

  • Create /.github/profile-3d.yml
  • Paste the following codes in that file
name: GitHub-Profile-3D-Contrib

on:
  schedule:
    - cron: "0 18 * * *"
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    name: generate-github-profile-3d-contrib
    steps:
      - uses: actions/checkout@v2
      - uses: yoshi389111/github-profile-3d-contrib@0.6.0
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          USERNAME: ${{ github.repository_owner }}
      - name: Commit & Push
        run: |
          git config user.name github-actions
          git config user.email github-actions@github.com
          git add -A .
          git commit -m "generated"
          git push
  • Run the Workflow in action.
  • If it is successful, it will create 10 svg in profile-3d-contributions file.

Original source : ©️ yoshi389111
Back To Top


Wakatime Stats By athul

From: 11 July 2022 - To: 14 January 2025

Total Time: 642 hrs 51 mins

HTML             200 hrs 53 mins ███████▓░░░░░░░░░░░░░░░░░   31.25 %
Markdown         174 hrs 40 mins ██████▓░░░░░░░░░░░░░░░░░░   27.17 %
Other            113 hrs 34 mins ████▒░░░░░░░░░░░░░░░░░░░░   17.67 %
Canva Design     58 hrs 25 mins  ██▒░░░░░░░░░░░░░░░░░░░░░░   09.09 %
CSS              47 hrs 28 mins  ██░░░░░░░░░░░░░░░░░░░░░░░   07.39 %
` in your README file.
  • Go to your repo's Settings -> Secrets and add a new secret named WAKATIME_API_KEY with your API key as it's value.
  • Create .github/workflow/Wakatime.yml
  • Add Following codes in your YML file
name: Waka Readme
on:
  workflow_dispatch:

jobs:
  update-readme:
    name: WakaReadme DevMetrics
    runs-on: ubuntu-latest
    steps:
      - uses: athul/waka-readme@master
        with:
          WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}
          SHOW_TITLE: true
          BLOCKS: ->
          TIME_RANGE: all_time
          SHOW_TIME: true
          SHOW_MASKED_TIME: true

Original source : ©️ athul
Back To Top


⚡ Recent Activity

  1. 🎉 Merged PR #13 in NyanKaungSet/Markdown
  2. 💪 Opened PR #13 in NyanKaungSet/Markdown
  3. 🎉 Merged PR #12 in NyanKaungSet/Markdown
  4. 💪 Opened PR #12 in NyanKaungSet/Markdown
  5. 🎉 Merged PR #8 in NyanKaungSet/Lighthouse

  • Add the comment <!--START_SECTION:activity--> and <!--END_SECTION:activity--> in your README.md.
  • Copy all the codes.
  • Sometimes, it doesn't work, when you only copy the <!--START_SECTION:activity--> and <!--END_SECTION:activity-->
# :zap: Recent Activity

<!--START_SECTION:activity-->
1. 🎉 Merged PR [#90](https://github.com/CartimDraluc/Cartimpedia/pull/90) in [CartimDraluc/Cartimpedia](https://github.com/CartimDraluc/Cartimpedia)
2. 💪 Opened PR [#90](https://github.com/CartimDraluc/Cartimpedia/pull/90) in [CartimDraluc/Cartimpedia](https://github.com/CartimDraluc/Cartimpedia)
3. 🗣 Commented on [#89](https://github.com/CartimDraluc/Cartimpedia/issues/89) in [CartimDraluc/Cartimpedia](https://github.com/CartimDraluc/Cartimpedia)
4. ❗️ Closed issue [#89](https://github.com/CartimDraluc/Cartimpedia/issues/89) in [CartimDraluc/Cartimpedia](https://github.com/CartimDraluc/Cartimpedia)
5. ❗️ Opened issue [#89](https://github.com/CartimDraluc/Cartimpedia/issues/89) in [CartimDraluc/Cartimpedia](https://github.com/CartimDraluc/Cartimpedia)
<!--END_SECTION:activity-->
  • Create file name .github/workflows/update-readme.yml.
  • Copy the following codes.
  • Note that the job runs every half an hour.
  • make sure you created GITHUB_TOKEN with following scopes in your Personal access tokens.
  • admin:public_key, gist, notifications, workflow, write:packages

YML file

name: Recent Activity

on:
  schedule:
     - cron: '0 0  * * 0'
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest
    name: Update this repo's README with recent activity
    permissions:
      contents: write

    steps:
      - uses: actions/checkout@v3
      - uses: jamesgeorge007/github-activity-readme@master
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Original source : jamesgeorge007
Back To Top


Spotify Playing Now



  • Copy the MarkDown Code and paste it in your README file.


Original source : kittinan
Back To Top


⚠️ Actions Status

Fortune Generate Snake Metrics Profile 3D Contributions Recent Activity Wakatime Metrics