{"id":28213640,"url":"https://github.com/zoid-archive/webterm","last_synced_at":"2025-06-24T15:05:53.228Z","repository":{"id":293639662,"uuid":"984674165","full_name":"zoid-archive/webterm","owner":"zoid-archive","description":"Expose terminal via browser for AI to interact with CLI commands using playwright MCP","archived":false,"fork":false,"pushed_at":"2025-05-17T07:22:43.000Z","size":46,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-11T17:56:09.705Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/zoid-archive.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}},"created_at":"2025-05-16T10:12:25.000Z","updated_at":"2025-06-07T17:41:46.000Z","dependencies_parsed_at":"2025-05-16T11:41:43.240Z","dependency_job_id":null,"html_url":"https://github.com/zoid-archive/webterm","commit_stats":null,"previous_names":["divyenduz/webterm","zoid-archive/webterm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zoid-archive/webterm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoid-archive%2Fwebterm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoid-archive%2Fwebterm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoid-archive%2Fwebterm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoid-archive%2Fwebterm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zoid-archive","download_url":"https://codeload.github.com/zoid-archive/webterm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zoid-archive%2Fwebterm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261700468,"owners_count":23196501,"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","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":"2025-05-17T20:11:08.780Z","updated_at":"2025-06-24T15:05:53.220Z","avatar_url":"https://github.com/zoid-archive.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webterm\n\nA web-based terminal application built with React, TypeScript, and Xterm.js. The project consists of a UI package (using Vite and React) and a server package (using WebSockets and Node.js).\n\n## Project Structure\n\n```\n/\n├── packages/\n│   ├── ui/        # React frontend with Xterm.js terminal\n│   └── server/    # Node.js WebSocket server with node-pty\n```\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js\n- Bun (for package management and UI development)\n\n### Installation\n\n```bash\nbun install\n```\n\n### Running the Application\n\nTo run both the UI and server concurrently:\n\n```bash\nbun run dev\n```\n\nThis will start:\n- UI server at http://localhost:5173 (Vite dev server)\n- WebSocket server at ws://localhost:5174\n\n## Individual Package Commands\n\n### UI Package\n\n```bash\nbun run --filter '@webterm/ui' dev\n```\n\n### Server Package\n\n```bash\nbun run --filter '@webterm/server' dev\n```\n\n## Note on Server Runtime\n\nThe server is running with Node.js and not Bun due to a known issue with Bun causing crashes when using node-pty. This is related to an open issue: https://github.com/oven-sh/bun/issues/19688\n\n## Features\n\n- Interactive web-based terminal\n- WebSocket-based real-time communication\n- Cross-platform support (Windows, macOS, Linux)\n- Automatic terminal resizing\n- Connection status indicator\n- Custom working directory via URL parameter (`cwd`)\n\n### Using Custom Working Directory\n\nYou can specify a custom working directory for the terminal by using the `cwd` URL parameter:\n\n```\nhttp://localhost:5173?cwd=/absolute/path/to/your/project\n```\n\nThis allows you to start the terminal in any directory on your system, making it convenient for working with specific projects.\n\n## License\n\n[MIT](LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoid-archive%2Fwebterm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzoid-archive%2Fwebterm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzoid-archive%2Fwebterm/lists"}