{"id":21056263,"url":"https://github.com/zarox28/securemac-cpp","last_synced_at":"2025-05-15T23:33:09.311Z","repository":{"id":220742922,"uuid":"752479240","full_name":"Zarox28/SecureMac-CPP","owner":"Zarox28","description":"Simple program that locks the macos screen \u0026 start recording","archived":true,"fork":false,"pushed_at":"2024-02-12T09:11:27.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T00:15:34.505Z","etag":null,"topics":["cpp","macos","security"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zarox28.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"2024-02-04T00:36:40.000Z","updated_at":"2024-05-02T14:52:09.000Z","dependencies_parsed_at":"2024-02-12T10:32:04.611Z","dependency_job_id":null,"html_url":"https://github.com/Zarox28/SecureMac-CPP","commit_stats":{"total_commits":21,"total_committers":2,"mean_commits":10.5,"dds":0.09523809523809523,"last_synced_commit":"41845fb2e5070f96573f7cb3d36f037ea8ce69f1"},"previous_names":["zarox28/securemac","zarox28/securemac-cpp"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zarox28%2FSecureMac-CPP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zarox28%2FSecureMac-CPP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zarox28%2FSecureMac-CPP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zarox28%2FSecureMac-CPP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zarox28","download_url":"https://codeload.github.com/Zarox28/SecureMac-CPP/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254442429,"owners_count":22071864,"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":["cpp","macos","security"],"created_at":"2024-11-19T16:49:39.684Z","updated_at":"2025-05-15T23:33:09.298Z","avatar_url":"https://github.com/Zarox28.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SecureMac\n\n![C++](https://img.shields.io/badge/c++-%2300599C.svg?style=for-the-badge\u0026logo=c%2B%2B\u0026logoColor=white)\n![License: AGPL v3](https://img.shields.io/badge/License-AGPL_v3-blue.svg?style=for-the-badge)\n![macOS](https://img.shields.io/badge/mac%20os-000000?style=for-the-badge\u0026logo=macos\u0026logoColor=F0F0F0)\n\nSecureMac is a simple `C++` program that locks the screen and starts a recording with the webcam when it detects a movement.\n\n\u003e Version: **1.1.4**\n\n---\n\n## Table of Contents\n\n- [About](#about)\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n- [How it works](#how-it-works-)\n- [Changelog](#changelog)\n- [Contributing](#contributing)\n- [License](#license)\n- [Authors](#authors)\n\n## About ℹ️\n\nSecureMac is a simple `C++` program that locks the screen and starts a recording with the webcam when it detects a movement.\\\nIt's a simple way to protect your computer when you're not in front of it. It's also a good way to know who is using your computer when you're not there.\n\n\u003e Picture this: You're coding away on your Mac, and suddenly, you wish you had a simple, reliable logger to keep track of what's going on.\\\nThat's where `Logger` steps in - a friendly `C++` companion here to make logging messages a breeze. It's like having a trusty sidekick on your coding adventures.\\\nAnd guess what? It's open-source, so you can use it for free [here](https://github.com/Zarox28/Logger)! 🎉\n\n\u003e **Note:** This program is only available on macOS.\n\n## Features ✅\n\n- [x] Lock the screen\n- [x] Handle mouse inputs\n- [x] Start a recording with the webcam\n- [x] Stop the recording and the program\n\n- [ ] Play an alarm sound\n- [ ] Handle keyboard inputs\n- [ ] Detect closed lid\n\n## Installation 🚀\n\n1. Clone the repository\n\n```bash\ngit clone https://Zarox28/SecureMac.git\n```\n\n2. Add the `Logger` submodule\n\n```bash\ngit submodule update --init --recursive\n```\n\n3. Compile the source code\n\n```bash\nmake build\n```\n\n## Usage ▶️\n\n### Run the program\n\n```bash\nmake run\n```\n\n\u003e **Note:** You can also use the following commands:\n\n- `make run_debug` to run the program in debug mode\n- `make clean` to remove the compiled files and video\n\n## How it works 🛠️\n\nWhen you run the program, it does the following things:\n\n1. Locks the screen\n2. Waits for a movement\n3. If it detects a movement, it starts a recording with the webcam\n4. To stop the recording and the program, you have to enter `Ctrl + C` shortcut in the terminal\n\n## Changelog 📆\n\nsee [CHANGELOG](CHANGELOG.md) for latest changes.\n\n## Contributing 🤝\n\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **appreciated**, whether it's a simple opinion or a pull request.\n\nSee [CONTRIBUTING](CONTRIBUTING.md) for more information.\n\n1. Fork the repository\n2. Create a new branch (`git checkout -b feature`)\n3. Commit your changes (`git commit -m 'Add feature'`)\n4. Push to the branch (`git push origin feature`)\n5. Create a new Pull Request\n\n## License 📜\n\nThis project is licensed under the AGPL v3 License - see the [LICENSE](LICENSE.md) file for details.\n\n## Authors 👨‍💻\n\n- **[@Zarox28](https://github.com/Zarox28)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzarox28%2Fsecuremac-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzarox28%2Fsecuremac-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzarox28%2Fsecuremac-cpp/lists"}