Skip to content

A containerized headless dev environment optimized for SSH/Mosh access. πŸ“±

Notifications You must be signed in to change notification settings

zachatrocity/dotdev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Remote Development Environment

A supercharged, containerized development environment optimized for iPad SSH/Mosh access.

✨ Features

  • πŸ”„ Mosh for reliable mobile connections and session persistence
  • 🧠 AI-powered coding with avante.nvim + OpenRouter
  • πŸ› οΈ LazyVim with tree-sitter and LSP support
  • πŸ” FZF for fuzzy finding
  • 🐚 Zsh with Oh My Zsh + Antigen
    • 🎨 Syntax highlighting
    • πŸ’‘ Command suggestions
    • πŸ”§ Git integration
  • πŸ–₯️ Tmux with sensible defaults

πŸƒβ€β™‚οΈ Quick Start

  1. Create .env file from example:
cp .env.example .env
  1. Build and start:
docker-compose up -d
  1. Connect:
# SSH (first time, accept the host key)
ssh -p 2222 devuser@localhost

# Or Mosh (recommended)
mosh --ssh="ssh -p 2222" devuser@localhost

πŸ“ Directory Structure

.
β”œβ”€β”€ dotfiles/           # Version-controlled configurations
β”‚   β”œβ”€β”€ nvim/          # LazyVim configuration
β”‚   β”œβ”€β”€ tmux/          # Tmux configuration
β”‚   └── zsh/           # Zsh configuration
└── home/              # Persistent home directory (auto-created)

πŸ”§ Configuration

Example docker-compose.yml:

services:
  devdot:
    build: .
    ports:
      - "${SSH_PORT}:22"
      - "${MOSH_PORTS}:62000-62100/udp"
    volumes:
      - ./workspace:/home/${DEV_USER}/workspace
      - ~/.ssh:/home/${DEV_USER}/.ssh:ro
      - ./home:/home/${DEV_USER}
      - ./dotfiles:/home/${DEV_USER}/dotfiles

🎯 Post-Installation

  1. Install tmux plugins:

    • Press prefix + I (capital i)
  2. For AI features:

    • Set up your OpenRouter API key
    • Use <Space>aa to toggle AI assistant
    • Use <C-s> to submit prompts

🌟 Tips

  • πŸ”„ Use Mosh for better mobile connectivity
  • 🎨 Customize your theme through Oh My Zsh
  • πŸ”Œ Add more plugins via Antigen in .zshrc

About

A containerized headless dev environment optimized for SSH/Mosh access. πŸ“±

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages