{"id":16778508,"url":"https://github.com/pierxuy/package-url","last_synced_at":"2026-04-19T20:35:58.551Z","repository":{"id":239604734,"uuid":"800002879","full_name":"PierXuY/package-url","owner":"PierXuY","description":"Simply package URL based on Tauri","archived":false,"fork":false,"pushed_at":"2024-05-15T15:53:54.000Z","size":1238,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-16T23:37:29.629Z","etag":null,"topics":["tauri","url"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PierXuY.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":"2024-05-13T14:12:49.000Z","updated_at":"2024-05-30T04:47:38.456Z","dependencies_parsed_at":"2024-05-15T22:07:48.124Z","dependency_job_id":null,"html_url":"https://github.com/PierXuY/package-url","commit_stats":null,"previous_names":["pierxuy/package-url"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierXuY%2Fpackage-url","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierXuY%2Fpackage-url/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierXuY%2Fpackage-url/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PierXuY%2Fpackage-url/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PierXuY","download_url":"https://codeload.github.com/PierXuY/package-url/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243230067,"owners_count":20257640,"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":["tauri","url"],"created_at":"2024-10-13T07:27:53.304Z","updated_at":"2025-12-24T20:07:52.941Z","avatar_url":"https://github.com/PierXuY.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"./README.md\"\u003e简体中文\u003c/a\u003e |\n  \u003ca href=\"./README_EN.md\"\u003eEnglish\u003c/a\u003e\n\u003c/p\u003e\n\n\n\n项目基于Tauri框架，最初用于打包另一个[ChatGPT-Assistant](https://github.com/PierXuY/ChatGPT-Assistant)项目。    \n用于打包URL为桌面应用\n\n\n**有以下几种使用方式：**\n\n\n### 简单体验\n- 下载[Releases](https://github.com/PierXuY/package-url/releases/tag/app-v0.0.3)中的程序并安装\n- 安装完成后，定义config文件中的config.json文件，改为自己的url信息\n- 打开应用即可\n\n### 本地打包\n可以重新设定默认url，替换应用图标等\n- 复制项目源码\n- 安装rust环境\n- 安装tauri cli：`cargo install tauri-cli`\n- 安装IDE插件rust-analyzer，会自动安装所需包\n- 更换 根目录 和  /src路径 下的app-icon.png图片（必须为方形），名称需一致\n- 运行`cargo tauri icon`来更换图标\n- 更改\\src-tauri\\tauri.config.json中的 唯一标识符\"identifier\" 和 \"package\"信息\n- 定义config文件夹中的config.json文件，改为自己的url信息\n- 运行`cargo tauri build`打包应用（`cargo tauri dev`可用于调试）\n\n### GitHub Action 跨平台打包\n- fork项目\n- 更换 根目录 和  /src路径 下的app-icon.png图片（必须为方形），名称需一致\n- 更改\\src-tauri\\tauri.config.json中的 唯一标识符\"identifier\" 和 \"package\"信息\n- 定义config文件夹中的config.json文件，改为自己的url信息\n- 点击fork项目上方的Actions，选择名为publish的workflow，点击右方的Run workflow\n- 等待打包完成，在项目的Releases中查看（在草稿箱中，未正式发布）\n\n### 打包本地程序（仅Windows）\n- url字段设置为本地端口，例如\"url\": \"http://127.0.0.1:8666/\"\n- windows_cmd字段设置为本地程序绝对路径，用于启动项目\n- emit_message字段用于标识前端项目是否发送\"ready\"消息，用于控制主窗口的显示，可设置为false   \n  发送消息示例：\n  ```js\n  if (\"__TAURI__\" in window) {\n\t  window.__TAURI__.event.emit(\"ready\");\n  }\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierxuy%2Fpackage-url","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpierxuy%2Fpackage-url","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpierxuy%2Fpackage-url/lists"}