machineconfig 5.26__py3-none-any.whl → 5.28__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of machineconfig might be problematic. Click here for more details.

Files changed (61) hide show
  1. machineconfig/cluster/sessions_managers/zellij_local_manager.py +1 -0
  2. machineconfig/jobs/installer/installer_data.json +17 -0
  3. machineconfig/jobs/installer/linux_scripts/brave.sh +4 -14
  4. machineconfig/jobs/installer/linux_scripts/docker.sh +5 -17
  5. machineconfig/jobs/installer/linux_scripts/docker_start.sh +6 -14
  6. machineconfig/jobs/installer/linux_scripts/edge.sh +3 -11
  7. machineconfig/jobs/installer/linux_scripts/nerdfont.sh +5 -17
  8. machineconfig/jobs/installer/linux_scripts/pgsql.sh +3 -11
  9. machineconfig/jobs/installer/linux_scripts/redis.sh +5 -17
  10. machineconfig/jobs/installer/linux_scripts/timescaledb.sh +6 -20
  11. machineconfig/jobs/installer/linux_scripts/vscode.sh +5 -17
  12. machineconfig/jobs/installer/linux_scripts/warp-cli.sh +5 -17
  13. machineconfig/jobs/installer/linux_scripts/wezterm.sh +3 -11
  14. machineconfig/jobs/installer/package_groups.py +70 -111
  15. machineconfig/jobs/linux/msc/lid.sh +2 -8
  16. machineconfig/jobs/linux/msc/network.sh +2 -8
  17. machineconfig/scripts/cloud/init.sh +6 -20
  18. machineconfig/scripts/linux/share_cloud.sh +11 -25
  19. machineconfig/scripts/python/agents.py +22 -31
  20. machineconfig/scripts/python/cloud_repo_sync.py +14 -29
  21. machineconfig/scripts/python/devops.py +7 -10
  22. machineconfig/scripts/python/helpers/repo_sync_helpers.py +1 -1
  23. machineconfig/scripts/python/helpers_fire/fire_agents_help_launch.py +30 -48
  24. machineconfig/scripts/python/helpers_fire/fire_agents_helper_types.py +24 -6
  25. machineconfig/scripts/python/helpers_fire/fire_crush.json +14 -0
  26. machineconfig/scripts/python/helpers_fire/fire_crush.py +37 -0
  27. machineconfig/scripts/python/helpers_fire/fire_cursor_agents.py +23 -0
  28. machineconfig/scripts/python/helpers_fire/fire_gemini.py +41 -0
  29. machineconfig/scripts/python/helpers_fire/fire_q.py +19 -0
  30. machineconfig/scripts/python/helpers_fire/prompt.txt +2 -0
  31. machineconfig/scripts/python/helpers_fire/template.ps1 +0 -0
  32. machineconfig/scripts/python/helpers_fire/template.sh +31 -0
  33. machineconfig/scripts/python/interactive.py +21 -19
  34. machineconfig/scripts/python/repos.py +4 -1
  35. machineconfig/scripts/python/secure_repo.py +15 -0
  36. machineconfig/settings/broot/br.sh +0 -4
  37. machineconfig/setup_linux/__init__.py +2 -2
  38. machineconfig/setup_linux/apps.sh +7 -9
  39. machineconfig/setup_linux/apps_desktop.sh +11 -35
  40. machineconfig/setup_linux/apps_gui.sh +4 -14
  41. machineconfig/setup_linux/nix/cli_installation.sh +9 -29
  42. machineconfig/setup_linux/web_shortcuts/interactive.sh +1 -1
  43. machineconfig/setup_windows/__init__.py +2 -2
  44. machineconfig/utils/code.py +3 -3
  45. machineconfig/utils/files/read.py +1 -1
  46. machineconfig/utils/installer.py +15 -21
  47. machineconfig/utils/installer_utils/installer.py +3 -4
  48. machineconfig/utils/installer_utils/installer_abc.py +4 -4
  49. machineconfig/utils/installer_utils/installer_class.py +11 -46
  50. machineconfig/utils/io.py +0 -1
  51. {machineconfig-5.26.dist-info → machineconfig-5.28.dist-info}/METADATA +3 -3
  52. {machineconfig-5.26.dist-info → machineconfig-5.28.dist-info}/RECORD +59 -52
  53. {machineconfig-5.26.dist-info → machineconfig-5.28.dist-info}/entry_points.txt +0 -1
  54. machineconfig/scripts/linux/cloud_repo_sync +0 -2
  55. machineconfig/scripts/windows/cloud_repo_sync.ps1 +0 -1
  56. /machineconfig/setup_linux/{repos.sh → machineconfig.sh} +0 -0
  57. /machineconfig/setup_linux/{ve.sh → uv.sh} +0 -0
  58. /machineconfig/setup_windows/{repos.ps1 → machineconfig.ps1} +0 -0
  59. /machineconfig/setup_windows/{ve.ps1 → uv.ps1} +0 -0
  60. {machineconfig-5.26.dist-info → machineconfig-5.28.dist-info}/WHEEL +0 -0
  61. {machineconfig-5.26.dist-info → machineconfig-5.28.dist-info}/top_level.txt +0 -0
