{"id":31710389,"url":"https://github.com/peter1357908/jekyll-mahjong","last_synced_at":"2026-05-18T02:02:20.850Z","repository":{"id":187774601,"uuid":"677561258","full_name":"peter1357908/jekyll-mahjong","owner":"peter1357908","description":"Jekyll plugin for converting mahjong text notation into SVG images.","archived":false,"fork":false,"pushed_at":"2023-08-14T08:43:48.000Z","size":228,"stargazers_count":3,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-21T20:07:24.773Z","etag":null,"topics":["jekyll","jekyll-plugin","riichi-mahjong","ruby"],"latest_commit_sha":null,"homepage":"https://peterish.com/riichi-docs/jekyll-mahjong-plugin/","language":"Ruby","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/peter1357908.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-08-11T22:46:42.000Z","updated_at":"2025-10-15T07:28:27.000Z","dependencies_parsed_at":"2023-08-12T04:46:15.347Z","dependency_job_id":"f4d2f66f-da31-4f73-b6cb-ce87eb519b87","html_url":"https://github.com/peter1357908/jekyll-mahjong","commit_stats":null,"previous_names":["peter1357908/jekyll-mahjong"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/peter1357908/jekyll-mahjong","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter1357908%2Fjekyll-mahjong","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter1357908%2Fjekyll-mahjong/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter1357908%2Fjekyll-mahjong/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter1357908%2Fjekyll-mahjong/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peter1357908","download_url":"https://codeload.github.com/peter1357908/jekyll-mahjong/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter1357908%2Fjekyll-mahjong/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33162446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"online","status_checked_at":"2026-05-18T02:00:06.436Z","response_time":71,"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":["jekyll","jekyll-plugin","riichi-mahjong","ruby"],"created_at":"2025-10-09T00:27:01.944Z","updated_at":"2026-05-18T02:02:20.823Z","avatar_url":"https://github.com/peter1357908.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jekyll-mahjong\nJekyll plugin for converting Riichi mahjong text notation into SVG images.\n\nSee [here](https://peterish.com/riichi-docs/jekyll-mahjong-plugin/) for usage notes and demo.\n\n# Installation\n\nFirst, add `gem \"jekyll-mahjong\"` to the `:jekyll_plugins` group in your `Gemfile` and run `bundle install`.\n\n```ruby\ngroup :jekyll_plugins do\n  gem \"jekyll-mahjong\"\nend\n```\n\nThen, you need to ensure that Jekyll sees the stylesheet `/_sass/mahjong.scss`. For many Jekyll themes, this just means adding the following line to your site source's `/assets/css/main.scss`:\n\n```css\n@import \"mahjong\";\n```\n\nAfter installing the plugin and building your site once, you'll find `/assets/tiles/*.svg` and `/_sass/mahjong.scss` in your site's source directory. If you want, you can add them to your `.gitignore`. If you already have those files in your source directory, `jekyll-mahjong` won't overwrite them unless you specifically enable overwriting (see next section).\n\n# Customization\n\nAll styling is done through `/_sass/mahjong.scss`; you can modify it to adjust parameters like the height of tiles, space between tile groups, etc.\n\nSimilarly, you can replace the `/assets/tiles/*.svg` files with your own tile SVGs; just make sure that you follow the existing filenames.\n\nFinally, if you want `jekyll-mahjong` to overwrite those files with the built-in version every time you build your site (e.g., for updating the built-in version)\nIn your `_config.yml`, you can add the following lines:\n\n```yml\njekyll-mahjong:\n  overwrite_SCSS: true # default: false\n  overwrite_tiles: true # default: false\n```\n\n# Usage and Demo\n\nSee [here](https://peterish.com/riichi-docs/jekyll-mahjong-plugin/).\n\n# Credits\n\n## Code Author\n[Peter Gao](https://peterish.com)\n\n## Uzaku Tile SVGs\nFace-up Tile SVGs are originally from this [Font](https://www.reddit.com/r/Mahjong/comments/qk7dca/tiles_svg_mahjong_color_font_based_on_tile/?utm_source=share\u0026utm_medium=web2x\u0026context=3). I ripped and reorganized the SVGs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter1357908%2Fjekyll-mahjong","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeter1357908%2Fjekyll-mahjong","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter1357908%2Fjekyll-mahjong/lists"}