<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>client &amp;mdash; Paul Sutton</title>
    <link>https://personaljournal.ca/paulsutton/tag:client</link>
    <description>Personal Blog</description>
    <pubDate>Tue, 05 May 2026 14:58:01 +0000</pubDate>
    <item>
      <title>Toot mastodon client</title>
      <link>https://personaljournal.ca/paulsutton/toot-mastodon-client</link>
      <description>&lt;![CDATA[Toot mastodon client&#xA;&#xA;img src=&#34;https://socialhub.activitypub.rocks/uploads/default/original/1X/6aac842b7ff5c58385a02f3a131c259281be88c8.png&#34; target=&#34;blank&#34; &#xA;&#xA;a href=&#34;https://liberapay.com/PaulSutton/donate&#34;img alt=&#34;Donate using Liberapay&#34; src=&#34;https://liberapay.com/assets/widgets/donate.svg&#34;/a&#xA;&#xA;I have been experimenting with the toot mastodon client. This does have a curses interface. &#xA;&#xA;toot curses. (q to quit)&#xA;&#xA;However experimenting with this and bash scripting&#xA;&#xA;So to begin with you will probably need to login &#xA;&#xA;toot logincli&#xA;&#xA;toot post text here &#xA;&#xA;will send that text to Mastodon (toy &#xA;&#xA;fortune   fortuneout&#xA;#&#xA;echo to screen&#xA;cat fortuneout&#xA;post content of fortuneout to console&#xA;toot post &lt; fortuneout&#xA;&#xA;echo &#34;done&#34;&#xA;&#xA;This will run the fortune program,  send output to a file then send the output in to toot post. &#xA;&#xA;The next example the script asks for some user input and then sends it to toot post&#xA;&#xA;echo &#34;Please Enter some Text&#34;&#xA;read usertext&#xA;&#xA;post user input to mastodon&#xA;echo $usertext&#xA;toot post &#39;$usertext&#39;&#xA;&#xA;echo &#34;done&#34;&#xA;&#xA;The potential of the above could allow real time data to be posted to Mastodon for example.&#xA;&#xA;The above scripts are released under GPLv3. &#xA;&#xA;REFERENCES&#xA;&#xA;Free Software Foundation&#xA;Toot client&#xA;&#xA;TAGS&#xA;&#xA;#YearOfTheFediverse,#toot,#mastodon,#client&#xA;&#xA;a rel=&#34;license&#34; href=&#34;http://creativecommons.org/licenses/by-sa/4.0/&#34;img alt=&#34;Creative Commons Licence&#34; style=&#34;border-width:0&#34; src=&#34;https://i.creativecommons.org/l/by-sa/4.0/88x31.png&#34; //abr /This work is licensed under a a rel=&#34;license&#34; href=&#34;http://creativecommons.org/licenses/by-sa/4.0/&#34;Creative Commons Attribution-ShareAlike 4.0 International License/a&#xA;&#xA;hr&#xD;&#xA;&#xD;&#xA;table&#xD;&#xA;thead&#xD;&#xA;trtda rel=&#34;me&#34; href=&#34;https://qoto.org/@zleap&#34;Mastodon/a/td&#xD;&#xA;tda href=&#34;https://wiki.ircnow.org/?n=Shelllabs.Intro&#34;ShellLabs/td&#xD;&#xA;tda href=&#34;https://joinmastodon.org/&#34;Join Mastodon/a/td/tr/thead/table&#xD;&#xA;center&#xD;&#xA;AI statement : b Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity.  Consent CANNOT be assumed, it has to be granted. /b&#xD;&#xA;/center&#xD;&#xA;&#xD;&#xA;a href=&#34;https://liberapay.com/PaulSutton/donate&#34;img alt=&#34;Donate using Liberapay&#34; src=&#34;https://liberapay.com/assets/widgets/donate.svg&#34;/a&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>Toot mastodon client</p>

<p><a href="https://torresjrjr.com/archive/2020-07-19-guide-to-the-fediverse" rel="nofollow"><img src="https://socialhub.activitypub.rocks/uploads/default/original/1X/6aac842b7ff5c58385a02f3a131c259281be88c8.png"></a></p>

<p><a href="https://liberapay.com/PaulSutton/donate" rel="nofollow"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></p>

<p>I have been experimenting with the <em>toot</em> mastodon client. This does have a curses interface.</p>

<p>toot curses. (q to quit)</p>

<p>However experimenting with this and bash scripting</p>

<p>So to begin with you will probably need to login</p>

<p>toot login_cli</p>

<p>toot post text here</p>

<p>will send that text to Mastodon (toy</p>

<pre><code>fortune &gt; fortuneout
#
# echo to screen
cat fortuneout
# post content of fortuneout to console
toot post &lt; fortuneout
#
echo &#34;done&#34;
</code></pre>

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

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

<pre><code>echo &#34;Please Enter some Text&#34;
read usertext
#
#
# post user input to mastodon
echo $usertext
toot post &#39;$usertext&#39;
#
echo &#34;done&#34;
</code></pre>

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

<p>The above scripts are released under <a href="https://www.gnu.org" rel="nofollow">GPLv3</a>.</p>

<p><strong>REFERENCES</strong></p>
<ul><li><a href="https://www.fsf.org" rel="nofollow">Free Software Foundation</a></li>
<li><a href="https://github.com/ihabunek/toot" rel="nofollow">Toot client</a></li></ul>

<p><strong>TAGS</strong></p>

<p><a href="/paulsutton/tag:YearOfTheFediverse" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">YearOfTheFediverse</span></a>,<a href="/paulsutton/tag:toot" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">toot</span></a>,<a href="/paulsutton/tag:mastodon" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">mastodon</span></a>,<a href="/paulsutton/tag:client" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">client</span></a></p>

<p><a href="http://creativecommons.org/licenses/by-sa/4.0/" rel="nofollow"><img alt="Creative Commons Licence" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png"/></a><br/>This work is licensed under a <a href="http://creativecommons.org/licenses/by-sa/4.0/" rel="nofollow">Creative Commons Attribution-ShareAlike 4.0 International License</a></p>

<hr>

<p><table>
<thead>
<tr><td><a href="https://qoto.org/@zleap" rel="nofollow">Mastodon</a></td>
<td><a href="https://wiki.ircnow.org/?n=Shelllabs.Intro" rel="nofollow">ShellLabs</td>
<td><a href="https://joinmastodon.org/" rel="nofollow">Join Mastodon</a></td></tr></thead></table>

AI statement : <b> Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity.  Consent CANNOT be assumed, it has to be granted. </b>
</p>

<p><a href="https://liberapay.com/PaulSutton/donate" rel="nofollow"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></p>
]]></content:encoded>
      <guid>https://personaljournal.ca/paulsutton/toot-mastodon-client</guid>
      <pubDate>Sat, 30 Jan 2021 22:15:09 +0000</pubDate>
    </item>
    <item>
      <title>Mastodon toot client</title>
      <link>https://personaljournal.ca/paulsutton/mastodon-toot-client</link>
      <description>&lt;![CDATA[Mastodon toot client&#xA;&#xA;Tip of the day&#xA;&#xA;if using the toot command line client, you can toot the contents of a file.&#xA;&#xA;Lets say &#39;text.txt&#39; contains the following&#xA;&#xA;Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam&#xA;&#xA;If you login to toot, then type&#xA;&#xA;toot post &lt; text.txt then the contents of that file will be posted to Mastodon.&#xA;&#xA;Please feel free to follow me on Mastodon here&#xA;&#xA;#mastodon,#toot,#tips,#hints,#commandline,#cli,#client,&#xA;text,&#xA;&#xA;hr&#xD;&#xA;&#xD;&#xA;table&#xD;&#xA;thead&#xD;&#xA;trtda rel=&#34;me&#34; href=&#34;https://qoto.org/@zleap&#34;Mastodon/a/td&#xD;&#xA;tda href=&#34;https://wiki.ircnow.org/?n=Shelllabs.Intro&#34;ShellLabs/td&#xD;&#xA;tda href=&#34;https://joinmastodon.org/&#34;Join Mastodon/a/td/tr/thead/table&#xD;&#xA;center&#xD;&#xA;AI statement : b Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity.  Consent CANNOT be assumed, it has to be granted. /b&#xD;&#xA;/center&#xD;&#xA;&#xD;&#xA;a href=&#34;https://liberapay.com/PaulSutton/donate&#34;img alt=&#34;Donate using Liberapay&#34; src=&#34;https://liberapay.com/assets/widgets/donate.svg&#34;/a&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>Mastodon toot client</p>

<p>Tip of the day</p>

<p>if using the toot command line client, you can toot the contents of a file.</p>

<p>Lets say &#39;text.txt&#39; contains the following</p>

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

<p>If you login to toot, then type</p>

<p>toot post &lt; text.txt then the contents of that file will be posted to Mastodon.</p>

<p>Please feel free to follow me on Mastodon <a href="https://qoto.org/@zleap" rel="nofollow">here</a></p>

<p><a href="/paulsutton/tag:mastodon" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">mastodon</span></a>,<a href="/paulsutton/tag:toot" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">toot</span></a>,<a href="/paulsutton/tag:tips" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">tips</span></a>,<a href="/paulsutton/tag:hints" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">hints</span></a>,<a href="/paulsutton/tag:commandline" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">commandline</span></a>,<a href="/paulsutton/tag:cli" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">cli</span></a>,<a href="/paulsutton/tag:client" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">client</span></a>,
<a href="/paulsutton/tag:text" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">text</span></a>,</p>

<hr>

<p><table>
<thead>
<tr><td><a href="https://qoto.org/@zleap" rel="nofollow">Mastodon</a></td>
<td><a href="https://wiki.ircnow.org/?n=Shelllabs.Intro" rel="nofollow">ShellLabs</td>
<td><a href="https://joinmastodon.org/" rel="nofollow">Join Mastodon</a></td></tr></thead></table>

AI statement : <b> Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity.  Consent CANNOT be assumed, it has to be granted. </b>
</p>

<p><a href="https://liberapay.com/PaulSutton/donate" rel="nofollow"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></p>
]]></content:encoded>
      <guid>https://personaljournal.ca/paulsutton/mastodon-toot-client</guid>
      <pubDate>Sat, 26 Dec 2020 22:14:22 +0000</pubDate>
    </item>
  </channel>
</rss>