# How is the GUI bundled into the binary?

**URL:** https://forum.syncthing.net/t/how-is-the-gui-bundled-into-the-binary/13832
**Category:** Development
**Created:** [September 29, 2019, 8:26pm UTC](https://forum.syncthing.net/t/how-is-the-gui-bundled-into-the-binary/13832 "2019-09-29T20:26:12Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jackk](https://forum.syncthing.net/user_avatar/forum.syncthing.net/jackk/32/6631_2.png) [@jackk](https://forum.syncthing.net/u/jackk)
#### Post date: [September 29, 2019, 8:26pm UTC](https://forum.syncthing.net/t/how-is-the-gui-bundled-into-the-binary/13832/1 "2019-09-29T20:26:12Z")

</div>

Hello, I have been looking through the Syncthing source code to try and understand the application more, and I’ve been trying to figure out how the web GUI is bundled in with the release binary. So my question essentially is, how is this achieved? Thanks! 🙂

---

<div class="post-metadata">

### Author: ![AudriusButkevicius](https://forum.syncthing.net/user_avatar/forum.syncthing.net/audriusbutkevicius/32/277_2.png) [@AudriusButkevicius](https://forum.syncthing.net/u/AudriusButkevicius)
#### Post date: [September 29, 2019, 8:35pm UTC](https://forum.syncthing.net/t/how-is-the-gui-bundled-into-the-binary/13832/2 "2019-09-29T20:35:55Z")

</div>

> <https://github.com/syncthing/syncthing/blob/master/lib/auto/doc.go#L7>

---

<div class="post-metadata">

### Author: ![jackk](https://forum.syncthing.net/user_avatar/forum.syncthing.net/jackk/32/6631_2.png) [@jackk](https://forum.syncthing.net/u/jackk)
#### Post date: [September 29, 2019, 8:37pm UTC](https://forum.syncthing.net/t/how-is-the-gui-bundled-into-the-binary/13832/3 "2019-09-29T20:37:20Z")

</div>

Thanks for pointing that out to me. I completely went past it to be honest. I’ll go and give it a read over. Thanks again! 🙂

---

<div class="post-metadata">

### Author: ![imsodin](https://forum.syncthing.net/user_avatar/forum.syncthing.net/imsodin/32/3317_2.png) [@imsodin](https://forum.syncthing.net/u/imsodin)
#### Post date: [September 30, 2019, 6:21am UTC](https://forum.syncthing.net/t/how-is-the-gui-bundled-into-the-binary/13832/4 "2019-09-30T06:21:46Z")

</div>

This comment and following also have some relevant info when it comes to the GUI assets: [https://github.com/syncthing/syncthing/issues/4085#issuecomment-512854333](https://github.com/syncthing/syncthing/issues/4085#issuecomment-512854333)
