diff options
| author | eltrac <hi@eltr.ac> | 2026-03-10 14:23:35 +0800 |
|---|---|---|
| committer | eltrac <hi@eltr.ac> | 2026-03-10 14:23:35 +0800 |
| commit | 9a8a57bf2f9427c0463aad79bac9958d57bc236e (patch) | |
| tree | b8c7e8c6e3042fa30a0c72a0418feabea51845ec | |
| parent | 9bf10e9f9313ef780eb75eda9b70137aed4f6ce8 (diff) | |
docs: update README
| -rw-r--r-- | README.md | 42 |
1 files changed, 37 insertions, 5 deletions
@@ -1,18 +1,50 @@ +``` +⚠️ This Project is still under active development ⚠️ +``` + <img src="weepinbell.avif" align="right" width="300px" /> # weepinbell A [Webmention](https://www.w3.org/TR/webmention/) receiver written in [Clojure](https://clojure.org/). -## Usage +## Features + +- Implements [Webmention](https://www.w3.org/TR/webmention/) receiver +- Parse and store [microformats](https://microformats.org/) +- Webmention query API and filtering by target url or domain + +## Roadmap + +- [] API Paging +- [] RSS/Atom Feed, see [Serving RSS with Clojure](https://yogthos.net/posts/2012-08-04-Serving-RSS-with-Clojure.html) +- [] Import from [webmention.io](https://webmention.io) + +## API + +### Receiver Endpoint + +`POST /endpoint` + +You can configure this endpoint path. There are not separate endpoints for different domains. All Webmention are sent to one endpoint. + +### Query and filter Webmentions + +`GET /api/mentions` + +Respond with a JSON array containing all webmentions by default. Accepts query `filter`, either a target URL or a domain name, e.g. `/api/mentions?target=example.com`. -FIXME: explanation +## Config - $ java -jar weepinbell-0.1.0-standalone.jar [args] +Configure weepinbell by creating a `config.edn`, the defaults: -## Options +```edn +{:endpoint "/endpoint" + :allowed-target-domains ["example.com"] + :data-path "data/webmention.edn"} +``` -FIXME: listing of options this app accepts. +If you're not familiar with this format, see [edn](https://github.com/edn-format/edn). In short, it's Clojure's equivalent of JSON, but more extensible. ## License |
