A Rust workspace containing both a command-line tool and library for publishing text-only blog posts to any Micropub-compatible blogging service.
mp is a workspace that contains two crates:
- mpcli: A command-line tool for publishing text-only blog posts to any Micropub-compatible service
- mplib: A library for integrating Micropub publishing functionality into Rust applications
Both components support publishing posts and drafts with text-only content from command-line arguments, files, or stdin (CLI), or via a programmatic API (library).
A simple, fast, and reliable command-line utility for publishing blog posts to any Micropub-compatible service.
mp configure
mp post "Hello, world!"- ✅ Publish posts directly to Micropub endpoints
- ✅ Read content from multiple sources (arguments, files, stdin)
- ✅ Post titles are optional
- ✅ Post titles can be extracted from line 1 of post content
- ✅ Quiet mode for scripting
- ✅ Configuration management with interactive setup
- ✅ Built with Rust for performance and reliability
For more information, see mpcli/README.md.
A Rust library that provides functionality for publishing content to Micropub endpoints.
- ✅ Publish posts and drafts to Micropub endpoints
- ✅ Handle Micropub service authentication with API tokens
- ✅ Async/await support with Tokio
- ✅ Built with Rust for performance and reliability
For more information, see mplib/README.md.
mp is known to work with the microblogging services listed below.
| Service Name | API URL |
|---|---|
| Micro.blog | https://micro.blog/micropub |
- Rust 1.70+ (for building from source)
- A Micropub-compatible blogging service
This project is licensed under the MIT License - see the LICENSE.md file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
Michael Descy [email protected]
If you encounter any issues or have questions, please file an issue on the GitHub repository.