MCPcopy Index your code
hub / github.com/OmarElgabry/Hashtegny

github.com/OmarElgabry/Hashtegny @v2.2.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.2.2 ↗ · + Follow
11 symbols 20 edges 3 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Hashtegny

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

  • Twitter
  • Instagram
  • Google+
  • VK
  • ~~Facebook(Deprecated)~~

Demo

Check Demo

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:


 <link rel="stylesheet" href="https://github.com/OmarElgabry/Hashtegny/raw/v2.2.2/maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">

 <link rel="stylesheet" href="https://github.com/OmarElgabry/Hashtegny/raw/v2.2.2/css/hashtegny.css" type="text/css" />

 <link id="layout-style" rel="stylesheet" href="https://github.com/OmarElgabry/Hashtegny/raw/v2.2.2/css/main.grid.css" type="text/css" />

Add JS Files:


 <script type="text/javascript" src="https://github.com/OmarElgabry/Hashtegny/raw/v2.2.2/node_modules/jquery/dist/jquery.min.js"></script>

 <script type="text/javascript" src="https://github.com/OmarElgabry/Hashtegny/raw/v2.2.2/node_modules/masonry-layout/dist/masonry.pkgd.min.js"></script>

 <script type="text/javascript" src="https://github.com/OmarElgabry/Hashtegny/raw/v2.2.2/node_modules/dot/doT.min.js"></script>

 <script type="text/javascript" src="https://github.com/OmarElgabry/Hashtegny/raw/v2.2.2/node_modules/codebird/codebird.js"></script>

 <script type="text/javascript" src="https://github.com/OmarElgabry/Hashtegny/raw/v2.2.2/js/animations.min.js"></script>
 <script type="text/javascript" src="https://github.com/OmarElgabry/Hashtegny/raw/v2.2.2/js/appear.min.js"></script>

 <script type="text/javascript" src="https://github.com/OmarElgabry/Hashtegny/raw/v2.2.2/js/hashtegny.js"></script>

Finally, Run the plugin:







 <script>
        $(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="https://github.com/OmarElgabry/Hashtegny/raw/v2.2.2/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
                '

 \
                    <img src="https://github.com/OmarElgabry/Hashtegny/raw/v2.2.2/{{=post.attachement_src}}" width="{{=post.attachement_width}}" height="{{=post.attachement_height}}">  \


 \
                        <img src="https://github.com/OmarElgabry/Hashtegny/raw/v2.2.2/{{=post.user_image}}"> \
                        <h4>{{=post.user_name}}</h4> \




{{=post.text}}



 \


<i class="fa fa-clock-o"></i><span> {{=post.time}}</span>

 \


 \


',        
                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
            });
        });
 </script>

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

Contribute by creating new issues, sending pull requests on Github or you can send an email at: omar.elgabry.93@gmail.com

Dependencies

License

Built under MIT license.

Core symbols most depended-on inside this repo

onSuccess
called by 2
js/hashtegny.js
onError
called by 2
js/hashtegny.js
onAlways
called by 2
js/hashtegny.js
doAnimation
called by 1
js/hashtegny.js
SocialNetwork
called by 0
js/hashtegny.js
doUpdateTime
called by 0
js/hashtegny.js

Shape

Function 11

Languages

TypeScript100%

Modules by API surface

js/hashtegny.js6 symbols
js/animations.min.js3 symbols
js/appear.min.js2 symbols

For agents

$ claude mcp add Hashtegny \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact