155 lines
7.1 KiB
HTML
155 lines
7.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<title>mobibot</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<link rel="stylesheet" type="text/css" href="simple.css" />
|
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-GHTJ7PY0ZP"></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag() { dataLayer.push(arguments); }
|
|
gtag('js', new Date());
|
|
|
|
gtag('config', 'G-GHTJ7PY0ZP');
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="content">
|
|
<h1>mobibot</h1>
|
|
|
|
<h2>The #mobitopia bot</h2>
|
|
|
|
<p class="note"> The latest version of mobibot is always available via
|
|
<a href="https://github.com/ethauvin/mobibot/"><strong>GitHub</strong></a>.
|
|
</p>
|
|
|
|
<h3>About mobibot</h3>
|
|
|
|
<p><strong>mobibot</strong> is the
|
|
<a href="https://www.mobitopia.org/"><strong>#mobitopia</strong></a> IRC channel bot written in <a
|
|
href="https://kotlinlang.org/"><strong>Kotlin</strong></a>.
|
|
</p>
|
|
|
|
<p>mobibot is making extensive use of various <strong>open source libraries</strong>, including:</p>
|
|
<ul>
|
|
<li><a href="https://commons.apache.org/proper/commons-net/">Apache Commons Net</a></li>
|
|
<li><a href="https://github.com/ethauvin/cryptoprice">CryptoPrice</a></li>
|
|
<li><a href="https://www.objecthunter.net/exp4j/">exp4j</a></li>
|
|
<li><a href="https://github.com/ethauvin/jokeapi">JokeAPI</a></li>
|
|
<li><a href="https://jsoup.org/">jsoup</a></li>
|
|
<li><a href="https://github.com/Kotlin/kotlinx-cli">kotlinx-cli</a></li>
|
|
<li><a href="https://docs.langchain4j.dev/">LangChain4J</a></li>
|
|
<li><a href="https://square.github.io/okhttp/">OkHttp</a></li>
|
|
<li><a href="https://bitbucket.org/aksinghnet/owm-japis">OWM JAPIs</a></li>
|
|
<li><a href="https://github.com/ethauvin/pinboard-poster">Pinboard Poster</a></li>
|
|
<li><a href="https://github.com/pircbotx/pircbotx">PircBotX</a></li>
|
|
<li><a href="https://rometools.github.io/rome/">Rome</a></li>
|
|
<li><a href="https://github.com/ethauvin/urlencoder">UrlEncoder</a></li>
|
|
</ul>
|
|
<p>mobibot was written by
|
|
<a href="https://erik.thauvin.net/"><strong>Erik C. Thauvin</strong></a> as a replacement for the channel's
|
|
original
|
|
<a href="https://github.com/edumbill/chump">ChumpBot</a>.
|
|
</p>
|
|
|
|
<h3>Features</h3>
|
|
|
|
<p>mobibot's main functionality is to
|
|
<strong>capture URLs</strong> posted on the channel. The URLs are automatically gathered into a publishable
|
|
<a href="https://www.mobitopia.org/rss.xml"><strong>RSS feed</strong></a> and saved on <a
|
|
href="https://pinboard.in/t:mobitopia"><strong>Pinboard</strong></a>.
|
|
</p>
|
|
|
|
<p>Other features include:</p>
|
|
<ul>
|
|
<li>Displaying the latest entries on Mobitopia
|
|
<div><code>mobibot: view</code></div>
|
|
</li>
|
|
<li>Performing calculations
|
|
<div><code>mobibot: calc (floor(sqrt(3)) + π) * 3^2</code></div>
|
|
</li>
|
|
<li>Crypto currencies prices
|
|
<div><code>mobibot: cryto btc</code></div>
|
|
<div><code>mobibot: cryto eth eur</code></div>
|
|
</li>
|
|
<li>Converting between currencies
|
|
<div><code>mobibot: currency 17.54 USD to EUR</code></div>
|
|
</li>
|
|
<li>Performing Google searches
|
|
<div><code>mobibot: google mobitopia on irc</code></div>
|
|
</li>
|
|
<li>Getting answers from <a href="https://wolframalpha.com/">Wolfram Alpha</a>, <a href="https://chat.openai.com/chat">ChatGPT</a> and <a href="https://deepmind.google/technologies/gemini/">Google Gemini</a>
|
|
<div><code>mobibot: wolfram days until christmas</code></div>
|
|
<div><code>mobibot: chatgpt explain quantum computing in simple terms</code></div>
|
|
<div><code>mobibot: gemini what are all the colors in a rainbow?</code></div>
|
|
</li>
|
|
<li>Displaying weather information
|
|
<div><code>mobibot: weather san francisco</code></div>
|
|
<div><code>mobibot: weather 94123 </code></div>
|
|
<div><code>mobibot: weather tokyo, jp</code></div>
|
|
</li>
|
|
<li>Performing DNS lookups
|
|
<div><code>mobibot: lookup www.apple.com</code></div>
|
|
</li>
|
|
<li>Retrieving stock quotes from <a href="https://www.alphavantage.co/">Alpha Avantage</a>
|
|
<div><code>mobibot: stock GOOG</code></div>
|
|
<div><code>mobibot: stock google</code></div>
|
|
</li>
|
|
<li>Displaying the time in various time zones
|
|
<div><code>mobibot: time UK</code></div>
|
|
<div><code>mobibot: time GMT</code></div>
|
|
</li>
|
|
<li>Sending messages to people on join/activity
|
|
<div><code>mobibot: tell nickname Give me a call when you see this.</code></div>
|
|
</li>
|
|
<li>Recapping public channel messages
|
|
<div><code>/msg mobibot recap</code></div>
|
|
</li>
|
|
<li>Listing the users on the channel
|
|
<div><code>/msg mobibot users</code></div>
|
|
</li>
|
|
<li>Viewing when a nickname was last seen
|
|
<div><code>/msg mobibot seen nickname</code></div>
|
|
</li>
|
|
<li>Random jokes from <a href="https://v2.jokeapi.dev/">Sv443's JokeAPI</a>
|
|
<div><code>mobibot: joke</code></div>
|
|
</li>
|
|
<li>Playing dice, war or rock paper scissors
|
|
<div><code>mobibot: dice</code></div>
|
|
<div><code>mobibot: war</code></div>
|
|
<div><code>mobibot: paper</code></div>
|
|
<div><code>mobibot: rock</code></div>
|
|
</li>
|
|
<li>Automatic and manual posting to <a href="https://mastodon.social/@mobitopia/">Mastodon</a>
|
|
<div><code>mobibot: toot hello mastodon</code></div>
|
|
</li>
|
|
</ul>
|
|
<p>Some of the internal features include RSS feed backlogs, rolling logs, debugging toggle and much more.</p>
|
|
|
|
<p>If you have any feature suggestions, please post them to the
|
|
<a href="https://erik.thauvin.net/wiki/mobibot"><strong>mobibot wiki</strong></a>.
|
|
</p>
|
|
|
|
<h3>Using mobibot</h3>
|
|
|
|
<p>To use mobibot, simply <strong>join <a href="irc://irc.libera.chat/#mobitopia">#mobitopia</a></strong> on
|
|
<strong>irc.libera.chat</strong> and type:
|
|
</p>
|
|
|
|
<p><code>mobibot: help</code></p>
|
|
|
|
<p>mobibot will reply with a listing of the commands currently supported.</p>
|
|
|
|
<h3>Licenses</h3>
|
|
|
|
<p>There are various open source licenses attached to mobibot. Please refer to the
|
|
<strong><a href="https://github.com/ethauvin/mobibot/tree/master/licenses">licenses</a></strong> directory
|
|
in the source tree for more details.
|
|
</p>
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|