Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/omarelgabry/hashtegny
jQuery Plugin aggregates hashtags from different social media networks. Posts are displayed in a unique, & attractive grid, and animated layout.
https://github.com/omarelgabry/hashtegny
hashtags jquery jquery-plugin social social-network
Last synced: about 1 month ago
JSON representation
jQuery Plugin aggregates hashtags from different social media networks. Posts are displayed in a unique, & attractive grid, and animated layout.
- Host: GitHub
- URL: https://github.com/omarelgabry/hashtegny
- Owner: OmarElgabry
- License: mit
- Created: 2014-11-09T01:47:20.000Z (about 10 years ago)
- Default Branch: gh-pages
- Last Pushed: 2018-01-24T04:57:44.000Z (almost 7 years ago)
- Last Synced: 2024-11-16T18:37:28.351Z (about 1 month ago)
- Topics: hashtags, jquery, jquery-plugin, social, social-network
- Language: JavaScript
- Homepage: http://omarelgabry.github.io/Hashtegny/
- Size: 1.81 MB
- Stars: 54
- Watchers: 12
- Forks: 28
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
![Hashtegny](https://raw.githubusercontent.com/OmarElGabry/Hashtegny/gh-pages/img/hashtegny.PNG)
# Hashtegny
jQuery Plugin aggregates hashtags from different social media networks. Posts are displayed in a unique, & attractive grid, and animated layout.
You can use it for personal purpose, during any conference or event, for an organization, or even at a Store. So, you can engage the audiences anywhere and increase your interaction and impact.
_How to do that?_ Simply you can use it on your website, mobile, TV displays, or using projectors on a wall.
### Social Networks Supported
+ Google+
+ VK
+ ~~Facebook(Deprecated)~~## Demo
Check [Demo](http://omarelgabry.github.io/Hashtegny/)
## Features
+ Aggregates hashtags from different social media networks.
+ Displays the posts in a grid and animated layout.
+ You can define your own template for posts.
+ Works on different screen sizes.
+ It automatically updates the time stamp of each post.
+ It automatically adds recent posts if any.
+ Posts are sorted according to the time they were created at.
+ Posts are clickable.
+ Ready to be used anywhere; conference, event, at a Store.
+ You can use it on your websites, mobile, TV, Using projectors on wall.
+ Build based on latest version of jQuery(CDN)
+ Easy to be maintained and customized.## Install
You can install with npm```
npm install hashtegny
```## Getting Started
Add CSS Files:
```html
```Add JS Files:
```html
```Finally, Run the plugin:
```html
```
```js
$(document).ready(function(){// this line of code because GitHub Pages(or something else weird) changes the link tags to style tags.
$("style#layout-style").after('<link id="layout-style" rel="stylesheet" href="css/main.grid.css" type="text/css" />').remove();
// start the plugin & pass your options
$('#hashtegny-container').hashtegny({
twitter:{
enable: true,
hashtag: "twitter",
count: 5 // number of posts to be displayed
},
google:{
enable: true,
hashtag: "google",
count: 5
},
instagram:{
enable: true,
hashtag: "insta",
count: 5
},
vk:{
enable: true,
hashtag: "зима",
count: 5
},
textLength: 300, // max length of post content
animate: 8, // time of animation for each post in seconds
refresh: 60, // add recent posts if any evey 60 seconds
updateTime: 60, // update post time every 60 second(1 min)
template: "default.html", // filename for the post template. The 'template' has a priority over 'template_html' if not assigned to null
template_html: // HTML for the post template
'<div> \
<img src="{{=post.attachement_src}}" width="{{=post.attachement_width}}" height="{{=post.attachement_height}}"> \
<div> \
<img src="{{=post.user_image}}"> \
<h4>{{=post.user_name}}</h4> \
<div onclick="window.open(\'{{=post.url}}\');"><p>{{=post.text}}</p></div> \
<p><i class="fa fa-clock-o"></i><span> {{=post.time}}</span></p> \
</div> \
</div>',
callback: function() { // A callback function which will fire when all the posts are fetched and displayed
console.log("Posts have been fetched and displayed");
},
background: false, // add background image(i.e 'background.jpg'). Images are inside img folder.
showError: false // show error alert box if any error encountered
});
});
```## Support
I've written this script in my free time during my studies. This is for free, unpaid. If you find it useful, please support the project by spreading the word.Contribute by creating new issues, sending pull requests on Github or you can send an email at: [email protected]
## Dependencies
+ [Twitter JS Library](https://github.com/jublonet/codebird-js)
+ [Template Engine](https://github.com/olado/doT)
+ [Animations](https://github.com/joemottershaw/animations)
+ [Grid Layout](https://github.com/desandro/masonry)
+ [Font Awesome](https://github.com/FortAwesome/Font-Awesome)## License
Built under [MIT](http://www.opensource.org/licenses/mit-license.php) license.