{"id":19704115,"url":"https://github.com/milan-sony/mensturalmate","last_synced_at":"2026-06-09T13:31:15.928Z","repository":{"id":170388962,"uuid":"646526561","full_name":"milan-sony/mensturalmate","owner":"milan-sony","description":"MensturalMate is a simple menu driven period calculator build in C language as part of my mini-project in MCA Semester 1","archived":false,"fork":false,"pushed_at":"2023-06-02T11:32:47.000Z","size":269,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-27T17:11:58.108Z","etag":null,"topics":["c","c-language","c-programming","menstrual-cycle","menstrual-tracking","mingw"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/milan-sony.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-05-28T17:19:50.000Z","updated_at":"2024-09-08T08:08:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"5a2bd47d-42b8-4b6a-b8e6-b8b728318457","html_url":"https://github.com/milan-sony/mensturalmate","commit_stats":null,"previous_names":["milan-sony/menstura"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/milan-sony/mensturalmate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milan-sony%2Fmensturalmate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milan-sony%2Fmensturalmate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milan-sony%2Fmensturalmate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milan-sony%2Fmensturalmate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/milan-sony","download_url":"https://codeload.github.com/milan-sony/mensturalmate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/milan-sony%2Fmensturalmate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34110011,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["c","c-language","c-programming","menstrual-cycle","menstrual-tracking","mingw"],"created_at":"2024-11-11T21:20:21.065Z","updated_at":"2026-06-09T13:31:15.874Z","avatar_url":"https://github.com/milan-sony.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg width=\"100\" src=\"./assets/icon.png\" alt=\"Icon\"\u003e\n\u003c/p\u003e\n\n# MensturalMate\n\nA simple menu driven period calculator build in C language as part of my mini-project in MCA Semester 1\n\n## Run locally\n\nTo run this project, you need to install an IDE/Code Editor (\u003ca href = \"https://code.visualstudio.com/\"\u003eVisual Studio Code\u003c/a\u003e is preferable) and also a C/C++ compiler on your system. Some popular compilers are:\n1. GCC on Linux\n2. GCC via Mingw-w64 on Windows\n3. Microsoft C++ compiler on windows\n4. Clang for XCode on MacOS\n\nCheck out this \u003ca href = \"https://www.javatpoint.com/how-to-run-a-c-program-in-visual-studio-code\"\u003e link \u003c/a\u003e to know how to run a C program in Visual Studio Code.\n\n## To compile the code\n\n```bash\n  gcc periods_tracker.c -o periods_tracker\n```\n\n## Run the code \n\n```bash\n  .\\periods_tracker\n```\n\n## Sample code\n```bash\n// stucture to hold the period details\nstruct period_details\n{\n    int day;\n    int month;\n    int year;\n    int cycle_length;\n    int period_length;\n}periods;\n```\n\n```bash\n    int day = periods.day;\n    int month = periods.month;\n    int year = periods.year;\n    int days_in_month;\n```\n\n```bash\nfor (int i = 0; i \u003c 3; i++){\n    day += periods.cycle_length;\n    if (day \u003e days_in_month){\n        day -= days_in_month;\n        month++;\n        if (month \u003e 12){\n            month = 1;\n            year++;\n         }\n     }\n     printf(\"\\t=\u003e \\t%d/%d/%d\\n\\n\", day, month, year);\n}\n```\n\n## Screenshot\n\n\u003cimg src=\"./assets/Screenshot.png\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilan-sony%2Fmensturalmate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmilan-sony%2Fmensturalmate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmilan-sony%2Fmensturalmate/lists"}