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

#500 in Web programming

Download history 333/week @ 2023-12-13 267/week @ 2023-12-20 153/week @ 2023-12-27 292/week @ 2024-01-03 226/week @ 2024-01-10 212/week @ 2024-01-17 239/week @ 2024-01-24 149/week @ 2024-01-31 189/week @ 2024-02-07 234/week @ 2024-02-14 252/week @ 2024-02-21 337/week @ 2024-02-28 275/week @ 2024-03-06 253/week @ 2024-03-13 268/week @ 2024-03-20 170/week @ 2024-03-27

1,026 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–21MB
~314K SLoC