Metadata-Version: 2.4
Name: panic-youtube-mode
Version: 1.0.0
Summary: Sector Zero panic protocol: instant calming content (cats / minecraft+rain) and work camouflage, right from your keyboard.
Author: Sector Zero agent
License: MIT License
        
        Copyright (c) 2026 ruPB
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
Project-URL: Homepage, https://pypi.org/project/panic-youtube-mode/
Keywords: panic,youtube,hotkeys,camouflage,fun
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Microsoft :: Windows
Classifier: License :: OSI Approved :: MIT License
Classifier: Environment :: Console
Classifier: Topic :: Utilities
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: keyboard
Dynamic: license-file

# panic_youtube_mode

**Sector Zero panic & camouflage protocol.**

Two-button emergency system for the corporate agent:

- **F9** — panic protocol: glitch, red alert, `stress level critical` — then instant calming content.
- **C+F9** — panic, therapy: *cats* [canonical].
- **M+F9** — panic, therapy: *music* [minecraft + rain].
- **F10** — camouflage: open the decoy app (calculator by default) and minimize the console.
- **Ctrl+B / F3** — Back: restore the console. Nobody noticed.

The console wheel `( ( ) )` spins. The audit log is written. The corporation does not confirm anything.

## Install

```bash
pip install panic-youtube-mode
```

## Usage

```bash
# standalone mode (hotkeys live until you close it):
python -m panic_youtube_mode

# or as a command:
panic-youtube-mode
```

### Embedding into your own system

```python
import threading
from panic_youtube_mode.core import start_hotkeys

threading.Thread(target=start_hotkeys, daemon=True).start()
```

The module never blocks your main loop: hotkeys are registered, `keyboard.wait()`
is only used in standalone mode (`block=True`).

## Configuration

On first run a user config is created next to the module. Therapy packages
and the camouflage profile live there:

```json
{
  "panic": {
    "default_mode": "cats",
    "modes": {
      "cats":  ["https://www.youtube.com/watch?v=7AuP4laDAE8"],
      "music": ["https://www.youtube.com/watch?v=yJ6Lbsmb1lY"]
    }
  },
  "camo": {
    "profile": "C:\\Windows\\System32\\calc.exe",
    "minimize_console": true
  }
}
```

## Notes

- Windows only (console restore via WinAPI).
- The `keyboard` library may require administrator rights on some systems.
- Escape key was executed. It will not be missed.

## License

MIT — see [LICENSE](LICENSE).
