{"id":18332908,"url":"https://github.com/anychart/link-checker","last_synced_at":"2025-04-09T18:40:31.760Z","repository":{"id":62435408,"uuid":"92795515","full_name":"AnyChart/link-checker","owner":"AnyChart","description":"ARCHIVED. A Clojure library designed to find broken links in your site.","archived":false,"fork":false,"pushed_at":"2018-10-31T09:36:10.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-03-17T00:30:13.576Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AnyChart.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-30T03:41:56.000Z","updated_at":"2024-07-24T05:56:51.000Z","dependencies_parsed_at":"2022-11-01T21:16:06.652Z","dependency_job_id":null,"html_url":"https://github.com/AnyChart/link-checker","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/AnyChart%2Flink-checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnyChart%2Flink-checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnyChart%2Flink-checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnyChart%2Flink-checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnyChart","download_url":"https://codeload.github.com/AnyChart/link-checker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248089692,"owners_count":21045951,"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-05T19:40:35.262Z","updated_at":"2025-04-09T18:40:31.737Z","avatar_url":"https://github.com/AnyChart.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# link-checker\n\nA Clojure library to search for broken links on a web site.\n\n## Installation\n\n#### Leiningen\n\n[![Clojars Project](https://clojars.org/com.anychart/link-checker/latest-version.svg)](https://clojars.org/com.anychart/link-checker)\n\n\n## Usage\n\n\n```clojure\n(ns my-app.core\n  (:require [link-checker.core :as link-checker]\n            [link-checker.utils :as link-checker-utils]))\n\n\n(link-checker/start-by-sitemap-url\n  \"https://docs.anychart.com/sitemap\"\n  {;; function for filtering links to process\n   :check-fn         (fn [url data]\n                       (.contains url \"//docs.anychart.com\"))\n   ;; function which to be invoked for each iteration to control the process\n   :iteration-fn     (fn [iteration urls-count remaining-checked-urls-count total-urls-count]\n                       (println \"Iteration: \" iteration urls-count remaining-checked-urls-count total-urls-count))\n   ;; each loop sends 100 requests\n   :max-loop-count   50\n   ;; apply to urls like '//example.com'\n   :default-protocol \"https\"\n   ;; invoke on end\n   :end-fn           (fn [result]\n                       ;; broken pages\n                       (println \"RESULT: \" result)\n                       ;; pages that have links to broken pages\n                       (println \"REVERTED RESULT: \" (link-checker-utils/revert-result result)))})\n```\n\n## License\n[© AnyChart.com - JavaScript charts](http://www.anychart.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanychart%2Flink-checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanychart%2Flink-checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanychart%2Flink-checker/lists"}