
dotfiles
๐ Modern development environment with secure GitOps. ASDF, Starship, tmux, modern CLI tools. Public repo with encrypted token management.
Repository Info
About This Server
๐ Modern development environment with secure GitOps. ASDF, Starship, tmux, modern CLI tools. Public repo with encrypted token management.
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
๐ Ultimate Modern Development Environment
Enterprise-grade dotfiles with GitOps automation, smart sync, Tabby gateway, and comprehensive tooling.
๐ Claude Code Instructions: See CLAUDE.md in synthLANG format
๐ Security Note: Tokens and sensitive configs stored in private gists
โจ Key Features
๐ค Automated Sync System
- Smart detection - Lightning-fast GitHub API checks on login
- Auto-sync - Background updates when changes detected
- Cross-server sync - All machines stay updated automatically
- Gist integration - Secure token & SSH host management
๐จ Session & Gateway Management
- Simple commands -
s/sl/skfor tmux session management - Tabby gateway - Multi-user SSH gateway at ws://51.38.127.98:9000
- SSH integration - Tabby-sync for unified host management
- Automated backups - Daily gateway backups to GitHub gists
๐ฆ Backup & Restore
- Complete state - Tmux sessions, shell history, SSH configs
- Smart compression - Automated backup rotation
- Instant restore - One-click environment recreation
- Directory memory - Zoxide integration for smart navigation
๐ ๏ธ Development Powerhouse
- 40+ Git aliases -
gs,gp,glog,cleanup,pushit - Modern CLI tools - bat, eza, fd, fzf, ripgrep, zoxide
- Version management - Mise for Python, Node, Go, Rust
- Enhanced tmux - Plugins, session persistence, global hotkeys
๐ Quick Start
One-Line Install
git clone https://github.com/mikkihugo/dotfiles.git ~/.dotfiles && cd ~/.dotfiles && ./install.sh
Enable Auto-Sync
cd ~/.dotfiles && ./.scripts/setup-cron.sh
๐ฏ What You Get
Session Management
s [name] # Create/attach tmux session
sl # List sessions
sk [name] # Kill session
sa/sm/sw/st # Quick jumps (agent/mcp/work/temp)
Tabby Gateway
mise run gateway-deploy # Deploy gateway container
mise run gateway-backup # Backup to GitHub gist
mise run gateway-sync # Sync config from gist
mise run gateway-schedule # Setup daily backups
Productivity Aliases
# Git shortcuts
gs # git status
ga . # git add .
gcm "message" # git commit -m
gp # git push
glog # beautiful git log
cleanup # delete merged branches
# Modern replacements
ls # โ eza with icons and git status
cat # โ bat with syntax highlighting
cd # โ zoxide (smart directory jumping)
find # โ fd (faster file search)
grep # โ ripgrep (faster text search)
System Management
backup-restore # Complete environment backup
mise run sync # Manual dotfiles sync
system-info # Beautiful system dashboard
weather # Current weather display
๐ Interactive Menu
On every login, get a beautiful menu with:
- Numbered tmux sessions (1-5 for instant access)
- SSH connections from Tabby sync
- System tools and information
- Backup/restore operations
- Quick actions for common tasks
๐ Auto-Sync Architecture
Smart Detection
- Login check - GitHub API call (~200ms) to compare commit hashes
- Background sync - Non-blocking updates when changes found
- Notifications - Desktop alerts for sync status
- Fallback cron - Daily 6 AM sync for servers without logins
What Gets Synced
- โ Dotfiles - All configurations via git
- โ Tools - Mise automatically installs/updates
- โ Tokens - Secure gist-based secret management
- โ SSH hosts - Tabby integration for unified access
๐ Repository Structure
.dotfiles/
โโโ ๐ง Core Config
โ โโโ .mise.toml # Tool versions & tasks
โ โโโ config/bashrc # Enhanced shell config
โ โโโ config/tmux.conf # Tmux with plugins
โ โโโ .gitconfig # 40+ git aliases
โ โโโ .aliases # 100+ productivity shortcuts
โโโ ๐ค Automation
โ โโโ .scripts/auto-sync.sh # Smart sync system
โ โโโ .scripts/quick-check.sh # Fast GitHub API checks
โ โโโ .scripts/enhanced-menu.sh # Interactive login menu
โ โโโ .scripts/backup-restore.sh # Complete state management
โโโ ๐ Security
โ โโโ .scripts/tabby-sync.sh # SSH host management
โ โโโ CLAUDE.md # AI assistant rules
โโโ ๐ Documentation
โโโ README.md # This file
๐ Advanced Features
Git Workflow Enhancement
# Smart aliases
glog # Beautiful graph log
today # Commits from today
yesterday # Commits from yesterday
find "message" # Search commits by message
pushit # Push current branch with upstream
rebase-main # Interactive rebase from main
cleanup # Delete merged branches
Tmux Session Management
- Auto-restore - Sessions persist across reboots
- Global hotkeys - Ctrl+Alt+1-5 for session switching
- Smart naming - Automatic session organization
- Backup integration - Save/restore complete state
System Intelligence
- Smart cd - Zoxide learns your navigation patterns
- Directory jumping - Instant access to frequent paths
- System monitoring - Real-time resource dashboard
- Network info - Internal/external IP display
๐ง Customization
Add New Tools
# Edit mise configuration
vim ~/.dotfiles/.mise.toml
# Add to tools section
[tools]
your-tool = "latest"
# Commit changes
cd ~/.dotfiles
git add . && git commit -m "Add your-tool" && git push
Custom Aliases
# Edit aliases file
vim ~/.dotfiles/.aliases
# Add your aliases
alias mycommand='your command here'
# Auto-syncs across all machines
SSH Host Management
# Add hosts via Tabby or direct edit
tabby-sync push # Push local hosts to gist
tabby-sync pull # Pull hosts from gist
๐ Multi-Machine Workflow
Initial Setup (New Machine)
# 1. Clone dotfiles
git clone https://github.com/mikkihugo/dotfiles.git ~/.dotfiles
# 2. Run installer
cd ~/.dotfiles && ./install.sh
# 3. Setup auto-sync
./.scripts/setup-cron.sh
# 4. Download tokens (ask team for gist ID)
gh gist view $TOKENS_GIST_ID > ~/.env_tokens
Daily Usage
- Make changes on any machine
- Auto-sync happens on login/daily
- All machines stay synchronized
- Zero manual intervention needed
๐ ๏ธ Troubleshooting
Sync Issues
# Check sync status
tail -f ~/.dotfiles/auto-sync.log
# Manual sync
cd ~/.dotfiles && mise run sync
# Reset sync state
rm ~/.dotfiles/.remote_hash && ~/.dotfiles/.scripts/quick-check.sh sync
Missing Tools
# Reinstall everything
cd ~/.dotfiles && mise install
# Check tool versions
mise list
Menu Not Showing
# Test menu directly
~/.dotfiles/.scripts/enhanced-menu.sh force
# Check bashrc loading
source ~/.bashrc
๐จ Screenshots
Login Experience
๐ SESSION & CONNECTION MANAGER
๐ TMUX SESSIONS
1) ๐ข main [ATTACHED] 3w
2) ๐ต work [FREE] 1w
3) ๐ต temp [FREE] 2w
๐ SSH CONNECTIONS (5 hosts)
๐ server1 โ user@host1.com
๐ server2 โ user@host2.com
โจ New tmux session
๐๏ธ Kill tmux session
๐ฆ Sync dotfiles
โ๏ธ Quick tools
System Information
๐ฅ๏ธ SYSTEM INFORMATION
====================
๐ System:
Host: dev-server
OS: Ubuntu 22.04 LTS
Uptime: 5 days, 3 hours
๐พ Memory:
Used: 4.2G/16G (26%)
๐ฟ Disk:
Root: 45G/100G (45% used)
โก CPU:
Intel Xeon E5-2686 v4
Cores: 8 | Load: 0.5
๐ Network:
IP: 192.168.1.100
External: 203.0.113.1
๐ Performance Stats
- Login time: ~300ms (with sync check)
- Sync speed: ~2-5 seconds (full sync)
- API check: ~200ms (hash comparison)
- Menu load: ~100ms (gum interface)
๐ค Contributing
- Fork the repository
- Create feature branch (
git checkout -b feature/amazing-feature) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open Pull Request
๐ License
MIT License - See LICENSE for details.
๐ Acknowledgments
- Mise - Modern tool version management
- Starship - Cross-shell prompt
- Gum - Glamorous shell scripts
- Zoxide - Smart directory jumping
- Modern Unix - CLI tool inspiration
๐ Ready to supercharge your development environment?
Get started with: git clone https://github.com/mikkihugo/dotfiles.git ~/.dotfiles && cd ~/.dotfiles && ./install.sh
Quick Start
Clone the repository
git clone https://github.com/mikkihugo/dotfilesInstall dependencies
cd dotfiles
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.