Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mastodon-cli

Package Overview
Dependencies
Maintainers
0
Versions
14
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.6
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-20%
Maintainers
0
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 21 Nov 2024

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc