{"id":24917991,"url":"https://github.com/prashantkoirala465/digital-clock-using-c-plus-plus","last_synced_at":"2025-07-29T10:33:56.608Z","repository":{"id":274661365,"uuid":"923643220","full_name":"prashantkoirala465/Digital-Clock-using-C-Plus-Plus","owner":"prashantkoirala465","description":"A feature-rich console-based digital clock application that displays time in beautiful ASCII art format along with local weather information. The clock supports multiple time zones, 12/24-hour formats, and real-time weather updates.","archived":false,"fork":false,"pushed_at":"2025-02-27T15:43:15.000Z","size":54,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-30T20:44:40.038Z","etag":null,"topics":["abstraction","ansi-escape-codes","api","c-plus-plus","c-plus-plus-17","encapsulation","logical-programming","object-oriented-programming","open-weather-map-api"],"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/prashantkoirala465.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-01-28T16:04:25.000Z","updated_at":"2025-02-27T15:43:19.000Z","dependencies_parsed_at":"2025-01-28T17:23:58.495Z","dependency_job_id":"ec44e2e0-0873-401e-8c69-7f4b7e0edcc6","html_url":"https://github.com/prashantkoirala465/Digital-Clock-using-C-Plus-Plus","commit_stats":null,"previous_names":["alexbytesback/digital-clock-using-c-plus-plus","prashantkoirala465/digital-clock-using-c-plus-plus"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/prashantkoirala465/Digital-Clock-using-C-Plus-Plus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashantkoirala465%2FDigital-Clock-using-C-Plus-Plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashantkoirala465%2FDigital-Clock-using-C-Plus-Plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashantkoirala465%2FDigital-Clock-using-C-Plus-Plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashantkoirala465%2FDigital-Clock-using-C-Plus-Plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prashantkoirala465","download_url":"https://codeload.github.com/prashantkoirala465/Digital-Clock-using-C-Plus-Plus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashantkoirala465%2FDigital-Clock-using-C-Plus-Plus/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267670676,"owners_count":24125198,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"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":["abstraction","ansi-escape-codes","api","c-plus-plus","c-plus-plus-17","encapsulation","logical-programming","object-oriented-programming","open-weather-map-api"],"created_at":"2025-02-02T09:17:16.441Z","updated_at":"2025-07-29T10:33:56.574Z","avatar_url":"https://github.com/prashantkoirala465.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Digital Clock with Weather Integration\n\nA feature-rich console-based digital clock application that displays time in beautiful ASCII art format along with local weather information. The clock supports multiple time zones, 12/24-hour formats, and real-time weather updates.\n\n## Features\n\n- **Beautiful ASCII Art Display**: Time is displayed using custom-designed ASCII art characters\n- **Dual Time Format**: Support for both 12-hour and 24-hour time formats\n- **Weather Integration**: Real-time weather information for the specified location\n- **Time Zone Support**: Ability to display time for different time zones\n- **Configurable Display**: Option to show/hide seconds\n- **User Preferences**: Saves user preferences for future sessions\n- **Date Display**: Shows current date for the selected location\n- **Color Output**: Uses ANSI colors for enhanced visibility\n\n## Requirements\n\n- C++ compiler with C++11 support\n- Standard C++ libraries\n- ANSI-compatible terminal\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/alexbytesback/Digital-Clock-using-C-Plus-Plus\n   cd Digital-Clock-using-C-Plus-Plus\n   ```\n\n2. Compile the project:\n   ```bash\n   g++ -std=c++17 main.cpp Clock.cpp Display.cpp Input.cpp Utility.cpp -o DigitalClock\n   ```\n\n## Usage\n\n1. Run the compiled program:\n   ```bash\n   ./DigitalClock\n   ```\n\n2. Follow the prompts to:\n   - Enter your name\n   - Select your location\n   - Choose time format (12/24 hour)\n   - Toggle seconds display\n\n## Code Structure\n\n- `main.cpp`: Entry point of the application\n- `Clock.h/cpp`: Core clock functionality and main display loop\n- `Display.h/cpp`: ASCII art rendering and screen management\n- `Input.h/cpp`: User input handling and validation\n- `Utility.h/cpp`: Helper functions for time zones and weather\n\n## Display Features\n\n- Large, clear ASCII art digits\n- Blinking colon separator\n- AM/PM indicator for 12-hour format\n- Color-coded output for better visibility\n- Weather information display\n- Current date display\n\n## Configuration\n\nThe application stores user preferences in `clock_log.txt`, including:\n- Username\n- Preferred location\n- Time format choice\n- Seconds display preference\n\n## Technical Details\n\n- Written in C++\n- Uses ANSI escape sequences for terminal manipulation\n- Custom ASCII art patterns for digits and symbols\n- Real-time updates with 1-second refresh rate\n- Efficient screen clearing and cursor positioning\n- Time zone and weather data integration\n\n## Contributing\n\nContributions are welcome! Please feel free to submit pull requests.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashantkoirala465%2Fdigital-clock-using-c-plus-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprashantkoirala465%2Fdigital-clock-using-c-plus-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashantkoirala465%2Fdigital-clock-using-c-plus-plus/lists"}