mplib: Micropub Publisher Library
A Rust library for publishing text-only blog posts to any Micropub-compatible blogging service.
Overview
mplib can be integrated into your own applications to add Micropub publishing capabilities of text-only content.
Features
- ✅ 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
Compatible Microblogging Services
mplib is known to work with the microblogging services listed below.
| Service Name | API URL |
|---|---|
| Micro.blog | https://micro.blog/micropub |
Installation
Add mplib to your Cargo.toml:
[]
= { = "0.1.0" } # Use appropriate version
= { = "1.0", = ["full"] }
Usage
use ;
async
Requirements
- Rust 1.70+
- A Micropub-compatible blogging service
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Author
Michael Descy mike@mjdescy.me
Support
If you encounter any issues or have questions, please file an issue on the GitHub repository.