{"id":18369791,"url":"https://github.com/cawfree/ink-remote","last_synced_at":"2026-05-07T09:36:59.268Z","repository":{"id":57750315,"uuid":"525523593","full_name":"cawfree/ink-remote","owner":"cawfree","description":"Serve an Ink application via Express.","archived":false,"fork":false,"pushed_at":"2022-08-22T10:14:07.000Z","size":79,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-07T05:01:35.527Z","etag":null,"topics":["cli","express","ink","react","server","xterm"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cawfree.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":"2022-08-16T19:54:38.000Z","updated_at":"2024-07-09T09:48:14.000Z","dependencies_parsed_at":"2022-08-26T09:30:13.350Z","dependency_job_id":null,"html_url":"https://github.com/cawfree/ink-remote","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cawfree/ink-remote","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cawfree%2Fink-remote","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cawfree%2Fink-remote/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cawfree%2Fink-remote/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cawfree%2Fink-remote/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cawfree","download_url":"https://codeload.github.com/cawfree/ink-remote/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cawfree%2Fink-remote/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32731949,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["cli","express","ink","react","server","xterm"],"created_at":"2024-11-05T23:31:49.486Z","updated_at":"2026-05-07T09:36:59.250Z","avatar_url":"https://github.com/cawfree.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ink-remote\nServe an [__Ink__](https://github.com/vadimdemedes/ink) application via [__Express__](https://github.com/expressjs/express), so you can check on your application remotely when you don't feel like getting up from off your couch since you run the risk of waking your baby 👶\n\n[__Check it out!__ 👀](https://twitter.com/cawfree/status/1559674440430063616)\n\n### 🚀 getting started\n\nInstall using [__Yarn__](https://yarnpkg.com/):\n\n```shell\nyarn add ink-remote xterm xterm-addon-fit\n```\n\nThen just swap out `ink`'s included `render` function for the alternative `render` method exported by `ink-remote`:\n\n```diff\nimport * as React from \"react\";\n\n- import {Text, render} from \"ink\";\n+ import {Text} from \"ink\";\n+ import {render} from \"ink-remote\";\n\n- render(\u003cText children=\"Hello, world!\" /\u003e);\n+ render(\u003cText children=\"Hello, world!\" /\u003e, {port: 3000});\n```\n\nIn this instance, not only will your application will be rendered in the CLI like usual, but it will also be accessible via [`http://localhost:3000`](http://localhost:3000`). The content is rendered using [__XTerm__](https://github.com/xtermjs/xterm.js/), whose fully-featured renderer is capable of presenting your application faithfully.\n\n### ✌️ license\n[__MIT__](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcawfree%2Fink-remote","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcawfree%2Fink-remote","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcawfree%2Fink-remote/lists"}