Mastodon support
Moderator: Mattk
- WessexWeather
- Senior Boarder
- Posts: 54
- Joined: Sun Apr 17, 2016 9:54 am
- Location: Wimborne, Dorset, UK
- Contact:
Mastodon support
Hello,
With so many people leaving Twitter for Mastodon, would it be possible to add Mastodon as a Service?
Thanks,
With so many people leaving Twitter for Mastodon, would it be possible to add Mastodon as a Service?
Thanks,
Simon

Re: Mastodon support
I have to inspect how to implement that. I put it on the wish list.
- ConligWX
- Platinum Boarder
- Posts: 329
- Joined: Wed Nov 14, 2018 12:48 pm
- Location: Conlig, Co. Down, UK
- Contact:
Re: Mastodon support
If twitter pulls the plug on the free API then that would a great idea to implement an alternative to post too.
Regards Simon
https://www.conligwx.org/pws
https://www.conligwx.org/pws
- WessexWeather
- Senior Boarder
- Posts: 54
- Joined: Sun Apr 17, 2016 9:54 am
- Location: Wimborne, Dorset, UK
- Contact:
Re: Mastodon support
Twitter has finally pulled the plug, so the built-in Twitter event is no longer working. Twitter's days appear to be numbered, especially following the recent X rebrand.
Have you had a chance to look into Mastodon support?
Have you had a chance to look into Mastodon support?
Simon

-
- Junior Boarder
- Posts: 34
- Joined: Wed Sep 30, 2020 10:30 am
Re: Mastodon support
Following
- ConligWX
- Platinum Boarder
- Posts: 329
- Joined: Wed Nov 14, 2018 12:48 pm
- Location: Conlig, Co. Down, UK
- Contact:
Re: Mastodon support
What needs to be done is a server setup for weather.
There is a meteo.social but it's not accepting any new users.
There is a meteo.social but it's not accepting any new users.
Regards Simon
https://www.conligwx.org/pws
https://www.conligwx.org/pws
- WessexWeather
- Senior Boarder
- Posts: 54
- Joined: Sun Apr 17, 2016 9:54 am
- Location: Wimborne, Dorset, UK
- Contact:
Re: Mastodon support
That’s true, but this thread is about adding Mastodon support to Meteobridge…
Simon

- ConligWX
- Platinum Boarder
- Posts: 329
- Joined: Wed Nov 14, 2018 12:48 pm
- Location: Conlig, Co. Down, UK
- Contact:
Re: Mastodon support
for the time being I am gonna use the cli toot utility for Mastodon and then "toot" post a file content (made by metoeobridge or CumulusMX) to this server:WessexWeather wrote: Mon Jul 31, 2023 12:15 am That’s true, but this thread is about adding Mastodon support to Meteobridge…
https://wxcloud.social/
before Twitter support in Meteobridge I used a similar method with twidge
Regards Simon
https://www.conligwx.org/pws
https://www.conligwx.org/pws
- WessexWeather
- Senior Boarder
- Posts: 54
- Joined: Sun Apr 17, 2016 9:54 am
- Location: Wimborne, Dorset, UK
- Contact:
Re: Mastodon support
Thanks Simon, can you tell us a bit more about this? I’m not familiar with it.
Simon

- ConligWX
- Platinum Boarder
- Posts: 329
- Joined: Wed Nov 14, 2018 12:48 pm
- Location: Conlig, Co. Down, UK
- Contact:
Re: Mastodon support
so I am probably going to use my cumulusMX server (ubuntu) to "toot" a post from a file.
CumulusMX allows me to create a template with cmx values (similar to what metoebridge should be able to do) this template is processed and writes to a file.
the file contents are then used to post onto mastodon using a cron job using the cli command installed from this package.
https://toot.bezdomni.net/
the command line will look something like this:
some bash script command line.....
The file "mastodon.txt" has the weather values that I'm posting.
"toot" is the "toot" binary file, so
that is the command being executed.
"post" is the parameter I'm passing to "toot" to tell it to post
the content that has been piped into it.
">> toot.out" means the output of the command is to be appended
to the file "toot.out"
"2>> toot.err" means any error output from the command will be
appended to the file "toot.err"
hope that helps. I'm not sure if you could install toot onto meteobridge itself and run it locally or you can save the file contents elsewhere and use toot from another linux device. then call the commandline from a crontab task.
src: https://lists.sr.ht/~ihabunek/toot-disc ... s.co.uk%3E
CumulusMX allows me to create a template with cmx values (similar to what metoebridge should be able to do) this template is processed and writes to a file.
the file contents are then used to post onto mastodon using a cron job using the cli command installed from this package.
https://toot.bezdomni.net/
the command line will look something like this:
some bash script command line.....
Code: Select all
cat mastodon.txt | toot post >> toot.out 2>> toot.err
"toot" is the "toot" binary file, so
that is the command being executed.
"post" is the parameter I'm passing to "toot" to tell it to post
the content that has been piped into it.
">> toot.out" means the output of the command is to be appended
to the file "toot.out"
"2>> toot.err" means any error output from the command will be
appended to the file "toot.err"
hope that helps. I'm not sure if you could install toot onto meteobridge itself and run it locally or you can save the file contents elsewhere and use toot from another linux device. then call the commandline from a crontab task.
src: https://lists.sr.ht/~ihabunek/toot-disc ... s.co.uk%3E
Regards Simon
https://www.conligwx.org/pws
https://www.conligwx.org/pws
- WessexWeather
- Senior Boarder
- Posts: 54
- Joined: Sun Apr 17, 2016 9:54 am
- Location: Wimborne, Dorset, UK
- Contact:
Re: Mastodon support
Thanks Simon, I’ll look into this.
I just wish Boris could implement this natively as he has with other services. Maybe it’s not as easy as we think.
I just wish Boris could implement this natively as he has with other services. Maybe it’s not as easy as we think.
Simon

- ConligWX
- Platinum Boarder
- Posts: 329
- Joined: Wed Nov 14, 2018 12:48 pm
- Location: Conlig, Co. Down, UK
- Contact:
Re: Mastodon support
the hardest part was the registration process for the cli tool via CLI command. it just didn't work for me, but it does give you a URL to use. once the url was used in chrome, then registration process worked. usingWessexWeather wrote: Wed Aug 02, 2023 7:29 pm Thanks Simon, I’ll look into this.
I just wish Boris could implement this natively as he has with other services. Maybe it’s not as easy as we think.
Code: Select all
# toot post "whatever text your like"
Regards Simon
https://www.conligwx.org/pws
https://www.conligwx.org/pws
- ConligWX
- Platinum Boarder
- Posts: 329
- Joined: Wed Nov 14, 2018 12:48 pm
- Location: Conlig, Co. Down, UK
- Contact:
Re: Mastodon support
Finally got it working, or there abouts....ConligWX wrote: Fri Aug 04, 2023 8:57 am does work now. I will be testing out the "toots" this weekend and hopefully have it up and running soon.
https://wxcloud.social/@conligwx
Regards Simon
https://www.conligwx.org/pws
https://www.conligwx.org/pws
Re: Mastodon support
Nice reading. Unfortunately, toot is based on python which Meteobridge does not support (because of storage limitations).