sergeyfast

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by sergeyfast

  1. Hello.

    I've planned to share photos with my friends from NAS via WebUI, but WebUI doesn't accept Russian UTF-8 folders on my NAS (there is bug in webui.js).

    Unfortunately, btsync doesn't have any public API, but it has WebUI in Linux version :)!

    I've created simple console tool btsync-cli that communicates via WebUI. It can add shared folder or remove it from sync index.

    bash-3.2# ./btsync-cli -a /volume1/Photos/Чтоб\ их\ за\ ногу/2002/2002-Лето/

    Folder was added to sync folders

    Folder: /volume1/Photos/Чтоб их за ногу/2002/2002-Лето/

    Secret: BRLYGKFU------------AXZLPPBC3BM4

    RO: RJ2E3PED------------6JWBWPFWSW36E

    Status: 0

    Another useful tool is php bittorent-sync-client for btsync WebUI. You can build your own server-side WebUI :)

    Now I'm working on standalone (you'll can install it on your hosting) photo sharing site via btsync.

    I hope this will be useful to someone.

    PS: btw, btsync process will crash in some cases if you call invalid urls with parameters..