44 lines
1.9 KiB
Markdown
44 lines
1.9 KiB
Markdown
|
FILE BOT - Share files with friends and family using [Tox](https://tox.chat/)
|
||
|
|
||
|
|
||
|
# Supported OS:
|
||
|
- Windows
|
||
|
- Linux
|
||
|
|
||
|
#Install:
|
||
|
|
||
|
### Windows
|
||
|
|
||
|
1. [Download and install latest Python 2.7](https://www.python.org/downloads/windows/)
|
||
|
2. [Download file bot](https://github.com/ingvar1995/filebot/archive/master.zip)
|
||
|
3. Unpack archive
|
||
|
4. Download latest [libtox.dll](https://build.tox.chat/view/libtoxcore/job/libtoxcore_build_windows_x86_shared_release/lastSuccessfulBuild/artifact/libtoxcore_build_windows_x86_shared_release.zip) build, download latest [libsodium.a](https://build.tox.chat/view/libsodium/job/libsodium_build_windows_x86_static_release/lastSuccessfulBuild/artifact/libsodium_build_windows_x86_static_release.zip) build, put it into libs\
|
||
|
5. Run app:
|
||
|
``python main.py path_to_profile``
|
||
|
|
||
|
|
||
|
### Linux
|
||
|
|
||
|
1. [Download file bot](https://github.com/ingvar1995/filebot/archive/master.zip)
|
||
|
2. Unpack archive
|
||
|
3. Install [toxcore](https://github.com/irungentoo/toxcore/blob/master/INSTALL.md) in your system
|
||
|
4. Run app:
|
||
|
``python main.py path_to_profile``
|
||
|
|
||
|
#Commands:
|
||
|
``help - list of commands
|
||
|
rights - get access rights
|
||
|
files - show list of files (get access)
|
||
|
stats - downloads statistics (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)
|
||
|
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)``
|