{"id":31557988,"url":"https://github.com/123aiden-g/swift-cli-calculator","last_synced_at":"2025-10-15T21:51:21.844Z","repository":{"id":316457374,"uuid":"1063441357","full_name":"123Aiden-G/swift-cli-calculator","owner":"123Aiden-G","description":"A simple command-line calculator written in Swift. My first Swift project.","archived":false,"fork":false,"pushed_at":"2025-09-24T17:14:46.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-05T00:18:16.947Z","etag":null,"topics":["beginner-friendly","calculator","cli","learning","project","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/123Aiden-G.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-24T16:21:11.000Z","updated_at":"2025-09-24T17:14:49.000Z","dependencies_parsed_at":"2025-09-24T19:21:49.510Z","dependency_job_id":"2503da2c-6f75-4c36-bf32-321ba9e3c033","html_url":"https://github.com/123Aiden-G/swift-cli-calculator","commit_stats":null,"previous_names":["123aiden-g/swift-cli-calculator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/123Aiden-G/swift-cli-calculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/123Aiden-G%2Fswift-cli-calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/123Aiden-G%2Fswift-cli-calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/123Aiden-G%2Fswift-cli-calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/123Aiden-G%2Fswift-cli-calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/123Aiden-G","download_url":"https://codeload.github.com/123Aiden-G/swift-cli-calculator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/123Aiden-G%2Fswift-cli-calculator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279120705,"owners_count":26108266,"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-10-15T02:00:07.814Z","response_time":56,"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":["beginner-friendly","calculator","cli","learning","project","swift"],"created_at":"2025-10-05T00:10:46.012Z","updated_at":"2025-10-15T21:51:21.839Z","avatar_url":"https://github.com/123Aiden-G.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swift CLI Calculator\n\n![Swift](https://img.shields.io/badge/Swift-FA7343?style=for-the-badge\u0026logo=swift\u0026logoColor=white)\n\nA simple command-line calculator built in Swift.  \nThis is my first Swift project — a small but fun way to learn the language.\n\n---\n\n## Features\n- Basic arithmetic: addition, subtraction, multiplication, and division\n- Input validation (handles invalid numbers and division by zero)\n- Clean CLI interface\n- Easily extendable for new operations\n\n---\n\n## Usage\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/YOUR_USERNAME/swift-cli-calculator.git\n   cd swift-cli-calculator\n   ```\n\n2. Run the calculator:\n   ```bash\n   swift main.swift\n   ```\n\n**Example:**\n\n```\nWelcome to Swift CLI Calculator!\nEnter first number: 5\nEnter second number: 3\nChoose operation (+, -, *, /): *\nResult: 15\n```\n\n---\n\n## Project Structure\n```\nswift-cli-calculator/\n│── main.swift     # Source code\n│── README.md      # Project documentation\n│── .gitignore     # Ignored files\n```\n\n---\n\n## Roadmap\n- Add support for more operations (modulus, power, square root)\n- Allow continuous calculations until user exits\n- Format results with decimals\n- Add tests\n\n---\n\n## License\nThis project is open-source and available under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F123aiden-g%2Fswift-cli-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F123aiden-g%2Fswift-cli-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F123aiden-g%2Fswift-cli-calculator/lists"}