You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ziggys 04cc10e6a2 add dependencies to readme file 1 year ago
scripts Bump to version 0.6.1 2 years ago
themes Add installer script 2 years ago
.gitignore Add swo to gitignore 2 years ago
LICENSE Add LICENSE 2 years ago
README.txt add dependencies to readme file 1 year ago HOTFIX: carriage wil make weird stuff, so remove it 1 year ago
helpdesk.txt HelpDesk, primer fichero para ayudas basicas en castellano 1 year ago


Gnu-social Command Line Interface (gsocial-cli)

gsocial-cli is an actually simple, minimalistic and full featured command-line
client for gnu-social that iteracts with 'ostatus' api using curl and core
'*nix' utilities.


Install systemwide
Clone repository and copy the script into proper location (e.g /usr/bin)

~$ cd /tmp

/tmp$ git clone gsocial-cli

/tmp$ sudo cp gsocial-cli/ /usr/bin/gsocial-cli

/tmp$ sudo chmod +x /usr/bin/gsocial-cli && cd

Alternatively you can clone and run script inside scripts
directory (it requires sudo privileges, password will be prompted):

~$ cd /tmp

/tmp$ git clone gsocial-cli

/tmp$ cd gsocial-cli/scripts && ./ --prefix /usr/bin/

Run ./ -h to learn about installer script


~$ gsocial-cli -c account

... to configure a new account


~$ gsocial-cli -a <account> [option] <args>

... to execute script

Where Options are:
-t <N> Retrieve last 'N' statuses from 'home timeline'
-T <N> Retrieve last 'N' statuses from 'public timeline'
-m <N> Retrieve last 'N' 'mentions' and 'interactions'
-s SENT Retrieve your own 20 most recent statuses
-e <TAG> Retrieve a tag timeline
-U <USERRNAME> <N> Retrieve last 'N' statuses from 'USERNAME''timeline'
i.e.: gsocial-cli -U "" 3
-r <ID> Repeat status with 'id' code number
-d <ID> Delete status with 'id' code number
-f <ID> Favorite status with 'id' code number
-q <ID> Quote status with 'id' code number
-R <ID> Reply status with 'id' code number
-p POST Post a status message. Option don't uses arguments
-h HELP Print this help and exit

Multiple accounts can be configured. If avoiding '-a account' is preferable,
set default account by running:

~$ gsocial-cli set d_account=account

Now, running the script without '-a account' is valid:

~$ gsocial-cli [option] <args>