#web-server #indieweb #validation #sending #receiving #post #webmentions

bin+lib webmention

Library and a CLI tool for sending and validation webmentions

8 releases (5 breaking)

0.6.0 Aug 13, 2024
0.5.0 Jul 10, 2023
0.4.0 Sep 24, 2021
0.3.0 Aug 1, 2021
0.1.2 Apr 24, 2021

#634 in Web programming

Download history 48/week @ 2024-08-22 65/week @ 2024-08-29 78/week @ 2024-09-05 177/week @ 2024-09-12 172/week @ 2024-09-19 244/week @ 2024-09-26 184/week @ 2024-10-03 36/week @ 2024-10-10 59/week @ 2024-10-17 136/week @ 2024-10-24 283/week @ 2024-10-31 243/week @ 2024-11-07 243/week @ 2024-11-14 188/week @ 2024-11-21 199/week @ 2024-11-28 78/week @ 2024-12-05

755 downloads per month
Used in 2 crates (via lemmy_api_crud)

MIT/Apache

38KB
934 lines

webmention

This crate helps deal with Webmentions: sending, receiving, checking the validity.

Installation

If you have cargo installed, then you can easily get webmention by running

cargo install webmention --bin webmention --features="cli"

Or (if you want receiving functionality):

cargo install webmention --bin webmention --features="cli receive"

CLI Usage

Send a webmention:

webmention send --from my_url --to other_url

Try to send webmentions for all linked URLs:

webmention send --from my_url

Start a receiver server:

webmention receive --domain my_domain

Use cases

  1. CLI tool for sending webmentions from your posts manually (endpoint-discovery, sending)
  2. Simple web server for receiving webmentions (receiving, storage, validating, querying)
  3. Infrastructure for embedding webmention endpoint into a larger web server (receiving, storage)

License

This project is dually licensed under Apache License, Version 2.0 and MIT license and maintained by marinintim.com.

Dependencies

~6–20MB
~286K SLoC