Skip to content
ETA444Public

About

The tedious parts of dev setup. Automated, versioned & one clone away.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

115 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dreemdev

The most tedious parts of bootstrapping your dev needs. Automated, versioned & simplified.

📖 Looking for a specific manual?

🤖 Looking for an automated setup script?


Quick Start (New Mac)

Clone the repo and run the interactive setup script:

git clone git@github.com:ETA444/dreemdev.git ~/dev/dreemdev
cd ~/dev/dreemdev/tools/configs/terminal/setup
bash setup-basics.sh

Every step is opt-in. The script can handle: Xcode CLT, Homebrew, Python, R, Oh My Zsh + plugins, AlDente, bandwhich, Git identity, SSH key generation, cloning this repo, the .zshrc symlink, ~/dev folder structure, Python/R playground environments, and cloning additional GitHub repos.

If you skipped the .zshrc step during setup, symlink the shell config afterwards:

ln -sf ~/dev/dreemdev/dotfiles/.zshrc ~/.zshrc
source ~/.zshrc

Repository Structure

dreemdev/
├─ README.md                        # This file (hub)
├─ AGENTS.md                        # Guide for AI agents working in this repo
├─ .flake8                          # flake8 config (max line length 100)
├─ cspell.json                      # project word list for the Code Spell Checker
├─ dotfiles/
│  ├─ .zshrc                        # Main zsh config (Oh My Zsh, plugins, aliases)
│  └─ README.md                     # Full alias & config manual ← detailed docs here
├─ tools/
│  ├─ configs/
│  │  ├─ terminal/
│  │  │  ├─ profiles/flabber/       # macOS Terminal.app profile (flabber-dark)
│  │  │  └─ setup/
│  │  │     ├─ setup-basics.sh      # Interactive new-Mac setup script
│  │  │     └─ setup-basics-manual.md
│  │  ├─ vscode/                    # VS Code & Cursor settings, keybindings, snippets, setup scripts
│  │  └─ protonmail-mcp/            # Proton Mail Bridge + protonmail-mcp + cloudflared setup (no secrets)
│  ├─ scripts/
│  │  └─ mail-filters/              # ProtonMail Sieve filters
│  └─ templates/
│     └─ vscode/                    # Starter VS Code / Cursor workspace template
└─ projects/
   ├─ python/
   │  └─ playground/                # Python scratch env (venv pre-configured)
   └─ r/
      ├─ dreemstat/                 # R package of data-science helpers
      └─ playground/                # R scratch env

Dotfiles

The .zshrc lives here and is symlinked to ~/.zshrc. All edits happen in this repo — never edit ~/.zshrc directly.

# Edit and reload in one step
zconfig

# Verify the symlink is correct
zlink

# Commit the latest .zshrc to the repo
zcommit

📖 Full alias reference and shell manual → dotfiles/README.md


Tools

Setup Script

The fastest path to a working Mac. Run it once, follow the prompts.

bash ~/dev/dreemdev/tools/configs/terminal/setup/setup-basics.sh

What it sets up (interactive — each step is opt-in):

  • Xcode Command Line Tools
  • Homebrew
  • Python 3 (via Homebrew)
  • R (via Homebrew)
  • Oh My Zsh + zsh-autosuggestions + zsh-syntax-highlighting
  • AlDente (battery charge limiter, Homebrew cask)
  • bandwhich (terminal bandwidth monitor)
  • .zshrc symlink
  • Git global config + SSH key generation
  • Clone this repo (if needed) and optional extra GitHub repos
  • ~/dev/ folder structure
  • Python and R playground environments

📖 Full Mac setup manual → tools/configs/terminal/setup/setup-basics-manual.md

VS Code & Cursor Configs

Settings, keybindings and snippets under tools/configs/vscode/ are symlinked into both editors (existing real files are backed up first):

  • VS Code: ~/Library/Application Support/Code/User
  • Cursor: ~/Library/Application Support/Cursor/User
bash ~/dev/dreemdev/tools/configs/vscode/setup-vscode-symlinks.sh

Install (or update with --force) the extension list in VS Code and, when the cursor CLI is on PATH, in Cursor:

bash ~/dev/dreemdev/tools/configs/vscode/setup-vscode-extensions.sh

To also install Cursor itself via Homebrew, pass --install-cursor (opt-in — never runs unless you pass the flag):

bash ~/dev/dreemdev/tools/configs/vscode/setup-vscode-extensions.sh --install-cursor

A starter Python workspace (interpreter, Ruff, pytest, debug launch configs) lives at tools/templates/vscode/workspace-template1.code-workspace.

📖 Full VS Code & Cursor setup manual → tools/configs/vscode/README.md

Proton Mail Bridge + MCP

Reproduces the local Proton Mail Bridge + protonmail-mcp (draft-only) + Cloudflare Tunnel setup. Secrets stay in the macOS Keychain; the repo only holds item names.

bash ~/dev/dreemdev/tools/configs/protonmail-mcp/setup-protonmail-mcp.sh

📖 Full manual → tools/configs/protonmail-mcp/README.md

Terminal Profile

A dark macOS Terminal.app profile is stored at tools/configs/terminal/profiles/flabber/flabber-dark.terminal.

Scripts

Utility scripts under tools/scripts/.

Sieve Email Filters

Filters you can plug-and-play for your email system, currently they are designed to work in ProtonMail without need of any changes.

Administrative Emails:
  • 2FA Filter: universal filter to put all of your 2FA-like emails into a 2FA folder.
  • Web/Bank/Gov: mix of specific and non-specific filters for your banking, government and web-admin emails.
Informative Emails:
  • Newsletters: mix of specific and non-specific filters for your newsletters categorized by information type (e.g. science, spirituality, politics, programming, finance, etc.)
  • Trading: filters for crypto, stocks and real-estate platform emails (Creatrix/Trading folders).
Blocked:
  • Blocked senders: first-position filter. Files blocked senders (Kabbalah Centre, Theion, Mindvalley, YouVersion, Biblica, and others listed in the filter) into Trash. Jewish learning stays in Studix/Spirituality.
Career:
  • Career DXB: files ATS (Greenhouse, Lever, Ashby, Workable, Workday, SmartRecruiters, etc.), job board (Bayt, LinkedIn job alerts and messages, etc.) and application-reply emails into Creatrix/Career/DXB so the daily reply scan finds them. Keep it above the 2FA, shopping and promotion filters.
Shopping & Bills:
  • Invoices & Tickets: universal filters for invoices, bills, tickets, etc.
  • Promotions: mix of specific and non-specific filters for promotional emails categorized by product category (e.g. fashion, books, tech, general, etc.)
  • Promotions catch-all: last-resort filter for bulk mail (List-Unsubscribe, List-Id, Precedence: bulk) that no specific filter claimed, with an allow-list. Keep it last in the filter order.
Filter order in Proton:

Each file is one filter and every match ends with stop, so order matters: Blocked senders → Career DXB → 2FA → Web/Bank/Gov → Invoices & Tickets → Trading → Newsletters → Promotions → Promotions catch-all. Proton disables filters silently when a billing issue occurs, so re-check Settings → Filters is on after any plan change.


Projects

Self-contained environments for experimentation and learning. Each playground has its own virtual environment — nothing leaks into the global Python install.

Python Playground

# Jump in (alias from .zshrc)
playpython

# Or manually
cd ~/dev/dreemdev/projects/python/playground
source venv/bin/activate
jupyter notebook

R Playground

# Jump in (alias from .zshrc)
playr

# Or manually
cd ~/dev/dreemdev/projects/r/playground
R

dreemstat

An R package of custom data-science helpers. Currently includes varselector() (forward, lasso, ridge and elastic-net variable selection). Open in RStudio:

open ~/dev/dreemdev/projects/r/dreemstat/dreemstat.Rproj

📖 Package notes → projects/r/dreemstat/README.md


Keeping Things Updated

# Pull latest from remote
cd ~/dev/dreemdev && gpl

# After editing .zshrc
zcommit

# After editing anything else
gca "describe what changed"
gps

Related Repositories

Repo Description Visibility
datasafari Python library for automated DS/ML workflows Public
dreemgents AI agent configs, prompts, and related materials Private

About

The tedious parts of dev setup. Automated, versioned & one clone away.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages