{"id":16832715,"url":"https://github.com/zswang/jcameras","last_synced_at":"2025-04-11T04:14:40.772Z","repository":{"id":145189265,"uuid":"132592499","full_name":"zswang/jcameras","owner":"zswang","description":"Mouse behavior recording and playing","archived":false,"fork":false,"pushed_at":"2018-05-20T23:47:32.000Z","size":2361,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T04:14:35.394Z","etag":null,"topics":["mouse","player","recorder"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/zswang.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":"2018-05-08T10:23:52.000Z","updated_at":"2019-07-23T10:01:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"c0a56e2d-1a09-4002-be48-af5412ec641b","html_url":"https://github.com/zswang/jcameras","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Fjcameras","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Fjcameras/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Fjcameras/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zswang%2Fjcameras/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zswang","download_url":"https://codeload.github.com/zswang/jcameras/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248339225,"owners_count":21087215,"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":["mouse","player","recorder"],"created_at":"2024-10-13T11:50:09.413Z","updated_at":"2025-04-11T04:14:40.762Z","avatar_url":"https://github.com/zswang.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg align=\"center\" width=\"400\" height=\"123,005\" src=\"https://user-images.githubusercontent.com/34600369/40283094-e8d914e0-5c70-11e8-99b7-139d390e5476.png\"\u003e\n\n# jcameras\n\nMouse behavior recording and playing.\n\n## show\n\n![show](./document/jcameras.gif)\n\n* [Add to bookmarklet](https://penjs.net/element/)\n\n## data\n\n### long\n\n```json\n{\n  \"prefix\": \"ht\",\n  \"version\": \"12\",\n  \"session\": \"\", // 会话标识\n  \"seq\": 1, // 序号\n  \"timestamp\": 12345678,\n  \"events\": [\n    {\n      \"type\": \"musemove\", // 事件类型\n      \"path\": \"\", // 元素路径\n      \"position\": {\n        \"tx\": 0.22,\n        \"ty\": 0.33,\n      },\n      \"time\": 1234\n    }\n  ]\n}\n```\n\n### short\n\n* session data\n\nname        | length | description | note\n------------|--------|-------------|-------\nprefix      | 2      | 数据前缀     |\nversion     | 1      | 数据版本     |\nsession     | 8      | 会话标识     |\nseq         | 2      | 记录序号     |\ntimestamp   | 8      | 时间戳       |\nevents      | ...    | 事件记录     |\n\n* event data\n\nname        | length |  description | note\n------------|--------|--------------|-----\ntype        | 1      | 事件类型      |\nposition    | 4      | 坐标位置      |\ntime        | 3      | 相隔时间      |\nextend      | 1      | 扩展信息      |\npath        | ...    | 元素路径      |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzswang%2Fjcameras","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzswang%2Fjcameras","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzswang%2Fjcameras/lists"}