{"id":17258611,"url":"https://github.com/xiaq/wcswidth-aas","last_synced_at":"2025-03-26T09:21:34.437Z","repository":{"id":147046356,"uuid":"54130663","full_name":"xiaq/wcswidth-aas","owner":"xiaq","description":"wcswidth as a service","archived":false,"fork":false,"pushed_at":"2016-03-17T16:15:37.000Z","size":87,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-19T19:29:44.118Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xiaq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-03-17T15:43:55.000Z","updated_at":"2017-10-05T19:24:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"d3ca2166-ab1f-4146-b459-2acccacc041c","html_url":"https://github.com/xiaq/wcswidth-aas","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaq%2Fwcswidth-aas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaq%2Fwcswidth-aas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaq%2Fwcswidth-aas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaq%2Fwcswidth-aas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaq","download_url":"https://codeload.github.com/xiaq/wcswidth-aas/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245623073,"owners_count":20645689,"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-15T07:21:18.239Z","updated_at":"2025-03-26T09:21:34.415Z","avatar_url":"https://github.com/xiaq.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wcswidth as a service\n\nTerminals don't know how wide characters really are :disappointed::disappointed::disappointed::\n\n![mac](https://raw.githubusercontent.com/xiaq/wcwidth-aas/master/mac.png)\n![linux](https://raw.githubusercontent.com/xiaq/wcwidth-aas/master/linux.png)\n\nwcswidth-as-a-service to the rescue :smile::smile::smile:! Simply GET a path to obtain its width:\n\n```sh\n\u003e curl http://wcwidth.xiaq.me/Hello\n5\n\u003e curl http://wcwidth.xiaq.me/こんいちは\n10\n\u003e curl http://wcwidth.xiaq.me/蛤蛤\n4\n\u003e curl http://wcwidth.xiaq.me/🌚\n2\n```\n\nWhat to do next:\n\n- [ ] Replace `wcswidth` implementations in glibc, Cairo, vim, libvte and tmux with a dead-simple HTTP GET\n- [ ] ... Profit!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaq%2Fwcswidth-aas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaq%2Fwcswidth-aas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaq%2Fwcswidth-aas/lists"}