{"id":34779085,"url":"https://github.com/pogsmok/pgn-reader","last_synced_at":"2026-05-27T14:04:21.850Z","repository":{"id":230931383,"uuid":"780509746","full_name":"PogSmok/pgn-reader","owner":"PogSmok","description":"Lightweight, blazingly fast (overly optimized) CLI for reading .pgn files","archived":false,"fork":false,"pushed_at":"2024-05-10T21:53:18.000Z","size":440,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-10T22:44:46.959Z","etag":null,"topics":["c","chess","chess960","cli","fen","games","pgn","pgn-reader","portable-game-notation"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PogSmok.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":"2024-04-01T16:24:26.000Z","updated_at":"2024-05-10T21:53:22.000Z","dependencies_parsed_at":"2024-05-04T15:37:57.637Z","dependency_job_id":null,"html_url":"https://github.com/PogSmok/pgn-reader","commit_stats":null,"previous_names":["pogsmok/pgn-reader"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/PogSmok/pgn-reader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PogSmok%2Fpgn-reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PogSmok%2Fpgn-reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PogSmok%2Fpgn-reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PogSmok%2Fpgn-reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PogSmok","download_url":"https://codeload.github.com/PogSmok/pgn-reader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PogSmok%2Fpgn-reader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33568864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"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":["c","chess","chess960","cli","fen","games","pgn","pgn-reader","portable-game-notation"],"created_at":"2025-12-25T08:46:18.295Z","updated_at":"2026-05-27T14:04:21.844Z","avatar_url":"https://github.com/PogSmok.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Screenshot][screenshot]\n\n\u003cdiv align=\"center\"\u003e\n\t\u003ch1\u003ePGN Reader\u003c/h1\u003e\n\t\u003ch3\u003eLightweight, blazingly fast (overly optimized) CLI for reading .pgn files\u003c/h3\u003e\n\n  \u003cbr\u003e\n  \n  [![Report a bug][issue-badge]][issue-link]\n  [![Suggest a feature][feature-badge]][feature-link]\n  \n  \u003cbr\u003e\n  \n  [![License][license-badge]][license-link]\n  [![Version][version-badge]][version-link]\n  [![Latest Release][latest-badge]][latest-link]\n\n\u003c/div\u003e\n\n## Overview\nPGN Reader is a user-friendly and efficient application that allows you to read .pgn files smoothly through a terminal. The application is incredibly fast and lightweight, which means it can work on almost any device or system. It supports Chess 960 and can handle variations, comments, and annotations with clean and readable formatting. PGN Reader provides a simple way to access all the necessary information from your .pgn files.\n\n## Files\n  PGN reader consists of:\n  * [README.md][readme-link] \u003e File explaning everything about the application\n  * [LICENSE][license-link] \u003e License under which the program must be used\n  * [EXAMPLE.png][screenshot] \u003e Screenshot of a terminal while viewing a game in PGN Reader\n  * [example.pgn][example-link] \u003e Annotated PGN file containing The Game Of The Century\n  * [src][src-link] \u003e Directory with source code of the application\n\n## Usage\n  Using and compiling PGN Reader is as easy as it gets. Download the entire project and then compile the source code.\n  \u003cbr\u003e\n  NOTE: you have to compile all .c files, not only main.c\n  ```\n    gcc -o pgn-reader ./src/*.c\n  ```\n  After the program is compiled, view .pgn file as follows\n  ```\n    \u003cexecutable\u003e \u003cpath to .pgn file\u003e\n    ./pgn-reader ./example.pgn\n  ```\n## FAQ\n  #### Q: What is a `.pgn` file?\n  \n  A: It's a file extension specifically used for saving chess games. More information on [wikipedia][wikipedia-link]\n  \n  ___\n  \n  #### Q: How do I save my game as a `.pgn` file?\n  \n  A: The quickest way is to use [lichess][lichess-link] and import a game to their site (you can get a computer analysis for free too). Then, in an analysis tab, you can export your game as a `.pgn`.\n  \n  ___\n  \n  #### Q: When will I ever need this program?\n  \n  A: If ever an alien civilization destroys all network infrastructure and asks you to present them [The Game of the Century][game-of-the-century-link] within a few milliseconds, or otherwise they will destroy everything you know and love, only then will your gratitude be immeasurable. \n\n[screenshot]: https://github.com/PogSmok/pgn-reader/blob/master/EXAMPLE.png?raw=true\n[issue-link]: https://github.com/PogSmok/pgn-reader/issues\n[feature-link]: https://github.com/PogSmok/pgn-reader/discussions/categories/ideas\n[license-link]: https://github.com/PogSmok/pgn-reader/blob/master/LICENSE\n[version-link]: https://github.com/PogSmok/pgn-reader/releases/tag/1.0\n[latest-link]:  https://github.com/PogSmok/pgn-reader/releases/latest\n[readme-link]: https://github.com/PogSmok/pgn-reader/blob/master/README.md\n[example-link]: https://github.com/PogSmok/pgn-reader/blob/master/example.pgn\n[src-link]: https://github.com/PogSmok/pgn-reader/tree/master/src\n[wikipedia-link]: https://en.wikipedia.org/wiki/Portable_Game_Notation\n[lichess-link]: https://lichess.org\n[game-of-the-century-link]: https://en.chessbase.com/post/game-of-the-century-a-full-summary\n\n[issue-badge]: https://img.shields.io/badge/%F0%9F%91%BE-Report%20a%20bug-%23a8161b?style=for-the-badge\u0026labelColor=%23ab5053\n[feature-badge]: https://img.shields.io/badge/%F0%9F%92%A1-Suggest%20a%20feature-%2300d1ca?style=for-the-badge\u0026labelColor=%23c8f7f6\n[license-badge]: https://img.shields.io/badge/Apache%202.0-red?style=for-the-badge\u0026label=License\n[version-badge]: https://img.shields.io/badge/1.0-%2332a852?style=for-the-badge\u0026label=Version\n[latest-badge]: https://img.shields.io/badge/Latest%20Release-blue?style=for-the-badge\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpogsmok%2Fpgn-reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpogsmok%2Fpgn-reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpogsmok%2Fpgn-reader/lists"}