{"id":34378808,"url":"https://github.com/junjiem/dify-plugin-repackaging","last_synced_at":"2026-03-04T04:09:05.915Z","repository":{"id":282830575,"uuid":"949772225","full_name":"junjiem/dify-plugin-repackaging","owner":"junjiem","description":"Scripting tool for downloading Dify plugin package from Dify Marketplace and Github and repackaging [true] offline package.","archived":false,"fork":false,"pushed_at":"2025-09-26T11:23:51.000Z","size":107853,"stargazers_count":556,"open_issues_count":17,"forks_count":85,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-12-25T03:46:51.025Z","etag":null,"topics":["dify","dify-plugins"],"latest_commit_sha":null,"homepage":"https://deepwiki.com/junjiem/dify-plugin-repackaging","language":"Shell","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/junjiem.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-17T05:41:24.000Z","updated_at":"2025-12-25T03:10:36.000Z","dependencies_parsed_at":"2025-04-30T11:17:01.478Z","dependency_job_id":"0e4951f1-a4ea-4394-acf1-ffbbe9a4cdb3","html_url":"https://github.com/junjiem/dify-plugin-repackaging","commit_stats":null,"previous_names":["junjiem/dify-plugin-repackaging"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/junjiem/dify-plugin-repackaging","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junjiem%2Fdify-plugin-repackaging","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junjiem%2Fdify-plugin-repackaging/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junjiem%2Fdify-plugin-repackaging/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junjiem%2Fdify-plugin-repackaging/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/junjiem","download_url":"https://codeload.github.com/junjiem/dify-plugin-repackaging/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junjiem%2Fdify-plugin-repackaging/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30071674,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T03:25:38.285Z","status":"ssl_error","status_checked_at":"2026-03-04T03:25:05.086Z","response_time":59,"last_error":"SSL_read: 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":["dify","dify-plugins"],"created_at":"2025-12-18T14:00:40.955Z","updated_at":"2026-03-04T04:09:05.909Z","avatar_url":"https://github.com/junjiem.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"## Dify 1.0 Plugin Downloading and Repackaging\n### How To Use With Github Action\n1. Fork this repository\n2. Open the GitHub page of your forked repository\n[https://github.com/{your_username}/dify-sandbox-python-requirements-download]()\n3. Run workflow\n![run_github_action_1](images/run_github_action_1.png)\n![run_github_action_2](images/run_github_action_2.png)\n4. Download artifact\n![run_github_action_3](images/run_github_action_3.png)\n\n### How To Use With Docker\n\n1.change param in dockerfile\n\n```dockerfile\nCMD [\"./plugin_repackaging.sh\", \"-p\", \"manylinux_2_17_x86_64\", \"market\", \"antv\", \"visualization\", \"0.1.7\"] \n```\n\n2.build\n```bash\ndocker build -t dify-plugin-repackaging .\n```\n\n\n3.run\n\nlinux\n```bash\ndocker run -v $(pwd):/app dify-plugin-repackaging\n```\nwindows\n```cmd\ndocker run -v %cd%:/app dify-plugin-repackaging\n```\n4.override CMD(opt)\n\nlinux\n```bash\ndocker run -v $(pwd):/app dify-plugin-repackaging ./plugin_repackaging.sh -p manylinux_2_17_x86_64 market antv visualization 0.1.7\n```\n\n### Prerequisites\n\nOperating System: Linux amd64/aarch64, MacOS x86_64/arm64\n\n**Notes**: The script uses `yum` to install `unzip` which is only avialable on RPM-based Linux systems(such as `Red Hat Enterprise Linux`, `CentOS`, `Fedora`, and `Oracle Linux`), and is now replaced by `dnf` in latest version. To use the script on other distributions, please install `unzip` command in advance.\n\n**注意：**本脚本使用`yum`安装`unzip`命令，这只适用于基于RPM的Linux系统（如`Red Hat Enterprise Linux`, `CentOS`, `Fedora`, and `Oracle Linux`）。并且在较新的分发版中，它已被`dnf`所替代。\n因此，当使用其他Linux分发版或者无法使用`yum`时，请事先安装`unzip`命令。\n\nPython version: Should be as the same as the version in `dify-plugin-daemon` which is currently 3.12.x\n\n\n#### Clone\n```shell\ngit clone https://github.com/junjiem/dify-plugin-repackaging.git\n```\n\n\n\n### Description\n\n#### From the Dify Marketplace downloading and repackaging\n\n![market](images/market.png)\n\n##### Example\n\n![market-example](images/market-example.png)\n\n```shell\n./plugin_repackaging.sh market langgenius agent 0.0.9\n```\n\n![langgenius-agent](images/langgenius-agent.png)\n\n\n\n#### From the Github downloading and repackaging\n\n![github](images/github.png)\n\n##### Example\n\n![github-example](images/github-example.png)\n\n```shell\n./plugin_repackaging.sh github junjiem/dify-plugin-agent-mcp_sse 0.0.1 agent-mcp_see.difypkg\n```\n\n![junjiem-mcp_sse](images/junjiem-mcp_sse.png)\n\n\n\n#### Local Dify package repackaging\n\n![local](images/local.png)\n\n##### Example\n\n```shell\n./plugin_repackaging.sh local ./db_query.difypkg\n```\n\n![db_query](images/db_query.png)\n\n#### Platform Crossing Repacking\n\nFor repacking the plugins in different platforms between operating and running environment, \nplease using `-p` option with a pip platform string.\n\nTypically, uses `manylinux2014_x86_64` for plugins running on an `x86_64/amd64` OS, \nand `manylinux2014_aarch64` for `aarch64/arm64`.\n\n### Update Dify platform env  Dify平台放开限制\n\n- your .env configuration file: Change `FORCE_VERIFYING_SIGNATURE` to `false` , the Dify platform will allow the installation of all plugins that are not listed in the Dify Marketplace.\n\n- your .env configuration file: Change `PLUGIN_MAX_PACKAGE_SIZE` to `524288000` , and the Dify platform will allow the installation of plug-ins within 500M.\n\n- your .env configuration file: Change `NGINX_CLIENT_MAX_BODY_SIZE` to `500M` , and the Nginx client will allow uploading content up to 500M in size.\n\n\n\n- 在 .env 配置文件将 `FORCE_VERIFYING_SIGNATURE` 改为 `false` ，Dify 平台将允许安装所有未在 Dify Marketplace 上架（审核）的插件。\n\n- 在 .env 配置文件将 `PLUGIN_MAX_PACKAGE_SIZE` 增大为 `524288000`，Dify 平台将允许安装 500M 大小以内的插件。\n\n- 在 .env 配置文件将 `NGINX_CLIENT_MAX_BODY_SIZE` 增大为 `500M`，Nginx客户端将允许上传 500M 大小以内的内容。\n\n\n\n\n### Installing Plugins via Local 通过本地安装插件\n\nVisit the Dify platform's plugin management page, choose Local Package File to complete installation.\n\n访问 Dify 平台的插件管理页，选择通过本地插件完成安装。\n\n![install_plugin_via_local](./images/install_plugin_via_local.png)\n\n\n\n### Star history\n\n[![Star History Chart](https://api.star-history.com/svg?repos=junjiem/dify-plugin-repackaging\u0026type=Date)](https://star-history.com/#junjiem/dify-plugin-repackaging\u0026Date)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunjiem%2Fdify-plugin-repackaging","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjunjiem%2Fdify-plugin-repackaging","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunjiem%2Fdify-plugin-repackaging/lists"}