Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

A system power management utility that executes system shutdown.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Contributors

Languages