{"id":20489448,"url":"https://github.com/cuh4/fletcodefield","last_synced_at":"2026-02-18T19:02:21.542Z","repository":{"id":240156754,"uuid":"801827075","full_name":"Cuh4/FletCodeField","owner":"Cuh4","description":"A Flet control that allows the user to write code with syntax highlighting. Uses the Markdown control under the hood.","archived":false,"fork":false,"pushed_at":"2024-05-19T08:02:14.000Z","size":87,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T23:56:27.020Z","etag":null,"topics":["flet","flet-control","python"],"latest_commit_sha":null,"homepage":"https://dsc.gg/cuhhubsw","language":"Python","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/Cuh4.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-05-17T01:48:20.000Z","updated_at":"2024-05-19T08:02:17.000Z","dependencies_parsed_at":"2024-05-19T09:21:53.868Z","dependency_job_id":"d531eecc-a226-485c-accd-2658a2057d13","html_url":"https://github.com/Cuh4/FletCodeField","commit_stats":null,"previous_names":["cuh4/fletcodefield"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Cuh4/FletCodeField","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cuh4%2FFletCodeField","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cuh4%2FFletCodeField/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cuh4%2FFletCodeField/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cuh4%2FFletCodeField/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cuh4","download_url":"https://codeload.github.com/Cuh4/FletCodeField/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cuh4%2FFletCodeField/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29590684,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T18:54:29.675Z","status":"ssl_error","status_checked_at":"2026-02-18T18:50:50.517Z","response_time":162,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["flet","flet-control","python"],"created_at":"2024-11-15T17:12:59.978Z","updated_at":"2026-02-18T19:02:16.524Z","avatar_url":"https://github.com/Cuh4.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⌨️ | Flet CodeField Control\n\n## 📚 | Overview\nA custom `TextField` control ripoff with syntax highlighting. Uses the `Markdown` control under the hood.\n\n![Preview GIF](imgs/preview.gif)\n\n## ⚠️ | Limitations\n- Only works for Windows (tested), Linux (untested), MacOS (untested). Mobile devices will not work with this.\n- Pressing Tab will automatically focus a focus-able control. I can't prevent this due to Flet limitations.\n- The default shift key mapping is for the UK layout. You can provide a custom mapping by passing it to one of the parameters.\n- You cannot select the code.\n- There is no text cursor, making it difficult to find out where you're typing.\n\n## 🤔 | Example\nIf you want an example, follow the setup instructions below and run `src/CodeField.py`.\n\n## 💻 | Setup\n- Run `git clone https://github.com/Cuh4/FletCodeField \u0026\u0026 cd FletCodeField`\n- Run `pip install -r requirements.txt`\n- Extract `src/CodeField.py` to your project directory.\n- Import it in your code (`from CodeField import CodeField`) and use it as a Flet Control.\n\n## ✨ | Credit\n- **Cuh4** ([GitHub](https://github.com/Cuh4))","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuh4%2Ffletcodefield","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcuh4%2Ffletcodefield","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuh4%2Ffletcodefield/lists"}