Go to file
2016-10-03 00:24:34 +03:00
.gitignore initial commit 2016-04-21 22:55:31 +03:00
bootstrap.py wrapper and docs update. 2016-04-30 15:18:15 +03:00
bot.py max folder size 2016-10-02 20:19:39 +03:00
callbacks.py some fixes, readme update 2016-04-26 13:09:39 +03:00
file_transfers.py max folder size 2016-10-02 20:19:39 +03:00
LICENSE.md Create LICENSE.md 2016-04-21 23:54:48 +03:00
main.py v 0.2.1 2016-10-03 00:24:34 +03:00
README.md v 0.2.1 2016-10-03 00:24:34 +03:00
settings.json max folder size 2016-10-02 20:19:39 +03:00
settings.py max folder size 2016-10-02 20:19:39 +03:00
tox.py wrapper and docs update. 2016-04-30 15:18:15 +03:00
toxcore_enums_and_consts.py initial commit 2016-04-21 22:55:31 +03:00
util.py max folder size 2016-10-02 20:19:39 +03:00

File bot

A bot which allows you to easily share files with friends and family using Tox

Based on toxygen toxcore wrapper

Supported OS:

  • Windows
  • Linux

Install:

Windows

  1. Download and install latest Python 2.7
  2. Download file bot
  3. Unpack archive
  4. Download latest libtox.dll build, download latest libsodium.a build, put it into \libs\
  5. Run app: python main.py path_to_profile

libtox.dll for 32-bit Python

libtox.dll for 64-bit Python

libsodium.a for 32-bit Python

libsodium.a for 64-bit Python

Linux

  1. Install Python2.7: sudo apt-get install python2.7
  2. Download file bot
  3. Unpack archive
  4. Install toxcore in your system
  5. Run app: python main.py path_to_profile

Commands:

help - list of commands

rights - get access rights

files - show list of files (get access)

id - get bot's id (get access)

share <ToxID> <file_name> - send file to friend (get access)

share --all <file_name> - send file to all friends (get access)

size <file_name> - get size of file (get access)

get <file_name> - get file with specified filename (get access)

get --all - get all files (get access)

stats - show statistics (write access)

del <file_name> - remove file with specified filename (delete access)

rename <file_name> --new <new_file_name> - rename file (delete access)

user <ToxID> <rights> - new rights (example: rwdm) for user (masters only)

status <new_status> - new status message (masters only)

name <new_name> - new name (masters only)

message <ToxID> <message_text> - send message to friend (masters only)

message --all <message_text> - send message to all friends (masters only)

stop - stop bot (masters only)

fsize <size_in_MB> - sets size of shared folder (masters only)

Users with write access can send files to bot.

Users with delete access can delete and rename files.

Example of settings is here