Automatic Coding

  • Content Count

  • Joined

  • Last visited

  • Days Won


About Automatic Coding

  • Rank
    Advanced Member

Profile Information

  • Gender
    Not Telling
  1. I'm just going to post this because I'm still wondering how this is going to work, but, here's my idea once again, but, more thought out:- Connection to tracker to find IPs, application is marked with an A, bitSync (On the clients) is marked with a B and the tracker is marked with a T. This is English, but, obviously could be turned into more network I/O effective terms:- //Application opens a connection with the tracker //Tracker closes connection, assuming it's TCP, which I recommend //Application runs for(int i = 0; i < hosts.length; i++) { //hosts in the above array returned from th
  2. I'm confused what you mean by "creating the folder might be a problem"? Make the directory, if there's an error, return it, else, return a success.
  3. I don't really think HTTP would be the best protocol for this kind of API (Being P2P and all). Also, you can't really mount a folder using HTTP unless you mean you'd be running a executable on the program requesting the API, which, would kind of ruin the point.
  4. Wouldn't that be more a feature (Thread being "Wishlist") than an API kit? I'm not saying it wouldn't be nice to also have a hook for it in an API (so data storage companies can automatically apply data changes when you pay/etc without staff), however, first of all the item needs to be implemented.
  5. For the use of allowing applications to automate file manipulation and modification without requiring the full bulk of a share (which may just be a couple KB, all the way up to a few TB). I believe dropbox has an API like this (Although, I've never used it, so, I can't be 100% sure), you might want to look into some of the projects done with that API. I'll have a look myself after I post this. EDIT:- Here's dropbox's documentation:- https://www.dropbox....lopers/core/api You'll have to scroll down quite a bit, or look at the side-page list. EDIT2:- For an example list of projects (Although be
  6. Not sure if that's a question as in "Please continue" or just a statement, but, for the sake of not replying for no reason, I'll reply as if it's a question. No idea the exact terms of how to do it (As thinking that far ahead would require me to be coding the thing), but, you'd connect to the tracker and ask for a node that is listening on your API key, the same way you do with secrets, just, a marker saying it's an API key and not a secret. Once it connects to a node, it's pretty much the same as if it were a node (Downloading & uploading), however, it asks the node to do everything inste
  7. I just assumed that the API would be for remote modification of shares without having the full files downloaded (E.G. for my service to modify your shares without having your shares, so, I can't run my MD5 hashing software on a file I don't have), if I'm incorrect, then, it'd help to know how the API would be used (Which, I asked before but apparently you don't know yourself). EDIT:- Unless you're talking about launch arguments, which, I wouldn't really call an API. I'd simply call it a command-line interface. EDIT2:- Example:- Youtube API provides the length of the video, if I were to downloa
  8. Few more:- A. Get file modification, access and creation date (Assuming that the filesystem supports this) B. Get size (Real size, not size on disk as that'd change through nodes) C. Get hash of file (MD5/SHA1/SHA2/CRC/etc...) D. Get hash of certain 4MB parts of files (That bittorrentsync uses) E. Access files from inside rar/7zip/tar/gzip/zip archives and treat them as if they were any other file. However, I'm starting to think what real use an API would give, and, I can't think of much.
  9. Or, you know, just release the API protocol specifications and then every programming language is supported? Excluding javascript because of the same origin policy (, however, you could use PHP & javascript to overcome that limit.
  10. Another few things:- A. Ability to do basic tests on files without having to download them all (have the nodes in the system who do have it run the commands). Stuff like egrep/head/tail/sed/tr/wc, just all the basic linux I/O commands. B. Ability to edit small amounts of the file without ever having the file, say I know I want to edit bytes 10,000 through 12,500 with "DO A BARREL ROLL!" 147.058823529 times, then, I don't really want to download the full file (Which may be insanely large). You'd know where to edit using the above linux I/O commands. C. Ability to select "Only upload X many cop
  11. 1. Dedicates API keys that you can generate unlimited of & give certain permissions. For example, if site A wants to use my share, but, I'm not sure if I trust them, they say they just want to dump log files of my VPS onto it, I can select "Only allow writing of files, not reading". 2. Be able to retract API keys, say I cancel my VPS on the above site, I no longer want them to able to write to my share. I want to removed said API key from being used 3. Obviously, ability to read files, write files, make folders, delete folders, delete files, move files, rename files, all of the standard fi
  12. I would assume that the peers would automatically be found & propagated via the DNS records, so, the only 'painful' time you'd have to wait is to connect to a home based network.
  13. Works fine on unraid, just SSH/telnet in and:- #Download BTSync wget -P /tmp #Untar BTSync cd /tmp && tar -xzf /tmp/btsync_i386.tar.gz #Remove tar rm /tmp/btsync_i386.tar.gz #Run binary /tmp/btsync --config /mnt/user/Appdata/bitTorrentSync/sync.conf