{"id":20734375,"url":"https://github.com/byebyebruce/clipty","last_synced_at":"2026-03-03T15:01:59.868Z","repository":{"id":178848752,"uuid":"662381604","full_name":"byebyebruce/clipty","owner":"byebyebruce","description":"Transform your Command Line Interface (CLI) function  into a web browser-based terminal emulator.","archived":false,"fork":false,"pushed_at":"2024-03-15T02:35:44.000Z","size":40,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-26T18:40:32.795Z","etag":null,"topics":["cli","console","golang","gotty","pty","stdout","tty","tui","web","websocket"],"latest_commit_sha":null,"homepage":"","language":"Go","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/byebyebruce.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}},"created_at":"2023-07-05T02:43:14.000Z","updated_at":"2024-11-16T14:51:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"d56d50d7-6e51-4fd7-8fac-79615a675464","html_url":"https://github.com/byebyebruce/clipty","commit_stats":null,"previous_names":["byebyebruce/clipty"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/byebyebruce/clipty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byebyebruce%2Fclipty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byebyebruce%2Fclipty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byebyebruce%2Fclipty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byebyebruce%2Fclipty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/byebyebruce","download_url":"https://codeload.github.com/byebyebruce/clipty/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byebyebruce%2Fclipty/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30050222,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T14:38:37.398Z","status":"ssl_error","status_checked_at":"2026-03-03T14:38:06.721Z","response_time":61,"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":["cli","console","golang","gotty","pty","stdout","tty","tui","web","websocket"],"created_at":"2024-11-17T05:30:10.143Z","updated_at":"2026-03-03T15:01:59.836Z","avatar_url":"https://github.com/byebyebruce.png","language":"Go","readme":"# CLIPTY\n\u003e Transform your Command Line Interface (CLI) function into a web browser-based terminal emulator.\n\n## Preview\n![](doc/preview.png)\n\n## Usage\n1. \n    ```bash\n    go get github.com/byebyebruce/clipty\n    ```\n2.\n    ```go\n\n    func main() {\n        ctx, cancel := context.WithCancel(context.Background())\n        defer cancel()\n\n        opt := \u0026server.Options{}\n        err := clipty.RunServerWithOption(ctx, opt, nil, func(ctx context.Context, params map[string][]string, stdin *os.File, stdout *os.File, stderr *os.File) {\n                for i := 0; i \u003c 10; i++ {\n                    select {\n                    case \u003c-ctx.Done():\n                        return\n                    default:\n                    }\n                    time.Sleep(time.Second)\n                    fmt.Fprintln(stdout, \"sleep\", i+1)\n                }\n                fmt.Fprintln(stdout, \"Bye..\")\n            })\n        if err != nil {\n            log.Fatal(err)\n        }\n    }\n    ```\n3. \n    ```bash\n    go run .\n    ```\n4. open http://localhost:8080\n## Example\n[example](example)\n\n\n## SPECIAL THANKS\n* [pty](https://github.com/creack/pty)\n* [GoTTY](https://github.com/sorenisanerd/gotty)\n\n\n![](https://hits.sh/github.com/byebyebruce/clipty/doc/hits.svg?label=%F0%9F%91%80)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyebyebruce%2Fclipty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyebyebruce%2Fclipty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyebyebruce%2Fclipty/lists"}