{"id":34033588,"url":"https://github.com/inflated-goboscript/tw-cli","last_synced_at":"2026-03-17T22:07:03.218Z","repository":{"id":313615682,"uuid":"1052033263","full_name":"inflated-goboscript/tw-cli","owner":"inflated-goboscript","description":"CLI for running scratch projects using playwright and turbowarp scaffolding.","archived":false,"fork":false,"pushed_at":"2025-09-30T21:06:37.000Z","size":2369,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-15T10:23:26.317Z","etag":null,"topics":["cli","goboscript","scratch","turbowarp"],"latest_commit_sha":null,"homepage":"https://inflated-goboscript.github.io/tw-cli/","language":"Python","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/inflated-goboscript.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-09-07T09:02:10.000Z","updated_at":"2025-09-30T21:06:09.000Z","dependencies_parsed_at":"2025-09-07T19:01:04.194Z","dependency_job_id":null,"html_url":"https://github.com/inflated-goboscript/tw-cli","commit_stats":null,"previous_names":["faretek1/tw-cli"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/inflated-goboscript/tw-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inflated-goboscript%2Ftw-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inflated-goboscript%2Ftw-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inflated-goboscript%2Ftw-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inflated-goboscript%2Ftw-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inflated-goboscript","download_url":"https://codeload.github.com/inflated-goboscript/tw-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inflated-goboscript%2Ftw-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30633240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T17:32:55.572Z","status":"ssl_error","status_checked_at":"2026-03-17T17:32:38.732Z","response_time":56,"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","goboscript","scratch","turbowarp"],"created_at":"2025-12-13T19:14:22.999Z","updated_at":"2026-03-17T22:07:03.212Z","avatar_url":"https://github.com/inflated-goboscript.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tw-cli\n\n\u003e Run scratch projects in the terminal\n\n\u003e [!WARNING]\n\u003e These install instructions may not be enough if you are\n\u003e running a linux distro not directly supported by playright, e.g. arch.\n\u003e Make sure you can open chromium with playright with `playwright open` \n\u003e before trying to use tw-cli\n\n- Uses playwright and turbowarp scaffolding\n- Supports the turbowarp debugger's log, warn, error and breakpoint blocks.\n\n## Installation\n\n`pip install turbowarp-cli`\n\n\u003cdetails\u003e\n\u003csummary\u003eBleeding edge:\u003c/summary\u003e\n1. git clone this repo\n2. `pip install -e .`\n3. to update, use `git pull`\n\u003c/details\u003e\n\n## Usage\n\n`twcli run \u003cProject path\u003e`\n\nIt only works on project files.\n\n---\n\nIf you want to automatically supply inputs to `ask and wait` blocks, use the -i command:\n\n`twcli run .\\Project.sb3 -i \"hi\" \"there`\n\nThis provides the arguments:\n- `hi`\n- `there`\n\nIf you want to disable headless mode (to see the browser), use `-H`:\n\n`twcli run .\\Project.sb3 -i \"hi\" \"there\" -H`\n\nIf the exit code is 1, a Runtime error will always be raised.\nThe only way to exit with code 1 is with a breakpoint block.\nOtherwise, the program will exit with code 0 when it naturally stops.\n\nIf you want to use your own 'error codes'\n\n1. Use the error block. This will print in red but not exit the program\n2. Use the breakpoint block\n\nThis is ^^ intentional design to keep things simpler.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finflated-goboscript%2Ftw-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finflated-goboscript%2Ftw-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finflated-goboscript%2Ftw-cli/lists"}