{"id":16832293,"url":"https://github.com/rf-/ingrid_core","last_synced_at":"2025-04-07T15:09:08.844Z","repository":{"id":61565590,"uuid":"552575679","full_name":"rf-/ingrid_core","owner":"rf-","description":"Crossword-generating library and CLI tool","archived":false,"fork":false,"pushed_at":"2024-12-11T02:58:47.000Z","size":2185,"stargazers_count":41,"open_issues_count":1,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-31T13:19:28.197Z","etag":null,"topics":["constraint-satisfaction-problem","crossword","rust"],"latest_commit_sha":null,"homepage":"https://ingrid.cx","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/rf-.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":"2022-10-16T22:13:34.000Z","updated_at":"2025-03-29T02:22:21.000Z","dependencies_parsed_at":"2024-04-29T03:45:43.068Z","dependency_job_id":"3c833e71-c93b-4f79-930c-93eedcb5a746","html_url":"https://github.com/rf-/ingrid_core","commit_stats":{"total_commits":98,"total_committers":1,"mean_commits":98.0,"dds":0.0,"last_synced_commit":"85e29cbd9ed4d1e6113e8453b546d7a69dc284ed"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rf-%2Fingrid_core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rf-%2Fingrid_core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rf-%2Fingrid_core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rf-%2Fingrid_core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rf-","download_url":"https://codeload.github.com/rf-/ingrid_core/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247675597,"owners_count":20977376,"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":["constraint-satisfaction-problem","crossword","rust"],"created_at":"2024-10-13T11:48:25.360Z","updated_at":"2025-04-07T15:09:08.818Z","avatar_url":"https://github.com/rf-.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ingrid Core\n\nThis crate contains the core crossword-solving code used in the Ingrid\nconstruction app, as well as a standalone binary that can be used to solve\ngrids from the command line.\n\n### Usage\n\nAfter [setting up Rust](https://rustup.rs), you can install the Ingrid Core CLI\ntool with `cargo`:\n```\n$ cargo install ingrid_core\n```\n\nThen you just need to provide a grid as an input file:\n\n```\n$ cat example_grid.txt\n....#.....#....\n....#.....#....\n...............\n......##.......\n###.....#......\n............###\n.....#.....#...\n....#.....#....\n...#.....#.....\n###cremebrulees\n......#.....###\n.......##......\n...............\n....#.....#....\n....#.....#....\n$ ingrid_core example_grid.txt\nbile#seeit#slaw\nroom#lasso#pone\nintimateapparel\ngarret##whirred\n###amens#easels\nwisterialane###\naloes#nuevo#tnt\nssns#betty#ciao\npas#wipes#pelts\n###cremebrulees\ndealin#deere###\nimgonna##aesops\ngoingintodetail\nutne#anise#atta\npegs#lemur#shay\n```\n\nYou can also use a custom word list (the default is [Spread the\nWordlist](https://www.spreadthewordlist.com)) or customize various other\noptions:\n```\n$ ingrid_core --help\ningrid_core: Command-line crossword generation tool\n\nUsage: ingrid_core [OPTIONS] \u003cGRID_PATH\u003e\n\nArguments:\n  \u003cGRID_PATH\u003e  Path to the grid file, as ASCII with # representing blocks and . representing empty squares\n\nOptions:\n      --wordlist \u003cWORDLIST\u003e\n          Path to a scored wordlist file [default: (embedded copy of Spread the Wordlist)]\n      --min-score \u003cMIN_SCORE\u003e\n          Minimum allowable word score [default: 50]\n      --max-shared-substring \u003cMAX_SHARED_SUBSTRING\u003e\n          Maximum shared substring length between entries [default: none]\n  -h, --help\n          Print help information\n  -V, --version\n          Print version information\n```\n\n### Acknowledgments\n\n* The backtracking search implementation in this library owes a lot to\n  \"Adaptive Strategies for Solving Constraint Satisfaction Problems\" by\n  Thanasis Balafoutis, which was helpful both as an overview of the CSP space\n  and a source of specific implementation ideas.\n\n* The CLI tool includes a copy of the free [Spread the\n  Wordlist](https://www.spreadthewordlist.com) dictionary published by Brooke\n  Husic and Enrique Henestroza Anguiano.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frf-%2Fingrid_core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frf-%2Fingrid_core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frf-%2Fingrid_core/lists"}