Syncthing - open+decentralized BitTorrent Sync alternative

Submit portable freeware that you find here. It helps if you include information like description, extraction instruction, Unicode support, whether it writes to the registry, and so on.
Message
Author
User avatar
Midas
Posts: 4385
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: Syncthing - open+decentralized BitTorrent Sync alternati

#16 Post by Midas » Wed Jan 07, 2015 3:00 am


User avatar
webfork
Posts: 7949
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: Syncthing - open+decentralized BitTorrent Sync alternati

#17 Post by webfork » Sat Oct 17, 2015 3:11 pm

So I did some testing on this based on this post: https://github.com/syncthing/syncthing/issues/416 I put together a possible sequence:
  1. From the home page, download either 32 or 64-bit "core"
  2. Extract the zip file to a folder of your choice
  3. In this same folder, create a text file with the following data:

    Code: Select all

    @echo off
    %~d0
    cd "%~d0%~p0"
    IF %ERRORLEVEL%==0 GOTO PATH_IS_OK
    exit
    :PATH_IS_OK
    
    rem set AppData=D:\Data\syncthing\
    set AppData=%~d0%~p0
    set LocalAppData=%AppData%
    start "syncthing" /B /LOW syncthing.exe
  4. Re-name it syncthing.bat and launch
A command-line window will appear, a key will be generated, and then a web browser window will open.

---

Unfortunately I'm getting some error messages around the HTTPS cert and the web browser screen won't shut down when you do the command, it just restarts. Portable not quite ready here.

User avatar
SYSTEM
Posts: 1788
Joined: Sat Jul 31, 2010 1:19 am
Location: Helsinki, Finland

Re: Syncthing - open+decentralized BitTorrent Sync alternati

#18 Post by SYSTEM » Sat Oct 17, 2015 9:29 pm

webfork wrote:So I did some testing on this based on this post: https://github.com/syncthing/syncthing/issues/416 I put together a possible sequence:
  1. From the home page, download either 32 or 64-bit "core"
  2. Extract the zip file to a folder of your choice
  3. In this same folder, create a text file with the following data:

    Code: Select all

    @echo off
    %~d0
    cd "%~d0%~p0"
    IF %ERRORLEVEL%==0 GOTO PATH_IS_OK
    exit
    :PATH_IS_OK
    
    rem set AppData=D:\Data\syncthing\
    set AppData=%~d0%~p0
    set LocalAppData=%AppData%
    start "syncthing" /B /LOW syncthing.exe
  4. Re-name it syncthing.bat and launch
A command-line window will appear, a key will be generated, and then a web browser window will open.
Based on a comment from the developer, this should also work (untested):

Code: Select all

cd /d "%~d0%~p0"
start syncthing.exe -home syncthing-config
My YouTube channel | Release date of my 12th playlist: November 1, 2018

User avatar
Midas
Posts: 4385
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: Syncthing - open+decentralized BitTorrent Sync alternati

#19 Post by Midas » Sat Mar 12, 2016 5:17 am

Syncthing v0.12.20 released (changelog at http://github.com/syncthing/syncthing/releases)


User avatar
webfork
Posts: 7949
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: Syncthing - open+decentralized BitTorrent Sync alternative

#21 Post by webfork » Mon Aug 27, 2018 6:32 pm

Based on SYSTEM's earlier post and some of my own research, I put together a breakdown on running SyncThing portably. There are a few ways to do this:

SyncTrayzor method (requires dotNET 4.5, much more RAM and more disk space):

1. Download either the latest release copy of either SyncTrayzorPortable-x64.zip or SyncTrayzorPortable-x86.zip (https://github.com/canton7/SyncTrayzor/releases/)
2. Launch SyncTrayzor

NOTE: This program already had a separate thread started by smaragdus. I'm thinking the only one suitable for adding to the database is SyncTrayzor just because it's a little closer to a native windows application and most users will balk at all the additional windows / batch file edits.


SyncThing official method (missing some of the polish but uses less disk space, much less RAM, and doesn't require dotNET):
  1. Download the latest release: https://github.com/syncthing/syncthing/releases (scroll down to "latest release" in a green box)
  2. Download the "windows" zip file corresponding to your operating system (if you're not sure, go with the 386 version).
  3. Extract to a folder of your choice
  4. Create a text file with the text: syncthing.exe -home=.
  5. Rename the text file to syncthing-portable.bat and launch
The program maintains a console window with a listing of commands. When closed, the program shuts down.


SyncThing Official, without a console window (same as above, but requires manual shutdown from the "Actions" menu).

Steps:
  1. (See steps 1-3 above)
  2. Create two text files (A and B) with the following:

    A:

    syncthing.exe -home=. -no-console

    B:

    syncthing.exe -home=. -browser-only

    -
  3. Name the "A" file "syncthing-portable-start.bat" and the "B" file to "syncthing-portable-resume.bat".
Launch the "syncthing-portable-start.bat" to start the program and "syncthing-portable-resume.bat" to resume later if you close the browser Window. You can shutdown the program from within the Action menu.


Details

Status: All of the above are portable, writing to the application folder.

Adding folders: To add folders from the local directory (which is much more portable), click Add folder and enter .\<foldername> for the same folder as the application or ..\foldername for the folder above that.

If SyncThing is installed to X:\Syncthing\

.\test123 -> X:\Syncthing\test123

..\test123 -> X:\test123


Connecting to other devices: Read the "getting started" guide: https://docs.syncthing.net/intro/getting-started.html

---

NOTE: iPhone users: there is no iOS client.

Screenshot

Image

User avatar
Midas
Posts: 4385
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: Syncthing - open+decentralized BitTorrent Sync alternative

#22 Post by Midas » Tue Aug 28, 2018 1:55 am

webfork wrote: SyncThing official method (missing some of the polish but uses less disk space, much less RAM, and doesn't require dotNET):
  1. Download the latest release: https://github.com/syncthing/syncthing/releases (scroll down to "latest release" in a green box)
  2. Download the "windows" zip file corresponding to your operating system (if you're not sure, go with the 386 version).
  3. Extract to a folder of your choice
  4. Create a text file with the text: syncthing.exe -home=.
  5. Rename the text file to syncthing-portable.bat and launch
The program maintains a console window with a listing of commands. When closed, the program shuts down.
To get rid of the console window, you could try replacing the text in the batch file with the following:

Code: Select all

@start "" "syncthing.exe -home=."
If that doesn't work as intended I have a more convoluted version that should do it. Tell me how it goes...

Post Reply