ellisonleao/sharer.js
:on: :bookmark: Create your own social share buttons. No jquery. Just vanilla JS observed · 2026-08-28
Health v2 · maintenance only
65/100
- Activity 93
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3911
- days_rel: 524
- days_push: 43
- n_releases_24m: 1
Adoption not part of the score
2094 stars · 202 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Sharer.js is a tiny dependency-free vanilla JavaScript library for creating custom social share buttons on DOM elements. It supports over 20 social networks including Twitter/X, Facebook, WhatsApp, Telegram, and Reddit via simple data-* attributes.
Use cases
- add social share buttons to a website without jquery
- create custom styled share links for twitter and facebook
- share page url to whatsapp and telegram from a button
- dynamically bind share behavior to injected dom elements
- lightweight social sharing widget with no dependencies
When to choose
- you want a tiny, zero-dependency vanilla JS share button library
- you need to support many social networks with simple data attributes
- you want custom-styled share buttons instead of provider widgets
When to avoid
- you need share counts or analytics from social platforms
- you use a framework with its own share component ecosystem
- you need server-side share link generation
Facets
library · maturity stable
ui-components developer-tools web-development frontend social-media browser share-buttons vanilla-javascript social-media zero-dependencies frontend javascript
3 sources
- readme: https://github.com/ellisonleao/sharer.js · fetched 2026-08-28 · 4dbab2127233
- homepage: http://ellisonleao.github.io/sharer.js · fetched 2026-08-29 · 91b54dd64271
- registry_npm: https://registry.npmjs.org/sharer.js · fetched 2026-08-29 · 0f237a7200c0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ellisonleao/sharer.js | main | 65 |
For agents
markdown · JSON · MCP: product_card(name="ellisonleao/sharer.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem