expandurl-mastodon is a Mastodon bot that expands shortened URLs.
If you want the bot to expand an URL, reply to the post with the URL in it and
mention the bot account (
@firstname.lastname@example.org for example).
This bot uses the same visibility as you, but posts unlisted instead of public. It retains the sensitive flag and spoiler warnings.
git clone https://schlomp.space/tastytea/expandurl-mastodon.git
mkdir build cd build/ cmake .. make
-DCMAKE_BUILD_TYPE=Debugfor a debug build
-DWITH_MAN=NOto not compile the manpage
Have a look at the manpage.
Copyright © 2018 tastytea <email@example.com>. License GPLv3: GNU GPL version 3 <https://www.gnu.org/licenses/gpl-3.0.html>. This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions.