{"id":24886665,"url":"https://github.com/xavier-berthiaume/cli-calc","last_synced_at":"2025-09-15T12:14:12.057Z","repository":{"id":211664398,"uuid":"729689911","full_name":"xavier-berthiaume/cli-calc","owner":"xavier-berthiaume","description":"A small console-based calculator written entirely in C++","archived":false,"fork":false,"pushed_at":"2024-12-05T00:31:06.000Z","size":48,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-27T10:32:47.632Z","etag":null,"topics":["cpp","ncurses"],"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/xavier-berthiaume.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-12-10T03:01:45.000Z","updated_at":"2024-12-05T00:31:10.000Z","dependencies_parsed_at":"2025-03-27T10:42:36.854Z","dependency_job_id":null,"html_url":"https://github.com/xavier-berthiaume/cli-calc","commit_stats":null,"previous_names":["xavier-berthiaume/cli-calc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xavier-berthiaume/cli-calc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xavier-berthiaume%2Fcli-calc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xavier-berthiaume%2Fcli-calc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xavier-berthiaume%2Fcli-calc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xavier-berthiaume%2Fcli-calc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xavier-berthiaume","download_url":"https://codeload.github.com/xavier-berthiaume/cli-calc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xavier-berthiaume%2Fcli-calc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275254619,"owners_count":25432288,"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-09-15T02:00:09.272Z","response_time":75,"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":["cpp","ncurses"],"created_at":"2025-02-01T15:15:55.392Z","updated_at":"2025-09-15T12:14:12.014Z","avatar_url":"https://github.com/xavier-berthiaume.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align='center'\u003e\n    \u003cimg src=\"https://github.com/user-attachments/assets/718a0f2e-b61e-49b0-beff-fd20e460fb6e\" alt=\"Screenshot of the calculator's UI within the CLI.\" width=\"900\" /\u003e\n\u003c/div\u003e\n\n\u003ch1\u003eFullscreen Adaptive CLI Calculator 🖩\u003c/h1\u003e\n\nA versatile command-line calculator built with C++ and powered by ncurses, offering a fullscreen adaptive interface that adjusts seamlessly to your console size. Perform basic arithmetic operations with ease in a dynamic and visually appealing environment.\n\u003ch2\u003e🚀 Features\u003c/h2\u003e\n\nResponsive Interface: Automatically adapts to your terminal size for an optimal user experience.\n\nComprehensive Operations:\n\n1. Addition (+)\n2. Subtraction (-)\n3. Multiplication (×)\n4. Division (÷)\n5. Modulus (%)\n    \nKeyboard Navigation: Intuitive key bindings for effortless input and operation selection.\n\nReal-Time Feedback: Instantly see your results displayed in a fullscreen calculator layout.\n\n\u003ch2\u003e🛠️ Built With\u003c/h2\u003e\n\nC++: Leveraging object-oriented principles for robust and efficient computation.\n\nncurses: Creating a dynamic text-based interface that mimics a graphical UI.    \n\n\u003ch2\u003e📦 Installation\u003c/h2\u003e\n\n\u003cp\u003eClone the repository:\n\n    git clone https://github.com/xavier-berthiaume/cli-calc\n\nNavigate to the project directory and create a build folder:\n\n    cd cli-calc\n    mkdir build\n\nBuild the program with CMake:\n\n    cmake -S . -B ./build\n    cd build\n\nCompile the program:\n\n    make\n\nRun the calculator:\n\n    ./cli-calc\n\u003c/p\u003e\n\n\u003ch2\u003e📖 Usage\u003c/h2\u003e\n\n\u003cp\u003e\nLaunch the calculator in your terminal at any time. \nThe interface is simple enough to navigate, and a help menu is included.\nTo clear the registers (the calculators memory), simply use the 'c' key\non the keyboard, otherwise enter numbers using the appropriate keys. The\nsupported operations are addition (+), substraction (-), multiplication (*),\ndivision (/) and modulus (%).\n\u003c/p\u003e\n\n\u003ch2\u003e🤝 Contributing\u003c/h2\u003e\n\nContributions are welcome! If you'd like to improve the project, please:\n\n1. Fork the repository.\n2. Create a new branch (feature/your-feature-name).\n3. Commit your changes and submit a pull request. \n\n\u003ch3\u003e📜 License\u003c/h3\u003e\n\nThis project is licensed under the MIT License.\n\u003ch3\u003e🧑‍💻 Author\u003c/h3\u003e\n\nThis project was written by me, Xavier Berthiaume.\n\nFeel free to connect with me on LinkedIn or check out more of my work on GitHub.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxavier-berthiaume%2Fcli-calc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxavier-berthiaume%2Fcli-calc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxavier-berthiaume%2Fcli-calc/lists"}