{"id":31747793,"url":"https://github.com/studentweis/mdref","last_synced_at":"2026-03-12T18:54:59.777Z","repository":{"id":314124197,"uuid":"1054205033","full_name":"StudentWeis/mdref","owner":"StudentWeis","description":"Fast Markdown file reference finding and migration tool, written in Rust.","archived":false,"fork":false,"pushed_at":"2025-10-13T03:22:55.000Z","size":63,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-21T20:20:45.589Z","etag":null,"topics":["cli","markdown","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/StudentWeis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING","funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-10T14:06:13.000Z","updated_at":"2025-10-13T03:22:44.000Z","dependencies_parsed_at":"2025-10-09T13:50:11.388Z","dependency_job_id":"ed967539-4824-41af-b64d-3d4127ee1643","html_url":"https://github.com/StudentWeis/mdref","commit_stats":null,"previous_names":["studentweis/mdref"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/StudentWeis/mdref","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudentWeis%2Fmdref","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudentWeis%2Fmdref/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudentWeis%2Fmdref/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudentWeis%2Fmdref/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StudentWeis","download_url":"https://codeload.github.com/StudentWeis/mdref/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StudentWeis%2Fmdref/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30438253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T14:34:45.044Z","status":"ssl_error","status_checked_at":"2026-03-12T14:09:33.793Z","response_time":114,"last_error":"SSL_read: 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":["cli","markdown","rust"],"created_at":"2025-10-09T13:49:35.988Z","updated_at":"2026-03-12T18:54:59.772Z","avatar_url":"https://github.com/StudentWeis.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"**_mdref_**\n\n[![crates.io](https://img.shields.io/crates/v/mdref.svg)](https://crates.io/crates/mdref)\n\nA fast, Rust-based tool for discovering and migrating Markdown references — it processed 155 directories and 1,561 files in just 0.1 seconds. Support search by file or directory.\n\n\u003e [!CAUTION]\n\u003e This project is still in early development, and some features may not be fully functional. Please use it with caution and report any issues you encounter.\n\n# Basic Usage\n\n## Install \u0026 Update\n\nInstall prebuilt binaries via shell script：\n\n```sh\ncurl --proto '=https' --tlsv1.2 -LsSf https://github.com/studentweis/mdref/releases/download/0.3.6/mdref-installer.sh | sh\n```\n\nInstall prebuilt binaries via powershell script\n\n```sh\npowershell -ExecutionPolicy Bypass -c \"irm https://github.com/studentweis/mdref/releases/download/0.3.6/mdref-installer.ps1 | iex\"\n```\n\nUpdate mdref:\n\n```sh\nmdref-update\n```\n\n## Basic command\n\n- find 🔍：Find all markdown references in the specified directory.\n- mv 🔥：Move file and update markdown references.\n- rename 🔄：Rename file and update markdown references.\n\n```sh\n$ mdref find ./examples/main.md\n\nReferences to ./examples/main.md:\n./examples/inner/sub/other.md:3:1 - ../../main.md\n./examples/other.md:7:1 - main.md\n./examples/inner/other.md:3:1 - ../main.md\n./examples/main.md:7:1 - main.md\n./examples/inner/sub/main.md:3:1 - ../../main.md\n./examples/inner/main.md:3:1 - ../main.md\nLinks in ./examples/main.md:\n./examples/main.md:3:2 - main.jpg\n./examples/main.md:5:2 - main.jpg\n./examples/main.md:7:1 - main.md\n./examples/main.md:7:25 - inner/main.md\n./examples/main.md:7:55 - inner/sub/main.md\n./examples/main.md:9:1 - other.md\n./examples/main.md:9:27 - inner/other.md\n./examples/main.md:9:59 - inner/sub/other.md\n```\n\n# Todo\n\n- [ ] More tests.\n- [ ] Directory path support.\n- [ ] Fix the case of link path with space.\n- [ ] VSCode extension.\n- [ ] Preview mode of mv command.\n- [ ] More documentations.\n- [ ] Cargo-dist oranda homepage.\n\n# Acknowledge\n\n- clap\n- walkdir\n- pathdiff\n- regex\n- rayon\n- cargo-dist\n\n# Contributing\n\nIf you want to submit code to this repository, please first refer to [CONTRIBUTING](./CONTRIBUTING).\n\nThanks for your help!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstudentweis%2Fmdref","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstudentweis%2Fmdref","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstudentweis%2Fmdref/lists"}