{"id":20875002,"url":"https://github.com/servicestack/gistcafe-kotlin","last_synced_at":"2026-04-23T15:32:32.232Z","repository":{"id":57737703,"uuid":"325354539","full_name":"ServiceStack/gistcafe-kotlin","owner":"ServiceStack","description":"gist.cafe utils for Kotlin","archived":false,"fork":false,"pushed_at":"2021-01-27T06:10:13.000Z","size":77,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-09T22:07:07.554Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ServiceStack.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":"2020-12-29T18:04:51.000Z","updated_at":"2023-10-26T13:48:15.000Z","dependencies_parsed_at":"2022-08-24T13:00:18.560Z","dependency_job_id":null,"html_url":"https://github.com/ServiceStack/gistcafe-kotlin","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ServiceStack%2Fgistcafe-kotlin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ServiceStack%2Fgistcafe-kotlin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ServiceStack%2Fgistcafe-kotlin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ServiceStack%2Fgistcafe-kotlin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ServiceStack","download_url":"https://codeload.github.com/ServiceStack/gistcafe-kotlin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243249011,"owners_count":20260768,"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-11-18T06:40:52.183Z","updated_at":"2025-12-25T15:34:36.197Z","avatar_url":"https://github.com/ServiceStack.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"Useful utils for [gist.cafe](https://gist.cafe) Kotlin Apps.\n\n## Usage\n\nSimple usage example:\n\n```kotlin\nimport com.google.gson.Gson\nimport com.google.gson.annotations.SerializedName\nimport java.net.URL\nimport net.servicestack.gistcafe.*\n\ndata class GithubRepo(\n    val name: String,\n    val description: String = \"\",\n    val homepage: String = \"\",\n    @SerializedName(\"language\") val lang: String = \"\",\n    val watchers: Int,\n    val forks: Int)\n\nfun main(args: Array\u003cString\u003e) {\n    val orgName = \"Kotlin\"\n\n    val json = URL(\"https://api.github.com/orgs/$orgName/repos\").readText()\n    val orgRepos = Gson().fromJson\u003cList\u003cGithubRepo\u003e\u003e(json)\n        .sortedByDescending { it.watchers }\n\n    println(\"Top 3 $orgName GitHub Repos:\")\n    Inspect.printDump(orgRepos.take(3))\n\n    println(\"\\nTop 10 $orgName GitHub Repos:\")\n    Inspect.printDumpTable(orgRepos.take(10), listOf(\"name\",\"language\",\"watchers\",\"forks\"))\n\n    Inspect.vars(mapOf(\"orgRepos\" to orgRepos))\n}\n```\n\nWhich outputs:\n\n```\nTop 3 Kotlin GitHub Repos:\n[\n  {\n    name: anko,\n    description: Pleasant Android application development,\n    homepage: ,\n    language: Kotlin,\n    watchers: 15892,\n    forks: 1281\n  },\n  {\n    name: kotlinx.coroutines,\n    description: Library support for Kotlin coroutines ,\n    homepage: ,\n    language: Kotlin,\n    watchers: 8684,\n    forks: 1228\n  },\n  {\n    name: kotlin-examples,\n    description: Various examples for Kotlin,\n    language: Kotlin,\n    watchers: 2892,\n    forks: 1056\n  }\n]\n\nTop 10 Kotlin GitHub Repos:\n+--------------------------------------------------------+\n|          name           | language | watchers | forks  |\n|--------------------------------------------------------|\n| anko                    | Kotlin   |    15892 |   1281 |\n| kotlinx.coroutines      | Kotlin   |     8684 |   1228 |\n| kotlin-examples         | Kotlin   |     2892 |   1056 |\n| kotlinx.serialization   | Kotlin   |     2697 |    287 |\n| kotlin-koans            | Kotlin   |     2559 |   1504 |\n| KEEP                    |          |     1953 |    215 |\n| dokka                   | Kotlin   |     1839 |    194 |\n| coroutines-examples     |          |     1259 |    149 |\n| kotlin-fullstack-sample | Kotlin   |     1185 |    165 |\n| kotlinx.html            | Kotlin   |     1074 |     97 |\n+--------------------------------------------------------+\n```\n\n## Features and bugs\n\nPlease file feature requests and bugs at the [issue tracker](https://github.com/ServiceStack/gistcafe-kotlin/issues).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fservicestack%2Fgistcafe-kotlin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fservicestack%2Fgistcafe-kotlin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fservicestack%2Fgistcafe-kotlin/lists"}