{"id":18110434,"url":"https://github.com/strd6/system-client","last_synced_at":"2025-08-27T02:18:58.445Z","repository":{"id":66479935,"uuid":"105829733","full_name":"STRd6/system-client","owner":"STRd6","description":"Client lib to run apps on ZineOS and proxy messages to the OS through Postmaster","archived":false,"fork":false,"pushed_at":"2019-04-11T04:41:34.000Z","size":818,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-21T06:27:09.289Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","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/STRd6.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":"2017-10-04T23:27:47.000Z","updated_at":"2023-03-04T02:56:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"13d098c3-f09f-4140-886a-a16c741719ad","html_url":"https://github.com/STRd6/system-client","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/STRd6/system-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRd6%2Fsystem-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRd6%2Fsystem-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRd6%2Fsystem-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRd6%2Fsystem-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/STRd6","download_url":"https://codeload.github.com/STRd6/system-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/STRd6%2Fsystem-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272280330,"owners_count":24906114,"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-08-27T02:00:09.397Z","response_time":76,"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":[],"created_at":"2024-11-01T00:09:22.679Z","updated_at":"2025-08-27T02:18:58.425Z","avatar_url":"https://github.com/STRd6.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"System Client\n=============\n\nClient lib to run apps on ZineOS and proxy messages to the OS through Postmaster.\n\nApps that want to integrate with ZineOS can use System Client to connect to\nZineOS through the system interface.\n\nSystem Client includes the UI library so apps can use that as well.\n\nUsage\n-----\n\nSetup:\n\n```coffee\nSystemClient = require \"system-client\"\n\n{application, system, UI} = SystemClient()\n\nsystem.ready()\n.then -\u003e # Connected to ZineOS\n.catch -\u003e # Not connected to ZineOS\n```\n\nMaking ZineOS system calls:\n\n```coffee\nsystem.writeFile(path, blob)\n```\n\nThe system calls are sent to the parent frame through postmessage. All arguments\nneed to be able to survive the structured clone algorithm. A promise is returned\nthat will be fulfilled with the result of the remote ivnocation or rejected with\nan error.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrd6%2Fsystem-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrd6%2Fsystem-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrd6%2Fsystem-client/lists"}