{"id":28098899,"url":"https://github.com/amyrahmady/farsitype","last_synced_at":"2025-05-13T17:59:07.625Z","repository":{"id":52882487,"uuid":"178988307","full_name":"AmyrAhmady/FarsiType","owner":"AmyrAhmady","description":"FarsiType - type in Farsi or Arabic in C++ programs and get a fixed version of it!","archived":false,"fork":false,"pushed_at":"2022-12-01T05:39:10.000Z","size":88,"stargazers_count":18,"open_issues_count":1,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2023-03-03T22:31:23.558Z","etag":null,"topics":["arabic","cpp","cpp11","farsi","imgui"],"latest_commit_sha":null,"homepage":"","language":"C++","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/AmyrAhmady.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}},"created_at":"2019-04-02T03:03:06.000Z","updated_at":"2023-01-26T15:27:10.000Z","dependencies_parsed_at":"2023-01-23T12:01:03.825Z","dependency_job_id":null,"html_url":"https://github.com/AmyrAhmady/FarsiType","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmyrAhmady%2FFarsiType","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmyrAhmady%2FFarsiType/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmyrAhmady%2FFarsiType/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmyrAhmady%2FFarsiType/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AmyrAhmady","download_url":"https://codeload.github.com/AmyrAhmady/FarsiType/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254000074,"owners_count":21997381,"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":["arabic","cpp","cpp11","farsi","imgui"],"created_at":"2025-05-13T17:59:06.778Z","updated_at":"2025-05-13T17:59:07.611Z","avatar_url":"https://github.com/AmyrAhmady.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FarsiType\na simple library for Farsi/Arabic strings written in C++\n\n## Screenshots (using [ImGui](https://github.com/ocornut/imgui) for rendering)\nCorrect Form:  \n![ScreenShot](https://raw.githubusercontent.com/AmyrAhmady/FarsiType/master/screenshots/correctForm.png)\n  \nBroken:   \n![ScreenShot](https://raw.githubusercontent.com/AmyrAhmady/FarsiType/master/screenshots/brokenOne.png)\n\n## About\nHello.  \nI decided to do something useful in my free time and I've to admit, I kinda needed a thing like this too!.  \nI'm using [ImGui](https://github.com/ocornut/imgui) made by [@ocornut](https://github.com/ocornut/) on a project and I needed to render Farsi texts. Unfortunately I wasn't able to do it for 2 reasons:  \n- Farsi/Persian or Arabic languages are RTL which makes them reversed.\n- They have 4 forms for each letter, so computer can't find the right one by itself.\n\nSo after 3 days of searching for an answer and ways to achieve this, I finally came here with my own library that uses C++11. (I would do it in pure C if it was my choice, but seems like it's not possible in an easy way.)  \nHope you guys find this useful!  \nIf you found any issue or have any suggestion, feel free to create an issue for it.  \nAlso, feel free to contribute and make this better for everyone :).  \n\n## Known bugs\n- Numbers are reversed, so you should write 19 instead of 91. should add a check for numbers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famyrahmady%2Ffarsitype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famyrahmady%2Ffarsitype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famyrahmady%2Ffarsitype/lists"}