7 releases (4 breaking)

0.5.0 Jul 10, 2023
0.4.0 Sep 24, 2021
0.3.0 Aug 1, 2021
0.2.0 Jul 23, 2021
0.1.2 Apr 24, 2021

#4 in #receiving

Download history 222/week @ 2024-01-12 236/week @ 2024-01-19 196/week @ 2024-01-26 152/week @ 2024-02-02 211/week @ 2024-02-09 223/week @ 2024-02-16 285/week @ 2024-02-23 338/week @ 2024-03-01 257/week @ 2024-03-08 229/week @ 2024-03-15 253/week @ 2024-03-22 261/week @ 2024-03-29 253/week @ 2024-04-05 240/week @ 2024-04-12 308/week @ 2024-04-19 180/week @ 2024-04-26

1,041 downloads per month
Used in 2 crates (via lemmy_api_crud)

MIT/Apache

38KB
923 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
~319K SLoC