Paul Sutton

commandline

Mastodon toot client

Tip of the day

if using the toot command line client, you can toot the contents of a file.

Lets say 'text.txt' contains the following

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam

If you login to toot, then type

toot post < text.txt then the contents of that file will be posted to Mastodon.

Please feel free to follow me on Mastodon here

#mastodon,#toot,#tips,#hints,#commandline,#cli,#client, #text,


MastodonPeertubeQoto sign up

Donate using Liberapay

Toot is a Linux command line interface for the Mastodon social media network.

This can be installed at the command line with

apt install toot

Once installed you can run with toot

Running this without any command line arguments gives a long list of options.

You will firstly need to login, either with the browser option toot login or with the command line toot login_cli

In order to make a post type:-

toot post

  • Type your message.
  • Press enter then
  • On the new line press ctrl-d to post the message.

There is also documentation via the man page.

man toot

A useful tool, especially if you don't have access to graphical web browser.

Resources

#mastodon, #toot, #commandline, #interface, #linux

cc-by logo

Licenced under Attribution 4.0 International (CC BY 4.0)


MastodonPeertubeQoto sign up

Donate using Liberapay