Posting on Mastodon with curl and bash

A simple script that you can schedule in your cron.

#!/bin/bash

INSTANCE_URL="https://bolha.us"
TOKEN="YOUR_TOKEN_HERE"
TOOT="YOUR_MESSAGE_HERE"

curl ${INSTANCE_URL}/api/v1/statuses -H "Authorization: Bearer $TOKEN" -F "status=${TOOT}"

:)


Did you like our content?

We have a lot to share; visit our site!

Our fediverse services ;)

Chat and video? We have it!

Translation tools

Video Platform Frontends

Text Editors

You can also visit our hacking space!

Follow our founder!

Follow the status of our tools

Do you want to support us? You can!

See you!

[s]