{"id":15314718,"url":"https://github.com/unframework/desk-timer","last_synced_at":"2025-04-06T08:20:46.921Z","repository":{"id":47280962,"uuid":"283675263","full_name":"unframework/desk-timer","owner":"unframework","description":null,"archived":false,"fork":false,"pushed_at":"2022-03-07T04:55:56.000Z","size":257,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-12T13:56:33.963Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":false,"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/unframework.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}},"created_at":"2020-07-30T05:10:25.000Z","updated_at":"2024-07-13T18:14:12.000Z","dependencies_parsed_at":"2022-09-04T05:00:32.351Z","dependency_job_id":null,"html_url":"https://github.com/unframework/desk-timer","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/unframework%2Fdesk-timer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unframework%2Fdesk-timer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unframework%2Fdesk-timer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unframework%2Fdesk-timer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unframework","download_url":"https://codeload.github.com/unframework/desk-timer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247452431,"owners_count":20941097,"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-01T08:46:48.187Z","updated_at":"2025-04-06T08:20:46.849Z","avatar_url":"https://github.com/unframework.png","language":"Python","readme":"# Hardware Desk Timer\n\n## Emulating PyImgui Environment in Vagrant\n\nFor local PyImgui \"emulation\" on the timer-ui Vagrant, do the following:\n\n```\ncd timer-ui\nvagrant up\nvagrant ssh\n```\n\nStart background Xvfb with GLX support (sized to mimic the screen size):\n\n```\nXvfb :1 -screen 0 480x272x24 +extension GLX +render -noreset \u0026\n```\n\nThen run TightVNC Viewer (not same as normal VNC service) on e.g. host Windows and enable listen mode.\n\nOnce that is ready, run x11vnc on Vagrant:\n\n```\nx11vnc -display :1 -connect 10.0.2.2 \u0026\n```\n\nThe actual Python script commandline is the same as on the Lichee Pi Nano:\n\n```\nDISPLAY=:1 python3 /vagrant/main.py\n```\n\n## Testing Scripts on Lichee Pi\n\nFirst, make a ZIP file (small one hopefully):\n\n```\nzip timer-ui.zip *py *png *ttf\n```\n\nStart decoder on the Lichee Pi:\n\n```\nbase64 -d | unzip -\n```\n\nThen base64-encode the data and copy-paste the data into serial console:\n\n```\nbase64 \u003c timer-ui.zip\n```\n\nRun the script:\n\n```\nDISPLAY=:0 python3 main.py\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funframework%2Fdesk-timer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funframework%2Fdesk-timer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funframework%2Fdesk-timer/lists"}