Giter Site home page Giter Site logo

aharl / indiesocial Goto Github PK

View Code? Open in Web Editor NEW

This project forked from komachi/indiesocial

0.0 2.0 0.0 371 KB

JavaScript library which let you use social share links without foreign scripts. Control all your data, protect your privacy.

Home Page: https://nesterov.pw/indiesocial

License: Creative Commons Zero v1.0 Universal

JavaScript 34.39% CSS 26.68% HTML 38.93%

indiesocial's Introduction

IndieSocial

JavaScript library which let you use social share links without foreign scripts. Control all your data, protect your privacy.

  • Without foreign scripts.
  • Protect privacy.
  • Easy customizable with CSS and JS.
  • Works perfectly with Fontello.
  • Released under CC0 License.
  • Near 1 KB minified and gzipped.

How to use

  1. Load indiesocial.js.
  2. Place element with id="indiesocial-init" where you want see buttons.
  3. Configure it.

You can also install IndieSocial with bower...

bower install indiesocial

...or npm, the package manager for JavaScript

npm install indiesocial

Parameters

  1. Enable social share links: data-indieSocialServices. Set to all if you want use all services.
  2. Add Fontello icons to share links: data-addFontelloIcon Possible values: true or false. Default: false.
  3. Add text to share links: data-addText Possible values: true or false. Default: false.
  4. Set URL for share: data-URL. Default: window.location.
  5. Set title: data-title. Not work with Google+, use OpenGraph.

Supported services

  1. Facebook
  2. Twitter
  3. VK
  4. Odnoklassniki
  5. Google+
  6. FriendFeed
  7. LinkedIn
  8. Tumblr
  9. Blogger
  10. Diigo
  11. Reddit
  12. Delicious
  13. Digg
  14. StumbleUpon
  15. Pinterest
  16. Evernote
  17. Instapaper
  18. Hacker News

indiesocial's People

Contributors

isnit0 avatar komachi avatar jrgtt avatar maxgfeller avatar jrstanley avatar

Watchers

Andy Harl avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.