{"id":28460562,"url":"https://github.com/itsvks19/codeeditor","last_synced_at":"2026-04-29T13:35:22.813Z","repository":{"id":294035689,"uuid":"985797631","full_name":"itsvks19/CodeEditor","owner":"itsvks19","description":"Android code view library. (aka CodeEditor)","archived":false,"fork":false,"pushed_at":"2025-05-26T06:08:06.000Z","size":3903,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-07T02:43:11.746Z","etag":null,"topics":["android","autocomplete","code-editor","codeeditor","compose","jetpack-compose","syntax-highlighting"],"latest_commit_sha":null,"homepage":"","language":"Java","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/itsvks19.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}},"created_at":"2025-05-18T14:51:05.000Z","updated_at":"2025-05-30T00:27:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"06641d0d-5463-42ea-a52e-72e686fda955","html_url":"https://github.com/itsvks19/CodeEditor","commit_stats":null,"previous_names":["itsvks19/codeeditor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/itsvks19/CodeEditor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsvks19%2FCodeEditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsvks19%2FCodeEditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsvks19%2FCodeEditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsvks19%2FCodeEditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsvks19","download_url":"https://codeload.github.com/itsvks19/CodeEditor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsvks19%2FCodeEditor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32427796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"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":["android","autocomplete","code-editor","codeeditor","compose","jetpack-compose","syntax-highlighting"],"created_at":"2025-06-07T02:38:44.792Z","updated_at":"2026-04-29T13:35:22.809Z","avatar_url":"https://github.com/itsvks19.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodeViewer\n\n\u003e [!WARNING]\n\u003e NOT STABLE FOR USE.\n\n**CodeViewer** is a high-performance code view component for Android. It can handle files with **over 1 million lines** while maintaining smooth, responsive performance.\n\n## Features\n\n- [x] Syntax highlighting\n- [x] Font and theme customization\n- [x] Soft wrap support\n\n## Screenshots\n\n![img.png](screenshots/img.png)\n\n## Installation\n\nInclude the following line in your module-level `build.gradle.kts` (for Kotlin DSL) or `build.gradle` (for Groovy DSL) file, typically within the `dependencies` block:\n\n**Kotlin DSL (`build.gradle.kts`):**\n\n```kotlin\n// build.gradle.kts (Module: app)\ndependencies {\n    implementation(\"io.github.itsvks19:codeeditor:1.2.0\")\n}\n```\n\n**Groovy DSL (`build.gradle`):**\n\n```groovy\n// build.gradle (Module: app)\ndependencies {\n    implementation 'io.github.itsvks19:codeeditor:1.2.0'\n}\n```\n\n## Usage\n\n```kotlin\nval editorState = rememberCodeEditorState(\n    File(filePath),\n    language = PlainTextLanguage,\n    theme = AtomOneDarkTheme\n)\n\nCodeEditor(\n    state = editorState,\n    initialFontSize = 14.sp,\n    softWrap = true,\n    modifier = Modifier.fillMaxSize()\n)\n```\n\n## Performance\n\n- Load and display 1 million+ lines\n- Scroll and render with minimal memory overhead\n- Maintain snappy performance even under heavy editing\n\n## Roadmap\n\nPlanned features:\n\n- [X] Multi-language syntax highlighting\n- [ ] Cursor and selection support\n- [ ] Keyboard navigation\n- [ ] Code intelligence (autocomplete, linting)\n- [ ] Undo/redo support\n- [ ] Plugin architecture\n\n## Built With\n\n- Kotlin\n- Jetpack Compose for UI\n\n## Contributing\n\nContributions are welcome. If you have suggestions, bug reports, or want to get involved, feel free to open an issue or submit a pull request.\n\n## License\n\nMIT License. See [LICENSE](LICENSE) for details.\n\n## Acknowledgments\n\nInspired by editor designs and architectures from:\n\n- JetBrains IDEs\n- Monaco Editor\n- Zed Editor\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsvks19%2Fcodeeditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsvks19%2Fcodeeditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsvks19%2Fcodeeditor/lists"}