This is CLI interface for the free UNLIMITED STORAGE of OgramCloud service.
MIT License
This is CLI interface for the free UNLIMITED STORAGE of OgramCloud/Source-code service.
In this short demo we send a file Marsh.mp3
on OgramCloud using occ; then we delete it locally and regenerate it from its file-key.
You just have to og on Releases and get the version you want for your system.
# Just provide the file path of the file you want to send
occ -f ./your/file.path
# Just provide the file-key of your file
occ -i iooooiiiiiooooo
occ -h
usage: occ [-h] [-f FILEPATH] [-i ID] [-c CHATID] [-u HOSTURL]
optional arguments:
-h, --help show this help message and exit
-f FILEPATH, --filepath FILEPATH
File path of the file we want to upload
-i ID, --id ID OgramCloud Id for regenerating our file
-c CHATID, --chatid CHATID
Chat Id on Telegram account, see documentation of
(https://ogramcloud.com)
-u HOSTURL, --hosturl HOSTURL
The host url of OgramCloud
git clone https://github.com/Sanix-Darker/ogramcloud-cli-client
pip install virtualenv
virtualenv -p python3 venv
source venv/bin/activate
Copy the example.config.txt
to config.txt
and provide corrects informations
Install dependencies:
pip install -r requirements.txt
python3 -m app.main -f ./your/file.path
python3 -m app.main -i iooooiiiiiooooo
python3 -m app.main -h
usage: main.py [-h] [-f FILEPATH] [-i ID] [-c CHATID] [-u HOSTURL]
optional arguments:
-h, --help show this help message and exit
-f FILEPATH, --filepath FILEPATH
File path of the file we want to upload
-i ID, --id ID OgramCloud Id for regenerating our file
-c CHATID, --chatid CHATID
Chat Id on Telegram account, see documentation of
(https://ogramcloud.com)
-u HOSTURL, --hosturl HOSTURL
The host url of OgramCloud
# You install pyinstaller
pip3 install pyinstaller
# To build the executable using pyinstaller
pyinstaller main.py --name occ \
--hiddenimport=requests \
--hiddenimport=configparser \
--exclude-module=pytest \
--onefile