sirphilip
-
Posts
5 -
Joined
-
Last visited
-
Days Won
2
Posts posted by sirphilip
-
-
No sorry no android version yet. I'd like to get the desktop version in a good state first
-
Hey everyone,
I recently wrote a decentralized web browser on top of btsync. BTSync handles all the file distribution, so to load a page you just have to enter the secret. I am working on integrating namecoins which will handle the name resolution so you do not have to memorize a secret.
You can read more on my website:
http://jack.minardi.org/software/syncnet-a-decentralized-web-browser/
And you can follow along with the development on github:
https://github.com/jminardi/syncnet
TorrentFreak also recently wrote about this project:
http://torrentfreak.com/bittorrent-sync-used-to-create-decentralized-web-browser-140204/
Let me know if you have any ideas or questions! I'd love some feedback from some actual btsync users.
-
Hey guys,
I wrote a module that makes it easy to interface with the btsync API from python. Check it out
https://github.com/jminardi/python-btsync
Here is some sample code:
>>> # this code assumes a btsync instance is running>>> from btsync import BTSync>>> btsync = BTSync()>>> btsync.get_folders()[{u'dir': u'/Users/jack/sync/notes', u'error': 0, u'files': 13, u'indexing': 0, u'secret': u'NOPE', u'size': 70867, u'type': u'read_write'}]
I have only been wrapping the API calls as I need them, so not all have a nice method name. I should finish them soon, but for now you can just use the `request` method directly, like so:
`btsync.request({'method': 'get_folder_peers', 'secret': 'blah'})`
-
Just to clear,
1:
./btsync --dump-sample-config > sync.confThen used Nano to edit, tried "mypwd"}, that just gave me that same error:
Error while parsing config file: Unexpected end of config file (are you missing '}') ?
any ideas? I noticed someone sent previous person a non tabbed version that worked, possible get re up to pastebin?
I used nano through terminal so that shouldn't be the problem....:/
ran it as a .conf and .json neither work with or without the comma.
get this error
Parse error on line 3:
...ening_port": 0, //0-randomizeport/*s
----------------------^
Expecting 'STRING'I am also experiencing this, did you ever find a solution?
Btsync Api On Mobile Devices
in Developers
Posted
Is it possible to use the same API on iOS and Android? I would love to port my app to mobile.