sergeyfast Posted May 7, 2013 Report Share Posted May 7, 2013 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 foldersFolder: /volume1/Photos/Чтоб их за ногу/2002/2002-Лето/Secret: BRLYGKFU------------AXZLPPBC3BM4RO: RJ2E3PED------------6JWBWPFWSW36EStatus: 0Another 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.. Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted May 7, 2013 Report Share Posted May 7, 2013 Unfortunately, btsync doesn't have any public APIIt will do, as a public API is currently in development! Please see this thread Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.