A Unlimited Storage Cloud Solution, for free, built using Selenium and Python.
- Upload files
- Download files
- Delete files
- Rename files
- Search files
YouSync requires Python to run.
First, you need to clone the repository and cd into it.
git clone https://github.com/FujiwaraChoki/yousync.git
cd yousyncNext, install the pip dependencies from the requirements.txt file.
pip install -r requirements.txtThen, create a config.json file from the template (template.config.json). See Config Section for more information.
cp template.config.json config.jsonYou can now rename run.sh to yousync, and add it to your PATH.
mv run.sh yousync
export PATH=$PATH:$(pwd)or on Windows:
ren run.bat yousync
set PATH=%PATH%;%cd%
⚠️ Have your config.json ready before trying to run the script. See Config Section for more information.
Install the dependencies and run the script.
pip install -r requirements.txt
./run.sh --helpRun the script with the --help or -h flag to see the usage.
./run.sh --helpYour configuration file should be named config.json, and should be in the same directory as the run.sh-
script (defaults to root directory).
Here is an example of a config file:
{
"db_provider": "mongodb", // `mongodb` or `sqlite`
"sqlite_file_location": "yousync.db",
"mongodb_db_name": "yousync",
"mongodb_uri": "",
"firefox_profile_location": "/home/user/.mozilla/firefox/xxxxxxx.default-release",
"channel_id": "", // Get your channel ID by visiting youtube studio and extracting it from the URL
"headless": false,
"verbose": false
}To upload any file to youtube, we need to convert it to a video. To do that, YouSync uses a github repo called file2video. It converts the file to a video, and then uploads it to youtube. It then gets the video id, and stores it in the specified database. You can then download the file using the provided hash, or the original file path.
See LICENSE file for more information.