https://github.com/varppi/gopanic
Panic hotkeys for Windows
https://github.com/varppi/gopanic
Last synced: 2 months ago
JSON representation
Panic hotkeys for Windows
- Host: GitHub
- URL: https://github.com/varppi/gopanic
- Owner: varppi
- Created: 2024-07-14T07:16:15.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-08-09T07:12:00.000Z (10 months ago)
- Last Synced: 2025-08-23T18:06:58.105Z (10 months ago)
- Language: Go
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GoPanic: Panic hotkeys for Windows
If you have sensitive stuff on your computer, you probably already have made advances to secure that sensitive data from prying eyes, but if your computer gets yanked from your lap while you're logged in, almost all other security mechanisms, like full disk encryption, become void. This is what GoPanic aims to solve. GoPanic allows you to set up a hotkey that, when pressed, executes your specified action, for example, shutting down the computer or securely deleting files.
# Installation
Requirements:
- Windows
- Golang compiler in PATH
How to install:
1. `git clone https://github.com/Varppi/GoPanic` (or download as zip)
2. run install.bat
3. follow instructions
# Usage
### 1. Configure what the panic hotkey does.
Open panic.json and tell GoPanic what should happen when you press the hotkey.
Example1:
```json
{
"commands": [
"erase somefile.txt",
"shutdown /s /t 10"
]
}
```
Example2:
```json
{
"presets": {
"sdelete": "C:/sensitivedir"
}
}
```
Presets:
- sdelete (arg: directory or file)
- kill (arg: process name)
- shutdown
### 2. Run gopanic.exe
### 3. Test if it works