{"id":26275531,"url":"https://github.com/acetrak/pywebview-quick-start","last_synced_at":"2026-03-06T06:32:03.682Z","repository":{"id":167080466,"uuid":"642643213","full_name":"acetrak/pywebview-quick-start","owner":"acetrak","description":"Developing Desktop Applications with pywebview + vite","archived":false,"fork":false,"pushed_at":"2025-02-16T01:43:24.000Z","size":139,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-06T18:08:50.905Z","etag":null,"topics":["desktop","desktop-application","pywebview"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/acetrak.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":"2023-05-19T03:05:32.000Z","updated_at":"2025-02-16T01:44:38.000Z","dependencies_parsed_at":"2025-05-06T16:05:01.636Z","dependency_job_id":"8d430782-b9bf-4667-a3d9-523a3c233e46","html_url":"https://github.com/acetrak/pywebview-quick-start","commit_stats":null,"previous_names":["acetrak/pywebview-quick-start"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/acetrak/pywebview-quick-start","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acetrak%2Fpywebview-quick-start","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acetrak%2Fpywebview-quick-start/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acetrak%2Fpywebview-quick-start/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acetrak%2Fpywebview-quick-start/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acetrak","download_url":"https://codeload.github.com/acetrak/pywebview-quick-start/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acetrak%2Fpywebview-quick-start/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30164594,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T04:43:31.446Z","status":"ssl_error","status_checked_at":"2026-03-06T04:40:30.133Z","response_time":250,"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":["desktop","desktop-application","pywebview"],"created_at":"2025-03-14T10:16:37.417Z","updated_at":"2026-03-06T06:32:03.627Z","avatar_url":"https://github.com/acetrak.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Developing Desktop Applications with pywebview + vite\n\n# Directory Structure\n\n-app  vite application (frontend)\n\n-main.py  application entry file\n\n# Development Stage\n\n1. Enter /app directory\n\n`pnpm i`\n\n`pnpm run dev`\n\n2. Configure `main.py`\n\n```python\nif __name__ == '__main__':\n    api = Api()\n\n    window = webview.create_window('pywebview', 'http://localhost:5173', js_api=api, )\n    webview.start(debug=True)\n```\n\n3. Launch the main program\n\nRun `main.py`\n\n# Packaging the Application\n1. Enter /app directory\n\n`pnpm run build`\n\n2. Configure `main.py`\n\n```python\nif __name__ == '__main__':\n    api = Api()\n\n    window = webview.create_window('pywebview + vue3', server, js_api=api, )\n    webview.start(debug=False)\n```\n\n3. Use `auto-py-to-exe` for packaging\n\n```bash\npip install auto-py-to-exe\n# Launch the tool\nauto-py-to-exe\n```\n\nSelect the entry point `main.py`, and add the gui directory generated from the vite build\n\n![auto-py-to-exe](./auto-py-to-exe.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facetrak%2Fpywebview-quick-start","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facetrak%2Fpywebview-quick-start","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facetrak%2Fpywebview-quick-start/lists"}