{"id":22812534,"url":"https://github.com/kalbhor/memedensity","last_synced_at":"2025-12-13T23:10:54.335Z","repository":{"id":57440783,"uuid":"77861611","full_name":"kalbhor/MemeDensity","owner":"kalbhor","description":":trollface: CLI tool to let you know amount of memes in facebook feed.","archived":false,"fork":false,"pushed_at":"2017-04-14T19:45:11.000Z","size":496,"stargazers_count":44,"open_issues_count":1,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-22T16:19:49.525Z","etag":null,"topics":["cli","facebook","memes","news-feed","selenium","webdriver"],"latest_commit_sha":null,"homepage":"","language":"Python","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/kalbhor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-02T21:02:05.000Z","updated_at":"2023-10-03T15:05:18.000Z","dependencies_parsed_at":"2022-09-02T06:31:01.533Z","dependency_job_id":null,"html_url":"https://github.com/kalbhor/MemeDensity","commit_stats":null,"previous_names":["lakshaykalbhor/memedensity"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalbhor%2FMemeDensity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalbhor%2FMemeDensity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalbhor%2FMemeDensity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalbhor%2FMemeDensity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kalbhor","download_url":"https://codeload.github.com/kalbhor/MemeDensity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250275553,"owners_count":21403680,"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":["cli","facebook","memes","news-feed","selenium","webdriver"],"created_at":"2024-12-12T12:13:11.705Z","updated_at":"2025-12-13T23:10:54.246Z","avatar_url":"https://github.com/kalbhor.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch2\u003e M E M E \u0026nbsp; D E N S I T Y \u003c/h2\u003e\n\n#### Tells you the approximate amount of memes in your facebook newsfeed.\n\n![alt tag](workflow.gif)\n\n## Preface\nSince April 2016, Facebook has been automatically adding alt tags to all images with keywords representing the content of the images:\n\n```html\n\u003cimg csrc=\"https://facebook.com/some-url.jpg\"\nalt=\"Image may contain: golf, grass, outdoor and nature\"\nwidth=\"316\" height=\"237\"\u003e\n```\n\nThey are labeling the images using a [Deep ConvNet](https://medium.com/@ageitgey/machine-learning-is-fun-part-3-deep-learning-and-convolutional-neural-networks-f40359318721#.2zrawvage) built by Facebook's [FAIR team](https://research.fb.com/category/facebook-ai-research-fair/) team.\n\nOn one hand, this is really great. It improves accessibility for blind users who depend on screen readers which are only capable of processing text. But raises privacy concerns too.\n###### Thank you [ageitgey](https://github.com/ageitgey/show-facebook-computer-vision-tags) for originally finding out about this.\n\n##### Anyhow, this script uses this addition by Facebook to it's advantage. MemeDensity reads alt tags of the images in your newsfeed and lets you know the quantity of memes on your feed. \n\n##### Since Facebook doesn't directly allow fetching the newsfeed from its API, this script uses Selenium and PhantomJS to simulate a surf through the newsfeed.\n\n## Dependencies\n\n##### PhantomJS or any other webdriver.\n\n#### MacOS\n```sh\nbrew install phantomjs\n```\n#### Linux\n```sh\nsudo apt-get install phantomjs\n```\n#### Windows\n[Download and set in environment variables](http://phantomjs.org/)\n\n## Installing\n\n#### From Source:\nCheck out the latest [release](https://github.com/kalbhor/MemeDensity/releases)\n##### or\n```sh\n$ git clone https://github.com/kalbhor/MemeDensity\n$ cd MemeDensity\n$ python setup.py install\n```\n\n#### From PyPI:\n```sh\n$ pip install memedensity\n```\n\u003cbr\u003e\n\nIf you'll be using a different webdriver (Not PhantomJS), simply edit [MemeDensity/command_line.py](https://github.com/kalbhor/MemeDensity/blob/master/MemeDensity/command_line.py) and add your webdriver\n```py\ndriver = webdriver.PhantomJS()\n```\n## Options\n```\noptional arguments:\n  -h, --help            show this help message and exit\n  -C, --count           How many times to scroll newsfeed (default = 5)\n  -L, --login           Input login credentials\n  -v, --verbose         Shows meme urls\n```\n\n## Usage\n```sh\n$ memedensity\n```\n## Contributing\nCurrently this project is in its infancy and issues are bound to arise. If the script throws an exception, please make sure to check your running processes to see whether the webdriver has been closed or not. \nTo contribute, [post issues](https://github.com/kalbhor/MemeDensity/issues) without hesitation and [open pull requests](https://github.com/kalbhor/MemeDensity/pulls) to add/improve features.\n\n## License \n#### [MIT](https://github.com/kalbhor/MemeDensity/blob/master/LICENSE)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkalbhor%2Fmemedensity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkalbhor%2Fmemedensity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkalbhor%2Fmemedensity/lists"}