| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Swarmsync is a Python script that provides a set of tools for managing files on the Ethereum Swarm network. It allows you to upload, download, check the status of uploaded files, and more. You can also create and manage tags for your uploaded files.
Clone this repository:
git clone https://github.com/yourusername/swarmsync.git
cd swarmsyncInstall the required Python packages:
pip install -r requirements.txtYou can use the show command to display information about the files you have uploaded and their status.
python swarmsync.py show [options]Options:
To download files from the Ethereum Swarm network, use the download command. You can specify the number of concurrent tasks and the Bee node URL.
python swarmsync.py download [options]Options:
Use the check command to check if files are retrievable using stewardship or to check the status of a specific tag.
python swarmsync.py check [options]Options:
The upload command allows you to upload files and folders to the Ethereum Swarm network. You can specify the path to the folder, whether to encrypt the data, and more.
python swarmsync.py upload [options]Options:
The mantaray command allows you to manage a Mantaray index, which is a way to organize and access your files on the Swarm network.
python swarmsync.py mantaray [options]Options:
To upload a folder with files and subfolders:
python swarmsync.py upload -p /path/to/folderTo download files from the Ethereum Swarm network:
python swarmsync.py download -c 5 -u http://yourbeeurl:1633To check the status of uploaded files:
python swarmsync.py check -c 10 -u http://yourbeeurl:1633To display information about uploaded files and their status:
python swarmsync.py show responsesTo create and manage a Mantaray index:
python swarmsync.py mantaray -u http://yourbeeurl:1633Swarmsync allows you to configure additional options by modifying the script. These options include the Prometheus statistics endpoint, xBee header usage, and more. Please refer to the script's source code for these advanced configurations.
This project is licensed under the MIT License - see the LICENSE file for details.
| Back | FazBrowse Home | New Git URL |