Commit Graph
152 Commits
Author SHA1 Message Date
lucas 11f53f9548 add comment for localhost syncNC 2026-10-01 14:07:23 +00:00
Lucas Faber 6a2fab5e9e sonar translation script copied from chatgpt 2026-10-01 14:07:22 +00:00
Lucas Faber fb7e0e8cff vpn configs
add private keys from netrc to files
2026-10-01 14:07:22 +00:00
lucas 3c7272abe5 add wireguard vpn service and randomize script 2026-10-01 14:07:21 +00:00
lucas fd77d08ef0 add Syncfolder to syncNC 2026-10-01 14:07:21 +00:00
lucas d992905301 move upgrade script
asd
2026-10-01 14:07:20 +00:00
Lucas Faber 0d059bc1c0 first version of old dvd extraction script 2026-10-01 14:07:20 +00:00
Lucas Faber 0c0920d3df add vpn config for surfshark 2026-10-01 14:07:19 +00:00
lucas 73cb3802fb add rename folders with dost function to bash aliases
ads
2026-10-01 14:07:19 +00:00
Lucas Faber f8f0fd6fad add find multiple video files function to bash aliases 2026-10-01 14:07:18 +00:00
lucas b92bdbea7d torrent complete qbittorrent inside docker 2026-10-01 14:07:18 +00:00
lucas 366c26f581 torrent_mqtt remove logging and run inside docker 2026-10-01 14:07:17 +00:00
lucas a1aa5984e1 feat: torrent complete script to copy files to mediahost
gets name, path and category from qbittorrent
sends mqtt command
copies files to mediahost
2026-10-01 14:07:17 +00:00
lucas db90b1ae36 add nfs and qbittorrent to iptables 2026-09-25 14:51:49 +00:00
Lucas Faber 0d8ae83626 refactor(nextcloud): improve version and trash cleanup script
refactor(nextcloud): improve version and trash cleanup script*
- add strict bash error handling
- use trap to always restart apache- fix unsafe array expansion
- improve file deletion handling
- suppoot filenames containing spaces
- replace service with systemctl
- simpmify trashbin cleanup logic
- improve user prompts and output
- add proper root privilege verification
- reduce code duplication
2026-09-25 14:51:49 +00:00
Lucas Faber 3168e3928b feat(sync): refactor Nextcloud sync script with retries and argument handling
feat(sync): refactor Nextcloud sync script with retries and argument
handling

- Add centralized sync_directory() function
- Add retry logic with configurable attempts and delay
- Improve argument parsing and help output
- Add validation for selected sync targets
- Add support for sync marker removal (-del)
- Add logging abstraction with silent/live output modes
- Add dependency and credential file checks
- Prevent concurrent nextcloudcmd executions
- Improve error handling and script structure
- Add version flag support
- Standardize synchronization workflow for all folders

asd
2026-09-25 14:51:49 +00:00
Lucas Faber e5629b73ae refactor(nextcloud): improve OCC maintenance script
refactor(nextcloud): improve OCC maintenance script

- add strict bash error handling
- fix log file initialization for multimedia scan
- fix incorrect completion log entries
- add automatic apache restart via trap
- improve variable naming and quoting
- add maintenance script documentation
- improve timestamp format
- separate user-specific and summary logs
- preserve multiline OCC output
- remove obsolete email functionality
- improve overall readability and reliability

asd
2026-09-25 12:15:40 +02:00
Lucas Faber 653a367d92 remove deprecated scripts 2026-09-25 12:10:02 +02:00
Lucas Faber fcb901e64d move torrent scripts and revise torrentcomplete 2026-09-25 11:57:47 +02:00
Lucas Faber 8d9a32879b add mediahost to bash_aliases 2026-09-25 11:48:21 +02:00
Lucas Faber 6969dae72b lazygit config 2026-09-23 18:27:11 +02:00
Lucas Faber a844fa9609 vpn service aund bashrc 2026-09-23 16:22:04 +00:00
Lucas Vivohost d34cd72f7a vimrc example 2026-09-19 17:01:59 +02:00
Lucas Vivohost 93a0c3ca79 servertunnel to someoneslinux 2026-09-17 12:00:37 +02:00
Lucas Vivohost b1f316667e lockscreen service: add comment and increased sleep 2026-09-14 20:15:03 +02:00
Lucas Vivohost d5cdead474 move services to service dir 2026-09-14 18:47:17 +02:00
lucas 34dfb4da47 loginctrl service to lock screen after login 2026-09-14 18:34:13 +02:00
Lucas Vivohost b32247eff4 initial audiobook python script
intendet to relieve all metadata scripts
2026-09-14 12:47:09 +02:00
Lucas Vivohost da2981a5be refactor: improve torrent transfer workflow
refactor: improve torrent transfer workflow

- replace unsafe word splitting with Bash arrays
- improve command-line argument parsing
- centralize remote and local configuration
- replace remote ls parsing with find
- simplify confirmation handling
- improve SSH and SCP error handling
- safely quote local paths and filenames
- separate copy, rename, and delete operations
- add comprehensive usage documentation
2026-09-14 12:46:09 +02:00
Lucas Vivohost 081210d3ae refactor: optimize terminal progress bar library
refactor: optimize terminal progress bar library

- simplify terminal cursor and scroll-region handling
- replace echo/let with printf and Bash arithmetic
- localize function variables
- centralize progress-bar rendering
- validate and clamp progress percentages
- handle narrow terminal widths safely
- improve Ctrl-C cleanup and exit status
- retain existing public API
- expand inline documentation
2026-09-14 12:44:39 +02:00
Lucas Vivohost 778490f090 feat: add psmouse module reload utility
Add utility to reload psmouse kernel module

- Add psmouse reload script
- Handle unloaded psmouse module
- Add dependency and error checks
- Add usage and troubleshooting documentation
- Provide status messages during reload
2026-09-14 12:44:39 +02:00
Lucas Vivohost daf0457175 refactor: improve SSH local port forwarding script
refactor: improve SSH tunnel helper

- make SSH tunnel configuration explicit
- validate DDNS resolution
- validate SSH private key
- improve quoting and shell safety
- add descriptive status output
- document local and remote forwarding endpoints
- preserve background SSH forwarding behavior
2026-09-14 12:44:39 +02:00
Lucas Vivohost f313e9edfa refactor: optimize PDF image splitting script
refactor: optimize PDF image splitting script

- simplify path and filename handling
- safely quote file paths
- improve temporary directory management
- remove redundant shell pipelines
- simplify image batching
- add error handling and progress output
- document usage and processing steps
2026-09-14 12:44:39 +02:00
Lucas Vivohost a209038263 Generalize PDF-to-JPEG conversion script
feat: accept PDF filename as input argument

- Allow PDF file to be specified on the command line
- Derive output JPEG name from input PDF basename
- Generate files using IMG_<pdf-name>.jpg naming convention
- Retain first-page conversion behavior
- Improve script reusability for multiple PDFs
2026-09-14 12:44:39 +02:00
Lucas Vivohost d0b6444332 feat(admin): improve updatfeat(admin): automate system maintenance and SpotDL environment management
feat(admin): improve update automation and dependency handling

- Add complete script documentation and usage examples
- Create SpotDL virtual environment automatically
- Install pip if missing from the virtual environment
- Install and update spotdl, yt-dlp, and youtube-dl automatically
- Upgrade pip, setuptools, and wheel during maintenance
- Improve logging and status reporting
- Fix update task status message mappings
- Create log directory automatically when missing
- Add Docker image update and restart handling
- Improve shell quoting and error resilience
- Support optional email reporting mode
- Consolidate system maintenance into a single workflow

asd

asd
2026-09-14 12:44:39 +02:00
Lucas Vivohost 09cfddef94 feat(images): rename photos using capture timestamps
feat(images): automate image renaming from EXIF metadata

- Rename images using DateTimeOriginal EXIF timestamps
- Fall back to file modification times when EXIF data is missing
- Support JPG, JPEG, and PNG image formats
- Generate consistent IMG_YYYYMMDD_HHMMSS filenames
- Preserve original file extensions
- Prevent filename collisions using numeric suffixes
- Support processing arbitrary target directories
- Add script documentation, requirements, and usage examples
2026-09-14 12:43:38 +02:00
Lucas Vivohost 804e17dbe6 feat(images): add wallpaper candidate collection utility
feat(images): automate wallpaper preparation and filtering

- Recursively scan image directories for JPG, JPEG, and PNG files
- Normalize filenames by replacing spaces with underscores
- Convert JPG/JPEG images to PNG format
- Calculate image aspect ratios automatically
- Filter images using configurable wallpaper criteria
- Validate minimum image width requirements
- Optionally copy matching wallpapers to a collection folder
- Provide progress reporting during processing
- Add script documentation, requirements, and usage examples
2026-09-14 12:43:38 +02:00
Lucas Vivohost e003cbb11f feat(screenshots): add interactive screenshot capture utility
feat(screenshots): automate screenshot naming and storage

- Detect active Texmaker project directory automatically
- Fall back to manual directory selection when needed
- Prompt user for screenshot filename
- Prevent accidental filename collisions
- Copy screenshot name to clipboard automatically
- Capture screenshots using GNOME Screenshot area selection
- Allow repeated captures until user confirms the result
- Store screenshots directly in project documentation folders
- Add script documentation and usage instructions

ads
2026-09-14 12:43:38 +02:00
Lucas Vivohost 2c2bf379a8 feat(images): add JPG to PNG conversion utility
feat(images): automate JPG/JPEG to PNG conversion

- Recursively scan directories for JPG and JPEG files
- Convert images to PNG using ImageMagick
- Preserve original directory structure
- Remove
2026-09-14 12:43:38 +02:00
Lucas Vivohost aa48304220 feat(images): unify image resize and PNG conversion scripts
feat(images): consolidate resize automation workflow

- Merge automatic and manual resize scripts
- Detect portrait and landscape orientation automatically
- Resize portrait images to x1080
- Resize landscape images to 1920px width
- Support user-defined ImageMagick resize arguments
- Convert JPG/JPEG files to PNG format
- Create output directory automatically
- Normalize filenames by replacing spaces with underscores
- Add date prefix to generated files
- Improve reliability with safer dimension detection
- Add script documentation and usage examples
2026-09-14 12:43:38 +02:00
Lucas Vivohost 3203817e51 feat(audio): embedd album artwork into MP3 files
Add script for attaching cover art to MP3 files using ffmpeg
or lame.

- Support batch processing of all MP3 files in a directory
- Support updating individual MP3 files
- Embed front-cover artwork from a supplied image
- Preserve existing audio streams when using ffmpeg
- Write ID3v2.3-compatible cover metadata
- Replace original files with updated tagged versions
- Add usage examples and script documentation
- Simplify album artwork management for music collections

ads
2026-09-14 12:43:38 +02:00
Lucas Vivohost 8d98c134d0 feat(gnome): create custom keyboard shortcuts
Add script to automate creation of GNOME custom keyboard shortcuts.

- Detect existing custom keybindings
- Find the next available custom shortcut slot
- Register new custom-keybinding entries automatically
- Configure shortcut name, command, and key combination
- Preserve existing GNOME keyboard shortcuts
- Add usage documentation and examples
- Include helper notes for discovering key names with xev
- Simplify scripting and workstation setup automation
2026-09-14 12:43:38 +02:00
Lucas Vivohost fbcbf008ea feat(wallpapers): automate element spectrum download and panorama generation
Add script for downloading and processing element emission spectra
from Wikimedia Commons.

- Read element definitions from get_images.txt
- Retrieve original spectrum images from Wikimedia Commons
- Download element spectrum PNG files automatically
- Generate standardized filenames using atomic metadata
- Resize images to 3840px width
- Crop images to 3840x540 panorama format
- Export processed files to wallpaper collection directory
- Report missing spectrum images
- Automate creation of element-themed desktop wallpapers
2026-09-14 12:43:38 +02:00
Lucas Vivohost 16c69ac7df feat(images): consolidate panorama detection
Combine panorama detection utilities into a single script.

- Merge aspect-ratio based panorama detection with dimension-based
checks
- Detect images with aspect ratio < 0.5 or > 1.8
- Detect images where width exceeds three times the height
- Ignore images already tagged as Panorama
- Scan directories recursively for JPG, JPEG, and PNG files
- Add timestamped logging of detected panorama candidates
- Optionally copy detected panoramas to a review directory
- Improve filename handling using find -print0
- Use identify -format for reliable dimension extraction
- Add dependency validation and robust error handling
- Reduce repeated ImageMagick parsing and simplify maintenance
2026-09-14 12:43:38 +02:00
Lucas Vivohost c1ebc80235 revisit crop image script
feat(images): improve JPG crop script reliability and safety

- Add detailed script header, description, and usage instructions
- Process only JPG/JPEG files
- Handle filenames containing spaces safely
- Verify ImageMagick dependencies before execution
- Use identify -format for reliable dimension detection
- Match images with width exactly 3546px
- Skip previously processed *_c.jpg and *_u.jpg files
- Add error handling for invalid or corrupt images
- Enable strict Bash mode (set -euo pipefail)
- Improve logging and processing feedback

move file

crop images
2026-09-14 12:43:38 +02:00
Lucas Vivohost f84d8d137b add services and bash alias
wol service

asd
2026-09-14 12:43:38 +02:00
Lucas Serverhost 4b75e4b491 chmod 2026-09-14 12:43:38 +02:00
Lucas Serverhost 793d3f61a3 chown lucas for media rsync 2026-09-14 12:43:38 +02:00
Lucas Serverhost 7c8831501a add audiobook sync to syncNC 2026-09-14 12:43:38 +02:00
Lucas Vivohost 7c2e0db615 metadata scripts
album from folder: create album from foldername
read: read and display author, album, grouping of every folder
remove author before title: remove "name - " when matching author
2026-09-14 12:43:38 +02:00