{"id":38649089,"url":"https://github.com/arach/termbridgekit","last_synced_at":"2026-04-03T15:04:47.063Z","repository":{"id":328842672,"uuid":"1116980913","full_name":"arach/TermBridgeKit","owner":"arach","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-30T21:14:53.000Z","size":46,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-30T21:28:04.789Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/arach.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-15T16:50:20.000Z","updated_at":"2026-03-30T19:52:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/arach/TermBridgeKit","commit_stats":null,"previous_names":["arach/termbridgekit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arach/TermBridgeKit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arach%2FTermBridgeKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arach%2FTermBridgeKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arach%2FTermBridgeKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arach%2FTermBridgeKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arach","download_url":"https://codeload.github.com/arach/TermBridgeKit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arach%2FTermBridgeKit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31359104,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T14:24:47.623Z","status":"ssl_error","status_checked_at":"2026-04-03T14:24:32.380Z","response_time":107,"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":[],"created_at":"2026-01-17T09:17:49.255Z","updated_at":"2026-04-03T15:04:46.587Z","avatar_url":"https://github.com/arach.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TermBridgeKit\n\nDrop a native terminal surface into a SwiftUI app. Uses Ghostty today,\nbut the SwiftUI API is kept small so the backend can change later.\n\n## Requirements\n- macOS 14+\n- iOS 17+\n- Swift 5.9 / Xcode 15+\n- `vendor/ghostty/macos/GhosttyKit.xcframework` (git-ignored, must\n  include the slices you want to ship)\n\n## Get GhosttyKit\nThis repo does not ship Ghostty binaries. Build `GhosttyKit.xcframework` from the Ghostty project, then copy it in:\n\n```sh\n# After building GhosttyKit.xcframework from Ghostty's embed instructions\n./scripts/install-ghosttykit.sh /path/to/GhosttyKit.xcframework\n```\n\nThe script just copies the framework into `vendor/ghostty/macos`.\n\n## Usage\nAdd TermBridgeKit via SPM or as a local checkout, then render the view:\n\n```swift\nimport SwiftUI\nimport TermBridgeKit\n\nstruct TerminalPane: View {\n    @State private var controller = TermBridgeKitTerminalController()\n\n    var body: some View {\n        TermBridgeKitTerminalView(controller: controller)\n            .frame(minWidth: 600, minHeight: 400)\n    }\n}\n```\n\nUse `TermBridgeKitTerminalController` when you want to feed remote\nterminal bytes into the surface, react to size changes, or forward input\nto something like SSH.\n\nSet `TERMBRIDGEKIT_DEBUG_INPUT=1` to log keyboard/mouse events.\n\n## Demo\n```sh\nswift run TermBridgeKitDemo\n```\n\n## iOS demo\nGenerate and open the iOS demo project with XcodeGen:\n\n```sh\nxcodegen generate\nopen TermBridgeKitDemos.xcodeproj\n```\n\nThe iOS demo expects SSH settings via scheme environment variables:\n\n- `TERMBRIDGEKIT_SSH_HOST`\n- `TERMBRIDGEKIT_SSH_USER`\n- `TERMBRIDGEKIT_SSH_PRIVATE_KEY`\n- `TERMBRIDGEKIT_SSH_PASSWORD` (optional)\n- `TERMBRIDGEKIT_SSH_PORT` (optional)\n- `TERMBRIDGEKIT_SSH_COMMAND` (optional)\n\nFor multiline private keys, replace newlines with `\\n`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farach%2Ftermbridgekit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farach%2Ftermbridgekit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farach%2Ftermbridgekit/lists"}