datentraeger

geistige Umweltverschmutzung

Post to GNU Social via terminal

March 24, 2016 cli Gnusocial

Just made an alias to queet to my GnuSocial instance from bash

alias queet='function _queet() { echo -e status="$@" | curl -u user:passwd --data-binary @- https://gnusocial-url/api/statuses/update.xml; }; _queet'

posting is now just that simple:

peter@peanut:~$ queet Test-Queet via bash

Another option is to use the gasher-shellscript. It’s easy to setup and has lots of options like posting, replying or just reading the timeline…

peter@peanut:~$ gasher -t
Peter V. Beck [0]: Test-Queet via bash
Posted: Thu Mar 24 02:00:58 +0100 2016 by peter@pfoeh.li from api

Peter V. Beck [1]: Peter V. Beck deleted notice
{{tag:pfoeh.li,2016-03-24:noticeId=2540:objectType=note}}.
Posted: Thu Mar 24 01:49:42 +0100 2016 by peter@pfoeh.li from unknown

kvm physische Disk einhängen

Freie RAM-Slots

Search
Posts
  • tt-rss update
  • freerdp ERRCONNECT_TLS_CONNECT_FAILED
  • Windose – kein Internet
  • Rechner ohne IP
  • Goodbye Nvidia
Archives
Categories
Tags
3D-Printing Android Apple Arch BBOS/QNX cli Container Database Debian/GNU Linux Docker foo.li FSFE fvwm git Gnome Gnusocial Groupware irc IT Java LaTeX lvm Mail Mobile Movies Multimedia Music Nonsense Office Packaging PHP Puppet Redmine SQL Think-About Uncategorized Vaping vim Virtualisierung Web Win WTF www-links X11 XMPP
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Blogroll
  • Datentraeger Pics
  • foo.li systeme + software
  • GnuSocial.li
Proudly powered by WordPress | Theme: Doo by ThemeVS.