finds.dev← search

// the find

overtrue/share.js

★ 3,764 · JavaScript · MIT · updated Jan 2025

一键分享到微博、QQ空间、QQ好友、微信、腾讯微博、豆瓣、Facebook、Twitter、Linkedin、Google+、点点等

A zero-dependency (or jQuery-optional) social sharing widget for Chinese and Western platforms. Drop in a div, get share buttons for Weibo, WeChat QR code, QQ, Douban, Twitter, Facebook, etc. Aimed at projects that need to support Chinese social networks alongside the usual Western ones.

Handles WeChat's unusual sharing model (QR code popup) which most Western share libraries ignore entirely. Data-attribute configuration means you can wire it up without writing any JavaScript. The no-jQuery build keeps the footprint small. Per-site title/description overrides are genuinely useful when platform character limits differ.

The author's own README opens with a deprecation notice — the project is effectively abandoned as of 2025. Built distribution files are committed to the repo (dist/ checked in), which is a maintenance anti-pattern and means npm consumers get stale builds. Google+ is dead, Tencent Weibo shut down years ago, and neither has been removed. No TypeScript types, no module exports beyond RequireJS, won't play nicely with modern bundlers without shim work.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →