{"id":13397482,"url":"https://github.com/cferdinandi/social-sharing","last_synced_at":"2025-04-05T10:08:31.098Z","repository":{"id":7813757,"uuid":"9184528","full_name":"cferdinandi/social-sharing","owner":"cferdinandi","description":"Add social sharing links and buttons without the bloat.","archived":false,"fork":false,"pushed_at":"2016-08-27T16:50:31.000Z","size":71,"stargazers_count":641,"open_issues_count":0,"forks_count":50,"subscribers_count":31,"default_branch":"master","last_synced_at":"2024-10-12T08:13:27.574Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cferdinandi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-03T01:49:07.000Z","updated_at":"2024-08-28T06:39:26.000Z","dependencies_parsed_at":"2022-08-31T00:31:07.314Z","dependency_job_id":null,"html_url":"https://github.com/cferdinandi/social-sharing","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cferdinandi%2Fsocial-sharing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cferdinandi%2Fsocial-sharing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cferdinandi%2Fsocial-sharing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cferdinandi%2Fsocial-sharing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cferdinandi","download_url":"https://codeload.github.com/cferdinandi/social-sharing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247318744,"owners_count":20919484,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-07-30T18:01:26.371Z","updated_at":"2025-04-05T10:08:31.075Z","avatar_url":"https://github.com/cferdinandi.png","language":"CSS","funding_links":[],"categories":["CSS"],"sub_categories":[],"readme":"# Social Sharing [![Build Status](https://travis-ci.org/cferdinandi/social-sharing.svg)](https://travis-ci.org/cferdinandi/social-sharing)\nAdd social sharing links and buttons without the bloat.\n\n[Download Social Sharing](https://github.com/cferdinandi/social-sharing/archive/master.zip) / [View the demo](http://cferdinandi.github.io/social-sharing/)\n\n\n\n## Getting Started\n\nCompiled and production-ready code can be found in the `dist` directory. The `src` directory contains development code.\n\n### 1. Include Social Sharing on your site.\n\n```html\n\u003clink rel=\"stylesheet\" href=\"dist/css/social-sharing.css\"\u003e\n```\n\nIf you're not using the [Kraken boilerplate](http://cferdinandi.github.io/kraken/), you might also need to include button styling.\n\n### 2. Add the markup to your HTML.\n\n**Branded Buttons**\n\nA few simple classes turn `button` and `a` elements into branded social media buttons.\n\n```html\n\u003ca class=\"btn-tweet\" href=\"#\"\u003eTwitter\u003c/a\u003e\n\u003ca class=\"btn-facebook\" href=\"#\"\u003eFacebook\u003c/a\u003e\n\u003ca class=\"btn-google\" href=\"#\"\u003eGoogle+\u003c/a\u003e\n\u003ca class=\"btn-linkedin\" href=\"#\"\u003eLinkedIn\u003c/a\u003e\n\u003ca class=\"btn-pinterest\" href=\"#\"\u003ePinterest\u003c/a\u003e\n\u003ca class=\"btn-github\" href=\"#\"\u003eGitHub\u003c/a\u003e\n\u003ca class=\"btn-vk\" href=\"#\"\u003eVK\u003c/a\u003e\n\u003ca class=\"btn-xing\" href=\"#\"\u003eXing\u003c/a\u003e\n\u003ca class=\"btn-tumblr\" href=\"#\"\u003eTumblr\u003c/a\u003e\n\u003ca class=\"btn-reddit\" href=\"#\"\u003eReddit\u003c/a\u003e\n```\n\n**Sharing Links**\n\nTo include sharing links for Twitter, Facebook, Google+, LinkedIn and more, just add your URL's and titles where indicated in these snippets. Combine with the branded buttons for sharing buttons.\n\n```html\n\u003ca target=\"_blank\" href=\"https://twitter.com/intent/tweet?text=YOUR-TITLE\u0026url=YOUR-URL\u0026via=TWITTER-HANDLE\"\u003eTweet\u003c/a\u003e\n\n\u003ca target=\"_blank\" href=\"https://www.facebook.com/sharer/sharer.php?u=YOUR-URL\"\u003eShare on Facebook\u003c/a\u003e\n\n\u003ca target=\"_blank\" href=\"https://plus.google.com/share?url=YOUR-URL\"\u003ePlus on Google+\u003c/a\u003e\n\n\u003ca target=\"_blank\" href=\"https://www.linkedin.com/shareArticle?mini=true\u0026url=YOUR-URL\u0026title=YOUR-TITLE\u0026summary=YOUR-SUMMARY\u0026source=YOUR-URL\"\u003eShare on LinkedIn\u003c/a\u003e\n\n\u003ca target=\"_blank\" href=\"https://pinterest.com/pin/create/button/?url=YOUR-URL\u0026description=YOUR-DESCRIPTION\u0026media=YOUR-IMAGE-SRC\"\u003ePin on Pinterest\u003c/a\u003e\n\n\u003ca target=\"_blank\" href=\"https://vk.com/share.php?url=YOUR-URL\u0026title=YOUR-TITLE\u0026description=YOUR-DESCRIPTION\u0026image=YOUR-IMAGE-SRC\u0026noparse=true\"\u003eShare on VK\u003c/a\u003e\n\n\u003ca target=\"_blank\" href=\"https://www.xing-share.com/app/user?op=share;sc_p=xing-share;url=YOUR-URL\"\u003eShare on Xing\u003c/a\u003e\n\n\u003ca target=\"_blank\" href=\"http://www.tumblr.com/share/link?url=YOUR-URL\u0026description=YOUR-DESCRIPTION\"\u003eShare on Tumblr\u003c/a\u003e\n\n\u003ca target=\"_blank\" href=\"http://www.reddit.com/submit?url=YOUR_URL\u0026title=YOUR_TITLE\"\u003eShare on Reddit\u003c/a\u003e\n```\n\nAnd that's it, you're done. Nice work!\n\n\n\n## Installing with Package Managers\n\nYou can install Social Sharing with your favorite package manager.\n\n* **NPM:** `npm install cferdinandi/social-sharing`\n* **Bower:** `bower install https://github.com/cferdinandi/social-sharing.git`\n* **Component:** `component install cferdinandi/social-sharing`\n\n\n\n## Working with the Source Files\n\nIf you would prefer, you can work with the development code in the `src` directory using the included [Gulp build system](http://gulpjs.com/). This compiles, lints, and minifies code, and runs unit tests. It's the same build system that's used by [Kraken](http://cferdinandi.github.io/kraken/), so it includes some unnecessary tasks and Sass variables but can be dropped right in to the boilerplate without any configuration.\n\n### Dependencies\nMake sure these are installed first.\n\n* [Node.js](http://nodejs.org)\n* [Gulp](http://gulpjs.com) `sudo npm install -g gulp`\n\n### Quick Start\n\n1. In bash/terminal/command line, `cd` into your project directory.\n2. Run `npm install` to install required files.\n3. When it's done installing, run one of the task runners to get going:\n\t* `gulp` manually compiles files.\n\t* `gulp watch` automatically compiles files when changes are made and applies changes using [LiveReload](http://livereload.com/).\n\n\n\n## Browser Compatibility\n\nSocial Sharing works in all modern browsers, and IE 6 and above.\n\n\n\n## How to Contribute\n\nIn lieu of a formal style guide, take care to maintain the existing coding style. Please apply fixes to both the development and production code. Don't forget to update the version number, and when applicable, the documentation.\n\n\n\n## License\n\nThe code is available under the [MIT License](LICENSE.md).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcferdinandi%2Fsocial-sharing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcferdinandi%2Fsocial-sharing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcferdinandi%2Fsocial-sharing/lists"}