{"id":22458043,"url":"https://github.com/prokil/browser-in-browser","last_synced_at":"2025-03-27T13:44:00.557Z","repository":{"id":265374638,"uuid":"895795316","full_name":"ProKil/browser-in-browser","owner":"ProKil","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-19T21:08:17.000Z","size":299,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-19T22:23:26.805Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://bib.zhuhao.me","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/ProKil.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}},"created_at":"2024-11-28T23:26:59.000Z","updated_at":"2025-02-19T22:06:57.000Z","dependencies_parsed_at":"2024-12-13T19:38:55.314Z","dependency_job_id":"1edb918a-c19f-4e33-8b1e-6bb1a331b546","html_url":"https://github.com/ProKil/browser-in-browser","commit_stats":null,"previous_names":["prokil/browser-in-browser"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProKil%2Fbrowser-in-browser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProKil%2Fbrowser-in-browser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProKil%2Fbrowser-in-browser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProKil%2Fbrowser-in-browser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProKil","download_url":"https://codeload.github.com/ProKil/browser-in-browser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245858477,"owners_count":20684054,"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":"2024-12-06T08:10:31.645Z","updated_at":"2025-03-27T13:44:00.530Z","avatar_url":"https://github.com/ProKil.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Browser in Browser\n\nI am surprised that data collection for web agents is still hard. This is a hack done in one day to demonstrate a simple approach to data collection for web agents. \n\n## Installation\n\n### Frontend\n\nYou can use the hosted version at [bib.zhuhao.me](https://bib.zhuhao.me) or you can run your own frontend through\n\n```bash\ncd frontend\nbun run dev\n```\n\n### Backend\n\nRun the backend server. \n\n```bash\ncd backend\n\n# pip install uv # if you don't have uv installed.\n\nuv run playwright install\nuv run python main.py\n```\n\n## Usage\n\n\u003e [!CAUTION]\n\u003e Use `http` only for local development purpose. Please use `https://bib.zhuhao.me` or your self-hosted version together\n\u003e with a securly hosted backend (using `https` and `wss` endpoints).\n\nNavigate to [http://bib.zhuhao.me](http://bib.zhuhao.me) and enter the URL you hosted the frontend on.\nPut in the backend url (default is `http://localhost:8000`). \n\nWhen you input a URL, the backend will open the URL in a browser. \nThe screenshot is updated at 33Hz, which can be tuned in the backend.\nNow it supports recording the following actions:\n\n- Single click\n- Hover\n- Scroll\n- Type\n\nMIT License @ 2024 Hao Zhu\n\nCite as\n```bibtex\n@misc{bib,\n  author = {Hao Zhu},\n  title = {Browser in Browser data collection toolkit},\n  year = {2024},\n  howpublished = {\\url{https://bib.zhuhao.me}}\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprokil%2Fbrowser-in-browser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprokil%2Fbrowser-in-browser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprokil%2Fbrowser-in-browser/lists"}