{"id":15319112,"url":"https://github.com/zoontek/lssb","last_synced_at":"2026-06-14T18:37:00.126Z","repository":{"id":21014807,"uuid":"24307336","full_name":"zoontek/lssb","owner":"zoontek","description":"Lightweight social share buttons","archived":false,"fork":false,"pushed_at":"2016-04-19T22:12:13.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-03-24T19:34:43.286Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://zoontek.github.io/lssb/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zoontek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-21T23:04:34.000Z","updated_at":"2018-01-26T16:08:11.000Z","dependencies_parsed_at":"2022-08-31T02:01:04.359Z","dependency_job_id":null,"html_url":"https://github.com/zoontek/lssb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zoontek/lssb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoontek%2Flssb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoontek%2Flssb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoontek%2Flssb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoontek%2Flssb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zoontek","download_url":"https://codeload.github.com/zoontek/lssb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoontek%2Flssb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34333806,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T09:03:46.855Z","updated_at":"2026-06-14T18:37:00.109Z","avatar_url":"https://github.com/zoontek.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## LSSB (Lightweight social share buttons)\n\n[Demo is available on the Github page.](http://zoontek.github.io/lssb/) \n\nIt's a fact: Social share buttons sucks. They request a shitload of css / js, use raster images, and I don't say a word about how difficult is it to align them.\nLSSB is heavily inspired by [RRSSB](https://github.com/kni-labs/rrssb) (huge thank to them!), but provide official looking buttons, and doesn't have any requirement (because, you know… lightweight buttons that need jQuery… ugh).\nFacebook, Twitter and Google+ are available at this moment.\n\nDid I mention it looks fabulous on high-dpi displays?\n\n## Usage\n\n1) Link to the css file in your head.\n\n```html\n\u003clink rel=\"stylesheet\" href=\"css/lssb.css\"\u003e\n```\n\n2) Link to the js file in your footer.\n\n```html\n\u003cscript src=\"js/lssb.js\"\u003e\u003c/script\u003e\n```\n\n3) Add buttons, change data-url attributes values.\n*(You have a full working example in the /example folder)*\n\n```html\n\u003c!-- twitter button --\u003e\n\u003ca class=\"lssb-btn lssb-tw\" href=\"https://twitter.com/share\" data-url=\"https://github.com/zoontek/lssb\"\u003e\n    \u003cspan class=\"lssb-icon lssb-tw-icon\"\u003e\n        \u003c!-- twitter.svg content --\u003e\n        \u003csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 12 12\" enable-background=\"new 0 0 12 12\"\u003e\n            \u003cg fill=\"#fff\"\u003e\n                \u003cpath d=\"M2.3 7.7c-.1 0-.2-.1-.3-.2h-.6c.2.5.4.9.9 1.2.1.1.2.1.3.2.4-.2.8-.4 1.1-.7-.5 0-.9-.2-1.4-.5zM1.7 4.4c-.3-.2-.6-.5-.8-.9-.1-.3-.2-.5-.2-.7 0 .2-.1.3-.1.5 0 .3.1.6.2.9.2.1.6.2.9.2zM10.8 3.5s-.1 1.3-.3 2-.5 1.2-.9 1.8c-.4.6-.9 1.1-1.4 1.6-.6.5-1.2.8-2 1.1-.8.3-1.6.4-2.5.4-.7 0-1.3-.1-1.9-.3-.4.1-.8.2-1.3.2h-.6c1.1.7 2.4 1.1 3.8 1.1.9 0 1.7-.1 2.5-.4.8-.3 1.4-.6 2-1.1.5-.5 1-1 1.4-1.6.4-.6.7-1.2.9-1.9s.3-1.3.3-2V3.5zM1.6 7.1c-.1-.2-.1-.4-.2-.6h.5c.2 0 .4 0 .7-.1-.6-.1-1.1-.4-1.4-.8-.1-.1-.2-.3-.3-.4-.1 0-.2-.1-.3-.1 0 .6.2 1.1.6 1.6.1.1.3.2.4.4z\"/\u003e\n            \u003c/g\u003e\n            \u003cpath fill=\"#23aae3\" d=\"M10.6 2.2c.5-.3.9-.8 1.1-1.4-.5.3-1 .5-1.6.6C9.6.9 9 .6 8.3.6s-1.3.3-1.7.7-.7 1.1-.7 1.8c0 .2 0 .4.1.6-1-.1-1.9-.4-2.8-.8-.9-.5-1.6-1.1-2.3-1.8-.2.4-.3.8-.3 1.2s.1.8.3 1.2.5.7.8.9c-.4 0-.8-.1-1.1-.3 0 .6.2 1.1.6 1.6.3.3.8.6 1.4.7-.3.1-.5.1-.7.1h-.5c.2.5.4.9.9 1.2.5.3.9.5 1.4.5-.9.7-1.9 1.1-3.1 1.1H0c1.1.7 2.4 1.1 3.8 1.1.9 0 1.7-.1 2.5-.4.8-.3 1.4-.6 2-1.1.5-.5 1-1 1.4-1.6s.7-1.2.9-1.9.3-1.3.3-2v-.3c.5-.4.9-.8 1.2-1.3-.6.2-1 .3-1.5.4z\"/\u003e\n            \u003cg fill=\"#0091c9\"\u003e\n                \u003cpath d=\"M6.6 2.3c.4-.4 1-.7 1.7-.7s1.3.3 1.8.8c.4-.1.7-.2.5-.2.5-.3.9-.8 1.1-1.4-.5.3-1 .5-1.6.6C9.6.9 9 .6 8.3.6s-1.3.3-1.7.7c-.4.4-.7 1.1-.7 1.8 0 .2 0 .3.1.5 0-.6.3-1 .6-1.3zM.9 2.1c.7.7 1.4 1.3 2.3 1.8.9.4 1.8.7 2.8.8-.1-.2-.1-.4-.1-.6 0-.1 0-.3.1-.4-1-.1-1.9-.4-2.7-.8-1-.5-1.7-1.1-2.4-1.8-.2.4-.3.8-.3 1.2 0 .2 0 .3.1.5 0-.3.1-.5.2-.7z\"/\u003e\n            \u003c/g\u003e\n        \u003c/svg\u003e\n    \u003c/span\u003e\n    \u003c!-- you can edit the text of a button --\u003e\n    \u003cspan class=\"lssb-text lssb-tw-text\"\u003eTweet\u003c/span\u003e\n\u003c/a\u003e\n\n\u003c!-- facebook button --\u003e\n\u003ca class=\"lssb-btn lssb-fb\" data-url=\"https://github.com/zoontek/lssb\" href=\"https://www.facebook.com/sharer/sharer.php\"\u003e\n    \u003cspan class=\"lssb-icon lssb-fb-icon\"\u003e\n        \u003c!-- facebook.svg content --\u003e\n        \u003csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 12 12\" enable-background=\"new 0 0 12 12\"\u003e\n            \u003cpath fill=\"#fff\" d=\"M11 0H1C.4 0 0 .4 0 1v10c0 .6.4 1 1 1h5V8H4V6h2V4.3c0-.7.2-1.3.6-1.7.4-.4 1-.6 1.7-.6.4 0 1.2 0 1.7.1V4H9c-.4 0-.6.1-.8.2-.1.2-.2.4-.2.7V6h2v2H8v4h3c.6 0 1-.4 1-1V1c0-.6-.4-1-1-1z\"/\u003e\n        \u003c/svg\u003e\n    \u003c/span\u003e\n    \u003c!-- you can edit the text of a button --\u003e\n    \u003cspan class=\"lssb-text lssb-fb-text\"\u003eShare\u003c/span\u003e\n\u003c/a\u003e\n\n\u003c!-- google+ button --\u003e\n\u003ca class=\"lssb-btn lssb-gp\" href=\"https://plus.google.com/share\" data-url=\"https://github.com/zoontek/lssb\"\u003e\n    \u003cspan class=\"lssb-icon lssb-gp-icon\"\u003e\n        \u003c!-- google.svg content --\u003e\n        \u003csvg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 14 14\" enable-background=\"new 0 0 14 14\"\u003e\n            \u003cpath fill=\"#dd4b38\" d=\"M7.2 8l-.6-.6c-.2-.1-.5-.3-.5-.7 0-.4.3-.7.5-.9.8-.6 1.5-1.3 1.5-2.6S7.5 1.3 7.2 1h.9L9 0H5.4c-1 0-2.2.1-3.3 1C1.3 1.7.9 2.6.9 3.5c0 1.4 1.1 2.9 3 2.9h.6c0 .1-.1.3-.1.6 0 .6 0 .8.3 1.1-.9.1-2.2.2-3.3.9C.3 9.6 0 10.7 0 11.4 0 12.7 1.3 14 3.9 14c3.2 0 4.8-1.7 4.8-3.5C8.8 9.3 8 8.6 7.2 8zM2.5 2.6c0-.5.1-1 .4-1.4.3-.4.8-.6 1.3-.6C5.7.6 6.5 2.7 6.5 4c0 .3 0 .9-.5 1.3-.2.3-.7.5-1.2.5-1.6 0-2.3-2-2.3-3.2zm2.3 10.6c-2 0-3.2-.9-3.2-2.2s1.1-1.7 1.5-1.8c.8-.3 1.8-.3 1.8-.3h.7c1.1.5 2 1.5 2 2.4-.1 1.1-1 1.9-2.8 1.9zM14 6h-2V4h-1v2H9v1h2v2h1V7h2z\"/\u003e\n        \u003c/svg\u003e\n    \u003c/span\u003e\n    \u003c!-- you can edit the text of a button --\u003e\n    \u003cspan class=\"lssb-text lssb-gp-text\"\u003eShare\u003c/span\u003e\n\u003c/a\u003e\n```\n\n## Optionnal attributes\n\n`data-url`\nShared URL.\nDefault: Page URL\n\n`data-height`\nHeight of the popup.\nDefault: 410\n\n`data-width`\nWidth of the popup.\nDefault: 580\n\n### For Twitter only\n\n`data-text`\nTweet text.\nDefault: Page title\n\n`data-hashtags`\nHashtags, separated by a comma.\n\n`data-via`\nvia @account.\n\n`data-related`\nRelated accounts, separated by a comma.\n\n## Browser support\n\nIE9+\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoontek%2Flssb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzoontek%2Flssb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoontek%2Flssb/lists"}