{"id":17817089,"url":"https://github.com/gnarea/minimal-ktor-server-android","last_synced_at":"2026-03-04T08:01:19.393Z","repository":{"id":40485499,"uuid":"385572945","full_name":"gnarea/minimal-ktor-server-android","owner":"gnarea","description":"Example Netty-based Ktor server for Android 5+","archived":false,"fork":false,"pushed_at":"2022-04-08T05:43:44.000Z","size":146,"stargazers_count":27,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-14T14:59:50.109Z","etag":null,"topics":["android","ktor"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gnarea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-13T11:01:25.000Z","updated_at":"2025-08-11T23:12:41.000Z","dependencies_parsed_at":"2022-08-09T21:51:11.123Z","dependency_job_id":null,"html_url":"https://github.com/gnarea/minimal-ktor-server-android","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gnarea/minimal-ktor-server-android","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnarea%2Fminimal-ktor-server-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnarea%2Fminimal-ktor-server-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnarea%2Fminimal-ktor-server-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnarea%2Fminimal-ktor-server-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gnarea","download_url":"https://codeload.github.com/gnarea/minimal-ktor-server-android/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnarea%2Fminimal-ktor-server-android/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30075906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T05:31:57.858Z","status":"ssl_error","status_checked_at":"2026-03-04T05:31:38.462Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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","ktor"],"created_at":"2024-10-27T16:40:33.621Z","updated_at":"2026-03-04T08:01:19.377Z","avatar_url":"https://github.com/gnarea.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Example Netty-based Ktor server for Android 5+\n\nThis repo implements an Android 5+ app that runs a Netty-powered KTor server when the app is in the foreground.\n\nThe server runs on `0.0.0.0:13276` without TLS.\n\n[`MainActivity`](app/src/main/java/com/example/ktorwsissue/MainActivity.kt) contains the KTor server code.\n\n## Endpoints\n\nThis app implements two endpoints:\n\n### `GET /`\n\nIt returns a `200 OK` with a text body (`text/plain`) that contains the model name of the device the server runs on.\n\n### WebSocket `/ws`\n\nThis is a WebSocket endpoint that implements the following protocol:\n\n1. Client connects to server.\n1. Server sends text message to client.\n1. Server waits for client to send message back (any message).\n1. Server closes connection as soon as message from client is received.\n\n## Automated test\n\n[`ServerTest`](app/src/test/java/com/example/ktorwsissue/ServerTest.kt) contains a test that checks the endpoints above.\n\n**Make sure to set the right IP to your Android device on your WiFi network.**\n\n## Licence\n\nThis repo is in the public domain.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnarea%2Fminimal-ktor-server-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgnarea%2Fminimal-ktor-server-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnarea%2Fminimal-ktor-server-android/lists"}