{"id":31327963,"url":"https://github.com/garthdb/scripture-links","last_synced_at":"2026-06-15T20:31:21.847Z","repository":{"id":313309976,"uuid":"1050915133","full_name":"GarthDB/scripture-links","owner":"GarthDB","description":"A Rust CLI tool for generating links to LDS scriptures on ChurchofJesusChrist.org. Supports single references, text processing, and file processing with comprehensive validation.","archived":false,"fork":false,"pushed_at":"2025-09-22T16:26:30.000Z","size":280,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-22T17:54:41.694Z","etag":null,"topics":["church-of-jesus-christ","cli","lds","markdown","mormon","rust","scripture","url-generator"],"latest_commit_sha":null,"homepage":"http://garthdb.com/scripture-links/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GarthDB.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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-05T06:31:07.000Z","updated_at":"2025-09-22T16:26:27.000Z","dependencies_parsed_at":"2025-09-05T08:29:27.134Z","dependency_job_id":"255969eb-7118-4800-9637-3008d8b44813","html_url":"https://github.com/GarthDB/scripture-links","commit_stats":null,"previous_names":["garthdb/scripture-links"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/GarthDB/scripture-links","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GarthDB%2Fscripture-links","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GarthDB%2Fscripture-links/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GarthDB%2Fscripture-links/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GarthDB%2Fscripture-links/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GarthDB","download_url":"https://codeload.github.com/GarthDB/scripture-links/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GarthDB%2Fscripture-links/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276997226,"owners_count":25742397,"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","status":"online","status_checked_at":"2025-09-25T02:00:09.612Z","response_time":80,"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":["church-of-jesus-christ","cli","lds","markdown","mormon","rust","scripture","url-generator"],"created_at":"2025-09-25T23:39:42.839Z","updated_at":"2025-09-25T23:39:46.647Z","avatar_url":"https://github.com/GarthDB.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scripture Links CLI Tool\n\nA Rust command-line tool that converts scripture references into links to [ChurchofJesusChrist.org](https://www.churchofjesuschrist.org/study/scriptures).\n\n[![Rust](https://img.shields.io/badge/rust-1.70+-orange.svg)](https://www.rust-lang.org)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![CI](https://github.com/GarthDB/scripture-links/actions/workflows/ci.yml/badge.svg)](https://github.com/GarthDB/scripture-links/actions/workflows/ci.yml)\n[![Security Audit](https://github.com/GarthDB/scripture-links/actions/workflows/security.yml/badge.svg)](https://github.com/GarthDB/scripture-links/actions/workflows/security.yml)\n[![codecov](https://codecov.io/gh/GarthDB/scripture-links/branch/main/graph/badge.svg)](https://codecov.io/gh/GarthDB/scripture-links)\n\n## Features\n\n- 🔗 **Single Reference**: Convert individual scripture references to URLs\n- 📝 **Text Processing**: Find and convert scripture references in text to markdown links  \n- 📁 **File Processing**: Process entire files (markdown, text, etc.)\n- ✅ **Comprehensive Validation**: Chapter and verse range checking\n- 🔤 **Multiple Formats**: Full names, abbreviations, case-insensitive\n- 📚 **All Standard Works**: Old Testament, New Testament, Book of Mormon, D\u0026C, Pearl of Great Price\n\n## Installation\n\n### Homebrew (macOS/Linux)\n\n```bash\n# Add the tap\nbrew tap garthdb/scripture-links\n\n# Install the CLI tool\nbrew install scripture-links\n```\n\n### Download Release Binary\n\nDownload the latest release from the [releases page](https://github.com/GarthDB/scripture-links/releases).\n\n### From Source (Rust required)\n\n```bash\ngit clone https://github.com/GarthDB/scripture-links.git\ncd scripture-links\ncargo build --release\n```\n\nThe binary will be available at `target/release/scripture-links`.\n\n## Usage\n\n### Single Reference\n```bash\nscripture-links --reference \"Isa. 6:5\"\n```\n\n### Process Text\n```bash\nscripture-links --text \"See Genesis 1:1 for creation story\"\n```\n\n### Process File\n```bash\nscripture-links --file document.md\n```\n\n## Examples\n\n### Official Abbreviations\n| Input | Output |\n|-------|--------|\n| `\"Isa. 6:5\"` | `https://www.churchofjesuschrist.org/study/scriptures/ot/isa/6?lang=eng\u0026id=p5#p5` |\n| `\"Jer. 23:5\"` | `https://www.churchofjesuschrist.org/study/scriptures/ot/jer/23?lang=eng\u0026id=p5#p5` |\n| `\"2 Ne. 10:14-15\"` | `https://www.churchofjesuschrist.org/study/scriptures/bofm/2-ne/10?lang=eng\u0026id=p14-15#p14` |\n| `\"D\u0026C 128:22-23\"` | `https://www.churchofjesuschrist.org/study/scriptures/dc-testament/dc/128?lang=eng\u0026id=p22-23#p22` |\n| `\"Matt. 5:3-4\"` | `https://www.churchofjesuschrist.org/study/scriptures/nt/matt/5?lang=eng\u0026id=p3-4#p3` |\n\n### Full Book Names (Also Supported)\n| Input | Output |\n|-------|--------|\n| `\"Genesis 1:1\"` | `https://www.churchofjesuschrist.org/study/scriptures/ot/gen/1?lang=eng\u0026id=p1#p1` |\n| `\"2 Nephi 10:14\"` | `https://www.churchofjesuschrist.org/study/scriptures/bofm/2-ne/10?lang=eng\u0026id=p14#p14` |\n| `\"Matthew 5:3\"` | `https://www.churchofjesuschrist.org/study/scriptures/nt/matt/5?lang=eng\u0026id=p3#p3` |\n| `\"Revelation 22:21\"` | `https://www.churchofjesuschrist.org/study/scriptures/nt/rev/22?lang=eng\u0026id=p21#p21` |\n\n## Supported Scripture References\n\nThe tool supports all standard works with their official abbreviations from [ChurchofJesusChrist.org](https://www.churchofjesuschrist.org/study/scriptures/quad/quad/abbreviations?lang=eng):\n\n- **Old Testament**: Gen., Ex., Lev., Num., Deut., Josh., Judg., Ruth, 1 Sam., 2 Sam., 1 Kgs., 2 Kgs., 1 Chr., 2 Chr., Ezra, Neh., Esth., Job, Ps., Prov., Eccl., Song, Isa., Jer., Lam., Ezek., Dan., Hosea, Joel, Amos, Obad., Jonah, Micah, Nahum, Hab., Zeph., Hag., Zech., Mal.\n\n- **New Testament**: Matt., Mark, Luke, John, Acts, Rom., 1 Cor., 2 Cor., Gal., Eph., Philip., Col., 1 Thes., 2 Thes., 1 Tim., 2 Tim., Titus, Philem., Heb., James, 1 Pet., 2 Pet., 1 Jn., 2 Jn., 3 Jn., Jude, Rev.\n\n- **Book of Mormon**: 1 Ne., 2 Ne., Jacob, Enos, Jarom, Omni, W of M, Mosiah, Alma, Hel., 3 Ne., 4 Ne., Morm., Ether, Moro.\n\n- **Doctrine and Covenants**: D\u0026C, OD\n\n- **Pearl of Great Price**: Moses, Abr., JS—M, JS—H, A of F\n\n## Reference Formats\n\n- Single verse: `\"Book Chapter:Verse\"` (e.g., `\"Isa. 6:5\"`)\n- Verse range: `\"Book Chapter:StartVerse-EndVerse\"` (e.g., `\"2 Ne. 10:14-15\"`)\n\n## Building\n\n```bash\n# Build for development\ncargo build\n\n# Build optimized release version\ncargo build --release\n\n# Run tests\ncargo test\n```\n\n## Validation Features\n\nThe tool includes comprehensive validation for all scripture references:\n\n### Chapter/Verse Range Validation\n```bash\n$ scripture-links --reference \"Gen. 51:1\"\nError: Chapter 51 does not exist in Genesis. Genesis has 50 chapters (1-50)\n\n$ scripture-links --reference \"Rev. 22:22\"\nError: Verse 22 does not exist in Revelation 22. Chapter 22 has 21 verses (1-21)\n```\n\n### Format and Book Validation\n```bash\n$ scripture-links --reference \"Isaiah 6:5\"\nError: Unknown book abbreviation: 'Isaiah'. Please check the spelling.\n\n$ scripture-links --reference \"Isa 6:5\"\nError: Invalid scripture reference format: 'Isa 6:5'. Expected format: 'Book Chapter:Verse' or 'Book Chapter:Verse-Verse'\n```\n\n## Data Source\n\nScripture validation data is sourced from the comprehensive [beandog/lds-scriptures](https://github.com/beandog/lds-scriptures) repository, providing accurate chapter and verse counts for all **87 books** across **1,582 chapters** and **41,995 verses** in the LDS standard works.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarthdb%2Fscripture-links","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarthdb%2Fscripture-links","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarthdb%2Fscripture-links/lists"}