{"id":16711751,"url":"https://github.com/bburdette/mousepage","last_synced_at":"2025-08-09T07:25:10.004Z","repository":{"id":35161356,"uuid":"215338175","full_name":"bburdette/mousepage","owner":"bburdette","description":"use your phone as a mouse for your computer!","archived":false,"fork":false,"pushed_at":"2023-06-21T22:13:54.000Z","size":610,"stargazers_count":6,"open_issues_count":10,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T04:52:01.421Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bburdette.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}},"created_at":"2019-10-15T15:52:49.000Z","updated_at":"2021-11-01T17:05:13.000Z","dependencies_parsed_at":"2022-09-15T23:12:20.710Z","dependency_job_id":null,"html_url":"https://github.com/bburdette/mousepage","commit_stats":{"total_commits":55,"total_committers":2,"mean_commits":27.5,"dds":"0.12727272727272732","last_synced_commit":"634025ce9060c73680b142503f3eb0823b7b3779"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bburdette%2Fmousepage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bburdette%2Fmousepage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bburdette%2Fmousepage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bburdette%2Fmousepage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bburdette","download_url":"https://codeload.github.com/bburdette/mousepage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244866258,"owners_count":20523486,"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-10-12T20:26:18.819Z","updated_at":"2025-03-21T20:33:20.566Z","avatar_url":"https://github.com/bburdette.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mousepage\nuse your phone as a mouse for your computer!  also configure custom shortcut buttons for specific apps.\n\nconfigs for various apps are in configs/\n\nyou can create an (unformatted) example prefs file with `mousepage --writeprefs \u003cfilename\u003e`.\n\ncurrently there's an audacity config, a vlc config, and a plain mouse config.\n\nstart the server with `mousepage \u003cconfig file\u003e`, navigate to the page with your phone or tablet, there you go.\n\nAs of now, this works best in Chrome, with firefox you might need to prompt a resize event somehow or other.\n\n**example ui**\n\nIn addition to the mouse controls, the vlc config has various buttons that cause mousepage to issue shortcut key presses.\n\n![](images/vlc-half.jpg)\n\n**prefs**\n\nPrefs are in s-expression format.  Here's the example prefs with some explanatory comments.\n\n```Scheme\n((prefs (xmult . 1000.0)  ; prefs section for port and some mouse feel params.\n        (ymult . 1000.0)\n        (max_tap_duration . 100)\n        (show_press_duration . #f)  ; use #t and #f for true/false\n        (scroll_threshold . 10)\n        (html_port . 8001)\n        (websocket_port . 9001)\n        )\n (gui  ; gui section has 'title' and 'control'.\n        (title . \"example\")  ; title bar of the web page.\n        (control Sizer  ; top control is typically a Sizer.  \n                        ; Sizer has orientation (Horizontal/Vertical)\n                        ; controls (list of controls)\n                        ; proportion (number indicating relative size of a control\n                        ;             compared to others in a list.)\n                  (orientation . Vertical) \n                  (controls (Sizer (orientation . Horizontal)\n                                    ; labels just show static text.\n                                   (controls (Label (label . \"label1\")\n                                                    (proportion)\n                                                    )\n                                               (Label (label . \"label2\")\n                                                      (proportion)\n                                                      )\n                                             )\n                                   (proportion 0.10000000149011612)\n                                   )\n                             (Sizer (orientation . Horizontal)\n                                    ; for MouseButton 'button' values look in buildlisp.rs\n                                    (controls (MouseButton (label \"L\")\n                                                           (button . LeftButton)\n                                                           (proportion)\n                                                           )\n                                       ; holding scroll button down cause the mousexy \n                                       ; area to be in scroll mode.\n                                              (ScrollButton (label \"Scroll\")\n                                                            (proportion)\n                                                            )\n                                              (MouseButton (label \"R\")\n                                                           (button . RightButton)\n                                                           (proportion)\n                                                           )\n                                              )\n                                    (proportion 0.10000000149011612)\n                                    )\n                            ; MouseXy moves the mouse around like a touchpad.\n                             (MouseXy (label)\n                                      (proportion 0.5)\n                                      )\n                             (Sizer (orientation . Horizontal)\n                                    (controls\n                              ; key controls contain a list of keys.  \n                              ; see buildlisp.rs for a list of valid key symbols to\n                              ; use here.  For multiple keys (like ctrl-shift-z) you can\n                              ; do: (key LControlKey LShiftKey ZKey) \n                              ; keys are pressed from left to right, and released right to left.\n                                            (Key (label \"Enter Key\")\n                                                 (keys EnterKey)\n                                                 (proportion 0.10000000149011612)\n                                                 )\n                                            )\n                                    (proportion) ; empty proportion is optional\n                                    )\n                            )\n                  (proportion)\n                 )\n       )\n  ; see buildlisp.rs for a list of valid 'color' symbols.\n  (colors (((color . Text)\n             (hexstring . \"FF0000\")\n            )))\n )\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbburdette%2Fmousepage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbburdette%2Fmousepage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbburdette%2Fmousepage/lists"}