FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
charmaine
charmaineopenHeartProtocol
The Open Heart protocol lets users send emojis to a URL
Public
Like
openHeartProtocol
Home
Code
4
GET.tsx
POST.tsx
README.md
H
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
main.tsx
https://charmaine--82adb7c0430e11f09e5e76b3cceeab13.web.val.run
README.md

Open Heart Protocol

The Open Heart protocol lets an anonymous user sends an emoji reaction to a URL.

Adapted from https://openheart.fyi/, to run on Val Town.

https://openheart.val.run/

Test with example.com as <domain>.

GET /<domain>/<uid> to look up reactions for <uid> under <domain>
GET /<domain> to look up reactions for everything under <domain>

POST /<domain>/<uid> to send an emoji

<uid> must not contain a forward slash.
<domain> owner has the right to remove data under its domain scope.

You can test sending emojis with POST.tsx, and check emojis received with GET.tsx.

HTTP
  • main.tsx
    charmaine--82adb7c0430e11f09e5e76b3cceeab13.web.val.run
Code
GET.tsxPOST.tsxREADME.md
H
main.tsx
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.