@@ -84,6 +84,7 @@ class ZellijLocalManager:
84
84
  # ZELLIJ_AUTO_ATTACH=0 prevents auto-attach if compiled with that feature; harmless otherwise.
85
85
  start_cmd = ["bash", "-lc", f"ZELLIJ_AUTO_ATTACH=0 zellij --layout {layout_path} attach {session_name} --create >/dev/null 2>&1 &"]
86
86
  console.print(f"[bold cyan]🚀 Starting session[/bold cyan] [yellow]'{session_name}'[/yellow] with layout [blue]{layout_path}[/blue] (non-blocking)...")
87
+ console.print(f"[dim] Command: {' '.join(start_cmd)}[/dim]")
87
88
  subprocess.Popen(start_cmd)
88
89
 
89
90
  # 3. Poll for presence
@@ -1,6 +1,23 @@
1
1
  {
2
2
  "version": "1",
3
3
  "installers": [
4
+ {
5
+ "appName": "jq",
6
+ "repoURL": "https://github.com/jqlang/jq",
7
+ "doc": "🧙‍♂️ Command-line JSON processor",
8
+ "fileNamePattern": {
9
+ "amd64": {
10
+ "linux": "jq-linux-amd64",
11
+ "windows": null,
12
+ "macos": null
13
+ },
14
+ "arm64": {
15
+ "linux": "jq-linux-arm64",
16
+ "windows": null,
17
+ "macos": null
18
+ }
19
+ }
20
+ },
4
21
  {
5
22
  "appName": "speedtest",
6
23
  "repoURL": "CMD",
@@ -1,22 +1,16 @@
1
1
  #!/bin/bash
2
- #=======================================================================
3
2
  # 🦁 BRAVE BROWSER INSTALLATION SCRIPT 🦁
4
- #=======================================================================
5
3
  # This script installs the Brave browser on Linux systems
6
4
  # Reference: https://brave.com/linux/
7
5
 
8
- echo """#=======================================================================
9
- 🚀 STARTING BRAVE BROWSER INSTALLATION | Installing dependencies
10
- #=======================================================================
6
+ echo """🚀 STARTING BRAVE BROWSER INSTALLATION | Installing dependencies
11
7
  """
12
8
 
13
9
  # Install curl if not already installed
14
10
  echo "📥 Installing curl..."
15
11
  sudo nala install curl -y
16
12
 
17
- echo """#=======================================================================
18
- 🔑 ADDING REPOSITORY KEYS | Setting up Brave repository
19
- #=======================================================================
13
+ echo """🔑 ADDING REPOSITORY KEYS | Setting up Brave repository
20
14
  """
21
15
 
22
16
  # Add the Brave browser PGP key
@@ -27,9 +21,7 @@ sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://b
27
21
  echo "📝 Adding Brave repository to sources list..."
28
22
  echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main" | sudo tee /etc/apt/sources.list.d/brave-browser-release.list
29
23
 
30
- echo """#=======================================================================
31
- 📦 INSTALLING BRAVE BROWSER | Updating and installing packages
32
- #=======================================================================
24
+ echo """📦 INSTALLING BRAVE BROWSER | Updating and installing packages
33
25
  """
34
26
 
35
27
  # Update package lists
@@ -40,9 +32,7 @@ sudo nala update
40
32
  echo "📥 Installing Brave browser..."
41
33
  sudo nala install brave-browser -y
42
34
 
43
- echo """#=======================================================================
44
- ✅ INSTALLATION COMPLETE | Brave browser has been installed successfully
45
- #=======================================================================
35
+ echo """✅ INSTALLATION COMPLETE | Brave browser has been installed successfully
46
36
  """
47
37
  echo "🦁 You can now launch Brave browser from your applications menu or by typing 'brave-browser' in terminal"
48
38
 
@@ -1,15 +1,11 @@
1
1
  #!/bin/bash
2
- #=======================================================================
3
2
  # 🐳 DOCKER INSTALLATION SCRIPT 🐳
4
- #=======================================================================
5
3
  # This script installs Docker on Debian/Ubuntu-based Linux distributions
6
4
 
7
5
  #-----------------------------------------------------------------------
8
6
  # 🔍 SYSTEM DETECTION | Identify OS distribution and version
9
7
  #-----------------------------------------------------------------------
10
- echo """#=======================================================================
11
- 🔍 DETECTING SYSTEM | Identifying OS distribution and version
12
- #=======================================================================
8
+ echo """🔍 DETECTING SYSTEM | Identifying OS distribution and version
13
9
  """
14
10
 
15
11
  get_os_type() {
@@ -54,9 +50,7 @@ echo "📋 Distribution version: $DISTRO_VERSION"
54
50
  #-----------------------------------------------------------------------
55
51
  # 🔑 REPOSITORY SETUP | Adding Docker's official repository
56
52
  #-----------------------------------------------------------------------
57
- echo """#=======================================================================
58
- 🔑 REPOSITORY SETUP | Adding Docker's official repository
59
- #=======================================================================
53
+ echo """🔑 REPOSITORY SETUP | Adding Docker's official repository
60
54
  """
61
55
 
62
56
  # Install prerequisites
@@ -79,9 +73,7 @@ echo \
79
73
  #-----------------------------------------------------------------------
80
74
  # 📦 INSTALLATION | Installing Docker packages
81
75
  #-----------------------------------------------------------------------
82
- echo """#=======================================================================
83
- 📦 INSTALLATION | Installing Docker packages
84
- #=======================================================================
76
+ echo """📦 INSTALLATION | Installing Docker packages
85
77
  """
86
78
 
87
79
  echo "🔄 Updating package lists..."
@@ -92,9 +84,7 @@ sudo nala install docker-ce docker-ce-cli containerd.io docker-buildx-plugin doc
92
84
  #-----------------------------------------------------------------------
93
85
  # 🚀 CONFIGURATION | Setting up Docker service and permissions
94
86
  #-----------------------------------------------------------------------
95
- echo """#=======================================================================
96
- 🚀 CONFIGURATION | Setting up Docker service and permissions
97
- #=======================================================================
87
+ echo """🚀 CONFIGURATION | Setting up Docker service and permissions
98
88
  """
99
89
 
100
90
  echo "⚙️ Enabling Docker system service..."
@@ -107,9 +97,7 @@ echo "👥 Adding current user to docker group..."
107
97
  sudo groupadd docker 2>/dev/null || echo "ℹ️ Docker group already exists"
108
98
  sudo usermod -aG docker $(whoami) || echo "⚠️ Failed to add user to docker group"
109
99
 
110
- echo """#=======================================================================
111
- ✅ INSTALLATION COMPLETE | Docker has been installed successfully
112
- #=======================================================================
100
+ echo """✅ INSTALLATION COMPLETE | Docker has been installed successfully
113
101
 
114
102
  ℹ️ NOTES:
115
103
  - You may need to log out and log back in for group changes to take effect
@@ -1,7 +1,5 @@
1
1
  #!/bin/sh
2
- #=======================================================================
3
2
  # 🐳 DOCKER DAEMON INIT SCRIPT 🐳
4
- #=======================================================================
5
3
  # This script should be placed at /etc/init.d/docker
6
4
  # It manages Docker daemon startup/shutdown for systems without systemd
7
5
 
@@ -17,24 +15,18 @@
17
15
 
18
16
  case "$1" in
19
17
  start)
20
- echo """ #=======================================================================
21
- 🚀 STARTING | Launching Docker daemon
22
- #=======================================================================
23
- """
18
+ echo """ 🚀 STARTING | Launching Docker daemon
19
+ """
24
20
  /usr/bin/dockerd &
25
21
  ;;
26
22
  stop)
27
- echo """ #=======================================================================
28
- 🛑 STOPPING | Terminating Docker daemon
29
- #=======================================================================
30
- """
23
+ echo """ 🛑 STOPPING | Terminating Docker daemon
24
+ """
31
25
  killall dockerd
32
26
  ;;
33
27
  *)
34
- echo """ #=======================================================================
35
- ❓ USAGE | Command not recognized
36
- #=======================================================================
37
-
28
+ echo """ ❓ USAGE | Command not recognized
29
+
38
30
  📋 Valid commands: /etc/init.d/docker {start|stop}
39
31
  """
40
32
  exit 1
@@ -1,12 +1,8 @@
1
1
  #!/bin/bash
2
- #=======================================================================
3
2
  # 🌐 MICROSOFT EDGE INSTALLATION SCRIPT 🌐
4
- #=======================================================================
5
3
  # This script installs Microsoft Edge browser on Linux systems
6
4
 
7
- echo """#=======================================================================
8
- 🔑 ADDING REPOSITORY KEYS | Setting up Microsoft repository
9
- #=======================================================================
5
+ echo """🔑 ADDING REPOSITORY KEYS | Setting up Microsoft repository
10
6
  """
11
7
 
12
8
  # Download and install Microsoft's GPG key
@@ -23,9 +19,7 @@ sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge sta
23
19
  echo "🧹 Cleaning up temporary files..."
24
20
  sudo rm microsoft.gpg
25
21
 
26
- echo """#=======================================================================
27
- 📦 INSTALLING MICROSOFT EDGE | Updating and installing packages
28
- #=======================================================================
22
+ echo """📦 INSTALLING MICROSOFT EDGE | Updating and installing packages
29
23
  """
30
24
 
31
25
  # Update package lists
@@ -36,9 +30,7 @@ sudo nala update
36
30
  echo "📥 Installing Microsoft Edge..."
37
31
  sudo nala install microsoft-edge-stable
38
32
 
39
- echo """#=======================================================================
40
- ✅ INSTALLATION COMPLETE | Microsoft Edge has been installed successfully
41
- #=======================================================================
33
+ echo """✅ INSTALLATION COMPLETE | Microsoft Edge has been installed successfully
42
34
  """
43
35
  echo "🌐 You can now launch Microsoft Edge from your applications menu or by typing 'microsoft-edge' in terminal"
44
36
 
@@ -1,12 +1,8 @@
1
1
  #!/bin/bash
2
- #=======================================================================
3
2
  # 🔤 NERD FONT INSTALLATION SCRIPT 🔤
4
- #=======================================================================
5
3
  # This script installs CascadiaCode Nerd Font for enhanced terminal and coding experience
6
4
 
7
- echo """#=======================================================================
8
- 📥 DOWNLOADING | Fetching CascadiaCode Nerd Font
9
- #=======================================================================
5
+ echo """📥 DOWNLOADING | Fetching CascadiaCode Nerd Font
10
6
  """
11
7
 
12
8
  # Navigate to Downloads directory
@@ -17,17 +13,13 @@ cd ~/Downloads
17
13
  echo "🔽 Downloading CascadiaCode Nerd Font..."
18
14
  curl -LO https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/CascadiaCode.tar.xz
19
15
 
20
- echo """#=======================================================================
21
- 📦 EXTRACTING | Unpacking font archive
22
- #=======================================================================
16
+ echo """📦 EXTRACTING | Unpacking font archive
23
17
  """
24
18
  # Extract the fonts
25
19
  echo "📂 Extracting font files..."
26
20
  tar -xvf CascadiaCode.tar.xz
27
21
 
28
- echo """#=======================================================================
29
- 🔧 INSTALLING | Setting up font files
30
- #=======================================================================
22
+ echo """🔧 INSTALLING | Setting up font files
31
23
  """
32
24
  # Create fonts directory if it doesn't exist
33
25
  echo "📁 Creating local fonts directory..."
@@ -41,18 +33,14 @@ mv ./*.ttf ~/.local/share/fonts
41
33
  echo "🔄 Updating font cache..."
42
34
  fc-cache -f -v
43
35
 
44
- echo """#=======================================================================
45
- 🧹 CLEANING UP | Removing temporary files
46
- #=======================================================================
36
+ echo """🧹 CLEANING UP | Removing temporary files
47
37
  """
48
38
  # Clean up downloaded and extracted files
49
39
  echo "🧹 Removing temporary files..."
50
40
  rm -rf CascadiaCode
51
41
  rm CascadiaCode.tar.xz
52
42
 
53
- echo """#=======================================================================
54
- ✅ INSTALLATION COMPLETE | CascadiaCode Nerd Font has been installed
55
- #=======================================================================
43
+ echo """✅ INSTALLATION COMPLETE | CascadiaCode Nerd Font has been installed
56
44
  """
57
45
  echo "ℹ️ To verify installation, run: fc-list | grep CaskaydiaCove"
58
46
  echo "💡 USE 'CaskaydiaCove Nerd Font' in VS Code and other applications"
@@ -1,13 +1,9 @@
1
1
  #!/bin/bash
2
- #=======================================================================
3
2
  # 🐘 POSTGRESQL INSTALLATION SCRIPT 🐘
4
- #=======================================================================
5
3
  # This script installs PostgreSQL database on Ubuntu/Debian systems
6
4
  # Reference: https://www.postgresql.org/download/linux/ubuntu/
7
5
 
8
- echo """#=======================================================================
9
- 🚀 STARTING POSTGRESQL INSTALLATION | Setting up PostgreSQL database
10
- #=======================================================================
6
+ echo """🚀 STARTING POSTGRESQL INSTALLATION | Setting up PostgreSQL database
11
7
  """
12
8
 
13
9
  # Install PostgreSQL common package
@@ -19,16 +15,12 @@ echo "🔧 Setting up PostgreSQL repository..."
19
15
  sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y
20
16
 
21
17
  # Install PostgreSQL 17
22
- echo """#=======================================================================
23
- 📦 INSTALLING POSTGRESQL | Installing PostgreSQL 17
24
- #=======================================================================
18
+ echo """📦 INSTALLING POSTGRESQL | Installing PostgreSQL 17
25
19
  """
26
20
  sudo nala install postgresql-17 -y
27
21
  # Alternative: sudo nala install postgresql -y
28
22
 
29
- echo """#=======================================================================
30
- ✅ INSTALLATION COMPLETE | PostgreSQL has been installed successfully
31
- #=======================================================================
23
+ echo """✅ INSTALLATION COMPLETE | PostgreSQL has been installed successfully
32
24
  """
33
25
  echo "ℹ️ PostgreSQL service should be running automatically"
34
26
  echo "💡 Connect to default 'postgres' database with: sudo -u postgres psql"
@@ -1,13 +1,9 @@
1
1
  #!/usr/bin/bash
2
- #=======================================================================
3
2
  # 🔄 REDIS INSTALLATION SCRIPT 🔄
4
- #=======================================================================
5
3
  # This script installs Redis server on Debian/Ubuntu-based Linux distributions
6
4
  # Reference: https://redis.io/docs/latest/operate/oss_and_stack/install/install-redis/install-redis-on-linux/
7
5
 
8
- echo """#=======================================================================
9
- 🔍 DETECTING SYSTEM | Identifying OS distribution version
10
- #=======================================================================
6
+ echo """🔍 DETECTING SYSTEM | Identifying OS distribution version
11
7
  """
12
8
 
13
9
  get_ubuntu_base_version() {
@@ -27,9 +23,7 @@ get_ubuntu_base_version() {
27
23
  ubuntu_version=$(get_ubuntu_base_version)
28
24
  echo "📋 Detected distribution: $ubuntu_version"
29
25
 
30
- echo """#=======================================================================
31
- 🔑 ADDING REPOSITORY KEYS | Setting up Redis repository
32
- #=======================================================================
26
+ echo """🔑 ADDING REPOSITORY KEYS | Setting up Redis repository
33
27
  """
34
28
 
35
29
  # Add Redis GPG key
@@ -41,9 +35,7 @@ sudo chmod 644 /usr/share/keyrings/redis-archive-keyring.gpg
41
35
  echo "📝 Adding Redis repository to sources list..."
42
36
  echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $ubuntu_version main" | sudo tee /etc/apt/sources.list.d/redis.list
43
37
 
44
- echo """#=======================================================================
45
- 📦 INSTALLING REDIS | Updating and installing packages
46
- #=======================================================================
38
+ echo """📦 INSTALLING REDIS | Updating and installing packages
47
39
  """
48
40
 
49
41
  # Update package lists
@@ -54,9 +46,7 @@ sudo nala update
54
46
  echo "📥 Installing Redis..."
55
47
  sudo nala install redis -y
56
48
 
57
- echo """#=======================================================================
58
- ✅ INSTALLATION COMPLETE | Redis has been installed successfully
59
- #=======================================================================
49
+ echo """✅ INSTALLATION COMPLETE | Redis has been installed successfully
60
50
 
61
51
  📋 REDIS SERVER COMMANDS:
62
52
  """
@@ -65,7 +55,5 @@ echo "⏹️ To stop Redis server: sudo systemctl stop redis-server"
65
55
  echo "🔄 To restart Redis server: sudo systemctl restart redis-server"
66
56
  echo "ℹ️ To check status of Redis server: sudo systemctl status redis-server"
67
57
  echo "🚀 To enable Redis on boot: sudo systemctl enable --now redis-server"
68
- echo """#=======================================================================
69
- 💡 QUICK TEST | Try connecting to Redis with: redis-cli ping
70
- #=======================================================================
58
+ echo """💡 QUICK TEST | Try connecting to Redis with: redis-cli ping
71
59
  """
@@ -1,13 +1,9 @@
1
1
  #!/bin/bash
2
- #=======================================================================
3
2
  # ⏱️ TIMESCALEDB INSTALLATION SCRIPT ⏱️
4
- #=======================================================================
5
3
  # This script installs TimescaleDB on Ubuntu/Debian-based Linux distributions
6
4
  # Reference: https://docs.timescale.com/self-hosted/latest/install/installation-linux/
7
5
 
8
- echo """#=======================================================================
9
- 🔍 DETECTING SYSTEM | Identifying OS distribution version
10
- #=======================================================================
6
+ echo """🔍 DETECTING SYSTEM | Identifying OS distribution version
11
7
  """
12
8
 
13
9
  get_ubuntu_base_version() {
@@ -28,9 +24,7 @@ get_ubuntu_base_version() {
28
24
  ubuntu_version=$(get_ubuntu_base_version)
29
25
  echo "📋 Detected distribution: $ubuntu_version"
30
26
 
31
- echo """#=======================================================================
32
- 🐘 INSTALLING POSTGRESQL | Setting up PostgreSQL dependencies
33
- #=======================================================================
27
+ echo """🐘 INSTALLING POSTGRESQL | Setting up PostgreSQL dependencies
34
28
  """
35
29
 
36
30
  # Add PostgreSQL repository setup
@@ -38,9 +32,7 @@ echo "🔧 Setting up PostgreSQL repository..."
38
32
  sudo nala install postgresql-common -y
39
33
  sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y
40
34
 
41
- echo """#=======================================================================
42
- 🔑 ADDING REPOSITORY KEYS | Setting up TimescaleDB repository
43
- #=======================================================================
35
+ echo """🔑 ADDING REPOSITORY KEYS | Setting up TimescaleDB repository
44
36
  """
45
37
 
46
38
  # Add TimescaleDB repository
@@ -50,9 +42,7 @@ echo "deb https://packagecloud.io/timescale/timescaledb/ubuntu/ $ubuntu_version
50
42
  echo "🔐 Adding TimescaleDB GPG key..."
51
43
  wget --quiet -O - https://packagecloud.io/timescale/timescaledb/gpgkey | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/timescaledb.gpg
52
44
 
53
- echo """#=======================================================================
54
- 📦 INSTALLING TIMESCALEDB | Updating and installing packages
55
- #=======================================================================
45
+ echo """📦 INSTALLING TIMESCALEDB | Updating and installing packages
56
46
  """
57
47
 
58
48
  # Update package lists
@@ -63,9 +53,7 @@ sudo nala update
63
53
  echo "📥 Installing PostgreSQL 16 and TimescaleDB..."
64
54
  sudo nala install -y postgresql-16 postgresql-client-16 timescaledb-2-postgresql-16
65
55
 
66
- echo """#=======================================================================
67
- ⚙️ CONFIGURING TIMESCALEDB | Optimizing database settings
68
- #=======================================================================
56
+ echo """⚙️ CONFIGURING TIMESCALEDB | Optimizing database settings
69
57
  """
70
58
 
71
59
  # Run TimescaleDB tuning tool
@@ -76,9 +64,7 @@ sudo timescaledb-tune
76
64
  echo "🔄 Restarting PostgreSQL service..."
77
65
  sudo systemctl restart postgresql
78
66
 
79
- echo """#=======================================================================
80
- ✅ INSTALLATION COMPLETE | TimescaleDB has been installed successfully
81
- #=======================================================================
67
+ echo """✅ INSTALLATION COMPLETE | TimescaleDB has been installed successfully
82
68
  """
83
69
  echo "🚀 To connect to PostgreSQL, run: sudo -u postgres psql"
84
70
  echo "💡 To enable TimescaleDB in a database, run: CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;"
@@ -1,7 +1,5 @@
1
1
  #!/bin/bash
2
- #=======================================================================
3
2
  # 💻 VS CODE INSTALLATION SCRIPT 💻
4
- #=======================================================================
5
3
  # This script installs Visual Studio Code on Ubuntu/Debian-based Linux distributions
6
4
  # Reference: https://code.visualstudio.com/docs/setup/linux
7
5
 
@@ -15,9 +13,7 @@ handle_error() {
15
13
 
16
14
  # Function to install via direct .deb download (fallback method)
17
15
  install_vscode_direct() {
18
- echo """#=======================================================================
19
- 📦 FALLBACK INSTALLATION | Installing VS Code via direct download
20
- #=======================================================================
16
+ echo """📦 FALLBACK INSTALLATION | Installing VS Code via direct download
21
17
  """
22
18
 
23
19
  echo "⬇️ Downloading VS Code .deb package..."
@@ -37,9 +33,7 @@ install_vscode_direct() {
37
33
 
38
34
 
39
35
 
40
- echo """#=======================================================================
41
- � INSTALLING VS CODE | Using direct download method
42
- #=======================================================================
36
+ echo """� INSTALLING VS CODE | Using direct download method
43
37
  """
44
38
 
45
39
  # Try direct download method first (more reliable)
@@ -50,9 +44,7 @@ install_vscode_direct
50
44
  if ! command -v code >/dev/null 2>&1; then
51
45
  echo "⚠️ Direct download failed, trying repository method..."
52
46
 
53
- echo """#=======================================================================
54
- 🔑 SETTING UP MICROSOFT REPOSITORY | Fallback method
55
- #=======================================================================
47
+ echo """🔑 SETTING UP MICROSOFT REPOSITORY | Fallback method
56
48
  """
57
49
 
58
50
  # Clean up any existing conflicting configurations
@@ -105,9 +97,7 @@ if ! command -v code >/dev/null 2>&1; then
105
97
  fi
106
98
  fi
107
99
 
108
- echo """#=======================================================================
109
- 🔄 CHECKING FOR VS CODE INSIDERS | Updating if installed
110
- #=======================================================================
100
+ echo """🔄 CHECKING FOR VS CODE INSIDERS | Updating if installed
111
101
  """
112
102
 
113
103
  # Check if VS Code Insiders is installed and update if found
@@ -118,9 +108,7 @@ else
118
108
  echo "ℹ️ VS Code Insiders not installed, skipping"
119
109
  fi
120
110
 
121
- echo """#=======================================================================
122
- ✅ INSTALLATION COMPLETE | VS Code has been installed successfully
123
- #=======================================================================
111
+ echo """✅ INSTALLATION COMPLETE | VS Code has been installed successfully
124
112
  """
125
113
 
126
114
  # Verify installation
@@ -1,13 +1,9 @@
1
1
  #!/usr/bin/bash
2
- #=======================================================================
3
2
  # 🔒 CLOUDFLARE WARP INSTALLATION SCRIPT 🔒
4
- #=======================================================================
5
3
  # This script installs Cloudflare WARP client on Ubuntu/Debian-based Linux distributions
6
4
  # Reference: https://pkg.cloudflareclient.com/
7
5
 
8
- echo """#=======================================================================
9
- 🔍 DETECTING SYSTEM | Identifying OS distribution version
10
- #=======================================================================
6
+ echo """🔍 DETECTING SYSTEM | Identifying OS distribution version
11
7
  """
12
8
 
13
9
  get_ubuntu_base_version() {
@@ -27,9 +23,7 @@ get_ubuntu_base_version() {
27
23
  ubuntu_version=$(get_ubuntu_base_version)
28
24
  echo "📋 Detected distribution: $ubuntu_version"
29
25
 
30
- echo """#=======================================================================
31
- 🔑 ADDING REPOSITORY KEYS | Setting up Cloudflare repository
32
- #=======================================================================
26
+ echo """🔑 ADDING REPOSITORY KEYS | Setting up Cloudflare repository
33
27
  """
34
28
 
35
29
  # Add Cloudflare WARP GPG key
@@ -40,9 +34,7 @@ curl -fsSL https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmo
40
34
  echo "📝 Adding Cloudflare WARP repository to sources list..."
41
35
  echo "deb [signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $ubuntu_version main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list
42
36
 
43
- echo """#=======================================================================
44
- 📦 INSTALLING CLOUDFLARE WARP | Updating and installing packages
45
- #=======================================================================
37
+ echo """📦 INSTALLING CLOUDFLARE WARP | Updating and installing packages
46
38
  """
47
39
 
48
40
  # Update package lists
@@ -53,18 +45,14 @@ sudo nala update
53
45
  echo "📥 Installing Cloudflare WARP..."
54
46
  sudo nala install cloudflare-warp -y
55
47
 
56
- echo """#=======================================================================
57
- 🔧 REGISTERING WARP CLIENT | Setting up new registration
58
- #=======================================================================
48
+ echo """🔧 REGISTERING WARP CLIENT | Setting up new registration
59
49
  """
60
50
 
61
51
  # Register the WARP client
62
52
  echo "📡 Registering WARP client..."
63
53
  warp-cli registration new
64
54
 
65
- echo """#=======================================================================
66
- ✅ INSTALLATION COMPLETE | Cloudflare WARP has been installed successfully
67
- #=======================================================================
55
+ echo """✅ INSTALLATION COMPLETE | Cloudflare WARP has been installed successfully
68
56
  """
69
57
  echo "🚀 To connect to WARP, run: warp-cli connect"
70
58
  echo "🔄 To disconnect from WARP, run: warp-cli disconnect"
@@ -1,13 +1,9 @@
1
1
  #!/bin/bash
2
- #=======================================================================
3
2
  # 🖥️ WEZTERM TERMINAL INSTALLATION SCRIPT 🖥️
4
- #=======================================================================
5
3
  # This script installs WezTerm terminal emulator on Ubuntu/Debian-based Linux distributions
6
4
  # Reference: https://wezfurlong.org/wezterm/install/linux.html
7
5
 
8
- echo """#=======================================================================
9
- 🔑 ADDING REPOSITORY KEYS | Setting up WezTerm repository
10
- #=======================================================================
6
+ echo """🔑 ADDING REPOSITORY KEYS | Setting up WezTerm repository
11
7
  """
12
8
 
13
9
  # Add WezTerm GPG key
@@ -18,9 +14,7 @@ curl -fsSL https://apt.fury.io/wez/gpg.key | sudo gpg --yes --dearmor -o /usr/sh
18
14
  echo "📝 Adding WezTerm repository to sources list..."
19
15
  echo 'deb [signed-by=/usr/share/keyrings/wezterm-fury.gpg] https://apt.fury.io/wez/ * *' | sudo tee /etc/apt/sources.list.d/wezterm.list
20
16
 
21
- echo """#=======================================================================
22
- 📦 INSTALLING WEZTERM | Updating and installing packages
23
- #=======================================================================
17
+ echo """📦 INSTALLING WEZTERM | Updating and installing packages
24
18
  """
25
19
 
26
20
  # Update package lists
@@ -31,9 +25,7 @@ sudo nala update
31
25
  echo "📥 Installing WezTerm terminal emulator..."
32
26
  sudo nala install wezterm -y
33
27
 
34
- echo """#=======================================================================
35
- ✅ INSTALLATION COMPLETE | WezTerm has been installed successfully
36
- #=======================================================================
28
+ echo """✅ INSTALLATION COMPLETE | WezTerm has been installed successfully
37
29
  """
38
30
  echo "🚀 You can now launch WezTerm from your applications menu or by typing 'wezterm' in terminal"
39
31
  echo "💡 Configure WezTerm by editing $HOME/.config/wezterm/wezterm.lua"