Skip to content
/ toot-worker Public template

Cloudflare Workers application that enables posting to Mastodon using a Webhook-like mechanism.

License

Notifications You must be signed in to change notification settings

bridge-y/toot-worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toot Worker

Toot Worker is a Cloudflare Workers application that enables posting to Mastodon using a Webhook-like mechanism.

Description

Toot Worker is a lightweight and efficient application built with Rust and Cloudflare Workers. It provides a simple and secure way to post content directly to your Mastodon instance using a POST request.

Features

  • Webhook-like functionality: Toot Worker acts as a Webhook, allowing you to send POST requests with the desired content to a specified URL, which will then be posted to your Mastodon instance.
  • Cloudflare Workers: Powered by Cloudflare Workers, Toot Worker ensures scalability, reliability, and low-latency performance.
  • Rust implementation: Toot Worker is implemented in Rust, a fast and memory-safe programming language, ensuring high performance and security.
  • Post-only functionality: Toot Worker focuses solely on the posting feature, making it lightweight and straightforward.

Setup

  1. Click the button below and follow the on-screen instructions to proceed with the setup.

    Deploy to Cloudflare Workers

  2. On the Cloudflare Workers dashboard, register the following secrets as variables.

Usage

curl -X POST -d '{"text": "test"}' -H "Content-Type: application/json" https://<your worker domain>/<TOOT_PATH>

License

This project is licensed under the MIT License.

Disclaimer

Toot Worker is a third-party application and is not affiliated with Mastodon or Cloudflare. Use it at your own risk.

About

Cloudflare Workers application that enables posting to Mastodon using a Webhook-like mechanism.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages