đ DevOps Day 8 — Build a Beginner-Friendly GitHub API Project with Shell Scripting
đ Introduction Welcome to Day 8 of the DevOps series! In this lesson, we’ll build something practical: a GitHub repository tracker using just shell scripting and curl . This project introduces you to API integration — one of the most important DevOps skills. By the end of this tutorial, you’ll know how to: Fetch live GitHub data using an API Parse results using a simple tool ( jq ) Automate your report using a cron job đĄ What Is an API? An API (Application Programming Interface) allows two systems to communicate. In our case, we’ll use GitHub’s REST API to ask questions like: “How many ⭐ stars does this repo have?” “How many open PRs or issues exist?” GitHub’s API responds in JSON format — a lightweight data structure we can read easily with jq . đ§° Prerequisites Before we start: Install curl and jq sudo apt-get install curl jq -y # Ubuntu/Debian curl lets you talk to APIs, and jq helps read JSON data. Know your GitHub repo Example...