Skip to content

Latest commit

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

AeroSleep
=========
A hybrid voice-activated system power management daemon. The architecture delegates real-time audio stream processing and Automated Speech Recognition (ASR) to a Python orchestration layer, which invokes a high-privilege C-based execution binary to handle platform-specific shutdown routines.
Architecture Overview
---------------------
[Audio Input] -> (Python Daemon: SpeechRecognition) -> [Keyword Match] -> (C Executable) -> [OS Shutdown]
Compilation & Installation
-------------------------
Dependencies
* Python 3.7+
* PyAudio (PortAudio bindings)
* SpeechRecognition
* C Compiler (GCC, Clang, or MSVC)
Build Pipeline
--------------
Compile native execution layer
* For POSIX (Linux/macOS)
gcc -O2 -o aerosleep_sys main.c
* For Windows (MinGW)
gcc -O2 -o aerosleep_sys.exe main.c
* Install Python runtime dependencies
pip install -r requirements.txt
cd src
python main.py
Security Considerations
======================
This tool executes privileged system commands based on audio input.Threat model:
- * Physical access: Attacker with microphone proximity can trigger shutdown
- * Audio injection: Malicious media playback (TV, YouTube) could contain wake phrase
- * Denial of service: Repeated shutdowns in multi-user environments
License
=======
GPL 

About

System power management utility

Resources

Stars

4 stars

Watchers

1 watching

Forks

Contributors

Languages