{"id":18492387,"url":"https://github.com/makevoid/headshot","last_synced_at":"2025-05-14T00:33:15.312Z","repository":{"id":136508253,"uuid":"2260083","full_name":"makevoid/headshot","owner":"makevoid","description":"Takes a page screenshot, manipulates it and shows it via js - currently using url2png","archived":false,"fork":false,"pushed_at":"2012-07-08T09:26:47.000Z","size":148,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T06:02:46.106Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://hshot.mkvd.net","language":"Ruby","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/makevoid.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":"2011-08-24T07:03:28.000Z","updated_at":"2013-10-09T22:32:02.000Z","dependencies_parsed_at":"2023-03-13T11:00:50.738Z","dependency_job_id":null,"html_url":"https://github.com/makevoid/headshot","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/makevoid%2Fheadshot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makevoid%2Fheadshot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makevoid%2Fheadshot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makevoid%2Fheadshot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/makevoid","download_url":"https://codeload.github.com/makevoid/headshot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254046377,"owners_count":22005578,"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-11-06T13:07:39.940Z","updated_at":"2025-05-14T00:33:10.298Z","avatar_url":"https://github.com/makevoid.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HeadShot - Takes a page screenshot, manipulates it and shows it via js\n\n### current status\n\n- prototyped\n\nI stopped this project because it was a free demo for a client, but it's open source so use/fork it if you need/like it \n\n\n\n## Notes:\n\n### url2png\n\n    gem i url2png\n\n### peeping-tom installation\n\nhttp://www.alexxoid.com/blog/linux/how-to-install-khtml2png.html\n\n    sudo aptitude install xvfb xfonts-base xfonts-75dpi xfonts-100dpi imagemagick ttf-mscorefonts-installer python-qt4 python-qt4 build-essential flashplugin-installer git-core\n\n    gem install redis sinatra json resque\n    wget http://github.com/AdamN/python-webkit2png/raw/master/webkit2png.py\n    sudo cp webkit2png.py /usr/bin/\n    sudo chmod o+x /usr/bin/webkit2png.py\n\n    git clone git://github.com/bandito/peeping-tom.git\n\n\n\n### khtml2png installation\n\n    apt-get install g++ kdelibs zlib1g-dev cmake\n\nnot sure:\n  \n    apt-get install libx11-dev kdelibs4-dev\n\n    wget http://sourceforge.net/projects/khtml2png/files/khtml2png2/2.7.7/khtml2png-2.7.7.tar.gz/download\n    mv download khtml2png-2.7.7.tar.gz\n    tar xvf khtml2png-2.7.7.tar.gz\n    cd khtml2png-2.7.7\n    ./configure\n    make\n    make install\n\n    apt-get install xvfb\n\n    Xvfb :2 -screen 0 1024x768x24\u0026\n    DISPLAY=localhost:2.0 khtml2png2 http://google.com google.png\n    \n    \n### mozshot\n\ndrawbacks: requires full x running\n\nhttps://github.com/sugi/mozshot","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakevoid%2Fheadshot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakevoid%2Fheadshot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakevoid%2Fheadshot/lists"}