Summary
Add a TUI editor for .stignore with common preset patterns, solving one of the most frequent Syncthing setup pain points.
Motivation
Managing .stignore is a top community pain point. People syncing Obsidian vaults need to ignore .obsidian/workspace, .obsidian/cache; devs need to ignore node_modules/, .git/, target/; photographers don't need RAW thumbnails. Currently this requires manual file editing with no guidance.
Proposed UX
TUI: new Ignore tab or accessible via i keybind
- List current ignore rules with toggle on/off
a to add a custom pattern
d to delete a rule
- Preset menu (
p) with one-click categories:
| Preset |
Patterns added |
| Obsidian |
.obsidian/workspace, .obsidian/cache, .obsidian/plugins/*/data.json |
| Dev project |
node_modules/, .git/, target/, dist/, .env |
| macOS |
.DS_Store, ._*, .Spotlight-V100 |
| Photos |
*.thumb, *.thm, @eaDir/ (Synology) |
| KeePass |
*.lock (lockfile only, not the .kdbx itself) |
CLI
meshd ignore ls # list current rules
meshd ignore add 'node_modules/' # add a pattern
meshd ignore preset obsidian # apply Obsidian preset
meshd ignore preset dev # apply dev preset
Implementation Notes
Summary
Add a TUI editor for
.stignorewith common preset patterns, solving one of the most frequent Syncthing setup pain points.Motivation
Managing
.stignoreis a top community pain point. People syncing Obsidian vaults need to ignore.obsidian/workspace,.obsidian/cache; devs need to ignorenode_modules/,.git/,target/; photographers don't need RAW thumbnails. Currently this requires manual file editing with no guidance.Proposed UX
TUI: new
Ignoretab or accessible viaikeybindato add a custom patterndto delete a rulep) with one-click categories:.obsidian/workspace,.obsidian/cache,.obsidian/plugins/*/data.jsonnode_modules/,.git/,target/,dist/,.env.DS_Store,._*,.Spotlight-V100*.thumb,*.thm,@eaDir/(Synology)*.lock(lockfile only, not the.kdbxitself)CLI
Implementation Notes
.stignorelives at~/meshd/.stignore/rest/db/scan)!for negation,(?i)for case-insensitive