{"id":13338395,"url":"https://github.com/rsookram/oktypes","last_synced_at":"2025-03-11T09:31:02.732Z","repository":{"id":45995034,"uuid":"399639709","full_name":"rsookram/oktypes","owner":"rsookram","description":"oktypes is a command line tool that outputs the names of types defined in Kotlin source files","archived":true,"fork":false,"pushed_at":"2021-11-22T05:11:04.000Z","size":24,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-23T20:16:01.567Z","etag":null,"topics":["cli","kotlin","rust","tree-sitter"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/rsookram.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}},"created_at":"2021-08-25T00:19:41.000Z","updated_at":"2023-01-28T04:26:43.000Z","dependencies_parsed_at":"2022-07-20T05:47:30.963Z","dependency_job_id":null,"html_url":"https://github.com/rsookram/oktypes","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/rsookram%2Foktypes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsookram%2Foktypes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsookram%2Foktypes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsookram%2Foktypes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rsookram","download_url":"https://codeload.github.com/rsookram/oktypes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243007043,"owners_count":20220762,"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":["cli","kotlin","rust","tree-sitter"],"created_at":"2024-07-29T19:16:18.484Z","updated_at":"2025-03-11T09:31:02.334Z","avatar_url":"https://github.com/rsookram.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oktypes\n\noktypes is a command line tool that outputs the names of types defined in Kotlin source files.\n\n\n## Install\n\nCurrently, pre-compiled binaries of oktypes aren't being distributed. You can install it with\n[Cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html) by running\n\n```\ncargo install --git https://github.com/rsookram/oktypes\n```\n\n\n## Usage\n\nSimply call `oktypes` from the command line and pass the paths of the Kotlin files to look at as\narguments.\n\nFor example, if you want to see all the types defined in `*.kt` files in a git repository, you can\nrun:\n\n```shell\ngit ls-files '*.kt' | xargs oktypes\n```\n\n\n## Build\n\noktypes can be built from source by cloning this repository and using Cargo.\n\n```\ngit clone https://github.com/rsookram/oktypes\ncd oktypes\ncargo build --release\n```\n\n\n## Dependencies\n\nThe following dependencies are used to implement oktypes:\n\n- [`tree-sitter`](https://crates.io/crates/tree-sitter) to generate a parser for parsing Kotlin\nsource code.\n- [`tree-sitter-kotlin`](https://github.com/rsookram/tree-sitter-kotlin) (my fork) to define the\ntree-sitter grammar\n- [`rayon`](https://crates.io/crates/rayon) to process input files in parallel\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsookram%2Foktypes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsookram%2Foktypes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsookram%2Foktypes/lists"}