This repository contains some scripts and tools designed to automate and simplify my personal tasks. Below is an overview of the scripts and their functionality.
scripts/
├── anki_csv/
│ ├── anki_csv.sh # Script for generating CSV files for Anki flashcards.
├── back-up/
│ └── documents-backup.sh # Script to back up important documents.
├── battery-check/
│ └── battery_check.sh # Monitors battery level and sends notifications.
├── find_corrupt_csv/
│ └── find_corrupt_csv.sh # Finds and reports corrupt CSV files.
├── firefox-check/
│ └── firefox-checker.sh # Checks if firefox is up-to-date or not
├── knock/
│ └── knock
├── koreader2anki/
│ └── koreader2anki.py # Converts KOReader annotations to Anki flashcards.
├── one-time/
│ └── course-calendar-automation/
│ ├── README.md # README for course calendar automation scripts.
│ └── tum_calendar_sync.py # Syncs course dates and times to google calendar.
├── pomodoro/
│ ├── pomodoro.sh # Command-line Pomodoro timer.
│ └── pomodoro_document_maker.py # Generates session logs for Pomodoro.
├── rand/
│ ├── randnumgen.py # Generates random numbers.
│ └── randpassgen.py # Generates random passwords.
├── rfv/
│ └── rfv.sh # Script for quickly finding the key words in files
├── screen_recorder/
│ └── screen_recorder.sh # Records the screen.pt
├── to_pdf/
│ └── picture_to_pdf_converter.py # Converts images to PDF files.
├── ventilation/
│ ├── window_close.sh # Automates window closing.
│ └── window_open.sh # Automates window opening.
├── vpn/
│ └── wg-safe/
│ ├── main.sh # Secure WireGuard VPN manager with kill switch
│ └── README.md # Documentation for VPN kill switch functionality
├── wallpaper/
│ └── wallpaper-changer.sh # Changes wallpapers randomly.
└── youtube/
└── youtube-cli.py # Command-line tool for YouTube interactions.
A secure WireGuard VPN manager with built-in kill switch functionality to prevent IP leaks when VPN connections drop unexpectedly.
Features:
- Kill Switch Protection: Automatically blocks all internet traffic when VPN connection is lost
- IPv6 Leak Prevention: Disables IPv6 during VPN connection to prevent leaks
- Connection Monitoring: Continuously monitors VPN status and maintains firewall rules
- Emergency Recovery: Manual firewall restore function
Usage:
sudo vpn/wg-safe/main.sh up <profile> # Connect with kill switch
sudo vpn/wg-safe/main.sh monitor <profile> # Monitor connection status
sudo vpn/wg-safe/main.sh down <profile> # Disconnect safely
sudo vpn/wg-safe/main.sh restore-firewall # Emergency restoreSee vpn/wg-safe/README.md for detailed documentation.