SecureMac is a simple C++
program that locks the screen and starts a recording with the webcam when it detects a movement.
Version: 1.1.4
SecureMac is a simple C++
program that locks the screen and starts a recording with the webcam when it detects a movement.
It'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.
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.
That's whereLogger
steps in - a friendlyC++
companion here to make logging messages a breeze. It's like having a trusty sidekick on your coding adventures.
And guess what? It's open-source, so you can use it for free here! 🎉
Note: This program is only available on macOS.
-
Lock the screen
-
Handle mouse inputs
-
Start a recording with the webcam
-
Stop the recording and the program
-
Play an alarm sound
-
Handle keyboard inputs
-
Detect closed lid
- Clone the repository
git clone https://Zarox28/SecureMac.git
- Add the
Logger
submodule
git submodule update --init --recursive
- Compile the source code
make build
make run
Note: You can also use the following commands:
make run_debug
to run the program in debug modemake clean
to remove the compiled files and video
When you run the program, it does the following things:
- Locks the screen
- Waits for a movement
- If it detects a movement, it starts a recording with the webcam
- To stop the recording and the program, you have to enter
Ctrl + C
shortcut in the terminal
see CHANGELOG for latest changes.
Contributions 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.
See CONTRIBUTING for more information.
- Fork the repository
- Create a new branch (
git checkout -b feature
) - Commit your changes (
git commit -m 'Add feature'
) - Push to the branch (
git push origin feature
) - Create a new Pull Request
This project is licensed under the AGPL v3 License - see the LICENSE file for details.