Skip to content

Create a README badge for each track showing problem count #1

@AshayK003

Description

@AshayK003

Background

The main README.md lists 4 tracks with problem counts but uses static text. Dynamic badges would make the repo look more professional on GitHub.

Task

Create shields.io badges for each track that auto-display the problem count:

  1. Count .md files in each track directory:

    • global-south-impact/ → 10 files
    • us-civic-tech/ → 10 files
    • india-impact/ → 5 files
    • rapid-prototype/ → 11 files
  2. Add shields.io dynamic JSON badges to README.md using the GitHub API to count files

  3. Example: https://img.shields.io/badge/dynamic/json?label=Global%20South&query=...&url=...

Hints

  • Use GitHub's tree API to count files: https://api.github.com/repos/AshayK003/hackathon-problem-statements/git/trees/master?recursive=1
  • shields.io supports the dynamic badge type

Expected output

A single PR updating README.md with 4 new badges inline with existing ones.

Skills needed

  • Markdown
  • Basic JSON/URL construction

Estimated effort: 1 hour

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions