Uguu-compatible command line bash client This client is able to send local files fo Uguu compatible client like this fork.
Uguu is a simple lightweight temporary file uploading and sharing platform where files get deleted after X amount of time.
- Easy server file uploading, no registration required
- Custom Endpoint Management
Requires packages curl
and jq
installed on the Operating System.
$ apt-get install jq curl -y -q;wget -q https://raw.githubusercontent.com/charlyie/uguu-client/main/ushare.sh -O /usr/sbin/ushare;chmod +x /usr/sbin/ushare;ushare -v
First you must get a copy of the uguu-clent code. To do so, clone this git repo.
git clone https://github.com/charlyie/uguu-client.git
Run the following commands :
cd uguu-client/
chmod +x ushare.sh
cp ushare.sh /usr/bin/ushare
$ ushare myfile.sql.gz
[Uguu] Starting transferring file myfile.sql.gz (426M)...
######################################################################## 100.0%
[Uguu] Link to share : https://s.aice.am/unbgthXcGe0p.sql.gz
The app returns the URL provided by the API.
By default, the client uses the main API client : https://uguu.se/. This endpoint can be changed by using the --endpoint
argument, like :
$ ushare --endpoint "https://share.maecia.com"
[Uguu] Configuration saved in /etc/ushare.conf
An overrided configuration is stored in /etc/ushare.conf
. The configuration loaded can be verified by using the --info
argument, like :
$ ushare --info
Configuration loaded:
> App Name : Uguu
> Version : 1.1.0
> Configuration File : /etc/ushare.conf
> Endpoint : https://share.maecia.com
- 1.1.0 (build 14122020) :
- Added custom configuration file
- Added method to set/get endpoint
- New Installation method
- Code cleaning
- 1.0.0 (build 04122020) :
- initial release
Uguu client was developed by Charles Bourgeaux Uguu is based on Pomf.
Uguu is free software, and is released under the terms of the MIT license. See
LICENSE
.