Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Windows Tipps & SecurityDave Plummer Has Made the Task Manager of Your Dreams(21.09.2026 um 21:20 Uhr)
Sichere ProgrammierungSubqueries and CTEs: Asking a Question Inside a Question(21.09.2026 um 21:00 Uhr)
Sichere ProgrammierungTVL Trend Analysis & Liquidity Risk Assessment: Lido(21.09.2026 um 21:00 Uhr)
Sichere ProgrammierungReact is Officially Dead in 2026 (Thanks to AI)(21.09.2026 um 21:01 Uhr)
Sichere ProgrammierungUsing SHA256 to Build Trustworthy Data Portals in Brazil(21.09.2026 um 21:01 Uhr)
Sichere Programmierung🚀 I reached 1,001 views on DEV!(21.09.2026 um 21:03 Uhr)
Sichere ProgrammierungReact Mental Models 2(21.09.2026 um 21:05 Uhr)
Sichere ProgrammierungAustralian RAM and SSD prices climb as stock tightens(21.09.2026 um 21:09 Uhr)
Windows Tipps & SecurityDave Plummer Has Made the Task Manager of Your Dreams(21.09.2026 um 21:20 Uhr)
Sichere ProgrammierungSubqueries and CTEs: Asking a Question Inside a Question(21.09.2026 um 21:00 Uhr)
Sichere ProgrammierungTVL Trend Analysis & Liquidity Risk Assessment: Lido(21.09.2026 um 21:00 Uhr)
Sichere ProgrammierungReact is Officially Dead in 2026 (Thanks to AI)(21.09.2026 um 21:01 Uhr)
Sichere ProgrammierungUsing SHA256 to Build Trustworthy Data Portals in Brazil(21.09.2026 um 21:01 Uhr)
Sichere Programmierung🚀 I reached 1,001 views on DEV!(21.09.2026 um 21:03 Uhr)
Sichere ProgrammierungReact Mental Models 2(21.09.2026 um 21:05 Uhr)
Sichere ProgrammierungAustralian RAM and SSD prices climb as stock tightens(21.09.2026 um 21:09 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Introducing the TryHackMe Badge Action Workflow: Automate Your Security Achievements Display

As developers, we are constantly seeking for methods to demonstrate our abilities and accomplishments. TryHackMe provides an excellent forum for cybersecurity enthusiasts to learn and demonstrate their expertise. However, manually…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

As developers, we are constantly seeking for methods to demonstrate our abilities and accomplishments. TryHackMe provides an excellent forum for cybersecurity enthusiasts to learn and demonstrate their expertise. However, manually upgrading your TryHackMe badges can be tedious. That's why I created the TryHackMe Badge Action Workflow, a GitHub Action that automates the process of displaying your TryHackMe achievements within your GitHub profile or repository.



Coding Gif



In this blog article, I'll explain why I created this action, how it works, and how you may use it in your own markdown files in github.






Motivation: Automating the Display of Achievements



TryHackMe is a tool that many people in the cybersecurity field use to sharpen their abilities. However, manually updating badges or tracking your progress might be time-consuming, especially if you want to share this information on your GitHub page. I thought of a solution that would automate this process, allowing anyone to demonstrate their TryHackMe achievements with no effort.






What Is the TryHackMe Badge Action Workflow?



The TryHackMe Badge Action Workflow is a custom GitHub Action that refreshes and displays your TryHackMe badge on your GitHub profile or repository README page. This action allows you to maintain your achievements up to date without having to manually download, update, or commit your badge picture each time you acquire a new one.






How It Works



This action updates your GitHub profile or repository README with the new image and retrieves your most recent TryHackMe badge. This is a summary of the workflow's functions:




  • Image Fetching: The procedure begins with obtaining your TryHackMe badge's most recent version from a given URL.

  • Commit Changes: The downloaded image is then committed to your repository, guaranteeing that the most recent badge is always visible.

  • README Update: Lastly, the action adds the updated badge image to your README file, allowing you to view your TryHackMe accomplishments in real time.






Usage




  • Add the below script to your GitHub repository as a .yml file (e.g., update-tryhackme-badge.yml).

  • Configure the action with the following inputs:

  • GITHUB_TOKEN: Your GitHub Personal Access Token (required, set as a secret).

  • image_path: The path to store the downloaded badge image (defaults to ./assets/tryhackme-badge.png).

  • username: Your TryHackMe username (defaults to the value in a secret named THM_USERNAME).

  • user_id: Your TryHackMe user ID (defaults to the value in a secret named THM_USER_ID).




name: Update TryHackMe Badge

on:
schedule:
- cron: '0 0 * * *' # Runs every day at midnight
workflow_dispatch: # Allows manual triggering

jobs:
update-badge:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Fetch TryHackMe Badge
uses: DhanushNehru/[email protected]
with:
image_path: './assets/tryhackme-badge.png'
username: 'your_tryhackme_username'
user_id: 'your_tryhackme_user_id'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}





An easy-to-use yet effective solution for automating the display of your security accomplishments is the TryHackMe Badge Action Workflow.



If you liked the project as a source of encouragement and support please give it a star ⭐️👇







GitHub logo

DhanushNehru
/
tryhackme-badge-action-workflow



A github action for tryhackme to fetch and regenerate static badge image which can be used in the Readme







tryhackme-badge-action-workflow




A github action for tryhackme to fetch and regenerate static badge image which can be used in the Readme



This is a GitHub Action that fetches your latest TryHackMe badge, downloads it, and commits it to your repository.




Features





  • Fetches the latest badge based on your TryHackMe user ID.

  • Downloads the badge image to a specified file path.

  • Commits the downloaded image to your repository with a custom message.

  • Allows setting a custom committer username.




Usage





  • Add this script to your GitHub repository as a .yml file (e.g., update-tryhackme-badge.yml).

  • Configure the action with the following inputs:

    • GITHUB_TOKEN: Your GitHub Personal Access Token (required, set as a secret).

    • image_path: The path to store the downloaded badge image (defaults to ./assets/tryhackme-badge.png).

    • username: Your TryHackMe username (defaults to the value in a secret named THM_USERNAME).

    • user_id: Your TryHackMe user ID (defaults to the value in a secret named THM_USER_ID).









name: Update TryHackMe











I have used this in my Github README.md so feel free to check it out






Thanks for reading, please give a like as a sort of encouragement and also share this post in socials to show your extended support.



Follow for more ⏬



X / Instagram / Github / Youtube / Newsletter / Discord

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Introducing the TryHackMe Badge Action Workflow: Automate Your Security Achievements Display

Thematisch verwandte Begriffe: Introducing, TryHackMe, Badge, Action · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-94494 | jshERP through 3.6 contains a tenant isolation bypass vulnerability that…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick