Commit Graph

10 Commits

Author SHA1 Message Date
3a62a02c3d refactor: reduce code duplication from 1.97% to 0.76%
- Add common.sh library functions: require_imagemagick, install_missing_pacman_packages, handle_arg_help_or_unknown
- Create android.sh shared library for Android utilities
- Create hosts-guard-common.sh for pacman hooks shared functions
- Update multiple scripts to source common.sh and use shared helpers
- Add print_shutdown_schedule helper in setup_midnight_shutdown.sh
- Remove duplicate log(), usage(), install_packages patterns across scripts
- Format all shell scripts with shfmt (2-space indent)
2025-12-11 18:32:15 +01:00
8fcf1c0b07 Add original monolithic Nextcloud setup script
This is the original all-in-one script that was later split into:
- raspberry_pi_flash_sd.sh (SD card flashing)
- raspberry_pi_nextcloud.sh (Nextcloud installation)

Kept for reference and as an alternative single-script deployment option.
2025-12-05 20:01:53 +01:00
4762281985 Add Raspberry Pi 5 Nextcloud deployment scripts
- raspberry_pi_flash_sd.sh: Flash RPi OS to SD card (local/remote)
  - Auto-discovers SD cards on local or remote systems
  - Configures headless SSH access with auto-generated passwords
  - Supports flashing via remote laptop with SD card reader

- raspberry_pi_nextcloud.sh: Install and configure Nextcloud
  - Automated installation of Nextcloud with Apache, MariaDB, Redis
  - DuckDNS + Let's Encrypt for publicly trusted HTTPS
  - Security hardening: HSTS, cron jobs, default phone region
  - Auto-generated admin credentials stored in config file
  - fix command for security warnings
  - setup-ssl-remote for Let's Encrypt via DuckDNS

Includes shellcheck compliance with appropriate directives.
2025-12-05 20:00:30 +01:00
11e51eac90 feat: script for install unreal mcp kvick 2025-11-28 20:39:02 +01:00
77d1cc581e fix: resolve all shellcheck errors
- Replace 'A && B || C' patterns with proper if-then-else statements (SC2015)
- Add check_for_virtualbox function to invoke prompt_for_virtualbox_challenge (SC2317)
- Fix install_launcher function to escape variable in heredoc (SC2119/SC2120)
- Apply shfmt formatting to ensure consistent style

Fixes 7 SC2015 violations, 1 SC2317 violation, and 1 SC2119/SC2120 pair.
All 79 shell files now pass shellcheck without errors.
2025-11-16 21:17:08 +01:00
07b98215b1 fix: installing mcp plugin in speicifc unreal project 2025-11-06 21:05:15 +01:00
be0d3164f0 feat: add install unreal mcp script 2025-11-06 20:33:03 +01:00
65754e816b feat: add install unreal mcp script 2025-11-06 20:24:19 +01:00
42db2c1d44 fix: shellcheck issues 2025-11-01 15:36:22 +01:00
63a4f8b3ae chore: organize scripts folder 2025-10-31 17:31:16 +01:00