{"id":20284459,"url":"https://github.com/artyom/mdlinks","last_synced_at":"2026-05-14T22:45:14.822Z","repository":{"id":57647835,"uuid":"443596141","full_name":"artyom/mdlinks","owner":"artyom","description":"Markdown cross-document links checker","archived":false,"fork":false,"pushed_at":"2022-06-17T12:03:45.000Z","size":69,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-01T05:01:59.471Z","etag":null,"topics":["github-action","go","golang","linter","markdown"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/artyom/mdlinks","language":"Go","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/artyom.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}},"created_at":"2022-01-01T18:10:42.000Z","updated_at":"2022-03-19T12:00:55.000Z","dependencies_parsed_at":"2022-08-25T10:11:15.749Z","dependency_job_id":null,"html_url":"https://github.com/artyom/mdlinks","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/artyom/mdlinks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artyom%2Fmdlinks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artyom%2Fmdlinks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artyom%2Fmdlinks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artyom%2Fmdlinks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artyom","download_url":"https://codeload.github.com/artyom/mdlinks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artyom%2Fmdlinks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33046572,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["github-action","go","golang","linter","markdown"],"created_at":"2024-11-14T14:19:49.710Z","updated_at":"2026-05-14T22:45:14.804Z","avatar_url":"https://github.com/artyom.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mdlinks\n\nThis repository provides [Go package](https://pkg.go.dev/github.com/artyom/mdlinks), [command-line tool](#command-line-tool), and [a GitHub Action](#github-action)\nthat can verify cross-document links in a collection of markdown files.\n\nCode scans markdown files for domain-less links and checks if referenced files exist.\nFor example, if a file “doc1.md” has a link with “../img.png” target,\nthis tool will check whether the “img.png” file exists in a “doc1.md” file parent directory.\n\nIf a link references an existing markdown document and has a fragment part,\nthis tool checks that such a link points to an existing markdown header,\nfollowing similar (but not exactly matching) rules of unique ID generating as GitHub markdown rendering.\n\nFor example, use the `#table-of-contents` link fragment to reference the “Table of Contents” header.\n\nUsing special symbols or extra formatting in the header will likely produce an ID that differs from what GitHub could have generated.\n\n## Command-line tool\n\nInstall it like:\n\n```sh\ngo install github.com/artyom/mdlinks/cmd/mdlinks@latest\n```\n\n## GitHub Action\n\nWhen using default settings (scan the repository root directory, look for `*.md` files),\nyou can use this action like this:\n\n```yaml\non:\n  push:\n  pull_request:\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: artyom/mdlinks@main\n```\n\nYou can customize what directory to scan and which files to match:\n\n```yaml\n- uses: artyom/mdlinks@main\n  with:\n    dir: 'docs'\n    glob: '*.markdown'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartyom%2Fmdlinks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartyom%2Fmdlinks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartyom%2Fmdlinks/lists"}