{"id":13551098,"url":"https://github.com/writeas/siteshot","last_synced_at":"2025-05-05T17:33:17.677Z","repository":{"id":90407143,"uuid":"48904281","full_name":"writeas/siteshot","owner":"writeas","description":"Website screenshot capturer written in Go.","archived":false,"fork":false,"pushed_at":"2019-02-21T18:37:52.000Z","size":67,"stargazers_count":17,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T02:12:21.436Z","etag":null,"topics":["imagemagick","web-app","webkit2png","website-screenshot-capturer","xvfb"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/writeas.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-01-02T08:56:05.000Z","updated_at":"2025-02-11T21:32:19.000Z","dependencies_parsed_at":"2024-01-21T20:12:04.206Z","dependency_job_id":null,"html_url":"https://github.com/writeas/siteshot","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/writeas%2Fsiteshot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writeas%2Fsiteshot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writeas%2Fsiteshot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/writeas%2Fsiteshot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/writeas","download_url":"https://codeload.github.com/writeas/siteshot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252542519,"owners_count":21764983,"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":["imagemagick","web-app","webkit2png","website-screenshot-capturer","xvfb"],"created_at":"2024-08-01T12:01:42.297Z","updated_at":"2025-05-05T17:33:17.348Z","avatar_url":"https://github.com/writeas.png","language":"Go","funding_links":[],"categories":["Go","others"],"sub_categories":[],"readme":"siteshot\n========\n![AGPL license](https://img.shields.io/github/license/writeas/siteshot.svg)\n\nWebsite screenshot capturer written in Go and designed to run without an X session (thanks to [Xvfb](http://www.x.org/archive/X11R7.6/doc/man/man1/Xvfb.1.xhtml)).\n\n## Dependencies\n\n* Python\n* [ImageMagick](http://www.imagemagick.org/)\n* [webkit2png](https://github.com/adamn/python-webkit2png)\n* [Xvfb](http://www.x.org/archive/X11R7.6/doc/man/man1/Xvfb.1.xhtml)\n\n## Usage\n\nSend a POST request with a `url` field to the server. Any other request returns `400 Bad Request`.\n\n`curl --data \"url=https://html.house/xpeoccu2.html\" http://localhost:3333`\n\n## Installation\n\nTested on Ubuntu 14.04 with Python 2.7 / pip 1.5.4.\n\n**TL;DR** `sudo apt-get install xvfb imagemagick python-qt4 libqt4-webkit \u0026\u0026 pip install git+https://github.com/adamn/python-webkit2png.git \u0026\u0026 go get github.com/writeas/siteshot`\n\n1. Get ImageMagick: `sudo apt-get install imagemagick`\n2. Get Xvfb: `sudo apt-get install xvfb`\n3. Get webkit2png dependencies: `sudo apt-get install python-qt4 libqt4-webkit`\n4. Get webkit2png: `pip install git+https://github.com/adamn/python-webkit2png.git` (from a [GitHub comment](https://github.com/adamn/python-webkit2png/issues/55#issuecomment-150974776))\n5. Get siteshot: `go get github.com/writeas/siteshot`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwriteas%2Fsiteshot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwriteas%2Fsiteshot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwriteas%2Fsiteshot/lists"}