Open Source Continuous File Synchronization; contains branches to build Syncthing as a C library
Go to file
Jesse Lucas 89c53c508b consolidate retry logic in error interceptor
remove retry operator from services
2020-04-09 13:01:06 -04:00
e2e initial commit 2020-03-10 10:57:02 -04:00
src consolidate retry logic in error interceptor 2020-04-09 13:01:06 -04:00
.editorconfig initial commit 2020-03-10 10:57:02 -04:00
.gitignore initial commit 2020-03-10 10:57:02 -04:00
LICENSE Harmonize license with Syncthing proper 2020-04-03 22:28:36 +02:00
README.md Harmonize license with Syncthing proper 2020-04-03 22:28:36 +02:00
angular.json initial commit 2020-03-10 10:57:02 -04:00
browserslist initial commit 2020-03-10 10:57:02 -04:00
karma.conf.js initial commit 2020-03-10 10:57:02 -04:00
package-lock.json update angular dependencies 2020-04-05 11:50:05 -04:00
package.json update angular dependencies 2020-04-05 11:50:05 -04:00
tsconfig.app.json initial commit 2020-03-10 10:57:02 -04:00
tsconfig.json initial commit 2020-03-10 10:57:02 -04:00
tsconfig.spec.json initial commit 2020-03-10 10:57:02 -04:00
tslint.json initial commit 2020-03-10 10:57:02 -04:00

README.md

Syncthing Tech UI

Development server

Run npm run serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Production server

In production we serve the UI through Syncthing itself. The easiest way to do that is to simply put the built assets in the gui subdirectory of Syncthing's config directory.

$ npm run build -- --prod
$ rsync -va --delete dist/tech-ui/ ~/.config/syncthing/gui/default/tech-ui/

Adjust for your actual Syncthing config dir if different. Navigate to http://localhost:8384/tech-ui/.

Another option is to start Syncthing with the STGUIASSETS environment variable pointing to the distribution directory.

$ npm run build -- --prod
$ ln -sf . dist/default
$ export STGUIASSETS=$(pwd)/dist
$ syncthing

The magic is symlink is because Syncthing will look for the GUI in the default subdirectory. Navigate to http://localhost:8384/tech-ui/.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

License

MPLv2

Copyright (c) 2020 Kastelo Inc.