JavaScript utility for posting to multiple social networks at once
Top 71.7% on sourcepulse
This JavaScript utility, crosspost
, enables users to simultaneously post content to multiple social media platforms. It is designed for developers and content creators looking to streamline their cross-platform posting workflow, offering both an API and a CLI for integration into various applications and CI/CD pipelines.
How It Works
The library employs a strategy-based design, with individual classes handling the specific API interactions for each supported platform (Bluesky, Mastodon, Twitter, LinkedIn, Discord, Telegram, Dev.to). Users instantiate these strategy classes with platform-specific credentials and then pass them to a central Client
class, which orchestrates the posting process across all configured services. This modular approach allows for easy extension with new platform support.
Quick Start & Requirements
npm install @humanwhocodes/crosspost
.env
files via CROSSPOST_DOTENV
.Highlighted Details
Maintenance & Community
The project is maintained by Nicholas C. Zakas. Further community or maintenance details are not explicitly provided in the README.
Licensing & Compatibility
Limitations & Caveats
The README notes that LinkedIn access tokens expire after two months, requiring periodic re-authentication. Additionally, Discord bots by default can only send messages to public channels unless granted specific permissions.
20 hours ago
Inactive