{"id":15136838,"url":"https://github.com/localazy/kotlin-mpp-wininet","last_synced_at":"2026-02-10T13:32:57.111Z","repository":{"id":129989531,"uuid":"292933141","full_name":"localazy/kotlin-mpp-wininet","owner":"localazy","description":"This project demonstrates how to use the WinInet API in your Kotlin MPP app for simple HTTP communication.","archived":false,"fork":false,"pushed_at":"2020-09-04T19:46:31.000Z","size":65,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-29T15:44:32.403Z","etag":null,"topics":["http-communication","kotlin-mpp","libcurl","wininet-api"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"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/localazy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-04T19:44:12.000Z","updated_at":"2021-07-09T15:06:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"119c9039-f6b8-431b-bcec-14141d151555","html_url":"https://github.com/localazy/kotlin-mpp-wininet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/localazy/kotlin-mpp-wininet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localazy%2Fkotlin-mpp-wininet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localazy%2Fkotlin-mpp-wininet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localazy%2Fkotlin-mpp-wininet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localazy%2Fkotlin-mpp-wininet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/localazy","download_url":"https://codeload.github.com/localazy/kotlin-mpp-wininet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localazy%2Fkotlin-mpp-wininet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29300709,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T12:55:56.056Z","status":"ssl_error","status_checked_at":"2026-02-10T12:55:55.692Z","response_time":65,"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":["http-communication","kotlin-mpp","libcurl","wininet-api"],"created_at":"2024-09-26T06:41:31.958Z","updated_at":"2026-02-10T13:32:57.090Z","avatar_url":"https://github.com/localazy.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kotlin MPP + WinInet\n\nWhen building a multiplatform app, a recommended library for HTTP communication would be the [ktor clients](https://ktor.io/clients/index.html). However, as it uses libcurl for desktop implementation, it introduces dependencies. On Linux or macOS, libcurl can be easily installed from repositories or through brew. For Windows, however, DLL libraries must be provided. \n\nThe option would be to link libcurl statically. It's, however, a bit tricky and it leads to increased size of the resulting binary. \n\nIf you only need a few simple HTTP calls, it may be much better to go with WinInet API that is included in Windows by default. \n\n**This project demonstrates how to use the WinInet API in your Kotlin MPP app for simple HTTP communication.** \n\n---\n\nThis code is based on what we have developed for [Localazy CLI](https://localazy.com). Read the original article about [how we built our Localazy CLI with Kotlin MPP and Github Actions](https://localazy.com/blog/localazy-cli-sofware-localization-tool-kotlin-github).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocalazy%2Fkotlin-mpp-wininet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flocalazy%2Fkotlin-mpp-wininet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocalazy%2Fkotlin-mpp-wininet/lists"}