{"id":16348838,"url":"https://github.com/mstksg/advent-of-code-ocr","last_synced_at":"2026-03-16T03:34:49.911Z","repository":{"id":56842723,"uuid":"315754814","full_name":"mstksg/advent-of-code-ocr","owner":"mstksg","description":"Parsing ASCII art word solutions for advent of code","archived":false,"fork":false,"pushed_at":"2022-12-14T05:31:25.000Z","size":41,"stargazers_count":5,"open_issues_count":2,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-11T17:52:58.350Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hackage.haskell.org/package/advent-of-code-ocr","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mstksg.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":"2020-11-24T21:18:38.000Z","updated_at":"2022-12-11T18:08:58.000Z","dependencies_parsed_at":"2023-01-28T17:15:14.596Z","dependency_job_id":null,"html_url":"https://github.com/mstksg/advent-of-code-ocr","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mstksg%2Fadvent-of-code-ocr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mstksg%2Fadvent-of-code-ocr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mstksg%2Fadvent-of-code-ocr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mstksg%2Fadvent-of-code-ocr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mstksg","download_url":"https://codeload.github.com/mstksg/advent-of-code-ocr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245040235,"owners_count":20551297,"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-10-11T00:55:20.817Z","updated_at":"2026-03-16T03:34:49.870Z","avatar_url":"https://github.com/mstksg.png","language":"Haskell","funding_links":[],"categories":["Tools and Utilities"],"sub_categories":[],"readme":"# advent-of-code-ocr\n\n\"OCR\" letter recognition for [Advent of Code][aoc] puzzles, compatible with all\npuzzles from 2015 to 2019.  Also comes with a handy command line utility to\nparse the ASCII art directly from stdin:\n\n[aoc]: https://adventofcode.com\n\n```\n$ cat abc.txt\n.##..###...##.\n#..#.#..#.#..#\n#..#.###..#...\n####.#..#.#...\n#..#.#..#.#..#\n#..#.###...##.\n$ cat abc.txt | advent-of-code-ocr\nABC\n```\n\n## Installation\n\nTo use as a library, add *advent-of-code-ocr* as a hackage dependency like you\nwould any other.\n\nTo use as an executable:\n\n```bash\n# using stack\nstack install advent-of-code-ocr\n# using cabal\ncabal install advent-of-code-ocr\n# from source\ngit clone https://github.com/mstksg/advent-of-code-ocr\ncd advent-of-code-ocr\ncabal install     # or stack install\n```\n\n## Compatibility\n\nShould be compatible with all challenges from 2015 to 2021.  However, I have\nonly tested it with:\n\n\n*   2016 Day 8\n*   2018 Day 10\n*   2019 Day 8\n*   2019 Day 11\n*   2021 Day 13 (thanks @uvg)\n*   2022 Day 10 (thanks @uvg)\n\nAnd it is possible I have missed some.  If you notice any I am missing, please\nlet me know!\n\n## Credit\n\nMuch of the content for the letterforms was gathered on freenode ##adventofcode\nand solutions threads on reddit; the large font for the most part has been\ngathered by [u/usbpc102][] on reddit. `O` and `I` letterforms for the small\nfont contributed by [u/TheShallowOne][] on reddit for version 1.1.10, and the S\nsmall font letterform contributed by [@gilgamec][].\n\n[u/usbpc102]: https://gist.github.com/usbpc/5fa0be48ad7b4b0594b3b8b029bc47b4\n[u/TheShallowOne]: https://www.reddit.com/r/adventofcode/comments/k0lzz6/adventofcodeocr_command_line_utilityhaskell/gdwwu39\n[@gilgamec]: https://github.com/gilgamec\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmstksg%2Fadvent-of-code-ocr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmstksg%2Fadvent-of-code-ocr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmstksg%2Fadvent-of-code-ocr/lists"}