This is a Python-based CLI app that provides easy and efficient file management capabilities, including uploading, deleting, downloading, and listing files over the cloud. Whether you're a developer, a data analyst, or simply someone who needs to efficiently manage files, cli2cloud empowers you to take control of your files with ease
The app facilitates following commands
-
-h
--help
: About application -
-newb
--newbucket
: Create new bucket on the cloud -
-delb
--deletebucket
: Delete bucket from the cloud -
-up
--upload
: Upload files to the cloud -
-del
--delete
: Delete files from the cloud -
-dwl
--download
: Download files from the cloud -
-ls
--list
: List files from the cloud
- Python 3.x
- Required Python packages (install using
pip
):- Appwrite Python SDK (
appwrite
) argparse
rich
- Appwrite Python SDK (
-
Create an Appwrite account and setup your project.
-
Copy the API Endpoint, Project ID & API Key.
-
Previews:
-
Create a
.env
file in the project's root directory. -
Add the following environment parameters:
API_ENDPOINT= PROJECT_ID= API_KEY=
-
Clone the repository IN A DIRECTORY OF FILES YOU WOULD LIKE TO MANAGE (upload, delete, etc.): git clone https://github.com/thekaranatic/cli2cloud.git
-
Navigate to the project directory: cd cli2cloud
-
Install the required packages: pip install -r requirements.txt
-
Start managing your files!
Please note that you may need to modify the commands based on your operating system and Python environment.
To run cli2cloud in a virtual environment:
-
python3 -m venv venv
-
.\env\Scripts\activate
-
pip install -r requirements.txt
-
python app.py <command>
-
Create a bucket first
python app.py -newb
-
Start managing your files:
python app.py -up <filename> or <file_path>
`Upload file to the cloudpython app.py -del <filename>
Delete file from the cloud.python app.py --dwl <filename>
Download files from the cloud.python app.py -ls <path>
List files from the cloud -
Delete the bucket if you no longer wish to use the cloud/app (this deletes all your files on the cloud) python app.py -delb
Please note that you may need to modify the commands based on your operating system and Python environment.
Licensed under MIT License by @thekaranatic.