Skip to content
/ love Public

love.js — The bestest Like Button that ever there was.

Notifications You must be signed in to change notification settings

webguyio/love

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Love Button (love.js)

This is a simple, privacy-friendly solution/replacement for the "Like Button" with persistent like counts (stored centrally for any URL).

Default Usage

Add to header or footer of your website:

<script src="https://lovers.pages.dev/love.js"></script>

Add anywhere on your webpages:

<a class="love-button"></a>

Look up counts for existing URLs:

https://lovers.pages.dev/api/love?url=https://example.com/

Custom Usage

Specify the URL (including query or hashtag) and set custom button content (including text, image, svg, or emoji):

<a href="https://example.com/#test" class="love-button">👍</a>

Recommended Icons

https://lucide.dev/

License

Public Domain

Privacy

love.js does not have any analytics or tracking. When someone likes/unlikes, IPs are never logged, but are briefly held in memory for the purpose of abuse mitigation (rate-limiting). The service is hosted on Cloudflare.

About

love.js — The bestest Like Button that ever there was.

Topics

Resources

Stars

Watchers

Forks

Sponsor this project