{"id":17502618,"url":"https://github.com/ogstudio/local-host-access","last_synced_at":"2025-12-30T21:07:35.468Z","repository":{"id":257983400,"uuid":"873211957","full_name":"OGStudio/local-host-access","owner":"OGStudio","description":"Local Host Access (LHA) is a cross-platform HTTP server for client side JS to access local host","archived":false,"fork":false,"pushed_at":"2025-02-28T19:32:39.000Z","size":306,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-14T19:04:35.035Z","etag":null,"topics":["browser","cross-platform","filesystem","kotlin","linux","localhost","macos","shell","web","windows"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OGStudio.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-15T19:31:56.000Z","updated_at":"2025-02-28T19:32:33.000Z","dependencies_parsed_at":"2024-10-24T23:14:52.663Z","dependency_job_id":"007beb43-b09d-4690-9521-e40222cf3c0a","html_url":"https://github.com/OGStudio/local-host-access","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"df694560ff6dfe0e5076f9dbdd575074d981bb6c"},"previous_names":["ogstudio/local-host-access"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OGStudio/local-host-access","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OGStudio%2Flocal-host-access","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OGStudio%2Flocal-host-access/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OGStudio%2Flocal-host-access/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OGStudio%2Flocal-host-access/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OGStudio","download_url":"https://codeload.github.com/OGStudio/local-host-access/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OGStudio%2Flocal-host-access/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020642,"owners_count":26086895,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["browser","cross-platform","filesystem","kotlin","linux","localhost","macos","shell","web","windows"],"created_at":"2024-10-19T21:14:34.701Z","updated_at":"2025-10-14T19:07:26.502Z","avatar_url":"https://github.com/OGStudio.png","language":"Kotlin","readme":"Local Host Access (**LHA**) is a cross-platform HTTP server\nfor client side JS to access local host\n\n## Java host\n\nBuild stand-alone JAR file:\n\n$ `./gradlew jar`\n\nRun stand-alone JAR file:\n\n$ `./run/run-java`\n\n## macOS host\n\nBuild native desktop binary:\n\n$ `./gradlew nativeBinaries`\n\nRun native desktop binary:\n\n$ `./run/run-native`\n\n## Current availability of functions\n\n| № | Function      | JVM | Linux | macOS | Windows | Android | iOS |\n|---|---            |---  |---    |---    |---      |---      |---  |\n| 1 | `GET /path`   | √   | X     | √     | √       | X       | X   |\n| 2 | `POST /list`  | √   | X     | √     | X       | X       | X   |\n| 3 | `POST /read`  | √   | X     | √     | X       | X       | X   |\n| 4 | `POST /write` | √   | X     | √     | X       | X       | X   |\n\n## Notes\n\n* [Linux, macOS] LHA uses `stat -L` command to detect if symbolic link points to a regular file or directory\n* In case of build problems try to leave only one subproject included in `settings.gradle.kts` like this:\n\n```\n//include(\"jvm\")\ninclude(\"nt\")\n```\n\n## Test\n\n1. Launch LHA with `test/test-dir` directory as `.`\n\n![launch-lha][launch-lha]\n\n2. Run `curl-test` or `web-test.html` to validate each function\n\n![web-test][web-test]\n\n[launch-lha]: img/01.launch-lha.jpg\n[web-test]: img/02.web-test.jpg\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fogstudio%2Flocal-host-access","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fogstudio%2Flocal-host-access","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fogstudio%2Flocal-host-access/lists"}