]> jfr.im git - yt-dlp.git/commitdiff
More badges
authorpukkandan <redacted>
Wed, 27 Jan 2021 14:38:13 +0000 (20:08 +0530)
committerpukkandan <redacted>
Wed, 27 Jan 2021 14:46:34 +0000 (20:16 +0530)
:ci skip all

.github/workflows/build.yml
README.md

index d312bd3c83178c64619def4f9230c0955b556d8b..d070518169a849815495e600a849edd99d3c424a 100644 (file)
@@ -162,18 +162,15 @@ jobs:
         asset_name: SHA2-256SUMS
         asset_content_type: text/plain
 
-  update_version_badge:
-
-    runs-on: ubuntu-latest
-
-    needs: build_unix
-
-    steps:
-    - name: Create Version Badge
-      uses: schneegans/dynamic-badges-action@v1.0.0
-      with:
-        auth: ${{ secrets.GIST_TOKEN }}
-        gistID: c69cb23c3c5b3316248e52022790aa57
-        filename: version.json
-        label: Version
-        message: ${{ needs.build_unix.outputs.ytdlc_version }}
+#  update_version_badge:
+#    runs-on: ubuntu-latest
+#    needs: build_unix
+#    steps:
+#    - name: Create Version Badge
+#      uses: schneegans/dynamic-badges-action@v1.0.0
+#      with:
+#        auth: ${{ secrets.GIST_TOKEN }}
+#        gistID: c69cb23c3c5b3316248e52022790aa57
+#        filename: version.json
+#        label: Version
+#        message: ${{ needs.build_unix.outputs.ytdlc_version }}
index f780df4b42d5592b4d70c0e4e5f2f89b9b941f8e..f65d4b00fb1da89600575012e88843eb29bee920 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,9 +1,12 @@
 # YT-DLP
 
-<!-- See: https://github.com/marketplace/actions/dynamic-badges -->
-[![Release Version](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/pukkandan/c69cb23c3c5b3316248e52022790aa57/raw/version.json&color=brightgreen)](https://github.com/pukkandan/yt-dlp/releases/latest)
+[![Release version](https://img.shields.io/github/v/release/pukkandan/yt-dlp?color=brightgreen&label=Release)](https://github.com/pukkandan/yt-dlp/releases/latest)
 [![License: Unlicense](https://img.shields.io/badge/License-Unlicense-blue.svg)](LICENSE)
-[![CI Status](https://github.com/pukkandan/yt-dlp/workflows/Core%20Tests/badge.svg?branch=master)](https://github.com/pukkandan/yt-dlp/actions)
+[![CI Status](https://github.com/pukkandan/yt-dlp/workflows/Core%20Tests/badge.svg?branch=master)](https://github.com/pukkandan/yt-dlp/actions)  
+[![Commits](https://img.shields.io/github/commit-activity/m/pukkandan/yt-dlp?label=commits)](https://github.com/pukkandan/yt-dlp/commits)
+[![Last Commit](https://img.shields.io/github/last-commit/pukkandan/yt-dlp/master)](https://github.com/pukkandan/yt-dlp/commits)
+[![Downloads](https://img.shields.io/github/downloads/pukkandan/yt-dlp/total)](https://github.com/pukkandan/yt-dlp/releases/latest)
+[![PyPi Downloads](https://img.shields.io/pypi/dm/yt-dlp?label=PyPi)](https://pypi.org/project/yt-dlp)
 
 A command-line program to download videos from youtube.com and many other [video platforms](docs/supportedsites.md)
 
@@ -85,7 +88,7 @@ # NEW FEATURES
 # INSTALLATION
 
 You can install yt-dlp using one of the following methods:
-* Use [PyPI package](https://pypi.org/project/yt-dlp/): `python -m pip install --upgrade yt-dlp`
+* Use [PyPI package](https://pypi.org/project/yt-dlp): `python -m pip install --upgrade yt-dlp`
 * Download the binary from the [latest release](https://github.com/pukkandan/yt-dlp/releases/latest)
 * Use pip+git: `python -m pip install --upgrade git+https://github.com/pukkandan/yt-dlp.git@release`
 * Install master branch: `python -m pip install --upgrade git+https://github.com/pukkandan/yt-dlp`