{"id":15136847,"url":"https://github.com/xfgusta/4chanlog","last_synced_at":"2025-09-29T06:30:53.621Z","repository":{"id":125912537,"uuid":"333263907","full_name":"xfgusta/4chanlog","owner":"xfgusta","description":"Get all media links from the 4chan catalog","archived":true,"fork":false,"pushed_at":"2021-02-16T17:15:50.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-09-27T06:42:09.885Z","etag":null,"topics":["4chan","4chan-downloader","c","json-c","libcurl"],"latest_commit_sha":null,"homepage":"","language":"C","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/xfgusta.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-27T01:10:54.000Z","updated_at":"2023-01-27T23:47:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a6ee15d-8869-4656-aec1-290eee54f5ca","html_url":"https://github.com/xfgusta/4chanlog","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/xfgusta%2F4chanlog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xfgusta%2F4chanlog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xfgusta%2F4chanlog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xfgusta%2F4chanlog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xfgusta","download_url":"https://codeload.github.com/xfgusta/4chanlog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234597573,"owners_count":18857980,"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":["4chan","4chan-downloader","c","json-c","libcurl"],"created_at":"2024-09-26T06:41:34.563Z","updated_at":"2025-09-29T06:30:53.274Z","avatar_url":"https://github.com/xfgusta.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 4chanlog\n\n4chanlog - get all media links from the 4chan catalog\n\n## Building on Linux\n\n### Prerequisites\n - `libcurl`\n - `json-c`\n - `gcc`, `clang`, or another C compiler\n\n### Build instruction\n\n`4chanlog` github repo: https://github.com/xfgusta/4chanlog\n\n```\n$ make\n```\n\n## Examples\n\nUse `head` to get the very first 10 links (and width and height as well)\n\n```\n$ ./4chanlog a | head\nhttps://i.4cdn.org/a/1611687714218.png (1400x720)\nhttps://i.4cdn.org/a/1611684376166.png (1328x837)\nhttps://i.4cdn.org/a/1611710223323.png (852x831)\nhttps://i.4cdn.org/a/1611688572006.png (1052x1867)\nhttps://i.4cdn.org/a/1611677138972.jpg (1280x720)\nhttps://i.4cdn.org/a/1611693991934.jpg (258x385)\nhttps://i.4cdn.org/a/1611709538333.jpg (587x501)\nhttps://i.4cdn.org/a/1611710210208.png (713x440)\nhttps://i.4cdn.org/a/1611701248409.png (388x505)\nhttps://i.4cdn.org/a/1611705801081.jpg (800x676)\n```\n\nUse `cut` to get the links (without width and height)\n\n```\n$ ./4chanlog a | head | cut -d ' ' -f 1\nhttps://i.4cdn.org/a/1611684376166.png\nhttps://i.4cdn.org/a/1611709084440.jpg\nhttps://i.4cdn.org/a/1611709952497.jpg\nhttps://i.4cdn.org/a/1611710040273.png\nhttps://i.4cdn.org/a/1611688883147.png\nhttps://i.4cdn.org/a/1611688572006.png\nhttps://i.4cdn.org/a/1611649606360.jpg\nhttps://i.4cdn.org/a/1611709438829.jpg\nhttps://i.4cdn.org/a/1611701800484.jpg\nhttps://i.4cdn.org/a/1611710073405.jpg\n```\n\nUse `cut`, `xargs` and `wget` to save the files \n\n```\n$ ./4chanlog a | cut -d ' ' -f 1 | xargs wget\n...\n[output suppressed]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxfgusta%2F4chanlog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxfgusta%2F4chanlog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxfgusta%2F4chanlog/lists"}