{"id":16343716,"url":"https://github.com/makefu/magnets","last_synced_at":"2025-10-26T00:31:16.728Z","repository":{"id":65354953,"uuid":"755782","full_name":"makefu/magnets","owner":"makefu","description":"crawls funny pictures from various websites via node.js","archived":false,"fork":false,"pushed_at":"2014-01-14T17:44:00.000Z","size":576,"stargazers_count":9,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-31T13:05:43.326Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/makefu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-07-04T01:19:39.000Z","updated_at":"2018-07-23T21:16:37.000Z","dependencies_parsed_at":"2023-01-19T11:05:35.470Z","dependency_job_id":null,"html_url":"https://github.com/makefu/magnets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makefu%2Fmagnets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makefu%2Fmagnets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makefu%2Fmagnets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makefu%2Fmagnets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/makefu","download_url":"https://codeload.github.com/makefu/magnets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238235645,"owners_count":19438725,"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-10-11T00:25:30.606Z","updated_at":"2025-10-26T00:31:16.406Z","avatar_url":"https://github.com/makefu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"FUCKING MAGNETS HOW DO THEY WORK?\n---------------------------------\n\nThis project is designed to be a modular image grabber/crawler written in node.js.\n\nIt's main purpose is derived from this XKCD quote:\n\n\u003e With the collapse of the dollar the government has endorsed an alternate currency.\n\u003e Your monetary worth is now determined by the number of funny pictures savedto your hard drive.\n\n[Quote from XKCD](http://xkcd.com/512/)\n\nThe name was borrowed from [the 'fucking magnets' meme](http://knowyourmeme.com/memes/f-cking-magnets-how-do-they-work).\n\nUSAGE\n=====\n\n\tnpm install\n\t# together with mediengewitter the image_folder should be the same as public/content !\n\timage_folder=/data/images node magnets.js\n\nFEATURES\n=======\n- download all the funny pictures on the internet directly to your hard disk\n- extensible plugin facility with multi-module support\n- modules for high-quality funny pics \n    - icanhascheezburger-network like failblog and lolcats\n    - soup.io\n    - kqe \n    - bildschirmarbeiter\n    - ... more\n- FUNNY PICTURES ALL THE WAY\nTODO:\n=====\n\n  * Live Ticker (scheduler) - partly implemented\n  * Other Plugins ( recently added cheezburger\\_network)\n  * Add debugging and inspection howto\n  * Support commandline options like loglevel \n  * Use node-htmlparser instead of own regex (used in cheezburger as first\n    plugin\n  * meta data for every picture\n\nUsed node.js libraries:\n=======================\n  \n  * [Trollopjs for commandline parsing](http://github.com/bentomas/trollopjs)\n  * [Node-Streamlogger for logging](http://github.com/andrewvc/node-streamlogger)\n  * [Node-Htmlparser for Screen Scraping](http://github.com/tautologistics/node-htmlparser)\n  * [soupselect for CSS selectors after HTML-parsing](http://github.com/harryf/node-soupselect.git)\n  * [Coloredjs for colored VT100 output](http://github.com/pfleidi/colored.js)\n  * [node-wwwdude for http-connections](http://github.com/pfleidi/node-wwwdude.git)\n\nin short:\nnpm install trollop htmlparser soupselect http://github.com/pfleidi/node-wwwdude/tarball/master \n\nWorkaround to delete downloaded html files:\n===========================================\nThis is not necessary  as wwwdude supports redirects!\nFor historic reasons -\u003e $ for i in *; do file $i; done  | grep HTML | awk '{print $1}' | sed -e 's/://' | xargs rm -v\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakefu%2Fmagnets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakefu%2Fmagnets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakefu%2Fmagnets/lists"}