https://openheart.fyi/
[?] Like this page
Heart this page
Pretzel this page
Check OpenHeart count for this page
Open Heart Protocol
The Open Heart protocol lets an anonymous user sends an emoji
reaction to a URL.
How
Set up an endpoint to receive an Open Heart POST request like this
one:
curl -d '' -X POST 'https://api.oh.dddddddddzzzz.org/github.com/dddddddddzzzz/OpenHeart'
A Open Heart message should contain of a single emoji sequence.
However, the emoji sequence may be followed by arbitrary data which
the server is expected to ignore.
This allows HTML
However, we have also created for a better user
experience.
Server code
To get started quickly, you can use our public OpenHeart API, but we
do recommend owning your own data whenever possible.
Here are some code example get your own endpoint running quickly:
* With Cloudflare Worker & Cloudflare KV
* With Glitch and fasify
We welcome examples using other languages and services. Please send
us a pull request!
Questions
Why not WebMention?
This is much, much, much simpler.
What happens after POST?
The author of the endpoint decides.
What if the someone repeatedly sends emoji to my server?
It shows they may be quite enthusiastic.
In all seriousness, our public API is built on Cloudflare Worker
which comes with rate limiting and DDoS protection.
What if I don't want to receive some emoji?
Create a server-side allow list or disallow list and respond with a
400.