syncthing / syncthing/syncthing

Consolidate syncthing files into .syncthing folder

Open
#9,081 2 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
88.8k
Forks
5.5k
Avg merge
2d 10h
Merged PRs (30d)
5

Description

Currently, Syncthing needs an .stignore file to store files to be ignored as well as an .stversions folder to store previous versions. This is in addition to the fact that Syncthing requires a .stfolder inside every folder to be functional. Could all these files be consolidated into one folder? This would reduce clutter in each folder and make things a bit easier to understand for users. It would also bring syncthing in line with how other folder based tools such as git function (all related data under a .git folder in each repo)

My proposal would be the following:

  • Rename .stfolder to .syncthing
  • Move .stignore to .syncthing/ignore
  • Move .stversions to .syncthing/versions

The resultant folder structure would look like this

  • Documents
    • .syncthing
      • versions
      • ignore
      • any other files and folders Syncthing has or wishes to introduce in the future

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by tracing how Syncthing handles .stfolder, .stignore, and .stversions, then determine the migration and compatibility implications. Done means the proposed .syncthing layout works without per-folder clutter and supports future Syncthing data.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.