{"id":13297786,"url":"https://github.com/pandrr/WebDemoExe","last_synced_at":"2025-03-10T09:33:22.918Z","repository":{"id":149951023,"uuid":"620767328","full_name":"pandrr/WebDemoExe","owner":"pandrr","description":"javascript demos as small .exe without electron","archived":false,"fork":false,"pushed_at":"2024-03-26T17:04:45.000Z","size":134,"stargazers_count":33,"open_issues_count":2,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-06T04:02:01.830Z","etag":null,"topics":["demoscene","web","windows"],"latest_commit_sha":null,"homepage":"https://github.com/pandrr/WebDemoExe","language":"C#","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/pandrr.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":"2023-03-29T10:33:18.000Z","updated_at":"2025-02-03T06:11:23.000Z","dependencies_parsed_at":"2023-11-07T02:10:28.871Z","dependency_job_id":"14019a9d-c534-457f-b756-228c1a6f5e16","html_url":"https://github.com/pandrr/WebDemoExe","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pandrr%2FWebDemoExe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pandrr%2FWebDemoExe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pandrr%2FWebDemoExe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pandrr%2FWebDemoExe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pandrr","download_url":"https://codeload.github.com/pandrr/WebDemoExe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242823811,"owners_count":20191066,"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":["demoscene","web","windows"],"created_at":"2024-07-29T17:27:23.626Z","updated_at":"2025-03-10T09:33:22.583Z","avatar_url":"https://github.com/pandrr.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"![image](https://user-images.githubusercontent.com/98792/229350512-f74e4f52-9f70-4a86-874a-3cb07f25bb17.png)\n\n## webDemoExe\n\nwrap your web demo into a windows exe format, just like a native demo.\n\n[download](https://github.com/pandrr/WebDemoExe/releases)\n\n### about\n\n- it does not use electron, size is ~0.5mb\n- it will use edge to display your demo. edge is a chromium based browser, which is basically chrome\n- shows a little start dialog (only fullscreen option right now, more in the future hopefully)\n\n### how\n\n- download the zip file from the releases section \n- put your static html/js files into the demo subfolder\n- edit webdemoexe.xml and change the title\n- rename webdemoexe.exe to your demo name\n- add `\u003cautostart/\u003e` into the config to not show the dialog at all and start directly, don't do this if you want to play audio without having another user interaction!\n\n- if the url contains \"webdemoexe_exit\" it will exit, e.g. use window.location.hash=\"webdemoexe_exit\"\n\n### technical\n- exe is not signed, still have to click \"run anyway\", like with most demos\n- webdemoexe uses [webview2](https://learn.microsoft.com/en-us/microsoft-edge/webview2/) and creates a virtual host from the demo subfolder to run your demo\n- escape to close is handled by webdemoexe\n- no gesture is needed to auto play audio, if you normally display a play button, make sure it only shows when audiocontext stats is not \"running\"...\n\n### ideas\n- currently has no resolution selection, not sure how this is possible with wpf etc.\n- in the future the dialog could show link to website/online version and maybe a little teaser image...\n- there should be way to exit the app from js / in electron we always used `window.close()` not possible with webview2 afaik\n\n### misc\n\nthanks to kb for helping with initial setup!\n\nany help is appreciated. i am not a windows developer, i hope everything here is not too wrong.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpandrr%2FWebDemoExe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpandrr%2FWebDemoExe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpandrr%2FWebDemoExe/lists"}