{"id":20303911,"url":"https://github.com/billstclair/xkcd-click-and-drag","last_synced_at":"2026-03-19T15:08:34.820Z","repository":{"id":4733298,"uuid":"5882214","full_name":"billstclair/xkcd-click-and-drag","owner":"billstclair","description":"Lisp code to pull down all the images in the XKCD \"Click and Drag\" comic","archived":false,"fork":false,"pushed_at":"2012-09-20T18:16:49.000Z","size":5748,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-20T10:52:55.146Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Common Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/billstclair.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-09-20T05:32:04.000Z","updated_at":"2022-09-23T17:56:31.000Z","dependencies_parsed_at":"2022-09-21T00:20:35.217Z","dependency_job_id":null,"html_url":"https://github.com/billstclair/xkcd-click-and-drag","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/billstclair/xkcd-click-and-drag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billstclair%2Fxkcd-click-and-drag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billstclair%2Fxkcd-click-and-drag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billstclair%2Fxkcd-click-and-drag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billstclair%2Fxkcd-click-and-drag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/billstclair","download_url":"https://codeload.github.com/billstclair/xkcd-click-and-drag/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billstclair%2Fxkcd-click-and-drag/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30222503,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T17:00:40.062Z","status":"ssl_error","status_checked_at":"2026-03-07T17:00:39.026Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-14T16:41:38.940Z","updated_at":"2026-03-07T17:04:54.406Z","avatar_url":"https://github.com/billstclair.png","language":"Common Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"On Wednesday, September 19, 2012, XKCD's cartoon was entitled \"Click and Drag\": http://xkcd.com/1110/\n\nI wrote some lisp code to pull down all the image files and create a huge HTML table to display them. The table shows the images reduced from 2048x2048 to 256x256. Click on part of the image to show that square in full resolution (in a new window/tab).\n\nThe result is viewable at http://billstclair.com/click-and-drag/\n\nBoing Boing (http://boingboing.net/2012/09/19/xkcds-14-foot-wide-click-and.html) has provided a link to a site that provides a fully-zoomable dynamic map of the whole space, including some images I missed, since I only walked the space directly connected to the starting point: http://xkcd-map.rent-a-geek.de/\n\nThe lisp code is in \"source/xkcd.lisp\". Load it by cd'ing to the project directory, and executing \"./start [slime-port]\", or by starting a lisp and executing (load \"start\").\n\nI have only tested it in Clozure Common Lisp on a Macintosh.\n\n(xkcd:pull-all)\n  Pull all the files down from xkcd.org, and store them in the www/images directory\n\n(xkcd:reduce-files)\n  Reduce the size of the files in www/images to 256x256 and write in www/small-images\n\n(xkcd:write-html-table)\n  Write www/index.html, a big table displaying all the files downloaded by pull-all.\n\n(xkcd:pull-reduce-and-index)\n  Call pull-all, reduce-files, and write-html-table.\n\nThere are 212 image files, each 2048x2048 pixels.\n\nThe table is 27 images high and 81 images wide, from 19s33w to 8n48e in the coordinate system of the file names. That's 2187 table cells, only 212 of which contain anything but white.\n\nmap.txt shows a simple map of which table locations are filled.\n\nLicensed under THE BILL ST. CLAIR LICENSE (BSCL). See license.txt.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillstclair%2Fxkcd-click-and-drag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbillstclair%2Fxkcd-click-and-drag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillstclair%2Fxkcd-click-and-drag/lists"}