前言介紹
- 這款 WordPress 外掛「CosmautDL」是 2026-02-20 上架。
- 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
- 上一次更新是 2026-02-21,距離現在已有 4 天。
- 外掛最低要求 WordPress 6.2 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
cosmaut |
外掛標籤
download | cloud-drive | file download | wechat-unlock | download manager |
原文外掛簡介
CosmautDL is a multi-cloud download manager plugin for WordPress.
It turns scattered cloud-drive links into a clean “download card” experience, and provides dedicated download pages, a site-wide file-tree index, and click statistics for site owners.
(中文概述)把零散的网盘链接统一整理成下载卡片,并提供独立下载页、文件树索引与下载统计,让资源分享更规范、更好用。
Key features (核心能力):
Unified download card UI for posts/pages(下载卡片:文章/页面统一展示)
Dedicated download page route per post(独立下载页:每篇文章一个下载页)
Redirect route to keep outbound links tidy(跳转中转:可配置路由前缀)
File-tree page to browse all shared resources(文件树:全站资源索引)
Click statistics stored in your own database(下载统计:记录点击次数,后台可查看)
Optional WeChat QR unlock workflow(可选微信扫码解锁)
Assets loaded only when needed(按需加载,减少全站负担)
Supported providers ==(built-in defaults / 内置默认网盘):
Baidu Pan, 123Pan, Aliyun Drive, Tianyi Cloud, Quark, PikPak, Lanzou, Xunlei, Weiyun, OneDrive, Google Drive, Dropbox, MEGA, MediaFire, Box, and “Other”.
(说明)你可以在后台启用/禁用、重命名、排序网盘,并支持“其他网盘”用于自定义链接类型。
Routes (pretty permalinks recommended / 建议开启固定链接):
Download page: /downloads/{post_id}.html (or ?cosmdl_download=1&post_id={id})
File tree: /downloads/tree.html (or ?cosmdl_tree=1)
Stats entry: /downloads/stats.html (or ?cosmdl_stats=1; admin-only)
Redirect: /{prefix}/{post_id}/{type}.html (or ?cosmdl_redirect=1&post_id={id}&type={type})
Data & privacy (overview / 数据与隐私概述):
Stores download click logs in a custom table: {wp_prefix}cosmdl_clicks (post_id, type, attach_id, user_id, ip, ua, referer, success, created_at).(用于统计;可在后台删除记录)
Core features do not require external services.(核心功能不依赖外部服务)
Privacy/External Services
中文:
– 数据收集:插件会记录下载点击的 IP、UA、Referer 与时间,仅用于站点后台统计与问题排查;数据存储于站点数据库,未出站。
– 外部服务(可选):开启“IP 归属地显示”后,后台会调用 ipapi/ip-api/ipinfo 查询归属地,并对结果做缓存后在后台显示;不开启则不触发任何外部请求。
– 微信扫码解锁(可选):仅在扫码场景将访客浏览器跳转到微信授权页(open.weixin.qq.com),并由站点服务器调用 api.weixin.qq.com 接口换取 openid 与查询关注状态;不长期保存 openid,仅短期缓存解锁状态(10 分钟),公众号 access_token 最多缓存约 2 小时。
– 用户控制:可在插件设置中随时关闭上述可选功能;卸载插件会清理插件创建的数据与缓存。
– 合规提示:部分司法辖区将 IP 地址视为个人数据;启用“IP 归属地显示”前请确保已获得用户授权或满足合法合规要求。
English:
– Data Collection: The plugin records the IP, UA, Referer, and time of download clicks only for backend statistics and troubleshooting; data is stored in your database and never sent outside.
– External Services (Optional): When “IP Geolocation Display” is enabled, the admin backend queries ipapi/ip-api/ipinfo for geolocation; results are cached and displayed in wp-admin. No external requests occur when disabled.
– WeChat QR Unlock (Optional): Redirects the visitor browser to WeChat authorization (open.weixin.qq.com) and the server calls api.weixin.qq.com endpoints to exchange code for openid and check subscription. The plugin does not persist openid; it uses a short-lived unlock flag (~10 minutes) and caches the official account access_token (up to ~2 hours).
– User Control: You can disable these optional features at any time in plugin settings; uninstalling the plugin cleans up plugin-created data and caches.
– Compliance Note: In some jurisdictions, IP addresses are personal data; obtain consent or meet legal requirements before enabling IP geolocation.
External services
This plugin can connect to external services only when you enable related options.
(中文说明)仅在你启用相关功能后才会发起外部请求。
1) WeChat (微信) OAuth & subscription check
Service: WeChat / Tencent(微信/腾讯)
Purpose: Used for “WeChat unlock” mode authentication
Endpoints:
https://open.weixin.qq.com/connect/oauth2/authorize (OAuth authorize, visitor browser redirect)
https://api.weixin.qq.com/sns/oauth2/access_token (exchange OAuth code for openid)
https://api.weixin.qq.com/cgi-bin/token (fetch official account access_token)
https://api.weixin.qq.com/cgi-bin/user/info (check subscription status)
When: Only if you enable “WeChat unlock” in CosmautDL settings and visitors open the unlock URL in WeChat after scanning the QR code.
Data sent:
Visitor browser → open.weixin.qq.com: appid, redirect_uri, response_type, scope, state, and standard HTTP request metadata handled by WeChat (e.g., IP address, user agent).
Your server → api.weixin.qq.com: appid, appsecret, OAuth code, grant_type; later access_token, openid, lang.
Data stored (local): Does not store openid permanently; stores a short-lived unlock flag transient (10 minutes) and caches the official account access_token transient (up to ~2 hours, based on API expires_in).
User control: You can disable this feature at any time in plugin settings.(可在插件设置中随时禁用此功能)
Data deletion: Transients expire automatically.(临时缓存自动过期)
Terms of Service: https://www.wechat.com/en/service_terms.html
Privacy Policy: https://www.wechat.com/en/privacy_policy.html
2) IP geolocation lookup
Services (selectable in settings / 后台可选服务商):
https://ipapi.co/
https://ip-api.com/
https://ipinfo.io/
Purpose: To display “IP location” in admin download statistics
When: Only if you enable “Show IP location in stats” and open stats details in wp-admin.
Data sent: IP address from your click logs, from your server to the chosen provider (requests are cached).(仅用于展示归属地,且有缓存减少请求)
Caching: Results are cached for 168 hours (7 days) by default to reduce API calls.(默认缓存 168 小时(7 天)以减少 API 调用)
User control: You can disable this feature at any time in plugin settings.(可在插件设置中随时禁用此功能)
Data Flow: Your server → IP Geolocation API → Your server (IP addresses are sent for location lookup)
Privacy Impact: IP addresses are considered personal data in some jurisdictions; cached results help minimize exposure
Data Deletion: Cached geolocation data automatically expires after 7 days; IP addresses in click logs can be deleted from admin stats page
Terms of Service:
ipapi: https://ipapi.co/terms/
ip-api: https://ip-api.com/docs/legal
ipinfo: https://ipinfo.io/terms-of-service
Privacy Policies:
ipapi: https://ipapi.co/privacy/
ip-api: https://ip-api.com/docs/legal
ipinfo: https://ipinfo.io/privacy-policy
Third-party libraries
phpqrcode
Library: phpqrcode (LGPL-3.0)
Purpose: On-site QR code generation for WeChat unlock functionality
License: GNU Lesser General Public License v3.0
License URI: https://www.gnu.org/licenses/lgpl-3.0.html
Usage: Used for generating unlock QR codes without external dependencies
Compatibility: LGPL-3.0 is compatible with GPLv3
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「CosmautDL」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Download Manager 》WordPress Download Manager 是一款檔案/文件管理外掛程式,可讓您管理、追蹤和控制從您的 WordPress 網站下載的檔案。您可使用密碼、使用者角色來控制檔案的...。
Download Monitor 》Download Monitor 是一個提供上傳及管理可下載檔案的介面外掛(支援多版本),可以插入下載連結到文章中並記錄下載次數。, 特點, , 在熟悉的 WP 介面中新增、...。
Download Manager Addons for Elementor 》當您使用 Elementor 和 Download Manager 時,您將不再需要手動編寫 Download Manager 短代碼,此外掛提供可配置的 Elementor 模組以使用所有 Download Manag...。
Editor Blocks by Download Manager 》由 WordPress Download Manager 所提供的 Gutenberg Blocks 外掛是一個漂亮預先準備好的自訂區塊集合,適用於新的 Gutenberg 區塊編輯器。主要而言,此外掛涵...。Shared Files – Frontend File Upload Form & Secure File Sharing 》請注意,以下為 WordPress 外掛的翻譯:, , 一個可以分享檔案的下載管理外掛,就像 Dropbox、Google Drive 或 OneDrive 一樣!具備前端檔案上傳、FTP 上傳、...。
Document Library Lite 》發現一種簡單的方法來創建可以搜尋的 WordPress 文件庫或下載管理器。, 文件庫 Lite 可以輕鬆添加可下載的文件並在靈活的表格視圖中顯示,包括即時 AJAX 搜尋...。
Lana Downloads Manager 》Lana Downloads Manager 是一個可下載檔案管理系統。, 可管理本機檔案(WordPress 上傳)和遠端檔案。, 包含功能:, , 計數器系統, 記錄系統, , Lana Codes, ...。
Simple Download Counter 》Simple Download Counter (SDC) 提供一種簡單但功能強大的方法來計算檔案下載次數。它可以與任何由 WordPress 支援的檔案類型一起使用(例如:JPG、PNG、ZIP...。
File Sharing & Download Manager – User Private Files 》e/disable various features., User Private Files 是一個最佳的檔案分享外掛程式,允許管理員和使用者上傳、管理和分享其限制訪問權限的檔案。, 這款外掛程...。
Library Viewer 》揭密:, LIBRARY VIEWER FILE MANAGER ADD-ON已經發佈了!來看看吧 😉, 使用 Library Viewer,你可以顯示你的 (FTP) 伺服器某個「特定資料夾」的包含檔案和資...。
Simple Download Manager for WP Document Revisions 》oads.pot) is included for easy translation to other languages, , 此為「 WP Document Revisions 」的附加外掛,如果您想要提供公開下載檔案,只需要使用 ...。Download Manager and Payment Form WordPress Plugin – WP SmartPay 》使用 WP SmartPay,您可以簡單地出售數字下載產品並接受付款以營運您的線上業務。通常,您不需要一個複雜的商店、購物車或結帳流程來出售數字產品或接受付款...。
Download Monitor – CORS 》Download Monitor 提供一個介面來上傳和管理可下載的文件(包括多個版本),將下載鏈接插入文章中,記錄下載和出售下載!, 特點, , 添加 Download Monitor 的...。Download Monitor – Migrate download counts 》遷移 DLM 下載次數計數器。。
Simple Download with password 》### 簡單、易用且輕量的下載管理外掛,具有密碼保護功能, , - **功能特色**, - 這個下載管理外掛設計為輕巧且易於使用。, - 基本上所有下載都受密碼保護...。
