You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

mastodon-cli

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mastodon-cli

A mastodon client

1.1.12
latest
npmnpm
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

Mastodon client

A Mastodon client to store and process Toots

INSTALL

yarn install

CONFIGURE

cp .env-example .env

USAGE

./bin/mastodon-cli.js

OPTIONS

  • --account <account_id> : Return toots of a specific account
  • --url <url> : Mastodon host (e.g. https://openbiblio.social)
  • --token <access_token> : Mastodon access token generated for his application (see. your Mastoson profile, configuration, development)
  • --inbox <path|stdout> : When to store the notifications
  • --exclude <types> : A selection of notification types to ignore
  • --history <file> : Keep a history file containing the last seen since id
  • --limit <num> : The maximum number of notifications to retrieve
  • --id <id> : Retrieve one notification by id
  • --since <id> : Retrieve notifications created since some id
  • --older <id> : Retrieve notifications older than some id
  • --serialize <ouput> : What to serialize? 'as2': ActivityStreams2 (fetched from remote) , 'native': Megalodon processed JSON
  • --handler <handler> : Handler JS file that can preprocess the generated output

ENVIRONMENT

See .env-example for possible environmment variables that can be set. Rename to .env to set a default environment.

FAQs

Package last updated on 06 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.