Skip to content

feat: .stignore editor with presets (Obsidian, dev projects, photos) #4

Description

@gitcoder89431

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions