Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Mastodon
  3. mastotool

mastotool

MITGov0.2.4

A collection of command-line tools for analyzing and searching your Mastodon account activity.

GitHubGitHub
101 stars9 forks0 contributors

What is mastotool?

mastotool is a command-line application that provides tools for interacting with and analyzing Mastodon accounts. It allows users to generate statistics about their posting activity, engagement metrics, and search through their toots directly from the terminal.

Target Audience

Mastodon power users, developers, and data enthusiasts who prefer command-line workflows and want to analyze their social media activity programmatically.

Value Proposition

It offers a lightweight, fast, and scriptable alternative to web-based Mastodon analytics, with cross-platform support and no external dependencies beyond a Mastodon account.

Overview

A collection of command-line tools to work with your Mastodon account

Use Cases

Best For

  • Analyzing Mastodon engagement metrics from the command line
  • Searching through personal toot history for specific content
  • Generating custom statistics reports for social media activity
  • Automating Mastodon data analysis in scripts or workflows
  • Understanding posting habits and interaction patterns on Mastodon
  • Quickly checking account performance without using a web browser

Not Ideal For

  • Users who prefer graphical dashboards with charts and visualizations over text-based reports
  • Teams or researchers needing to analyze multiple Mastodon accounts simultaneously
  • Projects requiring real-time social media monitoring or push notifications
  • Workflows that demand automated data export to formats like CSV or JSON for external analysis

Pros & Cons

Pros

Cross-Platform Accessibility

Offers pre-built binaries for Linux, macOS, Windows, FreeBSD, and OpenBSD, with package manager support like Homebrew and AUR for straightforward installation across environments.

Customizable Report Generation

Includes flags such as --recent, --top, and --columns to filter data and adjust output, allowing users to tailor statistics to specific needs without code changes.

Fast Command-Line Efficiency

Provides quick analytics and search directly from the terminal, enabling scriptable integration and reducing reliance on slower web interfaces for data retrieval.

Minimal Dependencies

Written in Go with easy compilation from source, requiring only a Mastodon account and config file, avoiding complex external dependencies or runtime environments.

Cons

Basic Authentication Method

Requires interactive username and password input in the CLI without OAuth support, which can be insecure and inconvenient for automated or secure workflows.

Single-Account Limitation

Focuses solely on the user's own Mastodon account, with no features for analyzing multiple accounts or community-wide data, restricting collaborative use cases.

Text-Only Output Constraints

Generates reports purely in terminal text format, lacking graphical visualizations or built-in options to export data to structured files like CSV or JSON for further processing.

Frequently Asked Questions

Quick Stats

Stars101
Forks9
Contributors0
Open Issues10
Last commit2 years ago
CreatedSince 2018

Tags

#hacktoberfest#open-source#productivity#mastodon#social-media-analytics#cli-tool#command-line#go#self-hosted

Built With

G
Go

Included in

Mastodon55
Auto-fetched 18 hours ago

Related Projects

Mastodon RedirectorMastodon Redirector

View Mastodon profiles on your Mastodon instance

Stars106
Forks6
Last commit1 year ago
Mastodon LinkMastodon Link

Chrome extension for opening mastodon style links in your instance for ease of following

Stars32
Forks4
Last commit2 years ago
Mastodon WidgetsMastodon Widgets

Mastodon Web Components

Stars8
Forks0
Last commit2 years ago
Mastodon Toot BookmarkletMastodon Toot Bookmarklet

Bookmarklet to toot the current page

Stars0
Forks0
Last commit
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub