{"id":27012013,"url":"https://github.com/codevideo/codevideo-virtual-mouse","last_synced_at":"2026-03-01T17:32:56.714Z","repository":{"id":285735292,"uuid":"959033258","full_name":"codevideo/codevideo-virtual-mouse","owner":"codevideo","description":"TypeScript class that simulates a mouse","archived":false,"fork":false,"pushed_at":"2025-05-03T11:15:28.000Z","size":176,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-02T18:14:54.316Z","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/codevideo.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-04-02T06:52:04.000Z","updated_at":"2025-05-03T11:15:31.000Z","dependencies_parsed_at":"2025-08-28T08:24:57.482Z","dependency_job_id":"4a180dad-e96d-4894-a32a-ac40b10323d6","html_url":"https://github.com/codevideo/codevideo-virtual-mouse","commit_stats":null,"previous_names":["codevideo/codevideo-virtual-mouse"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codevideo/codevideo-virtual-mouse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codevideo%2Fcodevideo-virtual-mouse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codevideo%2Fcodevideo-virtual-mouse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codevideo%2Fcodevideo-virtual-mouse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codevideo%2Fcodevideo-virtual-mouse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codevideo","download_url":"https://codeload.github.com/codevideo/codevideo-virtual-mouse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codevideo%2Fcodevideo-virtual-mouse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29976279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T16:35:47.903Z","status":"ssl_error","status_checked_at":"2026-03-01T16:35:44.899Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":"2025-04-04T11:47:31.010Z","updated_at":"2026-03-01T17:32:56.674Z","avatar_url":"https://github.com/codevideo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @fullstackcraft/codevideo-virtual-mouse\n\n![NPM Version](https://img.shields.io/npm/v/@fullstackcraftllc/codevideo-virtual-mouse)\n\n`codevideo-virtual-mouse` is a TypeScript class that simulates a virtual mouse that can speak. This lightweight and versatile library is ideal for building educational tools, code playgrounds, and interactive coding environments within web applications.\n\nThis library heavily relies on the types from [codevideo-types](https://github.com/codevideo/codevideo-types)\n\n## Example Usage\n\n```typescript\nimport { VirtualMouse } from '@fullstackcraftllc/codevideo-virtual-mouse';\n\n// Initialize a VirtualMouse instance with initial existing command history\nconst virtualMouse = new VirtualMouse();\n\n// Apply speak action to the virtual mouse\nvirtualMouse.applyActions([\n  { name: 'mouse-move-file-explorer', value: \"1\" }\n]);\n\n// Use the virtual mouse object\nconst currentLocation = virtualMouse.getCurrentLocation();\n\n// Log the final code and actions applied\nconsole.log('Current mouse location:');\nconsole.log(currentLocation);  // \"file-explorer\"\n```\n\n## Why?\n\nWhy do we need a seemingly useless class? This library, along with many others create an entire event sourcing framework for the IDE. This is a small part of a larger project to create a declarative way to build, edit, and generate step by step educational video software courses.\n\nSee more at [codevideo.io](https://codevideo.io)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodevideo%2Fcodevideo-virtual-mouse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodevideo%2Fcodevideo-virtual-mouse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodevideo%2Fcodevideo-virtual-mouse/lists"}