# Development

**URL:** https://forum.syncthing.net/c/dev/11.md?page=4

[Latest](https://forum.syncthing.net/latest.md) · [Categories](https://forum.syncthing.net/categories.md)

**Page:** 5

---

## [Metrics for file watchers?](https://forum.syncthing.net/t/metrics-for-file-watchers/20986)

<div class="topic-metadata">

**Author:** [@acolomb](https://forum.syncthing.net/u/acolomb)\
**Replies:** 2\
**Last updated:** [November 8, 2023, 4:51pm UTC](https://forum.syncthing.net/t/metrics-for-file-watchers/20986 "2023-11-08T16:51:39Z")

</div>

Just a quick idea, as the number of inotify file watches is usually limited quite low and easy to hit with larger synced folders. Could we keep a count of how many handles Syncthing has allocated for this, to easily jud…

---

## [Patch: correctly describe how to use unix sockets for gui](https://forum.syncthing.net/t/patch-correctly-describe-how-to-use-unix-sockets-for-gui/20866)

<div class="topic-metadata">

**Author:** [@digital](https://forum.syncthing.net/u/digital)\
**Replies:** 2\
**Last updated:** [October 3, 2023, 3:52pm UTC](https://forum.syncthing.net/t/patch-correctly-describe-how-to-use-unix-sockets-for-gui/20866 "2023-10-03T15:52:52Z")

</div>

This PR to https colon //github dot com/syncthing/syncthing-docs is delivered to you by uploading diffs to discourse because the github UI is broken and won’t let me create a fork. the docs for --gui-address incorrectly…

---

## [Patch: improve parsing of gui-address overrides](https://forum.syncthing.net/t/patch-improve-parsing-of-gui-address-overrides/20867)

<div class="topic-metadata">

**Author:** [@digital](https://forum.syncthing.net/u/digital)\
**Replies:** 3\
**Last updated:** [October 3, 2023, 3:52pm UTC](https://forum.syncthing.net/t/patch-improve-parsing-of-gui-address-overrides/20867 "2023-10-03T15:52:07Z")

</div>

This PR to GitHub - syncthing/syncthing: Open Source Continuous File Synchronization is delivered to you by uploading diffs to discourse because the github UI is broken and won’t let me create a fork. make checks for wh…

---

## [How to define config.xml file when building](https://forum.syncthing.net/t/how-to-define-config-xml-file-when-building/20832)

<div class="topic-metadata">

**Author:** [@jadenfu](https://forum.syncthing.net/u/jadenfu)\
**Replies:** 0\
**Last updated:** [September 23, 2023, 2:51pm UTC](https://forum.syncthing.net/t/how-to-define-config-xml-file-when-building/20832 "2023-09-23T14:51:48Z")

</div>

During development process, how can I change the code so that when I build and run the exe file in Windows, it can generate the config I want to set automatically in config.xml file.

---

## [Upcoming multiple connections?](https://forum.syncthing.net/t/upcoming-multiple-connections/20781)

<div class="topic-metadata">

**Author:** [@cosas](https://forum.syncthing.net/u/cosas)\
**Replies:** 3\
**Last updated:** [September 12, 2023, 10:27am UTC](https://forum.syncthing.net/t/upcoming-multiple-connections/20781 "2023-09-12T10:27:08Z")

</div>

Hi, this question is for accurate translation: When set to more than one on both devices, Syncthing will attempt to establish multiple concurrent connections. If the values differ, the highest will be used. Set to zero …

---

## [Is it possible for Syncthing not to lock files in Windows when hashing them?](https://forum.syncthing.net/t/is-it-possible-for-syncthing-not-to-lock-files-in-windows-when-hashing-them/17086)

<div class="topic-metadata">

**Author:** [@tomasz86](https://forum.syncthing.net/u/tomasz86)\
**Replies:** 18\
**Last updated:** [September 10, 2023, 1:13pm UTC](https://forum.syncthing.net/t/is-it-possible-for-syncthing-not-to-lock-files-in-windows-when-hashing-them/17086 "2023-09-10T13:13:15Z")

</div>

I’m not sure whether this belongs to Development or Support, but I thought that the former fits better, so I’m creating this topic here. When hashing files in Windows, Syncthing locks them. This means that such a file c…

---

## [Why syncXattrs is not enabled by default?](https://forum.syncthing.net/t/why-syncxattrs-is-not-enabled-by-default/20732)

<div class="topic-metadata">

**Author:** [@avidseeker](https://forum.syncthing.net/u/avidseeker)\
**Replies:** 5\
**Last updated:** [August 29, 2023, 12:21am UTC](https://forum.syncthing.net/t/why-syncxattrs-is-not-enabled-by-default/20732 "2023-08-29T00:21:38Z")

</div>

Is there a reason for not backing up extended attributes by default when syncing two xattr-compatible directories?

---

## [Could Syncthing produce hard-links?](https://forum.syncthing.net/t/could-syncthing-produce-hard-links/20625)

<div class="topic-metadata">

**Author:** [@acolomb](https://forum.syncthing.net/u/acolomb)\
**Replies:** 4\
**Last updated:** [August 6, 2023, 10:03pm UTC](https://forum.syncthing.net/t/could-syncthing-produce-hard-links/20625 "2023-08-06T22:03:03Z")

</div>

A quick idea that just came to mind. Sometimes there are shared folders with overlapping sets of connected devices. For example one shared with my family and one with my in-laws, where me and my wife are in both groups. …

---

## [Plugin framework](https://forum.syncthing.net/t/plugin-framework/18065)

<div class="topic-metadata">

**Author:** [@calmh](https://forum.syncthing.net/u/calmh)\
**Replies:** 18\
**Last updated:** [August 4, 2023, 6:25pm UTC](https://forum.syncthing.net/t/plugin-framework/18065 "2023-08-04T18:25:35Z")

</div>

I’ve been thinking of a plugin framework of sorts, to enable some weird behaviors that people keep asking for, or more generally for doing things we haven’t anticipated in the main code. I figured I’d write up something …

---

## [How about removing the Twitter link from the GUI?](https://forum.syncthing.net/t/how-about-removing-the-twitter-link-from-the-gui/20573)

<div class="topic-metadata">

**Author:** [@tomasz86](https://forum.syncthing.net/u/tomasz86)\
**Replies:** 4\
**Last updated:** [July 27, 2023, 1:34pm UTC](https://forum.syncthing.net/t/how-about-removing-the-twitter-link-from-the-gui/20573 "2023-07-27T13:34:06Z")

</div>

There is a Twitter link at the very bottom of the GUI. However, the page seems rather dead, as almost no updates or information have been posted there for a long time. On top of that, Twitter has recently switched to a l…

---

## [Setting up Development environment for VSCode](https://forum.syncthing.net/t/setting-up-development-environment-for-vscode/20526)

<div class="topic-metadata">

**Author:** [@mraneri](https://forum.syncthing.net/u/mraneri)\
**Replies:** 6\
**Last updated:** [July 17, 2023, 5:13pm UTC](https://forum.syncthing.net/t/setting-up-development-environment-for-vscode/20526 "2023-07-17T17:13:38Z")

</div>

I’m trying to setup a debug/development environment so I can start contributing. I have installed all the dependencies, cloned the repository and successfully compiled. I’m editing in VSCode as I’m familiar with this ID…

---

## [Syncthing not using multiple QUIC streams?](https://forum.syncthing.net/t/syncthing-not-using-multiple-quic-streams/18911)

<div class="topic-metadata">

**Author:** [@thomas001](https://forum.syncthing.net/u/thomas001)\
**Replies:** 8\
**Last updated:** [July 16, 2023, 10:57am UTC](https://forum.syncthing.net/t/syncthing-not-using-multiple-quic-streams/18911 "2023-07-16T10:57:01Z")

</div>

Hello. I was curious how Syncthing actually uses QUIC and multiple QUIC streams, but I could not find any trace of clever uses of streams. In fact the listener code seems to ever only accept a single stream. Similarly t…

---

## [Help with xattrFilter](https://forum.syncthing.net/t/help-with-xattrfilter/20499)

<div class="topic-metadata">

**Author:** [@cosas](https://forum.syncthing.net/u/cosas)\
**Replies:** 3\
**Last updated:** [July 10, 2023, 2:58pm UTC](https://forum.syncthing.net/t/help-with-xattrfilter/20499 "2023-07-10T14:58:00Z")

</div>

Hi all I feel somewhat puzzled with the feature so I’m reluctant with my translation. Please enlight my questions: I think I read it somewhere but I can’t find it back: each rule field allows coma separated list isn’t…

---

## [Allowing active syncs to be interrupted to support better prioritization](https://forum.syncthing.net/t/allowing-active-syncs-to-be-interrupted-to-support-better-prioritization/20446)

<div class="topic-metadata">

**Author:** [@nlacey](https://forum.syncthing.net/u/nlacey)\
**Replies:** 2\
**Last updated:** [June 29, 2023, 3:45pm UTC](https://forum.syncthing.net/t/allowing-active-syncs-to-be-interrupted-to-support-better-prioritization/20446 "2023-06-29T15:45:47Z")

</div>

I built a small testing app to write a mixture of large and small files, across multiple directories. I setup syncthing to prioritize smallest → largest I limited the bandwidth of sync thing to 100k/second. After 15 min…

---

## [adding pre and post processing stages to syncthing transfers](https://forum.syncthing.net/t/adding-pre-and-post-processing-stages-to-syncthing-transfers/20442)

<div class="topic-metadata">

**Author:** [@subricky](https://forum.syncthing.net/u/subricky)\
**Replies:** 2\
**Last updated:** [June 29, 2023, 11:15am UTC](https://forum.syncthing.net/t/adding-pre-and-post-processing-stages-to-syncthing-transfers/20442 "2023-06-29T11:15:37Z")

</div>

I have a project that needs postprocessing after a file is received in synching. I don’t yet understand go or that structure of syncthing so I would be hiring a consultant for the development effort on this but I’d appre…

---

## [xattr : why can't we set a filter rules set on selecting "Send" (only)](https://forum.syncthing.net/t/xattr-why-cant-we-set-a-filter-rules-set-on-selecting-send-only/20435)

<div class="topic-metadata">

**Author:** [@cosas](https://forum.syncthing.net/u/cosas)\
**Replies:** 5\
**Last updated:** [June 28, 2023, 5:10am UTC](https://forum.syncthing.net/t/xattr-why-cant-we-set-a-filter-rules-set-on-selecting-send-only/20435 "2023-06-28T05:10:40Z")

</div>

Does this question makes sense? Although this is not related, I think about the Folders “Send only” feature that allows to set ignore patterns. Notice I do not want to set filters for xattr: I just need to understand co…

---

## [Win 10 and 11 updates breaks –no-console](https://forum.syncthing.net/t/win-10-and-11-updates-breaks-no-console/20290)

<div class="topic-metadata">

**Author:** [@cosas](https://forum.syncthing.net/u/cosas)\
**Replies:** 0\
**Last updated:** [May 27, 2023, 4:19pm UTC](https://forum.syncthing.net/t/win-10-and-11-updates-breaks-no-console/20290 "2023-05-27T16:19:08Z")

</div>

Win 10 and 11 updates breaks –no-console Another workaround : if you run st from a shortcut somewhere, e.g. c:\\users\\me\\Sync\\runST.lnk and/or in shell:startup for autostart on login, you can select “Minimized” in the “…

---

## [Syncing ownership on Windows](https://forum.syncthing.net/t/syncing-ownership-on-windows/18639)

<div class="topic-metadata">

**Author:** [@calmh](https://forum.syncthing.net/u/calmh)\
**Replies:** 11\
**Last updated:** [May 8, 2023, 4:05pm UTC](https://forum.syncthing.net/t/syncing-ownership-on-windows/18639 "2023-05-08T16:05:50Z")

</div>

So, it turns out I’m implementing syncing of ownership. This will be implemented similarly to the xattr proposal I posted a while back, and is in fact a pre-requisite for that work. I’m aware that it’s a rabbit hole and …

---

## [Slight release delay](https://forum.syncthing.net/t/slight-release-delay/20129)

<div class="topic-metadata">

**Author:** [@calmh](https://forum.syncthing.net/u/calmh)\
**Replies:** 0\
**Last updated:** [April 25, 2023, 12:35pm UTC](https://forum.syncthing.net/t/slight-release-delay/20129 "2023-04-25T12:35:12Z")

</div>

There should be an rc.1 (rc.2, really) out today, but there isn’t, and won’t be. I’m having trouble with the builder(s) and I’d like to fix the Windows test failures so we can build with Go 1.20, and I don’t have time to…

---

## [Correct way to obtain local device ID via REST API?](https://forum.syncthing.net/t/correct-way-to-obtain-local-device-id-via-rest-api/20076)

<div class="topic-metadata">

**Author:** [@luckman212](https://forum.syncthing.net/u/luckman212)\
**Replies:** 2\
**Last updated:** [April 15, 2023, 12:52pm UTC](https://forum.syncthing.net/t/correct-way-to-obtain-local-device-id-via-rest-api/20076 "2023-04-15T12:52:37Z")

</div>

Hi I need to get the DeviceID of the local Syncthing instance from a shell script. I was able to do it via REST API: BASEURL='http://localhost:8384/rest' APIKEY='xxxxxxxxxxxxxxxxxxxxxxxxxxx' curl --silent --header "X-…

---

## [Weblate](https://forum.syncthing.net/t/weblate/20001)

<div class="topic-metadata">

**Author:** [@cosas](https://forum.syncthing.net/u/cosas)\
**Replies:** 3\
**Last updated:** [March 27, 2023, 12:55pm UTC](https://forum.syncthing.net/t/weblate/20001 "2023-03-27T12:55:46Z")

</div>

How do you work with weblate ? All strings with English in the foreign locale dedicated field (this seems to be the default for new strings) are flagged as “Translated”, which makes identification of new strings a pain. …

---

## [Stuck as Local Additions with long paths](https://forum.syncthing.net/t/stuck-as-local-additions-with-long-paths/14932)

<div class="topic-metadata">

**Author:** [@areyal](https://forum.syncthing.net/u/areyal)\
**Replies:** 21\
**Last updated:** [May 14, 2020, 11:22pm UTC](https://forum.syncthing.net/t/stuck-as-local-additions-with-long-paths/14932 "2020-05-14T23:22:06Z")

</div>

Hello, I have observed that when a only receive folder has very long paths, some of them get marked as “Locally Changed Items”, and so they remain no matter how many times you push “Revert local changes” button. The fi…

---

## [Splitting Syncthing into a library and a file sharing tool](https://forum.syncthing.net/t/splitting-syncthing-into-a-library-and-a-file-sharing-tool/1277)

<div class="topic-metadata">

**Author:** [@cebe](https://forum.syncthing.net/u/cebe)\
**Replies:** 12\
**Last updated:** [March 14, 2023, 4:44pm UTC](https://forum.syncthing.net/t/splitting-syncthing-into-a-library-and-a-file-sharing-tool/1277 "2023-03-14T16:44:22Z")

</div>

Hi, Looking at the protocol description and the software in general I see that the protocol is a kind of generic thing for creating distributed systems that can share different things (while organized in a file-like st…

---

## [\[solved\] \[bep\] no start info](https://forum.syncthing.net/t/solved-bep-no-start-info/19926)

<div class="topic-metadata">

**Author:** [@basiliscos](https://forum.syncthing.net/u/basiliscos)\
**Replies:** 7\
**Last updated:** [March 12, 2023, 7:03pm UTC](https://forum.syncthing.net/t/solved-bep-no-start-info/19926 "2023-03-12T19:03:21Z")

</div>

Hi, when my app (syncspirit), communicates with syncthing (v1.23.2), syncthing “forgets” download progress. At the protocol level, my app sends Index message with zero files and non-zero index, and later it sends updat…

---

## [The old Transifex thread (was: Translating Syncthing)](https://forum.syncthing.net/t/the-old-transifex-thread-was-translating-syncthing/550)

<div class="topic-metadata">

**Author:** [@calmh](https://forum.syncthing.net/u/calmh)\
**Replies:** 139\
**Last updated:** [February 16, 2023, 10:00pm UTC](https://forum.syncthing.net/t/the-old-transifex-thread-was-translating-syncthing/550 "2023-02-16T22:00:27Z")

</div>

2023 edit: Please see Translating Syncthing (on Weblate) 2014-2023 content: To contribute translations, sign up at Transifex. Joining a team for an existing language is automatic. New languages unfortunately need to b…

---

## [Telemetry in the go toolchain](https://forum.syncthing.net/t/telemetry-in-the-go-toolchain/19783)

<div class="topic-metadata">

**Author:** [@bt90](https://forum.syncthing.net/u/bt90)\
**Replies:** 6\
**Last updated:** [February 13, 2023, 10:16pm UTC](https://forum.syncthing.net/t/telemetry-in-the-go-toolchain/19783 "2023-02-13T22:16:09Z")

</div>

---

## [Is there a specific reason why syncthing explicitly turns off TCP\_NODELAY?](https://forum.syncthing.net/t/is-there-a-specific-reason-why-syncthing-explicitly-turns-off-tcp-nodelay/16363)

<div class="topic-metadata">

**Author:** [@bt90](https://forum.syncthing.net/u/bt90)\
**Replies:** 16\
**Last updated:** [January 5, 2023, 11:33am UTC](https://forum.syncthing.net/t/is-there-a-specific-reason-why-syncthing-explicitly-turns-off-tcp-nodelay/16363 "2023-01-05T11:33:37Z")

</div>

Just genuinly curious what the practical effects of turning it on would be (if any).

---

## [Is there any danger in allowing to synchronise the folder marker?](https://forum.syncthing.net/t/is-there-any-danger-in-allowing-to-synchronise-the-folder-marker/19067)

<div class="topic-metadata">

**Author:** [@tomasz86](https://forum.syncthing.net/u/tomasz86)\
**Replies:** 15\
**Last updated:** [December 30, 2022, 10:23pm UTC](https://forum.syncthing.net/t/is-there-any-danger-in-allowing-to-synchronise-the-folder-marker/19067 "2022-12-30T22:23:26Z")

</div>

This is somewhat related to my old topic at https://forum.syncthing.net/t/allowing-to-sync-the-stignore-file-any-caveats/14838 about syncing .stignore (which, by the way, I gave up later, as it was too problematic, and I…

---

## [Sources of data.syncthing.net available?](https://forum.syncthing.net/t/sources-of-data-syncthing-net-available/19557)

<div class="topic-metadata">

**Author:** [@aparcar](https://forum.syncthing.net/u/aparcar)\
**Replies:** 1\
**Last updated:** [December 30, 2022, 9:27pm UTC](https://forum.syncthing.net/t/sources-of-data-syncthing-net-available/19557 "2022-12-30T21:27:25Z")

</div>

For a different project I’d like to create stats similar to data.syncthing.net, are they available anywhere? I couldn’t find them on GitHub.

---

## [Send Device ID with mail... (new .v1.22.2 feature)](https://forum.syncthing.net/t/send-device-id-with-mail-new-v1-22-2-feature/19425)

<div class="topic-metadata">

**Author:** [@cosas](https://forum.syncthing.net/u/cosas)\
**Replies:** 1\
**Last updated:** [December 10, 2022, 11:12am UTC](https://forum.syncthing.net/t/send-device-id-with-mail-new-v1-22-2-feature/19425 "2022-12-10T11:12:25Z")

</div>

Hi Any use case for the buttons “Send by mail”/“Send by SMS” for a detected device selected in “+Add Remote Device”/“Add Device” dialog ? So, you guess this device is not in my yet-added-devices list below “Remote Devic…

[Previous page](https://forum.syncthing.net/c/dev/11.md?page=3)

[Next page](https://forum.syncthing.net/c/dev/11.md?page=5)
