Get your cross-platform snippet system up and running in minutes!
Choose your platform:
# Download and install:
# 1. Espanso: https://espanso.org/install/win/
# 2. Syncthing (Windows): https://syncthing.net/downloads/
# Optional: schedule Syncthing at login using Task Scheduler# Using Homebrew
brew tap espanso/espanso
brew install espanso syncthing
# Register and start Espanso
espanso service register
espanso start
# Start Syncthing
brew services start syncthing# Install Syncthing
sudo apt update
sudo apt install syncthing -y
# Install File Browser
curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
# Enable Syncthing
systemctl --user enable syncthing
systemctl --user start syncthing# Clone repository
git clone https://github.com/alebmorais/med_auto.git
# Or download ZIP and extract# In PowerShell (Admin)
cd $env:APPDATA\espanso
New-Item -ItemType SymbolicLink -Path "config" -Target "C:\path\to\med_auto\espanso\config"
New-Item -ItemType SymbolicLink -Path "match" -Target "C:\path\to\med_auto\espanso\match"
espanso restartcd ~/Library/Application\ Support/espanso
ln -s ~/path/to/med_auto/espanso/config config
ln -s ~/path/to/med_auto/espanso/match match
espanso restart- Open Syncthing web UI:
http://localhost:8384 - Add folder:
- Label: "Espanso Config"
- Path:
/path/to/med_auto/espanso
- Add remote devices (get Device ID from each device)
- Share the "Espanso Config" folder with all devices
- Accept connections on each device
Open any text editor and type:
:date→ Should insert current date:email→ Should insert email template:bp→ Should expand to "Blood Pressure"
- Espanso installed and running
- Syncthing installed and running
- Repository cloned/downloaded
- Espanso configured to use repository snippets
- Syncthing folder added and syncing
- All devices connected in Syncthing
- Test snippets working on each device
Fix:
# Check status
espanso status
# Restart
espanso restart
# Check permissions (macOS)
# System Preferences → Security & Privacy → AccessibilityFix:
- Get Device ID: Syncthing → Actions → Show ID
- Add device on both sides
- Accept connection request
- Check firewall (allow port 22000)
Fix:
- Check Syncthing web UI - both devices should be "Up to Date"
- Restart Espanso after sync completes
- Check file permissions
Type trigger + space/enter:
:bp → Blood Pressure
:email → your.email@example.com
:date → 2025-11-05
Press ALT+SPACE to search available snippets
Edit files in espanso/match/ directories:
matches:
- trigger: ":mysnippet"
replace: "My custom text"Then restart Espanso:
espanso restart- Customize snippets: Edit files in
espanso/match/ - Add categories: Create new folders for your snippet types
- Read docs: Check
docs/folder for detailed guides - Set up Raspberry Pi: Optional central server (see
docs/setup-raspberry-pi.md)
- Windows Setup - Detailed Windows installation
- macOS Setup - Detailed macOS installation
- Raspberry Pi Setup - Central server setup
- Syncthing Setup - Advanced sync configuration
- Customization Guide - Create custom snippets
- Backup: Syncthing's file versioning is enabled by default
- Performance: Disable categories you don't use
- Triggers: Use
:prefix to avoid accidental expansions - Testing: Test new snippets in a text editor first
- Syncing: Always restart Espanso after adding snippets
- Check Espanso Docs
- Check Syncthing Docs
- Review logs:
espanso log - Check Syncthing web UI for sync status
Your cross-platform snippet system is now set up and syncing across all your devices!
Start typing your triggers and enjoy the productivity boost! 🚀