Skip to content

milhy545/MyMenu

Repository files navigation

πŸš€ MyMenu - Unified dmenu Launcher for 3-PC Development Ecosystem

Comprehensive dmenu-based launcher system for unified development environment across 3 PCs

πŸ—οΈ Architecture

Hardware Topology

Aspire PC (192.168.0.10) - Main Development Workstation
β”œβ”€β”€ CPU: Intel Q9550 @ 2.83GHz (thermal-aware)
β”œβ”€β”€ OS: Ubuntu with KDE Plasma
└── Role: Primary development, Claude Code, VS Code

LLMS Server (192.168.0.41) - LLM Processing Unit  
β”œβ”€β”€ Hardware: Dell OptiPlex 780
β”œβ”€β”€ OS: Ubuntu Server
└── Role: AI inference, model hosting, shared storage

HAS Server (192.168.0.58) - Home Automation Hub
β”œβ”€β”€ Hardware: HP Server
β”œβ”€β”€ OS: Alpine Linux v3.19
└── Role: IoT coordination, network services, MCP orchestration

🎯 Features

πŸ“‹ dmenu Categories

  1. πŸ–₯️ 3-PC Servers - Server management and cross-PC coordination
  2. πŸ€– AI Tools - Claude, Gemini 2x accounts, MyCoder variants
  3. 🌐 Web Services - All services across trio with port mapping
  4. πŸ“Š Monitoring - htop, iotop, nethogs, btop + custom monitoring
  5. ⚑ Quick Actions - SSH, tmux, power, git, docker shortcuts
  6. πŸ”’ Vault - Secured credential management via keyring
  7. πŸ“š Reference - Personal guides and documentation

πŸ” Security Features

  • Keyring Integration - Encrypted credential storage
  • Sudo Protection - Sensitive operations require elevation
  • Auto-lock Timeout - 30-minute inactivity timeout
  • Access Logging - Credential access audit trail

⚑ Performance Features

  • Q9550 Thermal Management - CPU temperature-aware operation
  • Multi-server Monitoring - Real-time status across all 3 PCs
  • Tmux Ecosystem - Unified session management
  • Power Profiles - Intelligent power management

πŸ“¦ Installation

Prerequisites

# Install required packages
sudo apt update
sudo apt install dmenu python3-keyring konsole

# Install monitoring tools
./install-monitoring-tools.sh

Setup

# Clone and setup
cd /home/milhy777/Develop/Production/MyMenu
chmod +x *.sh

# Setup secure vault
./keyring-vault.sh setup

# Add aliases to shell
echo "alias dm='/home/milhy777/Develop/Production/MyMenu/dmenu-launcher.sh'" >> ~/.bashrc
echo "alias vault='/home/milhy777/Develop/Production/MyMenu/keyring-vault.sh'" >> ~/.bashrc

πŸš€ Usage

Main Launcher

dm                    # Launch main dmenu interface

Direct Category Access

dm servers           # 3-PC server management
dm ai                # AI tools and development
dm web               # Web services across trio
dm monitor           # System monitoring tools
dm quick             # Quick actions and shortcuts
dm vault             # Secure credential vault
dm reference         # Documentation and guides

Vault Management

vault                # Interactive vault menu
vault setup          # Initial vault configuration
vault list           # List stored credentials
vault topology       # Show network topology

πŸ“Š Monitoring Arsenal

System Monitoring

  • htop - Process monitoring
  • iotop - I/O performance monitoring (requires sudo)
  • nethogs - Per-process network monitoring (requires sudo)
  • btop - Modern htop replacement with GPU support
  • Custom Monitor - Q9550-optimized system monitor

Cross-Server Monitoring

  • Multi-Server Status - Real-time monitoring across all 3 PCs
  • Tmux Ecosystem Health - Session status across servers
  • Temperature Monitoring - Q9550 thermal protection
  • Power Management Status - Performance profile monitoring

🌐 Web Services Integration

HAS - Home Automation Server (192.168.0.58)

  • Home Assistant (8123) - Smart home management
  • AdGuard Home (3000) - Network-wide ad blocking
  • Portainer (9000) - Container management
  • ZEN Coordinator (8020) - MCP service orchestration

LLMS - LLM Server (192.168.0.41)

  • LLM Interface (8080) - Web-based LLM interaction
  • Ollama API (11434) - Local LLM API endpoint
  • SMB Share (445) - Development file sharing

Aspire - Development PC (192.168.0.10)

  • Development Server (8000) - Local development server
  • Testing Server (3001) - Application testing
  • ZEN Coordinator (8020) - Testing MCP services

πŸ€– AI Development Integration

Claude Ecosystem

  • Claude Local - Local Claude installation
  • Claude Code - Anthropic CLI for development
  • Claude Dev - Custom development wrapper

Gemini Dual Setup

  • Account 1 - Primary Google account for Gemini 2.5 Pro
  • Account 2 - Secondary account (double quota, double fun!)

MyCoder Variants

  • MyCoder v2.0 - Production-ready enhanced version
  • MyCoder Simple - Lightweight development version
  • MyCoder Thermal - Q9550 thermal-aware operation

βš™οΈ Configuration Files

Core Files

  • dmenu-launcher.sh - Main dmenu launcher with all categories
  • keyring-vault.sh - Secure credential management system
  • install-monitoring-tools.sh - Automated tool installation
  • FUT-TASKLIST.md - Comprehensive dmenu task reference
  • MILHY777.md - Personal system guide and workflow patterns

Integration Files

  • .shell_common - Unified shell configuration with aliases
  • .tmux.conf - Tmux configuration for cross-server sessions
  • system_monitor.sh - Custom Q9550-optimized monitoring

πŸ”§ Development Workflow

Morning Startup Routine

  1. Launch dm for main interface
  2. Check 3-PC Servers β†’ Multi-Server Monitor
  3. Access AI Tools for development environment
  4. Monitor system with Monitoring tools

Cross-Server Development

  1. 3-PC Servers β†’ Session Manager for tmux coordination
  2. Web Services β†’ Access services across all servers
  3. Quick Actions β†’ Rapid SSH and session management
  4. Vault β†’ Secure credential access when needed

Emergency Procedures

  • Power Emergency - Emergency thermal protection for Q9550
  • Multi-Server Restart - Coordinated session restart across trio
  • Vault Access - Emergency credential retrieval

πŸ“ˆ Performance Optimizations

Q9550 Specific

  • Thermal Monitoring - Real-time temperature tracking
  • Automatic Throttling - CPU protection during heavy loads
  • Power Profile Management - Intelligent performance scaling
  • VS Code Protection - Prevent thermal overload during development

Network Optimizations

  • Local Service Priority - Prefer local services when available
  • Connection Pooling - Efficient cross-server communication
  • Session Persistence - Maintain connections across reboots

🎨 Customization

dmenu Styling

  • Theme - Dark theme with VS Code colors
  • Font - JetBrains Mono for clarity
  • Layout - 20-item list for comprehensive view

Category Extensions

Add new categories by extending the CATEGORIES array in dmenu-launcher.sh:

declare -A CATEGORIES=(
    ["πŸ†• New Category"]="new_category"
    # ... existing categories
)

πŸ”’ Security Considerations

Credential Storage

  • Keyring Integration - OS-level encrypted storage
  • No Plain Text - All sensitive data encrypted
  • Access Control - Sudo protection for sensitive operations
  • Audit Logging - Track credential access

Network Security

  • SSH Key Management - Centralized key distribution
  • Service Isolation - Services properly segmented
  • VPN Integration - Tailscale for external access

πŸ“ Contributing

This is a personal development environment project. Features are added based on workflow needs and system requirements.

Development Priorities

  1. Stability - Rock-solid operation for daily development
  2. Performance - Optimized for Q9550 thermal constraints
  3. Security - Proper credential and access management
  4. Usability - Intuitive interface for complex operations

πŸ“‹ Changelog

v1.0.0 - Initial Release

  • Complete dmenu launcher system
  • 7 main categories with comprehensive functionality
  • Secure keyring-based credential vault
  • Q9550 thermal management integration
  • Cross-server monitoring and session management
  • Installation automation and setup scripts

Created for unified 3-PC development ecosystem
Aspire (Dev) + LLMS (AI) + HAS (Automation) = Seamless Development Experience

Optimized for Intel Q9550 thermal management and KDE Plasma integration

About

πŸš€ Unified dmenu launcher for 3-PC development ecosystem with secure credential vault and cross-server monitoring

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages