{"id":27125042,"url":"https://github.com/iaseth/calendar-cpp","last_synced_at":"2025-04-09T22:59:26.606Z","repository":{"id":285844682,"uuid":"959539550","full_name":"iaseth/calendar-cpp","owner":"iaseth","description":"Command-line calendar tool written in C++","archived":false,"fork":false,"pushed_at":"2025-04-03T02:13:56.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T22:59:24.603Z","etag":null,"topics":["calendar","command-line","cpp"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iaseth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-03T00:24:32.000Z","updated_at":"2025-04-03T02:13:59.000Z","dependencies_parsed_at":"2025-04-03T01:24:41.362Z","dependency_job_id":"f3d10071-7d65-46b5-9a95-632e3875df65","html_url":"https://github.com/iaseth/calendar-cpp","commit_stats":null,"previous_names":["iaseth/calendar-cpp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iaseth%2Fcalendar-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iaseth%2Fcalendar-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iaseth%2Fcalendar-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iaseth%2Fcalendar-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iaseth","download_url":"https://codeload.github.com/iaseth/calendar-cpp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248125594,"owners_count":21051768,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["calendar","command-line","cpp"],"created_at":"2025-04-07T14:29:06.230Z","updated_at":"2025-04-09T22:59:26.575Z","avatar_url":"https://github.com/iaseth.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## **📆 Calendar CLI (C++)**\nA simple **command-line calendar tool** written in **C++**, supporting multiple months, colored weekends, and flexible date inputs.\n\n🔗 **GitHub Repository:** [iaseth/calendar-cpp](https://github.com/iaseth/calendar-cpp.git)\n\n---\n\n## **🚀 Features**\n✅ Print the **calendar for any month and year**  \n✅ Accepts **month as number or name (full/partial)**  \n✅ Print **multiple months** using `-n` (e.g., next 3 months)  \n✅ **Sundays in red** and **Saturdays in orange**  \n✅ **Fully customizable and cross-platform**  \n\n---\n\n## **📥 Installation**\n### **🔹 Clone the Repository**\n```bash\ngit clone https://github.com/iaseth/calendar-cpp.git\ncd calendar-cpp\n```\n\n### **🔹 Build Using CMake**\n```bash\nmkdir build \u0026\u0026 cd build\ncmake ..\nmake\n```\nThe compiled executable will be **`cal`** inside the `build/` directory.\n\n---\n\n## **📌 Usage**\n### **🔹 Print Current Month**\n```bash\n./cal\n```\n\n### **🔹 Print a Specific Month**\n```bash\n./cal --month 5        # May of the current year\n./cal -m October       # October of the current year\n./cal -m Jan           # January of the current year\n```\n\n### **🔹 Print a Specific Year**\n```bash\n./cal --year 2024\n./cal -y 2023\n```\n\n### **🔹 Print Multiple Months (`-n`)**\n```bash\n./cal -m 10 -y 2023 -n 5\n```\n🔹 **Prints:** **October 2023 → February 2024**.\n\n### **🔹 Display Help**\n```bash\n./cal --help\n```\n\n---\n\n## **🎨 Color Formatting**\n- **🔴 Sundays are printed in red**  \n- **🟠 Saturdays are printed in orange**  \n\n🖥️ **Note:** Colors work in most **modern terminals**.\n\n---\n\n## **🔧 Development**\nTo modify the source, edit:\n```\nsrc/calendar.cpp\n```\nThen rebuild:\n```bash\ncd build\nmake\n```\n\n---\n\n## **📜 License**\nThis project is **open-source** under the **MIT License**.  \n\nFeel free to contribute! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiaseth%2Fcalendar-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiaseth%2Fcalendar-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiaseth%2Fcalendar-cpp/lists"}