{"id":51347495,"url":"https://github.com/hboyd2003/chasm","last_synced_at":"2026-07-02T12:41:35.662Z","repository":{"id":350962721,"uuid":"1184925028","full_name":"hboyd2003/chasm","owner":"hboyd2003","description":"A text width \u0026 spacing library for Minecraft: Java Edition","archived":false,"fork":false,"pushed_at":"2026-04-13T00:21:34.000Z","size":103,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-13T02:23:04.830Z","etag":null,"topics":["library","minecraft","minecraft-library","minecraft-plugin","papermc-library","papermc-plugin"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hboyd2003.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2026-03-18T04:07:52.000Z","updated_at":"2026-04-13T00:21:38.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/hboyd2003/chasm","commit_stats":null,"previous_names":["hboyd2003/chasm"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/hboyd2003/chasm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hboyd2003%2Fchasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hboyd2003%2Fchasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hboyd2003%2Fchasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hboyd2003%2Fchasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hboyd2003","download_url":"https://codeload.github.com/hboyd2003/chasm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hboyd2003%2Fchasm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35048062,"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-07-02T02:00:06.368Z","response_time":173,"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":["library","minecraft","minecraft-library","minecraft-plugin","papermc-library","papermc-plugin"],"created_at":"2026-07-02T12:41:34.907Z","updated_at":"2026-07-02T12:41:35.657Z","avatar_url":"https://github.com/hboyd2003.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chasm\n\nA library for calculating the width of and spacing text/components in Minecraft: Java Edition.\n\nChasm provides the ability to calculate the display width of any text using any font. By default, it provides a\nsimplified version of Minecraft's default font but provided with a resource pack it can load the fonts within and\nprovide width calculations for them. For loading of all of Minecraft's default fonts the chasm-plugin is available.\n\n## Getting Started\n\nUse Chasm as a library dependency from your Gradle project.\n\n### Installing\n\n```kotlin\nrepositories {\n    mavenCentral()\n    maven(\"https://repo.hboyd.dev/snapshots/\")\n}\n\ndependencies {\n    implementation(\"dev.hboyd:chasm-lib:1.0.1\")\n}\n```\n\n## Usage\n\n### Width calculation\n\n`TextWidthProvider` calculates the rendered width of Adventure components, strings, codepoints, and `StyledGlyph`s.\nThe `TextWidthProvider` uses fonts registered with the `FontRegistry` it is created with. \n\n## License\n\nThis project is licensed under the GNU Lesser General Public License v3.0. See [LICENSE.md](LICENSE.md).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhboyd2003%2Fchasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhboyd2003%2Fchasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhboyd2003%2Fchasm/lists"}