# Toot

## January 30, 2021

Toot mastodon client

I have been experimenting with the toot mastodon client. This does have a curses interface.

toot curses. (q to quit)

However experimenting with this and bash scripting

So to begin with you will probably need to login

toot post text here

will send that text to Mastodon (toy

fortune > fortuneout
#
# echo to screen
cat fortuneout
# post content of fortuneout to console
toot post < fortuneout
#
echo "done"


This will run the fortune program, send output to a file then send the output in to toot post.

The next example the script asks for some user input and then sends it to toot post

echo "Please Enter some Text"
#
#
# post user input to mastodon
echo $usertext toot post '$usertext'
#
echo "done"


The potential of the above could allow real time data to be posted to Mastodon for example.

The above scripts are released under GPLv3.

REFERENCES

TAGS

## January 6, 2021

Site Index

2. Scroll to bottom of page.
• Any posts / pages within this blog will be displayed.

## Y

#YearOfTheFediverse

#Zoo

## December 26, 2020

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.

## toot console / terminal Mastodon client

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