diff --git a/MyIP/CHANGELOG.md b/MyIP/CHANGELOG.md new file mode 100644 index 0000000..db8c3ca --- /dev/null +++ b/MyIP/CHANGELOG.md @@ -0,0 +1,3 @@ +### 1.0(2023-12-10) + +- 首次推出 \ No newline at end of file diff --git a/MyIP/DOCS.md b/MyIP/DOCS.md new file mode 100644 index 0000000..5dcaa5d --- /dev/null +++ b/MyIP/DOCS.md @@ -0,0 +1,5 @@ +# MyIP + +## 浣跨敤鏂规硶 + +- 鍚姩鍚庡彲鍦ㄤ俊鎭〉涓偣鍑"鎵撳紑 WEI UI"锛屼篃鍙氳繃娴忚鍣ㄨ闂 锛堢鍙e彿榛樿18966锛. \ No newline at end of file diff --git a/MyIP/README.md b/MyIP/README.md new file mode 100644 index 0000000..f5e4b42 --- /dev/null +++ b/MyIP/README.md @@ -0,0 +1,70 @@ +# 鍐摐鐢勯塧ddons锛歁yIP + +## 鍏充簬 + +灏嗚IP宸ュ叿鏀圭敤Web鐗堬紝闆嗘垚鍒癏A涓 + +### 馃憖 涓昏鍔熻兘 + +* 馃枼锔 **鐪嬭嚜宸辩殑 IP**锛氫粠澶氫釜 IPv4 鍜 IPv6 鏉ユ簮妫娴嬫樉绀烘湰鏈虹殑 IP + + +* 馃暤锔 **鐪 IP 淇℃伅**锛氭樉绀烘墍鏈 IP 鐨勭浉鍏充俊鎭紝鍖呮嫭鍥藉銆佸湴鍖恒丄SN銆佸湴鐞嗕綅缃瓑 + + +* 馃殾 **鍙敤鎬ф娴**锛氭娴嬩竴浜涚綉绔欑殑鍙敤鎬э細Google, Github, Youtube, 缃戞槗, 鐧惧害绛 + + +* 馃殽 **WebRTC 妫娴**锛氭煡鐪嬩娇鐢 WebRTC 杩炴帴鏃朵娇鐢ㄧ殑 IP + + +* 馃洃 **DNS 娉勯湶妫娴**锛氭煡鐪 DNS 鍑哄彛淇℃伅锛屼互渚挎煡鐪嬪湪 VPN/浠g悊鐨勬儏鍐典笅锛屾槸鍚﹀瓨鍦 DNS 娉勯湶闅愮鐨勯闄 + + +* 馃殌 **缃戦熸祴璇**锛氬埄鐢ㄨ竟缂樼綉缁滆繘琛岀綉閫熸祴璇 + + +* 馃殢 **浠g悊瑙勫垯娴嬭瘯**锛氶厤鍚堜唬鐞嗚蒋浠剁殑瑙勫垯璁剧疆锛屾祴璇曡鍒欒缃槸鍚︽甯 + + +* 鈴憋笍 **鍏ㄧ悆寤惰繜娴嬭瘯**锛氫粠鍒嗗竷鍦ㄥ叏鐞冪殑澶氫釜鏈嶅姟鍣ㄨ繘琛屽欢杩熸祴璇曪紝浜嗚В浣犱笌鍏ㄧ悆缃戠粶鐨勮繛鎺ラ熷害 + + +* 馃摗 **MTR 娴嬭瘯**锛氫粠鍒嗗竷鍦ㄥ叏鐞冪殑澶氫釜鏈嶅姟鍣ㄨ繘琛 MTR 娴嬭瘯锛屼簡瑙d綘涓庡叏鐞冪殑杩炴帴璺緞 + + +* 馃敠 **DNS 瑙f瀽鍣**锛氫粠澶氫釜娓犻亾瀵瑰煙鍚嶈繘琛 DNS 瑙f瀽锛岃幏鍙栧疄鏃剁殑瑙f瀽缁撴灉锛屽彲鐢ㄤ簬姹℃煋鍒ゆ柇 + + +* 馃毀 **灏侀攣娴嬭瘯**锛氭鏌ョ壒瀹氱殑缃戠珯鍦ㄩ儴鍒嗗浗瀹舵槸鍚﹁灏侀攣 + + +* 馃摀 **Whois 鏌ヨ**锛氬鍩熷悕鎴 IP 杩涜 whois 淇℃伅鏌ヨ + + +* 馃搥 **MAC 鍦板潃鏌ヨ**锛氭煡璇㈢墿鐞嗗湴鍧鐨勫綊灞炰俊鎭 + + +* 馃寳 **鏆楅粦妯″紡**锛氭牴鎹郴缁熻缃嚜鍔ㄥ垏鎹㈡殫榛/鐧藉ぉ妯″紡锛屼篃鍙互鎵嬪姩鍒囨崲 + + +* 馃摫 **绠绾︽ā寮**锛氫负绉诲姩鐗堟彁渚涚殑涓撻棬妯″紡锛岀缉鐭〉闈㈤暱搴︼紝蹇熸煡鐪嬫渶閲嶈鐨勪俊鎭 + + +* 馃攳 **鏌ヤ换鎰 IP 淇℃伅**锛氬彲浠ラ氳繃灏忓伐鍏锋煡璇换鎰 IP 鐨勪俊鎭 + + +* 馃摬 **鏀寔 PWA**锛氬彲浠ユ坊鍔犱负鎵嬫満搴旂敤浠ュ強鐢佃剳閲岀殑妗岄潰搴旂敤锛屾柟渚夸娇鐢 + + +* 鈱笍 **鏀寔蹇嵎閿**锛氬彲浠ラ殢鏃惰緭鍏 `?` 鏌ョ湅蹇嵎閿彍鍗 + + +* 馃實 鏍规嵁鍙敤鎬ф娴嬬粨鏋滐紝杩斿洖鐩墠鏄惁鍙互璁块棶鍏ㄤ笘鐣岀綉缁滅殑鎻愮ず + + +* **馃嚭馃嚫 馃嚚馃嚦 馃嚝馃嚪** 鏀寔涓枃銆佽嫳鏂囥佹硶鏂 + +## 鏉ユ簮 + +https://github.com/jason5ng32/MyIP/ diff --git a/MyIP/config.yaml b/MyIP/config.yaml new file mode 100644 index 0000000..f4b4a49 --- /dev/null +++ b/MyIP/config.yaml @@ -0,0 +1,23 @@ +--- +name: MyIP +version: latest +slug: MyIP +description: "涓涓洿濂界殑 IP 宸ュ叿绠便傚彲浠ユ煡鐪婭P銆両P 淇℃伅锛堜唬鐞嗗墠鍚庯級銆佹鏌 DNS 娉勯湶銆佹鏌 WebRTC 杩炴帴銆佺綉閫熸祴璇曘佹祴璇曠綉绔欏彲鐢ㄦх瓑" +url: https://gitcode.com/waxgourd/addons +init: false +codenotary: wghaos@163.com +arch: + - aarch64 + - amd64 +ports_description: + 18966/tcp: 'Web UI port' +panel_icon: 'mdi:ip' +ingress: false +ingress_port: 18966 +ingress_stream: true +startup: services +image: r.hassbus.com/jason5ng32/myip +webui: "[PROTO:http]://[HOST]:[PORT:18966]" +ports: + 18966/tcp: 18966 +boot: manual diff --git a/MyIP/icon.png b/MyIP/icon.png new file mode 100644 index 0000000..dc4543d Binary files /dev/null and b/MyIP/icon.png differ diff --git a/MyIP/logo.png b/MyIP/logo.png new file mode 100644 index 0000000..4cd85b7 Binary files /dev/null and b/MyIP/logo.png differ diff --git a/addon-data-clean/CHANGELOG.md b/addon-data-clean/CHANGELOG.md new file mode 100644 index 0000000..633c36e --- /dev/null +++ b/addon-data-clean/CHANGELOG.md @@ -0,0 +1,23 @@ +### 0.6.0锛2025-08-25锛 + +- 鐗堟湰鍗囩骇 + +### 0.1.5锛2024-04-03锛 + +- 鐗堟湰鍗囩骇 + +### 0.1.4锛2024-03-25锛 + +- 鐗堟湰鍗囩骇 + +### 0.1.3锛2024-03-25锛 + +- 鐗堟湰鍗囩骇 + +### 0.1.2锛2024-03-23锛 + +- 鐗堟湰鍗囩骇 + +### 0.1.1锛2024-03-22锛 + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/addon-data-clean/DOCS.md b/addon-data-clean/DOCS.md new file mode 100644 index 0000000..e7b100e --- /dev/null +++ b/addon-data-clean/DOCS.md @@ -0,0 +1,25 @@ +# HA娓呯悊澶у笀 + +## 鍔熻兘璇存槑 + +- 绌洪棿娓呯悊锛氭壂鎻忔棩蹇楋紝鍗歌浇娈嬬暀锛坉ata/config鏂囦欢澶癸級銆乨ocker image鏍囩涓簄one鐨勶紝鍜屽浠芥暟鎹 + +- 鏃ュ織娓呯悊锛氭竻鐞嗙郴缁熸棩蹇 + +- addon鍗歌浇娈嬬暀娓呯悊锛 + + - 鎵弿data鐩綍锛屽嵏杞藉悗娈嬬暀鐨刣ata鐨勭洰褰曟暟鎹 + + - 涓嬭浇鍚庢畫鐣欑殑config鏁版嵁锛屾椤硅皑鎱庡垹闄わ紝鍒犻櫎鍚庝笉浼氭仮澶 + +- 鍔犺浇椤规竻鐞嗭細鍙垹闄や簡none鐨刬mage闀滃儚 + +- 澶囦唤娓呯悊锛氬彲浠ユ竻鐞嗗浠藉強鏈湪澶囦唤涓樉绀哄湪鐩綍涓瓨鍦ㄧ殑.tar鏂囦欢 + +## 浣跨敤鏂规硶 + +- 鐐瑰嚮鍚姩锛岃繘鍏ユ棩蹇楅〉闈腑鐐瑰嚮鍒锋柊锛屽嚭鐜扳淗ttp鏈嶅姟宸茶繍琛(8080)銆傗濆垯琛ㄧず鍚姩鎴愬姛銆 + +- 鍚姩瀹屾垚鍚庡彲鍦ㄤ俊鎭〉涓偣鍑"鎵撳紑 WEI UI"锛屾垨鐐瑰嚮鈥滃湪渚ц竟鏍忔樉绀衡濓紝鏂逛究浠ュ悗浠庡乏渚ф爮蹇熻闂 + +- 濡傝繍琛屾湁閿欒鍒欏湪淇℃伅椤典腑鍏抽棴鈥滀繚鎶ゆā寮忊濄 diff --git a/addon-data-clean/README.md b/addon-data-clean/README.md new file mode 100644 index 0000000..96a46a6 --- /dev/null +++ b/addon-data-clean/README.md @@ -0,0 +1,21 @@ +# 鍐摐鐢勯塧ddons锛欻A娓呯悊澶у笀 + +## 鍏充簬 + +姝ddons鏄竴涓笓鐢ㄧ殑HAOS涓轰富鐨勫瀮鍦炬暟鎹竻鐞嗗伐鍏枫傛柟渚垮ぇ瀹剁洿瑙傜殑娓呯悊HA闀挎湡浣跨敤鍚庡唴閮ㄤ骇鐢熺殑鏁版嵁鍨冨溇锛屼粠鑰屽彲浠ユ湁鏁堢殑閲婃斁绌洪棿銆 + +## 鍔熻兘 + +- 绌洪棿娓呯悊 + +- 鏃ュ織娓呯悊 + +- addon鍗歌浇娈嬬暀娓呯悊 + +- 鍔犺浇椤规竻鐞 + +- 澶囦唤娓呯悊 + +## 娉ㄦ剰浜嬮」 + +寮虹儓寤鸿娓呯悊瀹屽悗锛岄噸鍚竴涓婬ome assistant. \ No newline at end of file diff --git a/addon-data-clean/apparmor.txt b/addon-data-clean/apparmor.txt new file mode 100644 index 0000000..a6608a7 --- /dev/null +++ b/addon-data-clean/apparmor.txt @@ -0,0 +1,49 @@ +#include + +profile addon_data_clean flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + mount, + umount, + remount, + + capability setgid, + capability setuid, + capability dac_override, + + # S6-Overlay + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /proc/self/attr/** mrwkl, + # Files required + /dev/sda1 mrwkl, + /dev/sda7 mrwkl, + /dev/sda8 mrwkl, + /dev/sdb1 mrwkl, + /dev/mmcblk0p1 mrwkl, + /dev/* mrwkl, + /tmp/** mrkwl, + + # Data access + /data/** rw, + /addon_configs/** rw, + + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} diff --git a/addon-data-clean/config.yaml b/addon-data-clean/config.yaml new file mode 100644 index 0000000..35e61ae --- /dev/null +++ b/addon-data-clean/config.yaml @@ -0,0 +1,28 @@ +name: "HA娓呯悊澶у笀" +version: '0.6.0' +slug: 'addon_data_clean' +codenotary: wghaos@163.com +description: '涓涓笓闂ㄤ负HAOS娓呯悊鍨冨溇鏁版嵁鐨勫伐鍏凤紝璁〩A涔熻兘鐩磋鐨勮繘琛屽瓨鍌ㄨ鍒掋' +image: r.hassbus.com/wghaos/addon-data-clean +url: https://gitcode.com/waxgourd/addons +init: false +arch: + - aarch64 + - amd64 +backup_exclude: + - '*/data/' +ingress: true +ingress_port: 80 +ingress_stream: true +privileged: + - SYS_ADMIN +full_access: true +map: + - all_addon_configs:rw + - backup:rw + - homeassistant_config:rw +apparmor: true +docker_api: true +startup: services +boot: manual +panel_icon: 'mdi:flower' diff --git a/addon-data-clean/icon.png b/addon-data-clean/icon.png new file mode 100644 index 0000000..8f49826 Binary files /dev/null and b/addon-data-clean/icon.png differ diff --git a/addon-data-clean/logo.png b/addon-data-clean/logo.png new file mode 100644 index 0000000..cabc324 Binary files /dev/null and b/addon-data-clean/logo.png differ diff --git a/addon-data-migrate/CHANGELOG.md b/addon-data-migrate/CHANGELOG.md new file mode 100644 index 0000000..bb1744c --- /dev/null +++ b/addon-data-migrate/CHANGELOG.md @@ -0,0 +1,12 @@ +### 0.3.2锛2024-10-12锛 + +- 鐗堟湰鍗囩骇 + + +### 0.2.1锛2024-03-25锛 + +- 鐗堟湰鍗囩骇 + +### v0.2.1 锛2024-03-08锛 + +- 棣栨鎺ㄥ嚭 diff --git a/addon-data-migrate/DOCS.md b/addon-data-migrate/DOCS.md new file mode 100644 index 0000000..d0ea70b --- /dev/null +++ b/addon-data-migrate/DOCS.md @@ -0,0 +1,13 @@ +# Addon鏁版嵁杩佺Щ宸ュ叿 + +## 瀹夎 + +杩欎釜鎻掍欢鐨勫畨瑁呴潪甯哥畝鍗曘 + +1. 瀹夎瀹屽悗锛屽叧闂滀繚鎶ゆā寮忊濇墠鍙互姝e父寮鍚 + +2. 鍚姩鍔犺浇椤广 + +3. 妫鏌ュ姞杞介」鐨勬棩蹇楋紝鐪嬬湅鏄惁涓鍒囬『鍒┿ + +4. 鎵撳紑webUI骞惰皟鏁磋蒋浠堕夐」銆 diff --git a/addon-data-migrate/README.md b/addon-data-migrate/README.md new file mode 100644 index 0000000..e831c95 --- /dev/null +++ b/addon-data-migrate/README.md @@ -0,0 +1,7 @@ +# 鍐摐鐢勯塧ddons锛歛ddon鏁版嵁杩佺Щ宸ュ叿 + +## 鍏充簬 + +addon鏁版嵁杩佺Щ宸ュ叿涓昏鏄负浜嗚В鍐冲厠闅嗘垨鑰呴暅鍍廰ddon涓殑鏁版嵁杩佺Щ涓鐩翠娇鐢ㄦ墜宸ュ鐞嗙殑闂銆 + +杩佺Щ瑕佷繚璇乤ddon鐨勭増鏈浉鍚屻 \ No newline at end of file diff --git a/addon-data-migrate/config.yaml b/addon-data-migrate/config.yaml new file mode 100644 index 0000000..0e4c577 --- /dev/null +++ b/addon-data-migrate/config.yaml @@ -0,0 +1,21 @@ +name: Addon鏁版嵁杩佺Щ宸ュ叿 +version: 0.3.2 +slug: addonDataMigrate +codenotary: wghaos@163.com +description: '瑙e喅涓嶅悓浠撳簱涓璦ddons鐨勬暟鎹縼绉' +url: https://gitcode.com/waxgourd/addons +image: r.hassbus.com/wghaos/addon-data-migrate +init: false +arch: + - aarch64 + - amd64 +ingress: true +ingress_port: 80 +panel_icon: 'mdi:file-move' +map: + - all_addon_configs:rw + - backup:rw +apparmor: false +docker_api: true +startup: services +boot: manual diff --git a/addon-data-migrate/icon.png b/addon-data-migrate/icon.png new file mode 100644 index 0000000..cc4e3ad Binary files /dev/null and b/addon-data-migrate/icon.png differ diff --git a/addon-data-migrate/logo.png b/addon-data-migrate/logo.png new file mode 100644 index 0000000..cabc324 Binary files /dev/null and b/addon-data-migrate/logo.png differ diff --git a/addon-image-backup/CHANGELOG.md b/addon-image-backup/CHANGELOG.md new file mode 100644 index 0000000..284b7f3 --- /dev/null +++ b/addon-image-backup/CHANGELOG.md @@ -0,0 +1,3 @@ +# 1.0.0 (2024-11-15) + +- 棣栨鎺ㄥ嚭 diff --git a/addon-image-backup/DOCS.md b/addon-image-backup/DOCS.md new file mode 100644 index 0000000..91a1982 --- /dev/null +++ b/addon-image-backup/DOCS.md @@ -0,0 +1,5 @@ +# Addons闀滃儚澶囦唤宸ュ叿 + +## 浣跨敤鏂规硶 + + - 闇瑕佹偍鎵嬪姩鍏抽棴鈥滀繚鎶ゆā寮忊濇墠鑳藉惎鍔 diff --git a/addon-image-backup/README.md b/addon-image-backup/README.md new file mode 100644 index 0000000..3a9ea6b --- /dev/null +++ b/addon-image-backup/README.md @@ -0,0 +1,6 @@ +# 鍐摐鐢勯塧ddons锛欰ddons闀滃儚澶囦唤宸ュ叿 + +- 澶囦唤绯荤粺闀滃儚锛坰upervisor闄ゅ锛 +- 澶囦唤瀹夎鐨刟ddons +- 鏀寔浣跨敤xz鍘嬬缉锛堝帇缂╃巼杈冮珮,鏃堕棿杈冮暱锛 +- 鏀寔usb銆佺綉缁滃瓨鍌 diff --git a/addon-image-backup/config.yaml b/addon-image-backup/config.yaml new file mode 100644 index 0000000..7357536 --- /dev/null +++ b/addon-image-backup/config.yaml @@ -0,0 +1,31 @@ +name: "Addons闀滃儚澶囦唤宸ュ叿" +version: "1.0.0" +slug: "addon-image-backup" +codenotary: wghaos@163.com +description: "鍐摐闀滃儚澶囦唤" +image: r.hassbus.com/wghaos/addon-wghaos-image-backup +url: https://gitcode.com/waxgourd/addons +init: false +arch: + - aarch64 + - amd64 +ingress: true +ingress_port: 9876 +privileged: + - SYS_ADMIN + - SYS_RAWIO + - DAC_READ_SEARCH +map: + - media:rw + - share:rw + - backup:rw + - all_addon_configs +apparmor: false +docker_api: true +startup: services +boot: manual +full_access: true +options: + config_file: "" +schema: + config_file: str? \ No newline at end of file diff --git a/addon-image-backup/icon.png b/addon-image-backup/icon.png new file mode 100644 index 0000000..8d165be Binary files /dev/null and b/addon-image-backup/icon.png differ diff --git a/addon-image-backup/logo.png b/addon-image-backup/logo.png new file mode 100644 index 0000000..8d165be Binary files /dev/null and b/addon-image-backup/logo.png differ diff --git a/addon-zigbee2mqtt-twin/CHANGELOG.md b/addon-zigbee2mqtt-twin/CHANGELOG.md new file mode 100644 index 0000000..41c7e4e --- /dev/null +++ b/addon-zigbee2mqtt-twin/CHANGELOG.md @@ -0,0 +1,11 @@ +### 1.2.0 锛2025-09-22锛 +- 1銆佸鍔犱腑鑻辨枃鍒囨崲 +- 2銆佹坊鍔犳椂鑷畾涔夊悕绉 +### 1.1.1-1 锛2025-02-19锛 +- 淇config.json閰嶇疆鏂囦欢涓庢簮鏂囦欢鐨勫瓧娈甸『搴忎繚鎸佷竴鑷 +### 1.1.0 锛2024-12-06锛 +- 1銆佽嚜鍔ㄤ慨鏀圭鍙o紙+1锛 +- 2銆佷慨鏀筨ug +- 3銆佸悕绉颁慨鏀 +### 1.0.0 锛2024-11-20锛 +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/addon-zigbee2mqtt-twin/DOCS.md b/addon-zigbee2mqtt-twin/DOCS.md new file mode 100644 index 0000000..6029a63 --- /dev/null +++ b/addon-zigbee2mqtt-twin/DOCS.md @@ -0,0 +1,35 @@ +# Zigbee2MQTT鍒嗚韩 + +## 閰嶇疆璇存槑 + +### 缃戠粶 + +- 娉ㄦ剰锛**寰堥噸瑕**锛夛細缃戠粶绔彛椤绘洿鏀归槻姝笌鍏朵粬Zigbee2MQTT绔彛鍐茬獊 + +### mqtt + +- 濡傛灉涓嶄娇鐢╩osquito to broker鎻掍欢锛岃濉啓MQTT璇︾粏淇℃伅(浣跨敤mosquito to broker鎻掍欢鏃跺彲涓嶅~鍐)銆傛牸寮忓彲鍙傝冧笅闈㈢殑瀹炰緥 + +``` +server: mqtt://localhost:1883 +user: Mqtt鐨勮处鍙 +password: "Mqtt鐨勫瘑鐮" +``` + +娉ㄦ剰:濡傛灉瀵嗙爜鍖呭惈鏌愪簺鐗规畩瀛楃(鐢眣aml瑙勮寖淇濈暀)锛屽垯闇瑕佸姞涓婂紩鍙枫傛墍浠ユ垜浠缓璁鏋滄棩蹇楁樉绀哄瘑鐮侀敊璇椂锛屼紭鍏堣冭檻鍔犱笂寮曞彿銆 + +### serial + +- 濉啓涓插彛璇︾粏淇℃伅(渚嬪USB鍗忚皟鍣ㄧ殑绔彛)銆傛牸寮忓彲鍙傝冧笅闈㈢殑瀹炰緥 + +``` +port: /dev/ttyUSB0 +``` + +濡傛灉鎮ㄤ笉鐭ラ亾璇︾粏鐨勭鍙o紝骞朵笖鍙湁涓涓猆SB璁惧杩炴帴鍒版偍鐨勬満鍣紝璇峰皾璇/dev/ ttyUSB0銆傚惁鍒欙紝璇锋煡鐪嬧滈厤缃 - 绯荤粺 - 纭欢 - 鍏ㄩ儴纭欢鈥濓紝鍦ㄦ悳绱笂杈撳叆鈥渢ty鈥濇煡鐪嬨 + +## 浣跨敤鏂规硶 + +- 鐐瑰嚮鍚姩锛堝惎鍔ㄦ椂闀垮ぇ绾︿竴鍒嗛挓锛夛紝杩涘叆鏃ュ織椤甸潰涓偣鍑诲埛鏂帮紝鍑虹幇鈥淶igbee2MQTT started!鈥濆垯琛ㄧず鍚姩鎴愬姛銆 + +- 鍚姩瀹屾垚鍚庡彲鍦ㄤ俊鎭〉涓偣鍑"鎵撳紑 WEI UI"锛屾垨鐐瑰嚮鈥滃湪渚ц竟鏍忔樉绀衡濓紝鏂逛究浠ュ悗浠庡乏渚ф爮蹇熻闂 \ No newline at end of file diff --git a/addon-zigbee2mqtt-twin/README.md b/addon-zigbee2mqtt-twin/README.md new file mode 100644 index 0000000..b608463 --- /dev/null +++ b/addon-zigbee2mqtt-twin/README.md @@ -0,0 +1,11 @@ +# 鍐摐鐢勯塧ddons锛歾igbee2MQTT鍒嗚韩 + +浠庡畼鏂规垨鍐摐鐨剒igbee2mqtt澶嶅埗鍒版湰鍦帮紝鍒涘缓addons锛屾柟渚垮涓獄igbee璁惧浠嬪叆锛 蹇呴』鍏堝畨瑁呭畼鏂规垨鍐摐鐨刟ddons锛屾墠鑳戒娇鐢級 + +## 鍔熻兘 + +- 鏂板锛氭寜鐓ч『搴忎粠婧愬紑濮嬩慨鏀瑰敮涓鏍囪瘑锛屽悕绉板強鏈湴addons鐩綍鍚嶇О +- 鏇存柊鐗堟湰锛氭牴鎹簮鐗堟湰鏇存柊鏈湴鐨勭増鏈紙last鐗堟湰锛 +- 鍒犻櫎鏈畨瑁呯殑鏈湴addons +- 姣忔閲嶅惎鏃惰嚜鍔ㄤ粠婧愭洿鏂版湰鍦扮増鏈 + diff --git a/addon-zigbee2mqtt-twin/apparmor.txt b/addon-zigbee2mqtt-twin/apparmor.txt new file mode 100644 index 0000000..a01b0a0 --- /dev/null +++ b/addon-zigbee2mqtt-twin/apparmor.txt @@ -0,0 +1,49 @@ +#include + +profile addon-zigbee2mqtt-twin flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + mount, + umount, + remount, + + capability setgid, + capability setuid, + capability dac_override, + + # S6-Overlay + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /proc/self/attr/** mrwkl, + # Files required + /dev/sda1 mrwkl, + /dev/sda7 mrwkl, + /dev/sda8 mrwkl, + /dev/sdb1 mrwkl, + /dev/mmcblk0p1 mrwkl, + /dev/* mrwkl, + /tmp/** mrkwl, + + # Data access + /data/** rw, + /addons/** rw, + + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} diff --git a/addon-zigbee2mqtt-twin/config.yaml b/addon-zigbee2mqtt-twin/config.yaml new file mode 100644 index 0000000..4da5d5a --- /dev/null +++ b/addon-zigbee2mqtt-twin/config.yaml @@ -0,0 +1,24 @@ +name: "zigbee2MQTT鍒嗚韩" +version: "1.2.0" +slug: "addon-zigbee2mqtt-twin" +codenotary: wghaos@163.com +description: "zigbee2MQTT鍒嗚韩" +image: r.hassbus.com/wghaos/addon-wghaos-zigbee2mqtt-copy +url: https://gitcode.com/waxgourd/addons +init: false +arch: + - aarch64 + - amd64 +ingress: true +ingress_port: 9876 +privileged: + - SYS_ADMIN + - SYS_RAWIO +map: + - addons:rw +apparmor: true +docker_api: true +startup: services +boot: manual +full_access: true + diff --git a/addon-zigbee2mqtt-twin/icon.png b/addon-zigbee2mqtt-twin/icon.png new file mode 100644 index 0000000..17fe4a3 Binary files /dev/null and b/addon-zigbee2mqtt-twin/icon.png differ diff --git a/addon-zigbee2mqtt-twin/logo.png b/addon-zigbee2mqtt-twin/logo.png new file mode 100644 index 0000000..17fe4a3 Binary files /dev/null and b/addon-zigbee2mqtt-twin/logo.png differ diff --git a/alist/CHANGELOG.md b/alist/CHANGELOG.md new file mode 100644 index 0000000..f9ce877 --- /dev/null +++ b/alist/CHANGELOG.md @@ -0,0 +1,165 @@ +### 3.54.0 (2025-10-28) +- 鐗堟湰鍗囩骇 +### 3.53.0 (2025-09-19) +- 鐗堟湰鍗囩骇 +### 3.51.0 (2025-08-25) +- 鐗堟湰鍗囩骇 +### 3.44.0 (2025-04-01) +- 鐗堟湰鍗囩骇 +### 3.42.0 (2025-02-07) +- 鐗堟湰鍗囩骇 +### 3.41.0 (2024-12-13) + +馃殌 鐗瑰緛 + + - Ftp鏈嶅姟鍣ㄦ敮鎸 + + - Sftp鏈嶅姟鍣ㄦ敮鎸 + + - 139:鏀寔澶氶儴鍒嗕笂浼 + + - sso锛氭坊鍔犺嚜瀹氫箟棰濆浣滅敤鍩熸敮鎸 + +馃悶 婕忔礊淇ˉ + + - 115锛氫慨澶嶇櫥褰曢敊璇 + + - 139:鏇存柊API + + - baidu_photo:Cookie鐧诲綍淇涓嬭浇閿欒 + + - cloudreve锛氭敮鎸佷笂浼犲埌杩滅▼鍜孫neDrive瀛樺偍 + + - ftp-server锛氬ぇ閲忎紶杈撳鑷村鎴风瓒呮椂 + + - onedrive锛氫慨澶嶈秴鏃堕敊璇 + + - pikpak锛氬垹闄auth2鏂规硶 + +馃弾 Performance + + - 浠诲姟锛氬悎骞堕夋嫨鐨勬搷浣滆姹 + +### 3.40.0 (2024-11-22) + +馃殌 鐗瑰緛 + +- 瀹夊叏鎬э細浣跨敤鍔犲瘑璐у竵rand鐢熸垚闅忔満瀛楃涓 + +- sso锛氫娇鐢╣o缂撳瓨鐢熸垚骞堕獙璇丱Auth鐘舵 + +馃悶 婕忔礊淇ˉ + +- baidu_netdisk锛氭洿鏂癴ileToObj浠ヤ娇鐢⊿erverCtime鍜孲erverMtime + +- 鏈湴锛氬鍒舵椂淇濈暀鏂囦欢鎵鏈夎 + +- net锛氬皝闂氶亾鍏抽棴 + +- pikpak鍜宲ikpak_share:Captcha_sign閿欒 + +- sso锛歄IDC鍏煎妯″紡 + +### 3.39.4 (2024-11-18) + +馃悶 婕忔礊淇ˉ + - release: 缂哄皯zig鐨勫畨瑁 + +### 3.39.1锛2024-11-04锛 + +馃殌 鐗瑰緛 + + - 娣诲姞 febbox 椹卞姩绋嬪簭 + - 鏀寔鏅氱敤鎴锋煡鐪嬨佸彇娑堣嚜宸辩殑浠诲姟 + - local锛氱缉鐣ュ浘浠ょ墝妗跺钩婊戣縼绉 + +馃悶 閿欒淇 + - 115: + - 寮哄埗涓婁紶 20GB 鏂囦欢澶у皬闄愬埗 + - 20GB鏂囦欢涓婁紶闄愬埗 + - cloudreve: + - 绉诲姩/澶嶅埗鏂囦欢鏃惰矾寰勪笉瀛樺湪 + - ilanzou: + - 淇鑾峰彇鏂囦欢鍒楄〃鏃剁殑鏃犻檺寰幆 + - 淇灏忔枃浠朵笂浼犲け璐ラ棶棰 + - local: + - 璺ㄨ澶囨枃浠剁Щ鍔 + +馃弾 Performance + - 123pan: 鏇存敼鐧诲綍鍩熷悕 + +### 3.38.0锛2024-10-14锛 + +- 鐗堟湰鍗囩骇 + +### 3.37.4锛2024-09-26锛 + +- 鐗堟湰鍗囩骇 + +### 3.36.0 锛2024-07-22锛 + +- 鐗堟湰鍗囩骇 + +### 3.35.0-2 锛2024-07-17锛 + +- 淇浠g悊鍦板潃 + +### 3.35.0 锛2024-06-03锛 +馃殌 鐗瑰緛 + - 娣诲姞瀵圭綉鏄撻煶涔愰┍鍔ㄧ▼搴忕殑鏀寔 + - 娣诲姞瀵箃hunderX椹卞姩绋嬪簭鐨勬敮鎸 + - 涓139Yun Alias AList V3娣诲姞proxy_range閫夐」 + - 娣诲姞瀵筶ark椹卞姩绋嬪簭鐨勬敮鎸 + - alias锛4cn鏀寔閲嶅懡鍚嶅拰鍒犻櫎 + - alist_v3锛氬彲閫夊皢UA浼犻掑埌涓婃父杩滅▼ + - mega:娣诲姞2FA鏀寔 + - s3:鏈嶅姟鍣ㄦ敮鎸佺敓鎴愮殑url璇锋眰 + +馃悶 婕忔礊淇ˉ + - Pikpak captcha_required + - 灏嗙櫨鐏甸笩娣诲姞鍒皐indows鐩爣 + - 189pc:FamilyID鑼冨洿婧㈠嚭 + - 鐧惧害锛氳嚜瀹氫箟涓婁紶閮ㄤ欢灏哄鏈煡绫诲瀷 + - mopan锛氬崌绾х増鏈 + - sftp锛氬綋杩炴帴鏂紑鏃堕噸鏂拌繛鎺ュ埌鏈嶅姟鍣 + - test锛氱‘淇漵etupStorages鎵ц涓娆 + +### 3.34.0 锛2024-05-06锛 +馃殌 鐗瑰緛 + - 娣诲姞璁块棶浠ょ墝 + - 娣诲姞瀹跺涵杞Щ涓婁紶 + - 娣诲姞浠ょ墝鐧诲綍 + - 寮哄埗涓婁紶鏀寔鐨勯┍鍔ㄧ▼搴忕殑娴 + +馃悶 Bug 淇 + - 涓浜涢敊鍒瓧 + - 鍏充簬鐜鐨勯敊鍒瓧 + - 鎸夐『搴忓垵濮嬪寲瀛樺偍 + - 绂佺敤 NoOverwriteUpload + - 瀛愭枃浠跺す api 琚涓洪敊璇殑鏉ユ簮 + - 鑷畾涔変笂浼犻儴浠跺ぇ灏 + - 缂撳瓨鐨 Ctime/Mtime + - 濡傛灉涓嶅瓨鍦紝璇峰皢鍩熸坊鍔犲埌涓嬭浇 URL + - 涓存椂璁块棶瀵嗛挜浠呭湪涓や釜灏忔椂鍐呮湁鏁 + - 鍒锋柊浼氳瘽鍚庨噸鏂拌幏鍙栧鎴风 + - 淇 Ctime/Mtime + - 濡傛灉鏈惎鐢 s3锛屽垯涓嶇粦瀹 s3 绔彛 + +馃弾 鎬ц兘 + - 灏 io copy 涓庣紦鍐叉睜涓璧蜂娇鐢 + +### 3.33.0 锛2024-03-26锛 + +- 鐗堟湰鏇存柊 + +### 3.32.0 锛2024-03-07锛 + +- 鐗堟湰鏇存柊 + +### 3.31.0 锛2024-02-26锛 + +- 鐗堟湰鏇存柊 + +### 3.30.0 锛2024-01-11锛 + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/alist/DOCS.md b/alist/DOCS.md new file mode 100644 index 0000000..e490812 --- /dev/null +++ b/alist/DOCS.md @@ -0,0 +1,13 @@ +# Alist + +## 閰嶇疆璇存槑 + +### 鏇存敼姝や富鏈轰笂鐢卞姞杞介」寮鏀剧殑绔彛锛 + +- 榛樿绔彛鍙凤細5244锛屽彲鑷淇敼 + +- 鍙互閫氳繃娴忚鍣ㄩ〉闈㈣闂 锛堢鍙e彿榛樿5244锛 + +- 榛樿鐢ㄦ埛鍚: "admin" 瀵嗙爜: "admin" + +- 璇︾粏浣跨敤鎸囧崡锛岃杩涘叆锛歨ttps://alist.nn.ci/zh/guide/ 鏌ョ湅 \ No newline at end of file diff --git a/alist/README.md b/alist/README.md new file mode 100644 index 0000000..73e6599 --- /dev/null +++ b/alist/README.md @@ -0,0 +1,9 @@ +# 鍐摐鐢勯塧ddons锛欰list + +## 鍏充簬 + +AList鏄竴涓敮鎸佸绉嶅瓨鍌紝鏀寔缃戦〉娴忚鍜 WebDAV 鐨勬枃浠跺垪琛ㄧ▼搴忥紝鐢 gin 鍜 Solidjs 椹卞姩銆傜畝鍗曠殑鏉ヨ灏辨槸鑳藉甯姪浣犵鐞嗗悇绉嶇綉鐩樺簲鐢紝绫讳技浜嶤loudDrive锛孉List闄や簡鏀寔缃戠洏瀛樺偍涔嬪锛岃繕鏀寔瀵硅薄瀛樺偍锛屾湰鍦板瓨鍌紝FTP绛夌瓑銆 + +## 鏉ユ簮 + +https://github.com/alist-org/alist diff --git a/alist/apparmor.txt b/alist/apparmor.txt new file mode 100644 index 0000000..36b8e30 --- /dev/null +++ b/alist/apparmor.txt @@ -0,0 +1,66 @@ +#include + +profile alist flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + signal, + mount, + umount, + remount, + network udp, + network tcp, + network dgram, + network stream, + network inet, + network inet6, + network netlink raw, + network unix dgram, + + capability setgid, + capability setuid, + capability sys_admin, + capability dac_read_search, + # capability dac_override, + # capability sys_rawio, + +# S6-Overlay + /init ix, + /run/{s6,s6-rc*,service}/** ix, + /package/** ix, + /command/** ix, + /run/{,**} rwk, + /dev/tty rw, + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /dev/i2c-1 mrwkl, + # Files required + /dev/fuse mrwkl, + /dev/sda1 mrwkl, + /dev/sdb1 mrwkl, + /dev/nvme0 mrwkl, + /dev/nvme1 mrwkl, + /dev/ttyUSB0 mrwkl, + /dev/* mrwkl, + /tmp/** mrkwl, + + # Data access + /data/** rw, + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} diff --git a/alist/config.yaml b/alist/config.yaml new file mode 100644 index 0000000..853c5c5 --- /dev/null +++ b/alist/config.yaml @@ -0,0 +1,39 @@ +name: Alist +slug: alist +description: '涓涓敮鎸佸绉嶅瓨鍌ㄧ殑鏂囦欢鍒楄〃绋嬪簭锛岀敱 Gin 鍜 Solidjs 鎻愪緵鏀寔' +url: https://gitcode.com/waxgourd/addons +version: 3.54.0 +image: r.hassbus.com/wghaos/alist +codenotary: wghaos@163.com +arch: + - aarch64 + - amd64 +apparmor: true +backup_exclude: + - '*/data/' +devices: + - /dev/dri + - /dev/dri/card0 + - /dev/dri/card1 + - /dev/dri/renderD128 + - /dev/vchiq + - /dev/ttyUSB0 + - /dev/sda + - /dev/sdb + - /dev/nvme + - /dev/nvme0n1p1 + - /dev/nvme0n1p2 + - /dev/mmcblk + - /dev/fuse + - /dev/net/tun +webui: "http://[HOST]:[PORT:5244]/" +privileged: + - SYS_ADMIN + - DAC_READ_SEARCH +init: false +ports: + '5244': 5244 +ports_description: + '5244': web port +startup: application +boot: manual diff --git a/alist/icon.png b/alist/icon.png new file mode 100644 index 0000000..0988e06 Binary files /dev/null and b/alist/icon.png differ diff --git a/alist/logo.png b/alist/logo.png new file mode 100644 index 0000000..0807c84 Binary files /dev/null and b/alist/logo.png differ diff --git a/autman/CHANGELOG.md b/autman/CHANGELOG.md new file mode 100644 index 0000000..172ddc7 --- /dev/null +++ b/autman/CHANGELOG.md @@ -0,0 +1,3 @@ +### 1.0.0锛2024-01-16锛 + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/autman/DOCS.md b/autman/DOCS.md new file mode 100644 index 0000000..6edc5c5 --- /dev/null +++ b/autman/DOCS.md @@ -0,0 +1,9 @@ +# autMan + +## 浣跨敤鏂规硶 + +- 鐐瑰嚮鍚姩锛岃繘鍏ユ棩蹇楅〉闈腑鐐瑰嚮鍒锋柊锛屽嚭鐜扳淗ttp鏈嶅姟宸茶繍琛(8080)銆傗濆垯琛ㄧず鍚姩鎴愬姛銆 + +- 鍚姩瀹屾垚鍚庡彲鍦ㄤ俊鎭〉涓偣鍑"鎵撳紑 WEI UI"锛屾垨鐐瑰嚮鈥滃湪渚ц竟鏍忔樉绀衡濓紝鏂逛究浠ュ悗浠庡乏渚ф爮蹇熻闂 + +- 濡傝繍琛屾湁閿欒鍒欏湪淇℃伅椤典腑鍏抽棴鈥滀繚鎶ゆā寮忊濄 \ No newline at end of file diff --git a/autman/README.md b/autman/README.md new file mode 100644 index 0000000..f14f9fb --- /dev/null +++ b/autman/README.md @@ -0,0 +1,9 @@ +# 鍐摐鐢勯塧ddons锛歛utMan + +## 鍏充簬 + +杩欐槸涓娆惧姛鑳藉己澶х殑鑷姩鍖栬蒋浠剁郴缁燂紝瀹冩敮鎸佸璇█鎻掍欢銆佸鑴氭湰杩愯銆佽繑鍒╁姛鑳姐佷笌鍗虫椂閫氳骞冲彴鐨勫鎺ワ紝浠ュ強鑷畾涔夊井鏈嶅姟璺敱銆傝繖浣垮叾閫傜敤浜庡悇绉嶈嚜鍔ㄥ寲浠诲姟鍜屽畾鍒跺姛鑳界殑寮鍙戙 + +## 鏉ユ簮 + +https://github.com/hdbjlizhe/fanli \ No newline at end of file diff --git a/autman/config.yaml b/autman/config.yaml new file mode 100644 index 0000000..a346e51 --- /dev/null +++ b/autman/config.yaml @@ -0,0 +1,16 @@ +name: 濂ョ壒鏇兼満鍣ㄤ汉 +slug: autman +codenotary: wghaos@163.com +description: '鏈哄櫒浜鸿嚜鍔ㄥ寲宸ュ叿' +url: https://gitcode.com/waxgourd/addons +version: 1.0.0 +image: r.hassbus.com/wghaos/autman +init: false +docker_api: true +arch: + - aarch64 + - amd64 +webui: "[PROTO:http]://[HOST]:[PORT:8162]" +ports: + 8080/tcp: 8162 +boot: manual diff --git a/autman/icon.png b/autman/icon.png new file mode 100644 index 0000000..4f976d6 Binary files /dev/null and b/autman/icon.png differ diff --git a/autman/logo.png b/autman/logo.png new file mode 100644 index 0000000..4f976d6 Binary files /dev/null and b/autman/logo.png differ diff --git a/bleachwrt-plus/CHANGELOG.md b/bleachwrt-plus/CHANGELOG.md new file mode 100644 index 0000000..5dd0166 --- /dev/null +++ b/bleachwrt-plus/CHANGELOG.md @@ -0,0 +1,6 @@ +## 20250924 (2025-09-24) +- 鐗堟湰鍗囩骇 +## 20250922 (2025-09-22) +- 鐗堟湰鍗囩骇 +## 20250604 (2025-06-06) +- 棣栨鎺ㄥ嚭 diff --git a/bleachwrt-plus/DOCS.md b/bleachwrt-plus/DOCS.md new file mode 100644 index 0000000..46ef000 --- /dev/null +++ b/bleachwrt-plus/DOCS.md @@ -0,0 +1,116 @@ +# BleachWRT Plus 浣跨敤鏂囨。 + +## 绠浠 + +BleachWRT Plus 鏄竴涓熀浜 OpenWRT 鐨 Home Assistant 鍔犺浇椤癸紝鎻愪緵鏃佽矾鐢卞姛鑳藉拰瀹屾暣鐨 Web 绠$悊鐣岄潰銆傛湰鍔犺浇椤瑰彲浠ヨ鎮ㄧ殑 Home Assistant 璁惧鍚屾椂浣滀负缃戠粶鏃佽矾鐢变娇鐢紝鎻愪緵涓板瘜鐨勭綉缁滅鐞嗗姛鑳姐 + +## 瀹夎鍓嶅噯澶 + +鍦ㄥ畨瑁呭拰閰嶇疆 BleachWRT Plus 涔嬪墠锛岃纭繚鎮ㄤ簡瑙d互涓嬪唴瀹癸細 + +1. 鏃佽矾鐢辩殑鍩烘湰宸ヤ綔鍘熺悊 +2. 鎮ㄥ綋鍓嶇綉缁滅殑 IP 鍦板潃鑼冨洿銆佺綉鍏冲湴鍧鍜屽瓙缃戞帺鐮 +3. 纭繚閫夋嫨鐨勮櫄鎷 IP 涓嶄細涓庣幇鏈夌綉缁滀腑鐨勮澶囧啿绐 + +## 瀹夎姝ラ + +1. 鍦 Home Assistant 涓坊鍔犳湰浠撳簱浣滀负鑷畾涔夊瓨鍌ㄥ簱 +2. 鍦ㄥ姞杞介」鍟嗗簵涓壘鍒板苟瀹夎"BleachWRT Plus" +3. 绛夊緟瀹夎瀹屾垚 +4. 杩涘叆鍔犺浇椤归厤缃〉闈紝璁剧疆蹇呰鐨勭綉缁滃弬鏁 + +## 閰嶇疆閫夐」璇﹁В + +### 鍩烘湰缃戠粶閰嶇疆 + +| 閫夐」 | 鎻忚堪 | 榛樿鍊 | 璇存槑 | +| ----------------- | ------------------ | -------------- | ------------------------------------------------ | +| virtual_ip | 鏃佽矾鐢辫櫄鎷 IP 鍦板潃 | 192.168.68.111 | 璁剧疆涓轰笌鎮ㄤ富缃戠粶鍚屼竴缃戞浣嗘湭琚娇鐢ㄧ殑 IP 鍦板潃 | +| netmask | 瀛愮綉鎺╃爜 | 255.255.255.0 | 閫氬父淇濇寔榛樿鍊煎嵆鍙 | +| gateway | 缃戝叧鍦板潃 | 192.168.68.1 | 璁剧疆涓烘偍涓昏矾鐢卞櫒鐨 IP 鍦板潃 | +| enable_forwarding | 鏄惁鍚敤 IP 杞彂 | true | 鍚敤鍚庡彲瀹炵幇鏃佽矾鐢卞姛鑳 | +| log_level | 鏃ュ織绾у埆 | info | 鍙夊硷細info锛堝熀鏈俊鎭級鎴 debug锛堣缁嗚皟璇曚俊鎭級 | + +### 缃戠粶閰嶇疆绀轰緥 + +鍋囪鎮ㄧ殑涓昏矾鐢卞櫒 IP 涓 192.168.1.1锛岀綉缁滄涓 192.168.1.0/24锛 + +```yaml +virtual_ip: 192.168.1.111 +netmask: 255.255.255.0 +gateway: 192.168.1.1 +enable_forwarding: true +log_level: info +``` + +## 浣跨敤鎸囧崡 + +### 棣栨璁块棶 + +1. 閰嶇疆瀹屾垚骞跺惎鍔ㄥ姞杞介」鍚庯紝绛夊緟绾 1 鍒嗛挓璁╂墍鏈夋湇鍔″畬鍏ㄥ惎鍔 +2. 浣跨敤娴忚鍣ㄨ闂偍璁剧疆鐨勮櫄鎷 IP 鍦板潃锛歨ttp://[铏氭嫙 IP] +3. 浣跨敤榛樿璐﹀彿瀵嗙爜鐧诲綍锛歳oot/password +4. 棣栨鐧诲綍鍚庯紝寤鸿绔嬪嵆淇敼榛樿瀵嗙爜 + +### 鍩烘湰鍔熻兘 + +BleachWRT Plus 鎻愪緵浜嗕赴瀵岀殑鍔熻兘锛屽寘鎷絾涓嶉檺浜庯細 + +- 缃戠粶鐘舵佺洃鎺 +- 闃茬伀澧欓厤缃 +- 娴侀噺缁熻 +- 绔彛杞彂 +- 鑷畾涔夐槻鐏瑙勫垯 +- 杞欢鍖呯鐞 + +### DHCP 閰嶇疆 + +鏈姞杞介」榛樿宸茬鐢 DHCP 鏈嶅姟鍣ㄥ姛鑳斤紙option ignore '1'锛夛紝浠ラ伩鍏嶄笌涓昏矾鐢卞櫒鐨 DHCP 鏈嶅姟鍐茬獊銆傚闇鍚敤锛屽彲閫氳繃 Web 鐣岄潰淇敼 DHCP 閰嶇疆銆 + +## 鏁呴殰鎺掗櫎 + +### 鏃犳硶璁块棶 Web 鐣岄潰 + +1. 妫鏌ヨ櫄鎷 IP 閰嶇疆鏄惁姝g‘ +2. 纭 Home Assistant 涓绘満鑳藉姝e父璁块棶缃戠粶 +3. 妫鏌ュ姞杞介」鏃ュ織锛屽皢 log_level 璁剧疆涓"debug"鑾峰彇鏇磋缁嗕俊鎭 +4. 纭涓绘満闃茬伀澧欐湭闃绘鐩稿叧绔彛 + +### 缃戠粶杩炴帴闂 + +1. 妫鏌ヨ櫄鎷 IP 涓庣綉鍏抽厤缃槸鍚︽纭 +2. 纭 IP 杞彂鍔熻兘宸插惎鐢 +3. 鏌ョ湅璇︾粏鏃ュ織浠ユ帓鏌ョ綉缁滄帴鍙i厤缃棶棰 +4. 妫鏌 NAT 瑙勫垯鏄惁姝g‘璁剧疆 + +### 鎬ц兘浼樺寲 + +1. 濡傛灉涓嶉渶瑕佽缁嗘棩蹇楋紝灏 log_level 璁剧疆涓"info"鍙噺灏戞棩蹇楄緭鍑 +2. 鏍规嵁瀹為檯闇姹傚惎鐢ㄦ垨绂佺敤涓嶅繀瑕佺殑鏈嶅姟 +3. 瀹氭湡娓呯悊缂撳瓨鍜屾棩蹇楁枃浠 + +## 鏇存柊涓庣淮鎶 + +1. 瀹氭湡妫鏌ュ姞杞介」鏇存柊 +2. 鏇存柊鍓嶅缓璁浠介噸瑕侀厤缃 +3. 鏇存柊鍚庡彲鑳介渶瑕侀噸鏂伴厤缃儴鍒嗚缃 + +## 鏀寔涓庡弽棣 + +濡傛湁闂鎴栧缓璁紝璇烽氳繃浠ヤ笅鏂瑰紡鑾峰彇鏀寔锛 + +1. 鏌ラ槄鏈枃妗 +2. 鍦 GitHub 浠撳簱鎻愪氦 Issue +3. 鍦 Home Assistant 绀惧尯璁哄潧瀵绘眰甯姪 + +鏈」鐩熀浜嶽BleachWRT](https://openwrt.mpdn.fun/?dir=lede)寮鍙戙 + +```bash +# 闇瑕佸湪瀹夸富鏈轰笂杩涜涓嬮潰鎿嶄綔 + +#寮鍚ˉ鎺ョ綉鍗℃贩娣嗘ā寮 +ip link set end0 promisc on + +# 娣诲姞macvlan +ip link add mynet link end0 type macvlan mode bridge +``` diff --git a/bleachwrt-plus/README.md b/bleachwrt-plus/README.md new file mode 100644 index 0000000..370b8d0 --- /dev/null +++ b/bleachwrt-plus/README.md @@ -0,0 +1,51 @@ +# BleachWRT Plus + +閫傜敤浜庢梺璺敱绠$悊鐨 Home Assistant 鍔犺浇椤癸紝鎻愪緵瀹屾暣鐨勬梺璺敱鍔熻兘鍜 Web 绠$悊鐣岄潰銆 + +## 鍔熻兘鐗圭偣 + +- 瀹屾暣鐨 OpenWRT 鏃佽矾鐢卞姛鑳 +- 鍐呯疆 Web 绠$悊鐣岄潰 +- 鏀寔 IP 杞彂 +- 鑷姩缃戠粶閰嶇疆 +- 鑷姩 DHCP 閰嶇疆锛堥粯璁ょ鐢級 +- 鏀寔鏃ュ織绾у埆璋冩暣 + +## 瀹夎鏂规硶 + +1. 鍦 Home Assistant 涓坊鍔犳湰浠撳簱浣滀负鑷畾涔夊瓨鍌ㄥ簱 +2. 鍦ㄥ姞杞介」鍟嗗簵涓壘鍒板苟瀹夎"BleachWRT Plus" +3. 绛夊緟瀹夎瀹屾垚 + +## 閰嶇疆閫夐」 + +| 閫夐」 | 鎻忚堪 | 榛樿鍊 | +| ----------------- | -------------------- | -------------- | +| virtual_ip | 鏃佽矾鐢辫櫄鎷 IP 鍦板潃 | 192.168.68.111 | +| netmask | 瀛愮綉鎺╃爜 | 255.255.255.0 | +| gateway | 缃戝叧鍦板潃 | 192.168.68.1 | +| enable_forwarding | 鏄惁鍚敤 IP 杞彂 | true | +| log_level | 鏃ュ織绾у埆(info/debug) | info | + +## 浣跨敤鏂规硶 + +1. 瀹夎鍔犺浇椤 +2. 閰嶇疆铏氭嫙 IP 鍜岀綉缁滃弬鏁 +3. 鐐瑰嚮鍚姩锛岀瓑寰呯害 1 鍒嗛挓璁╂湇鍔″畬鍏ㄥ惎鍔 +4. 璁块棶 http://[铏氭嫙 IP] 杩涘叆 Web 绠$悊鐣岄潰 + +榛樿绠$悊鍛樿处鍙峰瘑鐮侊細root/password + +## 甯歌闂 + +- **鏃犳硶璁块棶 Web 鐣岄潰**锛氳妫鏌ョ綉缁滈厤缃槸鍚︽纭紝纭繚铏氭嫙 IP 涓庢偍鐨勭綉缁滅幆澧冨尮閰 +- **缃戠粶杩炴帴闂**锛氬皢鏃ュ織绾у埆璁剧疆涓"debug"鑾峰彇鏇磋缁嗙殑璇婃柇淇℃伅 +- **DHCP 鍐茬獊**锛氭湰鎻掍欢榛樿宸茬鐢 DHCP 鏈嶅姟鍣ㄥ姛鑳斤紝閬垮厤涓庝富璺敱 DHCP 鍐茬獊 + +璇︾粏浣跨敤璇存槑璇峰弬闃 DOCS.md 鏂囨。銆 + +## 鏀寔涓庡弽棣 + +鏈」鐩熀浜嶽openwrt](https://openwrt.mpdn.fun/?dir=lede)寮鍙戙 + +濡傛湁闂鎴栧缓璁紝璇峰湪 GitHub 浠撳簱鎻愪氦 Issue銆 diff --git a/bleachwrt-plus/config.yaml b/bleachwrt-plus/config.yaml new file mode 100644 index 0000000..6dfa72d --- /dev/null +++ b/bleachwrt-plus/config.yaml @@ -0,0 +1,40 @@ +name: "BleachWRT Plus" +version: "20250924" +slug: "bleachwrt_plus" +description: "BleachWRT Plus - 鎻愪緵鏃佽矾鐢辩鐞嗗姛鑳斤紝闆嗘垚WEB绠$悊鐣岄潰" +url: "https://gitcode.com/waxgourd/addons" +arch: + - aarch64 + - amd64 +startup: application +boot: manual +ports: + 80/tcp: 80 +ports_description: + 80/tcp: "WEB鏈嶅姟绔彛" +init: false +host_network: true +privileged: + - NET_ADMIN + - SYS_ADMIN + - SYS_RAWIO + - SYS_TIME + - SYS_NICE + - SYS_MODULE + - NET_RAW +webui: "http://[HOST]:[PORT:80]/" +watchdog: "http://[HOST]:[PORT:80]/" +apparmor: false +options: + virtual_ip: 192.168.68.111 + netmask: 255.255.255.0 + gateway: 192.168.68.1 + enable_forwarding: true + log_level: "info" +schema: + virtual_ip: str + netmask: str + gateway: str + enable_forwarding: bool + log_level: list(info|debug) +image: r.hassbus.com/wghaos/bleachwrt-{arch} diff --git a/bleachwrt-plus/translations/en.yaml b/bleachwrt-plus/translations/en.yaml new file mode 100644 index 0000000..34ebbb7 --- /dev/null +++ b/bleachwrt-plus/translations/en.yaml @@ -0,0 +1,20 @@ +--- +configuration: + virtual_ip: + name: "Virtual IP Address" + description: "Set the IP address for OpenWrt LAN interface (required)" + netmask: + name: "Subnet Mask" + description: "Set the subnet mask for OpenWrt LAN interface (default: 255.255.255.0)" + gateway: + name: "Default Gateway" + description: "Set the default gateway for OpenWrt LAN interface" + enable_forwarding: + name: "Enable IP Forwarding" + description: "Enable IP forwarding to allow packets to be routed through this device (default: enabled)" + log_level: + name: "Log Level" + description: "Set the log level (default: info)" + +network: + 80/tcp: "Web management interface port" diff --git a/bleachwrt-plus/translations/zh-Hans.yaml b/bleachwrt-plus/translations/zh-Hans.yaml new file mode 100644 index 0000000..f8bd7b0 --- /dev/null +++ b/bleachwrt-plus/translations/zh-Hans.yaml @@ -0,0 +1,20 @@ +--- +configuration: + virtual_ip: + name: "铏氭嫙IP鍦板潃" + description: "璁剧疆OpenWrt鐨凩AN鎺ュ彛IP鍦板潃锛堝繀濉」锛" + netmask: + name: "瀛愮綉鎺╃爜" + description: "璁剧疆OpenWrt鐨凩AN鎺ュ彛瀛愮綉鎺╃爜锛堥粯璁: 255.255.255.0锛" + gateway: + name: "榛樿缃戝叧" + description: "璁剧疆OpenWrt鐨凩AN鎺ュ彛榛樿缃戝叧" + enable_forwarding: + name: "鍚敤IP杞彂" + description: "鍚敤IP杞彂鍔熻兘锛屽厑璁告暟鎹寘閫氳繃姝よ澶囪浆鍙戯紙榛樿: 鍚敤锛" + log_level: + name: "鏃ュ織绾у埆" + description: "璁剧疆鏃ュ織绾у埆锛堥粯璁: info锛" + +network: + 80/tcp: "Web绠$悊鐣岄潰绔彛" diff --git a/boost/CHANGELOG.md b/boost/CHANGELOG.md new file mode 100644 index 0000000..1b7ad53 --- /dev/null +++ b/boost/CHANGELOG.md @@ -0,0 +1,3 @@ +### 1.0.1锛2023-12-10锛 + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/boost/DOCS.md b/boost/DOCS.md new file mode 100644 index 0000000..c6a3bfe --- /dev/null +++ b/boost/DOCS.md @@ -0,0 +1,5 @@ +# HA鍋ュ悍妫娴 + +## 閰嶇疆璇存槑 + +- 鍚姩鍓嶄竴瀹氳鍦ㄤ俊鎭〉闈腑鍏抽棴 淇濇姢妯″紡銆 \ No newline at end of file diff --git a/boost/README.md b/boost/README.md new file mode 100644 index 0000000..3e1b2e5 --- /dev/null +++ b/boost/README.md @@ -0,0 +1,11 @@ +# 鍐摐鐢勯塧ddons锛欻A鍋ュ悍妫娴 + +## 鍏充簬 + +杩欐槸涓娆綡AOS缁煎悎缃戠粶璁块棶鍋ュ悍搴︽鏌ョ殑搴旂敤锛屽叿鏈夎繍琛岀姸鎬併佺綉缁滅姸鎬併佺綉缁滃搷搴旀娴嬬瓑鍔熻兘銆 + +**娉細鍐摐HAOS 11.3浠ヤ笂鏀寔host缃戠粶妫娴嬶紝鍏朵粬HAOS鐨刪ost閮ㄥ垎鏃犳硶妫娴嬶紝浼氭樉绀轰负绌虹櫧銆 ** + +## 鏉ユ簮 + +鍐摐鐢勯夊嚭鍝 \ No newline at end of file diff --git a/boost/config.yaml b/boost/config.yaml new file mode 100644 index 0000000..b1d9204 --- /dev/null +++ b/boost/config.yaml @@ -0,0 +1,29 @@ +--- +name: HA鍋ュ悍妫娴 +slug: wgha-boost +version: 1.0.1 +description: HAOS缁煎悎缃戠粶璁块棶鍋ュ悍搴︽鏌ョ殑搴旂敤锛屽叿鏈夎繍琛岀姸鎬併佺綉缁滅姸鎬併佺綉缁滃搷搴旀娴嬬瓑鍔熻兘 +init: false +startup: services +codenotary: wghaos@163.com +ingress: true +ingress_port: 8991 +ingress_stream: true +image: r.hassbus.com/wghaos/wga-boost +url: https://gitcode.com/waxgourd/addons +ports: + 8991/tcp: 8991 +panel_icon: mdi:stethoscope +hassio_api: true +hassio_role: admin +docker_api: true +map: + - addon_config:rw +arch: + - aarch64 + - amd64 +options: + config_file: /config/config.yaml +schema: + config_file: str? +boot: manual diff --git a/boost/icon.png b/boost/icon.png new file mode 100644 index 0000000..c7975c7 Binary files /dev/null and b/boost/icon.png differ diff --git a/boost/logo.png b/boost/logo.png new file mode 100644 index 0000000..c7975c7 Binary files /dev/null and b/boost/logo.png differ diff --git a/calendar-poetry/CHANGELOG.md b/calendar-poetry/CHANGELOG.md new file mode 100644 index 0000000..cfb68d7 --- /dev/null +++ b/calendar-poetry/CHANGELOG.md @@ -0,0 +1,3 @@ +### latest-2024092512锛2024-09-25锛 + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/calendar-poetry/DOCS.md b/calendar-poetry/DOCS.md new file mode 100644 index 0000000..23de9ba --- /dev/null +++ b/calendar-poetry/DOCS.md @@ -0,0 +1,6 @@ +# LOCAL CALENDAR AND POETRY + +## 榛樿绔彛 + +- 鏃ュ巻锛13001绔彛 +- 鍙よ瘲: 13002绔彛 diff --git a/calendar-poetry/README.md b/calendar-poetry/README.md new file mode 100644 index 0000000..74342b0 --- /dev/null +++ b/calendar-poetry/README.md @@ -0,0 +1,9 @@ +# 鍐摐鐢勯堿ddons锛 LOCAL CALENDAR AND POETRY + +## 鍏充簬 + +- 瀹冩槸鏈湴鏃ュ巻鍜屽彜璇楄瘝鐩哥粨鍚堢殑鎺ュ彛 + +## 鍦板潃 +[鍙傝僝(https://bbs.hassbian.com/thread-26449-1-1.html) +[docker hub](https://hub.docker.com/u/bugprogrammer) diff --git a/calendar-poetry/apparmor.txt b/calendar-poetry/apparmor.txt new file mode 100644 index 0000000..a7853ad --- /dev/null +++ b/calendar-poetry/apparmor.txt @@ -0,0 +1,41 @@ +#include + +profile calendar_poetry flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + mount, + umount, + remount, + + capability setgid, + capability setuid, + capability dac_override, + + # S6-Overlay + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /proc/self/attr/** mrwkl, + # Files required + /tmp/** mrkwl, + + # Data access + /data/** rw, + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} diff --git a/calendar-poetry/build.yaml b/calendar-poetry/build.yaml new file mode 100644 index 0000000..1d47974 --- /dev/null +++ b/calendar-poetry/build.yaml @@ -0,0 +1,5 @@ +--- +build_from: + amd64: d.fashgh.com/bugprogrammer/calendar-remark:latest + aarch64: d.fashgh.com/bugprogrammer/calendar-remark:latest_arm64v8 + diff --git a/calendar-poetry/config.yaml b/calendar-poetry/config.yaml new file mode 100644 index 0000000..892a0d5 --- /dev/null +++ b/calendar-poetry/config.yaml @@ -0,0 +1,16 @@ +name: "LOCAL CALENDAR AND POETRY" +version: 'latest-2024092512' +slug: 'calendar_poetry' +codenotary: wghaos@163.com +description: '瀹冩槸鏈湴鏃ュ巻鍜屽彜璇楄瘝鐩哥粨鍚堢殑鎺ュ彛' +image: r.hassbus.com/wghaos/{arch}-calendar-poetry +url: https://gitcode.com/waxgourd/addons +init: false +arch: + - aarch64 + - amd64 +ports: + 80/tcp: 13001 + 5000/tcp: 13002 +apparmor: true +boot: manual diff --git a/calendar-poetry/icon.png b/calendar-poetry/icon.png new file mode 100644 index 0000000..c06c5ca Binary files /dev/null and b/calendar-poetry/icon.png differ diff --git a/calendar-poetry/logo.png b/calendar-poetry/logo.png new file mode 100644 index 0000000..17a464a Binary files /dev/null and b/calendar-poetry/logo.png differ diff --git a/cloud189-auto-save/CHANGELOG.md b/cloud189-auto-save/CHANGELOG.md new file mode 100644 index 0000000..a3554da --- /dev/null +++ b/cloud189-auto-save/CHANGELOG.md @@ -0,0 +1,8 @@ +### 2.2.44 (2025-09-10) +- 鐗堟湰鍗囩骇 +### 2.2.42 (2025-07-11) +- 鐗堟湰鍗囩骇 +### 2.2.40 (2025-06-05) +- 鐗堟湰鍗囩骇 +### 2.2.18锛2025-04-27锛 +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/cloud189-auto-save/DOCS.md b/cloud189-auto-save/DOCS.md new file mode 100644 index 0000000..3ae1fe6 --- /dev/null +++ b/cloud189-auto-save/DOCS.md @@ -0,0 +1,160 @@ +# 澶╃考浜戠洏鑷姩杞瓨绯荤粺 + +## 鍔熻兘鐗圭偣 + +- 鏀寔澶氳处鍙风鐞 +- 鑷姩鐩戞帶鍒嗕韩閾炬帴鏇存柊, 鑷姩閲嶅懡鍚 +- 鏀寔浼佷笟寰俊銆乀elegram, Bark, Wxpusher 娑堟伅鎺ㄩ +- Web 鐣岄潰绠$悊锛屽搷搴斿紡甯冨眬, 鎿嶄綔渚挎嵎 +- Docker 閮ㄧ讲锛屾柟渚跨淮鎶 +- 鏀寔 STRM 鏂囦欢鐢熸垚 +- 鏀寔 Emby 濯掍綋搴撹嚜鍔ㄥ埛鏂 +- 鏀寔鑷姩娓呯悊鍥炴敹绔 + +## 蹇熷紑濮 + +- 璁剧疆-鍔犺浇椤-鍔犺浇椤瑰晢搴 瀹夎cloud189-auto-save +- 鍚姩-鎵撳紑缃戦〉鐣岄潰锛圵EB UI 娴忚鍣ㄨ闂級`http://homeassistant.local:3000` +- 榛樿璐﹀彿瀵嗙爜涓篴dmin admin 鐧诲綍鍚庤鍦ㄧ郴缁熼〉淇敼瀵嗙爜 + +## 浣跨敤璇存槑 + +### 1. 璐﹀彿绠$悊 +- 鏀寔璐﹀彿瀵嗙爜鐧诲綍鍜 Cookie 鐧诲綍涓ょ鏂瑰紡 +- Cookie 鐧诲綍姝ラ锛 + 1. 鎵撳紑澶╃考浜戠洏瀹樼綉鐧诲綍鐣岄潰 + 2. 鎵撳紑娴忚鍣ㄧ殑寮鍙戣呭伐鍏(ctrl+f12), 鍕鹃変繚鐣欐棩蹇 + 3. 姝e父鍙戣捣鐧诲綍, 鐒跺悗鍦ㄥ紑鍙戣呭伐鍏蜂腑閫夋嫨缃戠粶(network) + 4. 鍦ㄨ姹備腑鎵惧埌 loginSubmit.do, 鐐瑰嚮鎵撳紑璇︽儏 + 5. 鑾峰彇 set-cookie 涓殑 SSON 鍊硷紙鍙渶瑕 SSON=xxxxx 涓殑 xxxxx 閮ㄥ垎锛 + 6. 濉叆璐﹀彿鍒涘缓涓殑 cookie 涓嵆鍙 + 7. 鍙偣鍑诲獟浣撶洰褰曞拰鏈湴鐩綍璁剧疆STRM鐨勮闂墠缂 + +### 2. 浠诲姟绠$悊 +- 鍒涘缓浠诲姟闇濉啓锛 + - 閫夋嫨璐﹀彿 + - 鍒嗕韩閾炬帴锛堟敮鎸佸姞瀵嗛摼鎺ワ紝闇濉啓璁块棶鐮侊級 + - 淇濆瓨鐩綍锛堟敮鎸佺洰褰曟爲閫夋嫨锛 + - 鎬婚泦鏁帮紙鍙夛紝鐢ㄤ簬杩芥洿杩涘害缁熻锛 + - 鏂囦欢鍚嶅尮閰嶈鍒欙紙鍙夛紝鐢ㄤ簬杩囨护鏂囦欢锛 +- 鏀寔鎵归噺浠诲姟鍒涘缓锛氶娆″垱寤烘椂浼氳嚜鍔ㄨ瘑鍒垎浜摼鎺ヤ腑鐨勭洰褰曠粨鏋 +- 鏀寔鎵嬪姩鎵ц浠诲姟 +- 鏀寔鍒犻櫎浠诲姟锛堝彲閫夋槸鍚﹀悓鏃跺垹闄や簯鐩樻枃浠讹級 + +### 3. 鑷姩閲嶅懡鍚 +- 鏀寔涓ょ閲嶅懡鍚嶆柟寮忥細 + - 姝e垯琛ㄨ揪寮忛噸鍛藉悕锛氭敮鎸佸悗缁嚜鍔ㄦ洿鏂版椂搴旂敤鍚屾牱鐨勮鍒 + - 椤哄簭閲嶅懡鍚嶏細閫傚悎涓娆℃ч噸鍛藉悕 +- 鎿嶄綔姝ラ锛 + 1. 鐐瑰嚮浠诲姟鐨勬洿鏂扮洰褰 + 2. 閫夋嫨闇瑕侀噸鍛藉悕鐨勬枃浠 + 3. 鐐瑰嚮鎵归噺閲嶅懡鍚嶆寜閽 + 4. 閫夋嫨閲嶅懡鍚嶆柟寮忓苟璁剧疆瑙勫垯 + 5. 棰勮閲嶅懡鍚嶆晥鏋 + 6. 纭淇濆瓨 + +### 4. 绯荤粺璁剧疆 +- 浠诲姟璁剧疆锛 + - 浠诲姟杩囨湡澶╂暟锛氳秴杩囨寚瀹氬ぉ鏁版湭鏇存柊鐨勪换鍔¤嚜鍔ㄦ爣璁板畬鎴 + - 浠诲姟閲嶈瘯娆℃暟鍜岄棿闅 + - 瀹氭椂妫鏌ユ椂闂达紙鏀寔 Cron 琛ㄨ揪寮忥級 + - 鑷姩娓呯┖鍥炴敹绔欙紙鏀寔涓汉鍜屽搴綉鐩橈級 +- 濯掍綋璁剧疆锛 + - STRM 鏂囦欢鐢熸垚锛氳嚜鍔ㄤ负濯掍綋鏂囦欢鐢熸垚瀵瑰簲鐨 STRM 鏂囦欢 + - Emby 閫氱煡锛氭敮鎸佽嚜鍔ㄥ埛鏂 Emby 濯掍綋搴 + - 璺緞鏇挎崲瑙勫垯璇存槑锛 + 1. 绀轰緥鍦烘櫙锛 + - 澶╃考浜戠洏涓殑鏂囦欢璺緞锛歚/褰辫鍓/鐢佃鍓/鍖椾笂/Season 01/S01E01.mkv` + - Emby 濯掍綋搴撲腑鐨勮矾寰勶細`/cloud/澶╃考浜戠洏/鐢佃鍓 + - 璐﹀彿涓殑Emby璺緞鏇挎崲閰嶇疆锛歚/褰辫鍓:/cloud/澶╃考浜戠洏` + + 2. 鏇挎崲鎵ц閫昏緫锛 + - 绯荤粺浼氫紭鍏堝皾璇曞畬鏁磋矾寰勫尮閰嶏細 + `/cloud/澶╃考浜戠洏/鐢佃鍓/鍖椾笂/Season 01` + - 濡傛灉瀹屾暣璺緞涓嶅瓨鍦紝浼氶愮骇鍚戜笂鏌ユ壘锛 + `/cloud/澶╃考浜戠洏/鐢佃鍓/鍖椾笂` + `/cloud/澶╃考浜戠洏/鐢佃鍓 + - 濡傛灉鎵鏈夊眰绾ч兘鏈壘鍒板尮閰嶉」锛屽皢鎵ц鍏ㄥ簱鎵弿 +- 娑堟伅鎺ㄩ侊細 + - 浼佷笟寰俊 + - Telegram + - Bark + - WxPusher + +### 5. Telegram 鏈哄櫒浜轰娇鐢 +- 閰嶇疆璇存槑锛 + 1. 鍦 [@BotFather](https://t.me/BotFather) 鍒涘缓鏈哄櫒浜哄苟鑾峰彇 Token + 2. 鍦ㄧ郴缁熻缃腑濉叆 Bot Token 骞跺惎鐢 Telegram 閫氱煡 + 3. 涓庢満鍣ㄤ汉寮濮嬪璇濆嵆鍙娇鐢 + +- 鍙敤鍛戒护锛 + - `/help` - 鏄剧ず甯姪淇℃伅 + - `/accounts` - 鏄剧ず璐﹀彿鍒楄〃 + - `/tasks` - 鏄剧ず浠诲姟鍒楄〃 + - `/execute_all` - 鎵ц鎵鏈変换鍔 + - `/fl` - 鏄剧ず甯哥敤鐩綍鍒楄〃 + - `/fs` - 娣诲姞甯哥敤鐩綍 + - `/search_cs` - 鎼滅储CloudSaver璧勬簮 + - `/cancel` - 鍙栨秷褰撳墠鎿嶄綔 + +- 浠诲姟鎿嶄綔鍛戒护锛 + - `/execute_[ID]` - 鎵ц鎸囧畾浠诲姟 + - `/strm_[ID]` - 鐢熸垚STRM鏂囦欢 + - `/emby_[ID]` - 閫氱煡Emby鍒锋柊 + - `/dt_[ID]` - 鍒犻櫎鎸囧畾浠诲姟 + +- 鐩綍鎿嶄綔鍛戒护锛 + - `/df_[ID]` - 鍒犻櫎鎸囧畾甯哥敤鐩綍 + +- 浣跨敤娴佺▼锛 + 1. 閫夋嫨璐﹀彿锛氫娇鐢 `/accounts` 鍛戒护鏌ョ湅骞堕夋嫨瑕佷娇鐢ㄧ殑璐﹀彿 + 2. 甯哥敤鐩綍绠$悊 + - 浣跨敤 `/fl` 鏌ョ湅褰撳墠璐﹀彿鐨勫父鐢ㄧ洰褰曞垪琛 + - 浣跨敤 `/fs` 杩涘叆鐩綍鏍戦夋嫨妯″紡 + - 鍦ㄧ洰褰曟爲涓彲浠ワ細 + * 鐐瑰嚮鏂囦欢澶瑰悕绉拌繘鍏ヤ笅绾х洰褰 + * 鐐瑰嚮杩斿洖鎸夐挳鍥炲埌涓婄骇鐩綍 + * 鐐瑰嚮纭鎸夐挳淇濆瓨褰撳墠鐩綍 + * 宸叉坊鍔犱负甯哥敤鐩綍鐨勬枃浠跺す浼氭樉绀 鉁 鏍囪 + - 浣跨敤 `/df_[ID]` 鍙垹闄ゆ寚瀹氱殑甯哥敤鐩綍 + 3. 鍒涘缓杞瓨浠诲姟 + - 鐩存帴鍙戦佸ぉ缈间簯鐩樺垎浜摼鎺ュ嵆鍙 + - 鏀寔浠ヤ笅鏍煎紡锛 + * 鏅氶摼鎺ワ細`https://cloud.189.cn/t/xxxxx` + * 甯﹁闂爜閾炬帴锛歚https://cloud.189.cn/t/xxxxx锛堣闂爜锛歺xxx锛塦 + - 鍙戦侀摼鎺ュ悗浼氭樉绀哄父鐢ㄧ洰褰曞垪琛 + - 閫夋嫨淇濆瓨鐩綍鍚庡嵆鍙垱寤轰换鍔 + - 濡傜洰鏍囦綅缃凡瀛樺湪鍚屽悕鏂囦欢澶癸細 + * 浼氳闂槸鍚﹁鐩 + * 閫夋嫨鏄垯鍒犻櫎鍘熸枃浠跺す鍚庝繚瀛 + * 閫夋嫨鍚﹀垯鍙栨秷浠诲姟鍒涘缓 + 4. 浠诲姟绠$悊 + - 浣跨敤 `/tasks` 鏌ョ湅褰撳墠浠诲姟鍒楄〃 + - 鍙繘琛屼互涓嬫搷浣滐細 + * `/execute_[ID]` 绔嬪嵆鎵ц鎸囧畾浠诲姟 + * `/strm_[ID]` 涓轰换鍔$敓鎴怱TRM鏂囦欢 + * `/emby_[ID]` 閫氱煡Emby鍒锋柊鎸囧畾浠诲姟 + * `/dt_[ID]` 鍒犻櫎鎸囧畾浠诲姟锛堝彲閫夋槸鍚﹀悓鏃跺垹闄や簯鐩樻枃浠讹級 + - 浣跨敤 `/execute_all` 鍙墽琛屾墍鏈夋湭瀹屾垚鐨勪换鍔 + 5. CloudSaver璧勬簮鎼滅储 + - 浣跨敤 `/search_cs` 杩涘叆鎼滅储妯″紡 + - 鐩存帴杈撳叆鍏抽敭瀛楀嵆鍙悳绱 + - 鎼滅储缁撴灉鏀寔鐐瑰嚮澶嶅埗閾炬帴 + - 鐐瑰嚮淇濆瓨鍛戒护鍙洿鎺ュ垱寤轰换鍔 + - 浣跨敤 `/cancel` 鎴 3鍒嗛挓鏈搷浣滀細鑷姩閫鍑烘悳绱㈡ā寮 + 娉ㄦ剰浜嬮」锛 +- 纭繚閫夋嫨浜嗘纭殑璐﹀彿鍐嶈繘琛屾搷浣 +- 甯哥敤鐩綍寤鸿閫夋嫨鍥哄畾鐨勫瓨鍌ㄤ綅缃 +- 甯﹁闂爜鐨勯摼鎺ヨ涓ユ牸鎸夌収鏍煎紡鍙戦 +- 浠诲姟鍒涘缓鍚庝細鑷姩鎵ц锛屼篃鍙墜鍔ㄨЕ鍙 +- 鎼滅储妯″紡涓嬩粎鍝嶅簲鎼滅储鍏抽敭瀛楋紝鍏朵粬鍛戒护璇峰厛閫鍑 + +## 娉ㄦ剰浜嬮」 +- 鏇存柊鐩綍鍙互浠绘剰绉诲姩浣嗕笉鑳借鍒犻櫎, 鍚﹀垯浠诲姟鏃犳硶鎵ц +- 鏁版嵁搴撴枃浠朵細鎸佷箙鍖栦繚瀛樺湪瀹夸富鏈虹殑 data 鐩綍 +- 鏀寔瀹瑰櫒鑷姩閲嶅惎 +- 鎺ㄨ崘浣跨敤鍙嶅悜浠g悊杩涜瀹夊叏璁块棶 +- 濯掍綋鏂囦欢鍚庣紑閰嶇疆浼氬奖鍝嶆枃浠惰鏁板拰杩囨护 +- STRM 鏂囦欢鐢熸垚闇瑕侀厤缃纭殑璁块棶鍓嶇紑 +- Emby 閫氱煡闇瑕侀厤缃纭殑鏈嶅姟鍣ㄥ湴鍧鍜 API Key +- 濡傞渶浣跨敤TG鏈哄櫒浜哄垱寤轰换鍔, 濡傛灉鏄佺増鏈郴缁, 璇峰彇娑堝父鐢ㄧ洰褰曟墍鏈夊悗閲嶆柊娣诲姞 diff --git a/cloud189-auto-save/README.md b/cloud189-auto-save/README.md new file mode 100644 index 0000000..a7d413e --- /dev/null +++ b/cloud189-auto-save/README.md @@ -0,0 +1,10 @@ +# 鍐摐鐢勯堿ddons锛氬ぉ缈间簯鐩樿嚜鍔ㄨ浆瀛樼郴缁 + +## 鍏充簬 + +- 澶╃考浜戠洏鑷姩杞瓨绯荤粺锛屾敮鎸佽嚜鍔ㄧ洃鎺ф洿鏂板苟杞瓨鏂囦欢, 鏀寔STRM鐢熸垚, Emby鍏ュ簱閫氱煡 + +## 鏉ユ簮 +[GitHub锛歖(https://github.com/1307super/cloud189-auto-save) https://github.com/1307super/cloud189-auto-save + +[Docker Hub锛歖(https://hub.docker.com/r/xia1307/cloud189-auto-save) https://hub.docker.com/r/xia1307/cloud189-auto-save diff --git a/cloud189-auto-save/config.yaml b/cloud189-auto-save/config.yaml new file mode 100644 index 0000000..b652b83 --- /dev/null +++ b/cloud189-auto-save/config.yaml @@ -0,0 +1,16 @@ +name: "cloud189-auto-save" +version: '2.2.44' +slug: 'cloud189' +codenotary: wghaos@163.com +description: '澶╃考浜戠洏鑷姩杞瓨绯荤粺锛屾敮鎸佽嚜鍔ㄧ洃鎺ф洿鏂板苟杞瓨鏂囦欢, 鏀寔STRM鐢熸垚, Emby鍏ュ簱閫氱煡' +# image: r.hassbus.com/wghaos/{arch}-calendar-poetry +image: r.hassbus.com/wghaos/cloud189-auto-save +url: https://gitcode.com/waxgourd/addons +init: false +arch: + - aarch64 + - amd64 +ports: + 3000/tcp: 3000 +webui: "[PROTO:http]://[HOST]:[PORT:3000]" +boot: manual \ No newline at end of file diff --git a/cloud189-auto-save/icon.png b/cloud189-auto-save/icon.png new file mode 100644 index 0000000..bec892c Binary files /dev/null and b/cloud189-auto-save/icon.png differ diff --git a/cloud189-auto-save/logo.png b/cloud189-auto-save/logo.png new file mode 100644 index 0000000..bec892c Binary files /dev/null and b/cloud189-auto-save/logo.png differ diff --git a/cpolar/CHANGELOG.md b/cpolar/CHANGELOG.md new file mode 100644 index 0000000..3c86042 --- /dev/null +++ b/cpolar/CHANGELOG.md @@ -0,0 +1,3 @@ +### 3.3.18锛2024-07-22锛 + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/cpolar/DOCS.md b/cpolar/DOCS.md new file mode 100644 index 0000000..00b9bbe --- /dev/null +++ b/cpolar/DOCS.md @@ -0,0 +1,30 @@ +# Cpolar + +## 閰嶇疆椤 + +- Authtoken锛歨ttps://dashboard.cpolar.com/auth + +- 9200/tcp锛9200 + +## 浣跨敤鏂规硶 + +cpolar鏁欑▼锛歨ttps://www.cpolar.com/docs + +### 娉 +娴忚鍣 **`400: Bad Request`** 閿欒瑙e喅鏂规 + +- 缂栬緫閰嶇疆鏂囦欢锛/homeassistant/configuration.yaml + +杩藉姞鍐呭锛 +```json +http: + use_x_forwarded_for: true + trusted_proxies: + - 192.168.68.1 +``` + +- 閲嶅惎 Home Assistant Core 鍚庣敓鏁 + +鍙傝冨湴鍧锛歨ttps://www.cpolar.com/blog/how-to-build-a-home-assistant-smart-home-system-and-remotely-control-home-devices-through-intranet-penetration 鐨勭5. 鍏綉璁块棶Home Assistant 姝ラ + + \ No newline at end of file diff --git a/cpolar/README.md b/cpolar/README.md new file mode 100644 index 0000000..38844ab --- /dev/null +++ b/cpolar/README.md @@ -0,0 +1,9 @@ +# 鍐摐鐢勯塧ddons锛欳polar鏋佺偣浜 + +## 鍏充簬 + +瀹夊叏鐨勫唴缃戠┛閫忓伐鍏凤紝寰堝浜虹敤鍦ㄦ壘锛岀壒姝ゅ仛涓涓嚭鏉ャ + +## 鍔熻兘 + +鍙渶瑕佺畝鍗曢厤缃紝灏卞彲浠ュ皢HA鏄犲皠鍒板叕缃戯紝鏂逛究澶у杩滅▼璁块棶 diff --git a/cpolar/config.yaml b/cpolar/config.yaml new file mode 100644 index 0000000..6ae680f --- /dev/null +++ b/cpolar/config.yaml @@ -0,0 +1,21 @@ +name: "Cpolar鏋佺偣浜" +version: '3.3.18' +slug: 'cpolar' +codenotary: wghaos@163.com +description: 'Cpolar 瀹夊叏鐨勫唴缃戠┛閫忓伐鍏' +image: r.hassbus.com/wghaos/addon-wghaos-cpolar +url: https://gitcode.com/waxgourd/addons +init: false +arch: + - aarch64 + - amd64 +webui: "[PROTO:http]://[HOST]:[PORT:9200]" +ports: + 9200/tcp: 9200 +panel_icon: 'mdi:application-variable' +boot: manual +host_network: true +options: + Authtoken: "" +schema: + Authtoken: str? diff --git a/cpolar/icon.png b/cpolar/icon.png new file mode 100644 index 0000000..2167f4d Binary files /dev/null and b/cpolar/icon.png differ diff --git a/cpolar/logo.png b/cpolar/logo.png new file mode 100644 index 0000000..f8bdad2 Binary files /dev/null and b/cpolar/logo.png differ diff --git a/cups-airprint/CHANGELOG.md b/cups-airprint/CHANGELOG.md new file mode 100644 index 0000000..540d97b --- /dev/null +++ b/cups-airprint/CHANGELOG.md @@ -0,0 +1,11 @@ +## 2.4.2-3 (2025-07-16) + +- 鐗堟湰鍗囩骇 + +## 2.4.2-2 (2025-01-16) + +- 鐗堟湰鍗囩骇 + +## 2.4.2 (2025-01-14) + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/cups-airprint/DOCS.md b/cups-airprint/DOCS.md new file mode 100644 index 0000000..1c99249 --- /dev/null +++ b/cups-airprint/DOCS.md @@ -0,0 +1,41 @@ +# CUPS AirPrint + +## 浣跨敤鏂规硶 + +- CUPS绠$悊鍛樼櫥褰曪細print锛屽瘑鐮侊細print锛堝彲浠ュ湪Dockerfile涓洿鏀癸級 + + + +**椹卞姩瀹夎鏂规硶** + +浠ユ儬鏅1020鎵撳嵃鏈轰负渚嬶細鎸変互涓嬫楠ゅ畨瑁卙plip椹卞姩鐨勬彃浠躲 + +1. 娴忚鍣ㄦ墦寮涓嬭浇鍦板潃锛歨ttps://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/ + +2. 鎵惧埌鍜岀増鏈彿瀵瑰簲鐨勪袱涓.run鍜.run.asc鏂囦欢锛屼互鍙婁笉鍖哄垎鐗堟湰鐨.plugin鏂囦欢锛屼緥濡傦細 + ```json + hp_laserjet_1020.plugin锛堜笉鍖哄垎鐗堟湰锛夈 + hplip-3.22.10-plugin.run锛3.22.10鐗堟湰锛夈 + hplip-3.22.10-plugin.run.asc锛3.22.10鐗堟湰锛 +``` +3. 閫氳繃Filebrowser鎵撳紑addon_configs/xxxxxx_opencups/upload鐩綍锛屽皢涓婇潰涓変釜鏂囦欢鎷疯礉杩涘幓銆 + +4. 鎴愬姛鏀捐繘鍘诲悗锛屼娇鐢ㄥ懡浠よ繘鍏ユ彃浠剁殑瀹夎锛屾祻瑙堝櫒鎵撳紑http://homeassistant.local:7681 杩涘叆缁堢锛 +杈撳叆鍛戒护琛 +```shell +login +``` +绗簩姝ワ紝杩涘叆docker瀹瑰櫒鍐呴儴 +```shell +wgha d cups -S /bin/bash +``` +绗笁姝ワ紝鎵ц鍛戒护 +```shell +sudo hp-plugin -p /config/upload/ +``` +5. 瀹屾垚鎻掍欢鐨勫畨瑁咃紝鏈熼棿浼氳闂槸鍚﹀悓鎰忚鍙崗璁紝鎸夆測鈥濆悓鎰忋 + +6. 鍒版椹卞姩娣诲姞瀹屾瘯锛宎ddons webui鎵撳紑 CUPS-AirPrint鍗冲彲浣跨敤銆 + + +鍙傝冨湴鍧锛歨ttps://blog.csdn.net/inthesun29/article/details/127143638 diff --git a/cups-airprint/README.md b/cups-airprint/README.md new file mode 100644 index 0000000..856c2e1 --- /dev/null +++ b/cups-airprint/README.md @@ -0,0 +1,9 @@ +# 鍐摐鐢勯塧ddon: CUPS AirPrint + +## 鍏充簬 + +閰嶅AirPrint鍔熻兘鐨凜UPS鎵撳嵃鏈嶅姟鍣 + +## 婧 + +https://github.com/zajac-grzegorz/homeassistant-addon-cups-airprint \ No newline at end of file diff --git a/cups-airprint/config.yaml b/cups-airprint/config.yaml new file mode 100644 index 0000000..f565427 --- /dev/null +++ b/cups-airprint/config.yaml @@ -0,0 +1,24 @@ +name: CUPS AirPrint +version: "2.4.2-3" +slug: opencups +description: 钁楀悕鐨勫紑婧愭墦鍗板叡浜湇鍔″櫒 +url: https://gitcode.com/waxgourd/addons +image: r.hassbus.com/wghaos/addon-cups-airprint +arch: + - amd64 + - aarch64 +usb: true +init: false +homeassistant_api: true +host_network: true +webui: "[PROTO:http]://[HOST]:[PORT:631]" +ports: + 631/tcp: 631 + 631/udp: 631 +ports_description: + 631/tcp: 璁╂湰鍦扮綉缁滀笂鐨勫叾浠栬澶囨墦鍗板埌姝ゆ湇鍔″櫒 + 631/udp: 璁╂湰鍦扮綉缁滀笂鐨勫叾浠栬澶囨墦鍗板埌姝ゆ湇鍔″櫒 +# ingress: false +map: + - addon_config:rw + diff --git a/cups-airprint/icon.png b/cups-airprint/icon.png new file mode 100644 index 0000000..aefa10e Binary files /dev/null and b/cups-airprint/icon.png differ diff --git a/cups-airprint/logo.png b/cups-airprint/logo.png new file mode 100644 index 0000000..aefa10e Binary files /dev/null and b/cups-airprint/logo.png differ diff --git a/ddns-go/CHANGELOG.md b/ddns-go/CHANGELOG.md new file mode 100644 index 0000000..8854262 --- /dev/null +++ b/ddns-go/CHANGELOG.md @@ -0,0 +1,67 @@ +### 6.13.2 (2025-11-03) + +- 鐗堟湰鍗囩骇 + +### 6.13.0 (2025-10-28) + +- 鐗堟湰鍗囩骇 + +### 6.12.5 (2025-10-16) + +- 鐗堟湰鍗囩骇 + +### 6.12.4 (2025-08-25) + +- 鐗堟湰鍗囩骇 + +### 6.12.2 (2025-08-08) + +- 鐗堟湰鍗囩骇 + +### 6.12.0 (2025-07-29) + +- 鐗堟湰鍗囩骇 + +### 6.11.3 (2025-07-15) + +- 鐗堟湰鍗囩骇 + +### 6.11.0 (2025-07-01) + +- 鐗堟湰鍗囩骇 + +### 6.10.0 (2025-06-19) + +- 鐗堟湰鍗囩骇 + +### 6.9.2 (2025-05-16) + +- 鐗堟湰鍗囩骇 + +### 6.9.1 (2025-03-13) + +- 鐗堟湰鍗囩骇 + +### 6.8.1 (2025-02-07) + +- 鐗堟湰鍗囩骇 + +### 6.8.0 (2025-01-15) + +- 鐗堟湰鍗囩骇 + +### 6.7.7 (2024-12-18) + +- 鐗堟湰鍗囩骇 + +### 6.7.6 (2024-11-25) + +- 鐗堟湰鍗囩骇 + +### 6.7.2 (2024-10-21) + +- 鐗堟湰鍗囩骇 + +### 6.7.0 (2024-09-19) + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/ddns-go/DOCS.md b/ddns-go/DOCS.md new file mode 100644 index 0000000..fb7160f --- /dev/null +++ b/ddns-go/DOCS.md @@ -0,0 +1,53 @@ +# DDNS-GO + +## 閰嶇疆 + +### pwd + +閲嶇疆瀵嗙爜锛屽鏋滀负绌哄垯浣跨敤涓婃瀵嗙爜 + +### frequency + +鍚屾闂撮殧鏃堕棿(绉) + +## 鐗规 + +- 鏀寔Mac銆乄indows銆丩inux绯荤粺锛屾敮鎸丄RM銆亁86鏋舵瀯 + +- 鏀寔鐨勫煙鍚嶆湇鍔″晢 闃块噷浜 鑵捐浜 Dnspod Cloudflare 鍗庝负浜 Callback 鐧惧害浜 Porkbun GoDaddy Namecheap NameSilo Dynadot + +- 鏀寔鎺ュ彛/缃戝崱/鍛戒护鑾峰彇IP + +- 鏀寔浠ユ湇鍔$殑鏂瑰紡杩愯 + +- 榛樿闂撮殧300绉掑悓姝ヤ竴娆 + +- 鏀寔鍚屾椂閰嶇疆澶氫釜DNS鏈嶅姟鍟 + +- 鏀寔澶氫釜鍩熷悕鍚屾椂瑙f瀽 + +- 鏀寔澶氱骇鍩熷悕 + +- 缃戦〉涓厤缃紝绠鍗曞張鏂逛究锛岄粯璁ゅ嬀閫夌姝粠鍏綉璁块棶 + +- 缃戦〉涓柟渚垮揩閫熸煡鐪嬫渶杩50鏉℃棩蹇 + +- 鏀寔Webhook閫氱煡 + +- 鏀寔TTL + +- 鏀寔閮ㄥ垎DNS鏈嶅姟鍟嗕紶閫掕嚜瀹氫箟鍙傛暟锛屽疄鐜板湴鍩熻В鏋/澶欼P绛夊姛鑳 + +## 浣跨敤璇存槑 + +1. 瀹夎鍚庢墦寮web ui锛堢涓娆¤缃叕缃戞棤娉曡闂紝闇瑕佽繘鍏ヨ绯荤粺鍏虫帀鈥滅姝㈠叕缃戣闂濓級銆 + +1. 閫夋嫨DNS鏈嶅姟鍟嗭紝浠ラ樋閲屼簯涓轰緥濉ソ鐩稿簲鐨勨淎ccessKey ID鈥濆拰鈥淎ccessKey Secret鈥濄 + +1. 濉啓鈥淒omains鈥濓紝渚嬪鈥渄omain.example.com鈥濄 + +1. 鐐瑰嚮淇濆瓨銆 + +1. 鍘昏矾鐢卞櫒灏嗙浉搴旂殑绔彛鏄犲皠鍒板叕缃戯紝璁块棶鍗冲彲銆 + +1. 榛樿 鐢ㄦ埛鍚嶏細admin 瀵嗙爜锛歛dmin1 \ No newline at end of file diff --git a/ddns-go/README.md b/ddns-go/README.md new file mode 100644 index 0000000..5384a1a --- /dev/null +++ b/ddns-go/README.md @@ -0,0 +1,10 @@ +# 鍐摐鐢勯堿ddons锛欴DNS-GO + +## 鍏充簬 + +鑷姩鑾峰緱浣犵殑鍏綉 IPv4 鎴 IPv6 鍦板潃锛屽苟瑙f瀽鍒板搴旂殑鍩熷悕鏈嶅姟銆 + +## 婧愬湴鍧 + +[椤圭洰](https://github.com/jeessy2/ddns-go/tree/master) +[docker hub](https://hub.docker.com/r/jeessy/ddns-go/tags) \ No newline at end of file diff --git a/ddns-go/apparmor.txt b/ddns-go/apparmor.txt new file mode 100644 index 0000000..ccaa5d9 --- /dev/null +++ b/ddns-go/apparmor.txt @@ -0,0 +1,41 @@ +#include + +profile ddns_go flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + mount, + umount, + remount, + + capability setgid, + capability setuid, + capability dac_override, + + # S6-Overlay + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /proc/self/attr/** mrwkl, + # Files required + /tmp/** mrkwl, + + # Data access + /data/** rw, + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} diff --git a/ddns-go/config.yaml b/ddns-go/config.yaml new file mode 100644 index 0000000..e3883d9 --- /dev/null +++ b/ddns-go/config.yaml @@ -0,0 +1,26 @@ +name: "DDNS-GO" +version: '6.13.2' +slug: 'ddns_go' +codenotary: wghaos@163.com +description: '鑷姩鑾峰緱浣犵殑鍏綉 IPv4 鎴 IPv6 鍦板潃锛屽苟瑙f瀽鍒板搴旂殑鍩熷悕鏈嶅姟' +image: r.hassbus.com/wghaos/ddns-go +url: https://gitcode.com/waxgourd/addons +init: false +arch: + - aarch64 + - amd64 +ports: + 9876/tcp: 9876 +apparmor: true +startup: application +boot: manual +webui: "http://[HOST]:[PORT:9876]/" +host_network: true +options: + pwd: "" + frequency: 300 +schema: + pwd: str + frequency: "int(10,)" +breaking_versions: + - "6.6.9" \ No newline at end of file diff --git a/ddns-go/icon.png b/ddns-go/icon.png new file mode 100644 index 0000000..5acc0dc Binary files /dev/null and b/ddns-go/icon.png differ diff --git a/ddns-go/logo.png b/ddns-go/logo.png new file mode 100644 index 0000000..7fc4766 Binary files /dev/null and b/ddns-go/logo.png differ diff --git a/ddns-go/translations/en.yaml b/ddns-go/translations/en.yaml new file mode 100644 index 0000000..b6cf772 --- /dev/null +++ b/ddns-go/translations/en.yaml @@ -0,0 +1,10 @@ +--- +configuration: + pwd: + name: pwd + description: >- + password + frequency: + name: frequency + description: >- + frequency diff --git a/ddns-go/translations/zh-Hans.yaml b/ddns-go/translations/zh-Hans.yaml new file mode 100644 index 0000000..d9c5e4f --- /dev/null +++ b/ddns-go/translations/zh-Hans.yaml @@ -0,0 +1,10 @@ +--- +configuration: + pwd: + name: 瀵嗙爜 + description: >- + 瀵嗙爜 + frequency: + name: 棰戠巼 + description: >- + 棰戠巼 \ No newline at end of file diff --git a/ddnsto/CHANGELOG.md b/ddnsto/CHANGELOG.md new file mode 100644 index 0000000..9056a55 --- /dev/null +++ b/ddnsto/CHANGELOG.md @@ -0,0 +1,11 @@ +### 3.1.0锛2025-08-15锛 + +- 鐗堟湰鍗囩骇 + +### 3.0.6锛2024-01-18锛 + +- 淇 濉啓token杩樹笉鑳芥甯稿惎鍔ㄧ殑闂 + +### 3.0.5锛2023-12-29锛 + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/ddnsto/DOCS.md b/ddnsto/DOCS.md new file mode 100644 index 0000000..708a78d --- /dev/null +++ b/ddnsto/DOCS.md @@ -0,0 +1,13 @@ +# DDNSTO + +## 浣跨敤鏂规硶 + +- 鍦ㄩ厤缃〉涓緭鍏モ滅敤鎴稵oken鈥濓紝[瀹樻柟缃戠珯](https://www.ddnsto.com/) + +- 閫夋嫨鈥滆澶囩紪鍙封濆悗鐐瑰嚮鍚姩銆 + +- 杩斿洖鍒板畼缃戯紝鍦ㄦ帶鍒跺彴涓垜鐨勮澶囦腑锛屾坊鍔犲煙鍚嶆槧灏勩 + +- 涓诲煙鍚嶈嚜瀹氫箟濉ソ锛岀洰鏍囦富鏈哄湴鍧灏辨槸浣燞AOS鐨処P鍦板潃鍜岀鍙e彿銆備緥濡傦紙http://192.168.1.100:8123)锛岀偣鍑绘洿鏂 + +- 鍦ㄤ富鍩熷悕涓嬮潰灏辨槸鍙互閫氳繃鍏綉璁块棶鐨勫湴鍧浜嗐傚揩鍘昏瘯璇曞惂锛侌煒 \ No newline at end of file diff --git a/ddnsto/README.md b/ddnsto/README.md new file mode 100644 index 0000000..47084fc --- /dev/null +++ b/ddnsto/README.md @@ -0,0 +1,9 @@ +# 鍐摐鐢勯塧ddons锛欴DNSTO + +## 鍏充簬 + +DDNSTO 甯姪浣犲揩閫熷缃戠┛閫忚闂綘鐨勫眬鍩熺綉璁惧锛屾棤闇鍏綉 IP + +## 鏉ユ簮 + +鍐摐鐢勯夊嚭鍝 \ No newline at end of file diff --git a/ddnsto/config.yaml b/ddnsto/config.yaml new file mode 100644 index 0000000..9d06469 --- /dev/null +++ b/ddnsto/config.yaml @@ -0,0 +1,20 @@ +name: "DDNSTO" +slug: ddnsto +version: "3.1.0" +description: "DDNSTO 鏄竴娆剧ǔ瀹氥佸揩閫熴佺畝鍗曟槗鐢ㄧ殑鍐呯綉绌块忓伐鍏" +url: https://gitcode.com/waxgourd/addons +startup: services +init: false +apparmor: false +arch: + - aarch64 + - amd64 +host_network: true +boot: manual +options: + user_token: + device_id: 0 +schema: + user_token: match([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}) + device_id: list(0|1|2|3|4|5|6|7|8|9) +image: "r.hassbus.com/wghaos/ddnsto" \ No newline at end of file diff --git a/ddnsto/icon.png b/ddnsto/icon.png new file mode 100644 index 0000000..25f75ce Binary files /dev/null and b/ddnsto/icon.png differ diff --git a/ddnsto/logo.png b/ddnsto/logo.png new file mode 100644 index 0000000..25f75ce Binary files /dev/null and b/ddnsto/logo.png differ diff --git a/ddnsto/translations/en.yaml b/ddnsto/translations/en.yaml new file mode 100644 index 0000000..e17c9b1 --- /dev/null +++ b/ddnsto/translations/en.yaml @@ -0,0 +1,7 @@ +configuration: + user_token: + name: "User Token" + description: "鍒 ddnsto 鎺у埗鍙拌幏鍙栫敤鎴 Token銆" + device_id: + name: "Device ID" + description: "濡傛湁澶氬彴璁惧 ID 閲嶅,璇蜂慨鏀硅澶囩紪鍙风敤浜庡尯鍒嗐" \ No newline at end of file diff --git a/ddnsto/translations/zh-Hans.yaml b/ddnsto/translations/zh-Hans.yaml new file mode 100644 index 0000000..3bde314 --- /dev/null +++ b/ddnsto/translations/zh-Hans.yaml @@ -0,0 +1,7 @@ +configuration: + user_token: + name: "鐢ㄦ埛 Token" + description: "鍒 ddnsto 鎺у埗鍙拌幏鍙栫敤鎴 Token銆" + device_id: + name: "璁惧缂栧彿" + description: "濡傛湁澶氬彴璁惧 ID 閲嶅,璇蜂慨鏀硅澶囩紪鍙风敤浜庡尯鍒嗐" \ No newline at end of file diff --git a/dozzle/CHANGELOG.md b/dozzle/CHANGELOG.md new file mode 100644 index 0000000..b3858fa --- /dev/null +++ b/dozzle/CHANGELOG.md @@ -0,0 +1,148 @@ +### 8.14.6 (2025-10-28) +- 鐗堟湰鍗囩骇 +### 8.14.4 (2025-10-16) +- 鐗堟湰鍗囩骇 +### 8.13.14 (2025-09-19) +- 鐗堟湰鍗囩骇 +### 8.13.12 (2025-09-10) +- 鐗堟湰鍗囩骇 +### 8.13.9 (2025-08-25) +- 鐗堟湰鍗囩骇 +### 8.13.8 (2025-07-15) +- 鐗堟湰鍗囩骇 +### 8.13.5 (2025-07-15) +- 鐗堟湰鍗囩骇 +### 8.13.4 (2025-07-01) +- 鐗堟湰鍗囩骇 +### 8.13.1 (2025-06-19) +- 鐗堟湰鍗囩骇 +### 8.12.15 (2025-05-16) +- 鐗堟湰鍗囩骇 +### 8.12.14 (2025-05-07) +- 鐗堟湰鍗囩骇 +### 8.12.12 (2025-04-27) +馃悶 婕忔礊淇ˉ +- 淇鐧诲綍椤甸潰瀹藉害 +- 鍦╥ndex.html涓坊鍔燞TML鍐呭绫诲瀷 + +### 8.12.5 (2025-04-09) + +馃殌 鐗瑰緛 + +- 涓篸ocker瀹瑰櫒娣诲姞闄愬埗 + +馃悶 婕忔礊淇ˉ + +- 浣跨敤鐏厜妯″紡鑳屾櫙鑹蹭綔涓轰富棰樿壊 + +- 淇浜嗙Щ鍔ㄨ彍鍗曠殑濉厖閿欒 + +- 鏇存柊鍜屾敼杩涘畠鐨勫尯鍩熻缃 + +- 淇浜嗘ā绯婃悳绱㈢殑鑳屾櫙 + +- deps锛 + - 鏇存柊鎵鏈夐潪涓昏渚濊禆椤 + - 鏇存柊鎵鏈夐潪涓昏渚濊禆椤 + - 鏇存柊鎵鏈夐潪涓昏渚濊禆椤 + +### 8.11.9 (2025-03-14) + +- 鐗堟湰鍗囩骇 + +### 8.11.7 (2025-03-03) + +馃悶 婕忔礊淇ˉ + +- 鐗堟湰鍗囩骇 + +### 8.10.4 (2025-01-15) + +馃悶 婕忔礊淇ˉ + +- 淇鍓嶇紑 + +### 8.9.0 (2024-12-18) + +馃殌 鐗瑰緛 + +- 鍏佽鍦ㄥ涓綅缃厤缃鍣ㄨ繃婊ゅ櫒 + +- 鐧诲綍鏃舵坊鍔犲皬鍔犺浇鍣 + +- 鍏佽鍦ㄧ敤鎴风骇鍒缃繃婊ゅ櫒 + +馃悶 婕忔礊淇ˉ + +- 淇浜嗗鍣ㄤ簨浠舵湭鏄剧ず鍦ㄩ〉闈笂鐨勫埛鏂扮珵浜夐敊璇 + +- 褰撳垪澶獎鏃堕殣钘忕粺璁℃暟鎹 + +- 淇浜嗗鍣ㄥ湪鍋滄涔嬪墠鍒涘缓鏃剁殑閲嶅畾鍚戦棶棰 + +- deps锛 + + - 灏嗕緷璧栧叧绯籨aisyui鏇存柊涓篰4.12.20 + + - 灏嗘ā鍧梘olang.org/x/crypto鏇存柊鍒皏0.31.0[瀹夊叏鎬 + + - 鏇存柊鎵鏈夐潪涓昏渚濊禆椤 + + - 鏇存柊鎵鏈夐潪涓昏渚濊禆椤 + +### 8.8.1 (2024-11-25) + +馃殌 鐗瑰緛 + +- 鏀硅繘鏃ュ織鍔犺浇绋嬪簭 + +- 鍦╩utli鏃ュ織妯″紡涓嬪皢鏄剧ず涓绘満鍚嶅拰瀹瑰櫒鍚嶇О娣诲姞鍒颁笅鎷夊垪琛ㄤ腑 + +- 鍦ㄧ瓑寰呮棩蹇楁樉绀烘椂娣诲姞涓涓煭鏆傜殑寤惰繜 + +馃悶 婕忔礊淇ˉ + +- 閫氳繃鎵╁睍鏍囩鏀硅繘鍘嬬缉瑙嗗浘 + +- deps: json/鏉愭枡绗﹀彿鏇存柊涓篰1.2.7 + +### 8.6.1 (2024-10-14) + +馃殌 鐗瑰緛 + +- 涓烘墍鏈夌骇鍒坊鍔犲垏鎹 + +馃悶 婕忔礊淇ˉ + +- 鍦╠ozzle涓慨澶嶄簡绌虹櫧閾炬帴涓嶆樉绀轰负json鐨勯棶棰 +- 鏇存柊鎵鏈夐潪涓昏渚濊禆椤 + +### 8.0.5 (2024-07-15) + +馃殌 鐗瑰緛 + +- 鍦ㄧ兢瑙嗗浘涓鏈嶅姟杩涜鎺掑簭 + +- 灏濊瘯浣跨敤缇よ妭鐐筰d锛堝鏋滃瓨鍦級锛岀劧鍚庝娇鐢ㄦ満鍣╥d + +- 鍒犻櫎瀛ょ珛瀹瑰櫒 + +馃悶 婕忔礊淇ˉ + +- 閿欒繃浜嗕竴浜涗笉灏婇噸鍒嗘瀽鏍囧織鐨勫垎鏋 + +### 6.6.2 (2024-05-17) + +- 淇浜嗗甫鏈夌粺璁℃暟鎹殑鎹熷潖涓婚〉 + +### v6.3.0 (2024-03-13) + +- 鐗堟湰鍗囩骇 + +### v6.2.7 (2024-03-07) + +- 鐗堟湰鍗囩骇 + +### v6.2.0 (2024-02-05) + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/dozzle/DOCS.md b/dozzle/DOCS.md new file mode 100644 index 0000000..0338b88 --- /dev/null +++ b/dozzle/DOCS.md @@ -0,0 +1,24 @@ +# docker鏃ュ織鐩戞帶Dozzle + +## 浣跨敤鏂规硶 + +- 鍚姩鍓嶅繀椤诲湪淇℃伅椤典腑锛屽叧闂滀繚鎶ゆā寮忊濓紝鍚﹀垯鏃犳硶鍚姩銆 + +## 鐗瑰緛 + +- 鏅鸿兘妯$硦鎼滅储瀹瑰櫒鍚嶇О 馃 + +- 浣跨敤姝e垯琛ㄨ揪寮忦煍︽悳绱㈡棩蹇 + +- 鍐呭瓨鍗犵敤馃弾灏 + +- 鐢ㄤ簬鏌ョ湅澶氫釜鏃ュ織鐨勫垎灞 + +- 杞绘澗涓嬭浇鏃ュ織 + +- 鍖呭惈鍐呭瓨鍜 CPU 浣跨敤鐜囩殑瀹炴椂缁熻淇℃伅 + +- 鏀寔浠g悊杞彂鎺堟潈馃毃鐨勫鐢ㄦ埛韬唤楠岃瘉 + +Dozzle 宸茬粡杩囨暟鐧句釜瀹瑰櫒鐨勬祴璇曘備絾鏄紝瀹冧笉鏀寔绂荤嚎鎼滅储 + diff --git a/dozzle/README.md b/dozzle/README.md new file mode 100644 index 0000000..11bd967 --- /dev/null +++ b/dozzle/README.md @@ -0,0 +1,10 @@ +# 鍐摐鐢勯塧ddons锛歞ocker鏃ュ織鐩戞帶Dozzle + +## 鍏充簬 + +Dozzle 鏄竴涓皬鍨嬭交閲忕骇搴旂敤绋嬪簭锛屽叿鏈夊熀浜嶹eb 鐨勭晫闈㈡潵鐩戞帶 Docker 鏃ュ織銆傚畠涓嶅瓨鍌ㄤ换浣曟棩蹇楁枃浠躲傚畠浠呯敤浜庡疄鏃剁洃瑙嗗鍣ㄦ棩蹇椼 + + +## 鏉ユ簮 + +https://github.com/amir20/dozzle diff --git a/dozzle/config.yaml b/dozzle/config.yaml new file mode 100644 index 0000000..10478fd --- /dev/null +++ b/dozzle/config.yaml @@ -0,0 +1,18 @@ +name: docker鏃ュ織鐩戞帶Dozzle +version: 8.14.6 +slug: dozzle +codenotary: wghaos@163.com +description: 'Dozzle 鏄竴涓皬鍨嬭交閲忕骇搴旂敤绋嬪簭锛屽叿鏈夊熀浜 Web 鐨勭晫闈㈡潵鐩戞帶 Docker 鏃ュ織' +url: https://gitcode.com/waxgourd/addons +image: r.hassbus.com/wghaos/dozzle +init: false +arch: + - aarch64 + - amd64 +docker_api: true +webui: "[PROTO:http]://[HOST]:[PORT:8080]" +ports: + 8080/tcp: 8080 +ports_description: + 8080/tcp: Web interface +boot: manual diff --git a/dozzle/icon.png b/dozzle/icon.png new file mode 100644 index 0000000..b7aac56 Binary files /dev/null and b/dozzle/icon.png differ diff --git a/dozzle/logo.png b/dozzle/logo.png new file mode 100644 index 0000000..b7aac56 Binary files /dev/null and b/dozzle/logo.png differ diff --git a/dpanel/CHANGELOG.md b/dpanel/CHANGELOG.md new file mode 100644 index 0000000..46fd520 --- /dev/null +++ b/dpanel/CHANGELOG.md @@ -0,0 +1,51 @@ +### 1.8.1.2(2025-09-10) + +- 鐗堟湰鍗囩骇 + +### 1.8.0 (2025-08-25) + +- 鐗堟湰鍗囩骇 + +### 1.7.3.2 (2025-07-14) + +- 鐗堟湰鍗囩骇 + +### 1.7.3.1 (2025-07-11) + +- 鐗堟湰鍗囩骇 + +### 1.7.2 (2025-06-19) + +- 鐗堟湰鍗囩骇 + +### 1.6.4 (2025-04-27) + +- 鐗堟湰鍗囩骇 + +### 1.6.3 (2025-04-09) + +- 鐗堟湰鍗囩骇 + +### 1.6.0 (2025-03-03) + +- 鐗堟湰鍗囩骇 + +### 1.5.4 (2025-02-07) + +- 鐗堟湰鍗囩骇 + +### 1.5.2 (2025-01-15) + +- 鐗堟湰鍗囩骇 + +### 1.3.4 (2024-12-18) + +- 鐗堟湰鍗囩骇 + +### 1.2.6 (2024-11-25) + +- 鐗堟湰鍗囩骇 + +### 1.1.4 (2024-10-18) + +- 棣栨鎺ㄥ嚭 diff --git a/dpanel/DOCS.md b/dpanel/DOCS.md new file mode 100644 index 0000000..6191828 --- /dev/null +++ b/dpanel/DOCS.md @@ -0,0 +1,6 @@ +# DPanel + +## 浣跨敤鏂规硶 + +1. 榛樿璐﹀彿锛歛dmin / admin +1. 闇瑕佸叧闂 鈥滀繚鎶ゆā寮忊 diff --git a/dpanel/README.md b/dpanel/README.md new file mode 100644 index 0000000..cdf4d6a --- /dev/null +++ b/dpanel/README.md @@ -0,0 +1,11 @@ +# 鍐摐鐢勯塧ddons锛欴Panel + +## 鍏充簬 + +Docker 鍙鍖栫鐞嗛潰鏉匡紝鎻愪緵瀹屽杽鐨勭鐞嗗鍣ㄧ殑鍔熻兘銆 + +## 婧 + +Github: https://github.com/donknap/dpanel + +鏂囨。: https://donknap.github.io/dpanel-docs \ No newline at end of file diff --git a/dpanel/config.yaml b/dpanel/config.yaml new file mode 100644 index 0000000..eb0f18d --- /dev/null +++ b/dpanel/config.yaml @@ -0,0 +1,17 @@ +name: DPanel +version: "1.8.1.2" +slug: dpanel +description: Docker 鍙鍖栫鐞嗛潰鏉匡紝鎻愪緵瀹屽杽鐨勭鐞嗗鍣ㄧ殑鍔熻兘 +url: "https://github.com/donknap/dpanel" +image: r.hassbus.com/wghaos/dpanel +arch: + - aarch64 + - amd64 +webui: "[PROTO:http]://[HOST]:[PORT:8807]" +ports: + 80/tcp: 80 + 443/tcp: 443 + 8080/tcp: 8807 +init: false +boot: manual +docker_api: true diff --git a/dpanel/icon.png b/dpanel/icon.png new file mode 100644 index 0000000..1a54b3b Binary files /dev/null and b/dpanel/icon.png differ diff --git a/dpanel/logo.png b/dpanel/logo.png new file mode 100644 index 0000000..1a54b3b Binary files /dev/null and b/dpanel/logo.png differ diff --git a/drawio/CHANGELOG.md b/drawio/CHANGELOG.md new file mode 100644 index 0000000..a00d521 --- /dev/null +++ b/drawio/CHANGELOG.md @@ -0,0 +1,83 @@ +### 28.2.8 (2025-10-28) + +- 鐗堟湰鍗囩骇 + +### 28.2.5 (2025-10-16) + +- 鐗堟湰鍗囩骇 + +### 28.2.0 (2025-09-10) + +- 鐗堟湰鍗囩骇 + +### 28.1.1 (2025-08-25) + +- 鐗堟湰鍗囩骇 + +### 28.0.7 (2025-07-29) + +- 鐗堟湰鍗囩骇 + +### 28.0.1 (2025-07-11) + +- 鐗堟湰鍗囩骇 + +### 27.1.6 (2025-07-01) + +- 鐗堟湰鍗囩骇 + +### 27.0.9 (2025-06-19) + +- 鐗堟湰鍗囩骇 + +### 27.0.5 (2025-05-16) + +- 鐗堟湰鍗囩骇 + +### 26.2.15 (2025-04-27) + +- 鐗堟湰鍗囩骇 + +### 26.2.8 (2025-04-09) + +- 鐗堟湰鍗囩骇 + +### 26.1.1 (2025-04-01) + +- 鐗堟湰鍗囩骇 + +### 26.0.16 (2025-03-03) + +- 鐗堟湰鍗囩骇 + +### 26.0.9 (2025-02-07) + +- 鐗堟湰鍗囩骇 + +### 26.0.4 (2025-01-15) + +- 鐗堟湰鍗囩骇 + +### 24.7.17 (2024-10-14) + +- 鐗堟湰鍗囩骇 + +### 24.7.5 (2024-07-30) + +- 鐗堟湰鍗囩骇 + +### 24.6.4 (2024-07-01) + +- 鐗堟湰鍗囩骇 + +### 24.5.2 (2024-06-07) + +- 鐗堟湰鍗囩骇 + +### 24.4.0 (2024-05-17) + +- 鐗堟湰鍗囩骇 + +### 24.3.1 (2024-05-11) + +- 棣栨鎺ㄥ嚭 diff --git a/drawio/DOCS.md b/drawio/DOCS.md new file mode 100644 index 0000000..56b2669 --- /dev/null +++ b/drawio/DOCS.md @@ -0,0 +1,10 @@ +# DrawIO + +## 浣跨敤鏂规硶 + +- 鍚姩鍔犺浇椤,骞舵鏌ュ姞杞介」鏃ュ織锛屾槸鍚﹀惎鍔ㄦ甯. + +- 鍚姩鍚庡彲鍦ㄤ俊鎭〉涓偣鍑"鎵撳紑 WEI UI". + +- 鍦ㄦ墦寮鐨勯〉闈腑閫夋嫨銆怌reate New Diagram銆戣繘琛屽垱寤烘柊鐨勭畝鍥炬垨鑰呴夋嫨銆怬pen Existing Diagram銆戣繘琛屼笂浼犳湰鏈虹殑绠鍥. + diff --git a/drawio/README.md b/drawio/README.md new file mode 100644 index 0000000..b8f0049 --- /dev/null +++ b/drawio/README.md @@ -0,0 +1,9 @@ +# 鍐摐鐢勯塧ddons锛欴rawIO + +## 鍏充簬 +DrawIO鏄繍琛屽湪娴忚鍣ㄤ腑鐨勫湪绾跨粯鍥惧伐鍏 + +## 婧 + +- Github锛歨ttps://github.com/jgraph/docker-drawio +- 瀹樼綉锛歨ttps://www.drawio.com/ diff --git a/drawio/config.yaml b/drawio/config.yaml new file mode 100644 index 0000000..d293d40 --- /dev/null +++ b/drawio/config.yaml @@ -0,0 +1,20 @@ +name: 'DrawIO' +version: '28.2.8' +slug: 'drawio' +codenotary: 'wghaos@163.com' +description: "DrawIO鏄繍琛屽湪娴忚鍣ㄤ腑鐨勫湪绾跨粯鍥惧伐鍏" +image: r.hassbus.com/jgraph/drawio +url: https://gitcode.com/waxgourd/addons #https://github.com/jgraph/docker-drawio +init: false +arch: + - aarch64 + - amd64 +#webui: "[PROTO:http]://[HOST]:[PORT:8080]" +#ports: +# 8080/tcp: 8080 +# 8443/tcp: 8443 +ingress: true +ingress_port: 8080 +#host_network: true +panel_icon: 'mdi:application-variable' +boot: manual diff --git a/drawio/favicon.ico b/drawio/favicon.ico new file mode 100644 index 0000000..008488f Binary files /dev/null and b/drawio/favicon.ico differ diff --git a/drawio/icon.png b/drawio/icon.png new file mode 100644 index 0000000..008488f Binary files /dev/null and b/drawio/icon.png differ diff --git a/drawio/logo.png b/drawio/logo.png new file mode 100644 index 0000000..008488f Binary files /dev/null and b/drawio/logo.png differ diff --git a/emby/CHANGELOG.md b/emby/CHANGELOG.md new file mode 100644 index 0000000..669e4b8 --- /dev/null +++ b/emby/CHANGELOG.md @@ -0,0 +1,114 @@ +## 4.9.1.80 (14-10-2025) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 (鏃ュ織 : https://github.com/linuxserver/docker-emby/releases) +## 4.8.11.0-2 (08-08-2025) +- 淇浜嗗皬閿欒 +## 4.8.11.0 (23-04-2025) +- 璀﹀憡锛氶厤缃皢杩佺Щ鍒癮ddon_config锛岃屼笉鏄痟omeassistant閰嶇疆鏂囦欢澶广傝繖鍏佽鑷姩澶囦唤銆傜劧鑰岋紝鏁版嵁搴撶殑浣嶇疆涓嶄細鏀瑰彉銆 +## 4.9.0.48 (19-04-2025) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 (鏃ュ織: https://github.com/linuxserver/docker-emby/releases) +## 4.9.0.43-3 (09-04-2025) +- 淇浜嗗皬閿欒 +## 4.9.0.43 (09-04-2025) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 (鏃ュ織: https://github.com/linuxserver/docker-emby/releases) +## 4.9.0.42 (01-04-2025) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +## 4.9.0.41 (08-03-2025) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +## 4.9.0.40 (01-03-2025) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +## 4.9.0.37 (07-02-2025) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +## 4.9.0.34 (28-12-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +## 4.9.0.33 (12-17-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +## 4.9.0.32 (11-26-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +## 4.9.0.31 (09-11-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +## 4.9.0.30 (02-09-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +## 4.9.0.29 (23-08-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +## 4.9.0.28 (27-07-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +## 4.9.0.27 (20-07-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +## 4.9.0.26 (01-07-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +## 4.9.0.25 (22-06-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +## 4.9.0.24 (15-06-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +## 4.9.0.23 (08-06-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +## 4.9.0.22 (01-06-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +## 4.9.0.18 (11-05-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +## 4.9.0.16 (04-05-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +## 4.9.0.15 (27-04-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +## 4.9.0.14 (20-04-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +## 4.9.0.12 (30-03-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +## 4.9.0.11 (23-03-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +## 4.9.0.8 (02-03-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +### 4.9.0.5-5 (27-02-2024) +- 灏忛敊璇慨璁 +### 4.9.0.5-4 (26-02-2024) +- 灏忛敊璇慨璁 +### 4.9.0.5-3 (26-02-2024) +- 灏忛敊璇慨璁 +### 4.9.0.5-2 (26-02-2024) +- 灏忛敊璇慨璁 + +## 4.9.0.5 (24-02-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 + +## 4.9.0.4 (17-02-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 +### 4.9.0.1-2 (13-02-2024) +- 灏忛敊璇慨璁 + +## 4.9.0.1 (10-02-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 + +## 4.8.0.80 (03-02-2024) +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 + +### 4.8.0.75 (27-01-2024) + +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 + +### 4.8.0.73 (20-01-2024) + +- 浠巐inuxserver/docker-emby鏇存柊鍒版渶鏂扮増鏈 + +### 4.8.0.67锛13-01-2024锛 + +- 鍗囩骇鍒發inuxserver/docker-emby鏈鏂扮増 + +### 4.8.0.66锛06-01-2024锛 + +- 鍗囩骇鍒發inuxserver/docker-emby鏈鏂扮増 + +### 4.8.0.65锛30-12-2023锛 + +- 鍗囩骇鍒發inuxserver/docker-emby鏈鏂扮増 + +### 4.8.0.64锛30-12-2023锛 + +- 鍗囩骇鍒發inuxserver/docker-emby鏈鏂扮増 + +### 4.8.0.63锛23-12-2023锛 + +- 鍗囩骇鍒發inuxserver/docker-emby鏈鏂扮増 + +### 4.8.0.62锛16-12-2023锛 + +- 棣栨鎻愪氦 diff --git a/emby/DOCS.md b/emby/DOCS.md new file mode 100644 index 0000000..56a5958 --- /dev/null +++ b/emby/DOCS.md @@ -0,0 +1,19 @@ +# Emby + +## 浣跨敤鏂规硶 + +- 鍚姩鍚庡彲鍦ㄤ俊鎭〉涓偣鍑"鎵撳紑 WEI UI"锛屼篃鍙氳繃娴忚鍣ㄨ闂 锛堢鍙e彿榛樿8096锛. + +- 棣栨杩涘叆鍚庨夋嫨璇█鈥淐hinese Simplified鈥濓紝鐐瑰嚮涓嬩竴姝ャ + +- 杈撳叆璐﹀彿鍙婂瘑鐮侊紝鐐瑰嚮涓嬩竴姝ャ + +- 璁剧疆濯掍綋搴撳彲涓嶈缃紝鐐瑰嚮涓嬩竴姝ャ + +- 棣栭夋簮鏁版嵁璇█鎸夐渶瑕侀厤缃紝鐐瑰嚮涓嬩竴姝ャ + +- 閰嶇疆杩滅▼璁块棶榛樿锛岀偣鍑讳笅涓姝ャ + +- 浣跨敤璁稿彲鐐瑰嚮鈥滄垜鎺ュ彈鏈嶅姟鏉℃鈥濓紝鐐瑰嚮涓嬩竴姝ャ + +- 瀹屾垚棣栨閰嶇疆銆 \ No newline at end of file diff --git a/emby/README.md b/emby/README.md new file mode 100644 index 0000000..df3796d --- /dev/null +++ b/emby/README.md @@ -0,0 +1,9 @@ +# 鍐摐鐢勯塧ddons锛歟mby + +## 鍏充簬 + +emby浠庝釜浜哄獟浣撳簱涓鐞嗚棰戙侀煶涔愩佺洿鎾數瑙嗗拰鐓х墖绛夛紝骞跺皢瀹冧滑浠ュ獟浣撴祦鏂瑰紡浼犺緭鍒版櫤鑳界數瑙嗐佹祦濯掍綋鐩掑拰绉诲姩璁惧銆傛瀹瑰櫒鎵撳寘涓虹嫭绔嬬殑emby Media Server銆 + +## 鏉ユ簮 + +https://github.com/alexbelgium/hassio-addons \ No newline at end of file diff --git a/emby/apparmor.txt b/emby/apparmor.txt new file mode 100644 index 0000000..5070665 --- /dev/null +++ b/emby/apparmor.txt @@ -0,0 +1,66 @@ +#include + +profile emby flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + signal, + mount, + umount, + remount, + network udp, + network tcp, + network dgram, + network stream, + network inet, + network inet6, + network netlink raw, + network unix dgram, + + capability setgid, + capability setuid, + capability sys_admin, + capability dac_read_search, + # capability dac_override, + # capability sys_rawio, + +# S6-Overlay + /init ix, + /run/{s6,s6-rc*,service}/** ix, + /package/** ix, + /command/** ix, + /run/{,**} rwk, + /dev/tty rw, + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /dev/i2c-1 mrwkl, + # Files required + /dev/fuse mrwkl, + /dev/sda1 mrwkl, + /dev/sdb1 mrwkl, + /dev/nvme0 mrwkl, + /dev/nvme1 mrwkl, + /dev/ttyUSB0 mrwkl, + /dev/* mrwkl, + /tmp/** mrkwl, + + # Data access + /data/** rw, + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} diff --git a/emby/config.json b/emby/config.json new file mode 100644 index 0000000..3b74c29 --- /dev/null +++ b/emby/config.json @@ -0,0 +1,133 @@ +{ + "arch": [ + "aarch64", + "amd64" + ], + "backup_exclude": [ + "*/cache/", + "*/transcoding-temp/", + "*/logs/*" + ], + "codenotary": "wghaos@163.com", + "description": "涓娆惧紑婧愮殑濯掍綋绠$悊骞冲彴锛岃鎮ㄦ洿杞绘澗鐨勭鐞嗗拰鎿嶄綔娴佸獟浣", + "devices": [ + "/dev/dri", + "/dev/dri/card0", + "/dev/dri/card1", + "/dev/dri/renderD128", + "/dev/vchiq", + "/dev/video10", + "/dev/video11", + "/dev/video12", + "/dev/video13", + "/dev/video14", + "/dev/video15", + "/dev/video16", + "/dev/ttyUSB0", + "/dev/sda", + "/dev/sdb", + "/dev/sdc", + "/dev/sdd", + "/dev/sde", + "/dev/sdf", + "/dev/sdg", + "/dev/nvme", + "/dev/nvme0", + "/dev/nvme0n1", + "/dev/nvme0n1p1", + "/dev/nvme0n1p2", + "/dev/nvme0n1p3", + "/dev/nvme1n1", + "/dev/nvme1n1p1", + "/dev/nvme1n1p2", + "/dev/nvme1n1p3", + "/dev/nvme2n1", + "/dev/nvme2n1p1", + "/dev/nvme2n1p2", + "/dev/nvme2n3p3", + "/dev/mmcblk", + "/dev/fuse", + "/dev/sda1", + "/dev/sdb1", + "/dev/sdc1", + "/dev/sdd1", + "/dev/sde1", + "/dev/sdf1", + "/dev/sdg1", + "/dev/sda2", + "/dev/sdb2", + "/dev/sdc2", + "/dev/sdd2", + "/dev/sde2", + "/dev/sdf2", + "/dev/sdg2", + "/dev/sda3", + "/dev/sdb3", + "/dev/sda4", + "/dev/sdb4", + "/dev/sda5", + "/dev/sda6", + "/dev/sda7", + "/dev/sda8", + "/dev/nvme0", + "/dev/nvme1", + "/dev/nvme2" + ], + "environment": { + "data_location": "/config/database" + }, + "host_network": true, + "image": "r.hassbus.com/alexbelgium/emby_stable-{arch}", + "ingress": true, + "ingress_port": 0, + "ingress_stream": true, + "init": false, + "map": [ + "addon_config:rw", + "share:rw", + "media:rw", + "ssl:rw" + ], + "name": "Emby", + "options": { + "PGID": 0, + "PUID": 0, + "silent": true + }, + "panel_admin": false, + "panel_icon": "mdi:emby", + "ports": { + "1900/udp": null, + "7359/udp": null, + "8096/tcp": 8096, + "8920/tcp": null + }, + "ports_description": { + "1900/udp": "dlna (optional)", + "7359/udp": "udp server discover (optional)", + "8096/tcp": "web interface", + "8920/tcp": "https web interface (optional)" + }, + "privileged": [ + "SYS_ADMIN", + "DAC_READ_SEARCH" + ], + "schema": { + "PGID": "int", + "PUID": "int", + "TZ": "str?", + "cifsdomain": "str?", + "cifspassword": "str?", + "cifsusername": "str?", + "localdisks": "str?", + "networkdisks": "str?", + "silent": "bool?", + "smbv1": "bool?" + }, + "slug": "emby", + "udev": true, + "url": "https://gitcode.com/waxgourd/addons", + "version": "4.9.1.80", + "video": true, + "boot": "manual" +} diff --git a/emby/icon.png b/emby/icon.png new file mode 100644 index 0000000..1f4a9f1 Binary files /dev/null and b/emby/icon.png differ diff --git a/emby/logo.png b/emby/logo.png new file mode 100644 index 0000000..fe71933 Binary files /dev/null and b/emby/logo.png differ diff --git a/emby/translations/en.yaml b/emby/translations/en.yaml new file mode 100644 index 0000000..9c8b1a7 --- /dev/null +++ b/emby/translations/en.yaml @@ -0,0 +1,39 @@ +--- +configuration: + PGID: + name: PGID + description: >- + user + GPID: + name: GPID + description: >- + user + TZ: + name: TZ + description: >- + timezone + localdisks: + name: localdisks + description: >- + put the hardware name of your drive to mount separated by commas, or its label. ex. sda1, sdb1, MYNAS... + networkdisks: + name: networkdisks + description: >- + optional, list of smb servers to mount, separated by commas + cifsusername: + name: cifsusername + description: >- + optional, smb username, same for all smb shares + cifspassword: + name: cifspassword + description: >- + optional, smb password + cifsdomain: + name: cifsdomain + description: >- + optional, allow setting the domain for the smb share + silent: + name: silent + description: >- + suppresses debug messages + diff --git a/emby/translations/zh-Hans.yaml b/emby/translations/zh-Hans.yaml new file mode 100644 index 0000000..da8c185 --- /dev/null +++ b/emby/translations/zh-Hans.yaml @@ -0,0 +1,41 @@ +--- +configuration: + PGID: + name: PGID + description: >- + PGID + GPID: + name: GPID + description: >- + GPID + TZ: + name: TZ + description: >- + 鎵鍦ㄦ椂鍖 + localdisks: + name: 鏈湴瀛樺偍鍣 + description: >- + 鎸傝浇鐨勫瓨鍌ㄥ櫒鐨勭‖浠跺悕绉版垨鍏舵爣绛撅紝鐢ㄩ楀彿鍒嗛殧瑕併備緥濡俿da1, sdb1, MYNAS鈥 + networkdisks: + name: 缃戠粶瀛樺偍鍣 + description: >- + 鍙夛紝瑕佹寕杞界殑SMB鏈嶅姟鍣ㄥ垪琛紝浠ラ楀彿鍒嗛殧銆 + cifsusername: + name: cifs鐢ㄦ埛鍚 + description: >- + 鍙夛紝samba 璐﹀彿 + cifspassword: + name: cifs瀵嗙爜 + description: >- + 鍙夛紝samba 瀵嗙爜 + cifsdomain: + name: cifs宸ヤ綔缁 + description: >- + 鍙夛紝samba 鎵鍦ㄧ殑宸ヤ綔缁 + silent: + name: 闈欓粯 + description: >- + debug 淇℃伅涓洪潤榛樼姸鎬 + smbv1: + name: Samba + description: >- diff --git a/emby_beta/CHANGELOG.md b/emby_beta/CHANGELOG.md new file mode 100644 index 0000000..fee9cf3 --- /dev/null +++ b/emby_beta/CHANGELOG.md @@ -0,0 +1,663 @@ +## 4.9.2.6 (03-11-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) +## 4.9.2.2 (14-10-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) +## 4.9.1.34 (26-09-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.1.31 (19-09-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.1.25 (06-09-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.1.23 (30-08-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.1.22 (23-08-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) +## 4.9.1.18 (18-08-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) +## 4.9.1.17 (15-08-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) +## 4.9.1.12 (08-08-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) +## 4.9.1.10 (25-07-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) +## 4.9.1.7 (22-07-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) +## 4.9.1.3 (11-07-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) +## 4.9.1.1 (13-06-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.1.0 (31-05-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.60 (24-05-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.56 (17-05-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.52 (10-05-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.51 (03-05-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.50 (26-04-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) +- WARNING : migration of config to addon_config instead of homeassistant config folder. Allows automatic backups. The location of the database however is not changed. + +## 4.9.0.48 (19-04-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.43-3 (05-04-2025) +- Minor bugs fixed + +## 4.9.0.43 (05-04-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.42 (15-03-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.41 (08-03-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.40 (01-03-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.38 (08-02-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.37 (25-01-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.35 (11-01-2025) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.34 (28-12-2024) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.33 (14-12-2024) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.32 (23-11-2024) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.31 (09-11-2024) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.30 (31-08-2024) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.29 (10-08-2024) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.28 (27-07-2024) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.27 (20-07-2024) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.26 (29-06-2024) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.25 (22-06-2024) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.24 (15-06-2024) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.23 (08-06-2024) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.22 (01-06-2024) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.21 (25-05-2024) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.19 (18-05-2024) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.18 (11-05-2024) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.16 (04-05-2024) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.15 (27-04-2024) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.14 (20-04-2024) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.13 (13-04-2024) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.12 (30-03-2024) +- Update to latest version from linuxserver/docker-emby (changelog : https://github.com/linuxserver/docker-emby/releases) + +## 4.9.0.11 (23-03-2024) +- Update to latest version from linuxserver/docker-emby + +## 4.9.0.10 (16-03-2024) +- Update to latest version from linuxserver/docker-emby + +## 4.9.0.8 (02-03-2024) + +- Update to latest version from linuxserver/docker-emby +## 4.9.0.5-5 (27-02-2024) + +- Minor bugs fixed +## 4.9.0.5-4 (26-02-2024) + +- Minor bugs fixed +## 4.9.0.5-3 (26-02-2024) + +- Minor bugs fixed +## 4.9.0.5-2 (26-02-2024) + +- Minor bugs fixed + +## 4.9.0.5 (24-02-2024) + +- Update to latest version from linuxserver/docker-emby + +## 4.9.0.4 (17-02-2024) + +- Update to latest version from linuxserver/docker-emby +## 4.9.0.1-2 (13-02-2024) + +- Minor bugs fixed + +## 4.9.0.1 (10-02-2024) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.80 (03-02-2024) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.75 (27-01-2024) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.73 (20-01-2024) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.67 (13-01-2024) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.66 (06-01-2024) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.65 (30-12-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.64 (30-12-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.63 (23-12-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.62 (16-12-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.61 (02-12-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.60 (21-11-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.59 (18-11-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.58 (11-11-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.57 (04-11-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.56 (28-10-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.55 (20-10-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.53 (14-10-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.52 (13-10-2023) + +- Update to latest version from linuxserver/docker-emby +## 4.8.0.49-6 (05-10-2023) + +- Minor bugs fixed +## 4.8.0.49-5 (05-10-2023) + +- Minor bugs fixed +## 4.8.0.49-4 (05-10-2023) + +- Minor bugs fixed +## 4.8.0.49-3 (05-10-2023) + +- Minor bugs fixed +## 4.8.0.49-2 (04-10-2023) + +- Minor bugs fixed +- Robust SMB & local mounts code + +## 4.8.0.49 (03-10-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.48 (30-09-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.47 (23-09-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.46 (16-09-2023) + +- Update to latest version from linuxserver/docker-emby +## 4.8.0.45-2 (09-09-2023) + +- Minor bugs fixed + +## 4.8.0.45 (09-09-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.44 (02-09-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.43 (26-08-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.42 (19-08-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.41 (12-08-2023) + +- Update to latest version from linuxserver/docker-emby +- Arm32v7 discontinued by linuxserver, latest working version pinned + +## 4.8.0.39 (10-06-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.37 (27-05-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.36 (19-05-2023) + +- Update to latest version from linuxserver/docker-emby +- Feat : cifsdomain added + +## 4.8.0.34 (06-05-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.32 (29-04-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.30 (22-04-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.29-4 (15-04-2023) + +- Minor bugs fixed +- Fix issue with smb + +## 4.8.0.29 (08-04-2023) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.28 (31-03-2023) + +- Update to latest version from linuxserver/docker-emby +- Implemented healthcheck + +## 4.8.0.21 (13-12-2022) + +- Update to latest version from linuxserver/docker-emby +- WARNING : update to supervisor 2022.11 before installing + +## 4.8.0.19 (22-11-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.17 (19-11-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.16 (05-11-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.15 (29-10-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.13 (22-10-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.12 (15-10-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.10 (30-09-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.9 (24-09-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.8 (16-08-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.7 (26-07-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.6 (17-07-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.5 (14-07-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.3 (25-06-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.2 (21-06-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.1 (18-06-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.8.0.0 (24-05-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.7.0.60 (19-05-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.7.0.39 (14-05-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.7.0.38 (07-05-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.7.0.37 (05-05-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.7.0.36 (26-04-2022) + +- Update to latest version from linuxserver/docker-emby +- Beta: inclusion of Ingress (please report issues) + +## 4.7.0.35 (16-04-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.7.0.34 (12-04-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.7.0.33 (07-04-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.7.0.32 (23-03-2022) + +- Update to latest version from linuxserver/docker-emby +- Add codenotary sign + +## 4.7.0.31 (17-03-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.7.0.30 (10-03-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.7.0.29 (05-03-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.7.0.28 (03-03-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.7.0.26 (27-02-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.7.0.25 (24-02-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.7.0.24 (19-02-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.7.0.23 (08-02-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.7.0.22 (28-01-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.7.0.21 (27-01-2022) + +- Update to latest version from linuxserver/docker-emby + +## 4.7.0.20 (12-01-2022) + +- Update to latest version from linuxserver/docker-emby +- "host_network": true to enable UPNP, chromecast, ... + +## 4.7.0.19-1 + +- Changed local config location + +## 4.7.0.19 (14-12-2021) + +- Update to latest version from linuxserver/docker-emby +- New standardized logic for Dockerfile build and packages installation + +## 4.7.0.18 (20-11-2021) + +- Update to latest version from linuxserver/docker-emby + +## 4.7.0.17 (08-11-2021) + +- Update to latest version from linuxserver/docker-emby +- Allow mounting local drives by label. Just pust the label instead of sda1 for example +- SMB : accepts several disks separated by commas mounted in /mnt/$sharename + +## 4.7.0.15 (23-10-2021) + +- Update to latest version from linuxserver/docker-emby + +## 4.7.0.14 (15-10-2021) + +- Update to latest version from linuxserver/docker-emby +- Added watchdog feature + +## 4.7.0.13 (02-10-2021) + +- Update to latest version from linuxserver/docker-emby +- Allow optional silent emby output +- Allow mounting disks > sdb1 +- Allow hardware acceleration + +## 4.7.0.12 (21-09-2021) + +- Update to latest version from linuxserver/docker-emby + +## 4.7.0.11 (12-09-2021) + +- Update to latest version from linuxserver/docker-emby + +## 4.7.0.10 (10-09-2021) + +- Update to latest version from linuxserver/docker-emby + +## 4.7.0.9 (04-09-2021) + +- Update to latest version from linuxserver/docker-emby + +## 4.6.4.0 (02-07-2021) + +- Update to latest version from linuxserver/docker-emby + +## 4.6.3.0 (19-06-2021) + +- Update to latest version from linuxserver/docker-emby + +## 4.6.2.0 (04-06-2021) + +- Update to latest version from linuxserver/docker-emby + +## 4.6.1.0 (25-05-2021) + +- Update to latest version from linuxserver/docker-emby + +## 4.6.0.51 (23-05-2021) + +- Update to latest version from linuxserver/docker-emby + +## 4.6.0.50 (20-05-2021) + +- Update to latest version from linuxserver/docker-emby + +## 4.6.0.48 (19-05-2021) + +- Update to latest version from linuxserver/docker-emby + +## 4.6.0.47 (18-05-2021) + +- Update to latest version from linuxserver/docker-emby + +## 4.6.0.46 (15-05-2021) + +- Update to latest version from linuxserver/docker-emby +- Add banner to log + +## 4.6.0.45 (13-05-2021) + +- Update to latest version from linuxserver/docker-emby + +## 4.6.0.44 (12-05-2021) + +- Update to latest version from linuxserver/docker-emby + +## 4.6.0.43 (04-05-2021) + +- Update to latest version from linuxserver/docker-emby + +## 4.6.0.41 (28-04-2021) + +- Update to latest version from linuxserver/docker-emby + +## 4.6.0.40 + +- Update to latest version from linuxserver/docker-emby + +## 4.6.0.39 + +- Update to latest version from linuxserver/docker-emby + +## 4.6.0.38 + +- Update to latest version from linuxserver/docker-emby + +## 4.6.0.37 + +- Update to latest version from linuxserver/docker-emby + +## 4.6.0.36 + +- Update to latest version from linuxserver/docker-emby + +## 4.6.0.35 + +- Update to latest version from linuxserver/docker-emby + +## 4.6.0.34 + +- Update to latest version from linuxserver/docker-emby + +## 4.6.0.33 + +- Update to latest version from linuxserver/docker-emby + +## 4.6.0.32 + +- Update to latest version from linuxserver/docker-emby + +## 4.6.0.31 + +- Update to latest version from linuxserver/docker-emby + +## 4.6.0.30 + +- Update to latest version from linuxserver/docker-emby + +## 4.6.0.29 + +- Update to latest version from linuxserver/docker-emby + +## 4.6.0.28 + +- Update to latest version from linuxserver/docker-emby + +## 4.6.0.26 + +- Update to latest version from linuxserver/docker-emby +- Enables PUID/PGID options +- New feature : mount smb share in protected mode +- New feature : mount multiple smb shares +- New config/feature : mount smbv1 +- Changed path : changed smb mount path from /storage/externalcifs to /mnt/$NAS name +- Removed feature : ability to remove protection and mount local hdd, to increase the addon score diff --git a/emby_beta/DOCS.md b/emby_beta/DOCS.md new file mode 100644 index 0000000..b153dde --- /dev/null +++ b/emby_beta/DOCS.md @@ -0,0 +1,19 @@ +# Emby Beta + +## 浣跨敤鏂规硶 + +- 鍚姩鍚庡彲鍦ㄤ俊鎭〉涓偣鍑"鎵撳紑 WEI UI"锛屼篃鍙氳繃娴忚鍣ㄨ闂 锛堢鍙e彿榛樿8096锛. + +- 棣栨杩涘叆鍚庨夋嫨璇█鈥淐hinese Simplified鈥濓紝鐐瑰嚮涓嬩竴姝ャ + +- 杈撳叆璐﹀彿鍙婂瘑鐮侊紝鐐瑰嚮涓嬩竴姝ャ + +- 璁剧疆濯掍綋搴撳彲涓嶈缃紝鐐瑰嚮涓嬩竴姝ャ + +- 棣栭夋簮鏁版嵁璇█鎸夐渶瑕侀厤缃紝鐐瑰嚮涓嬩竴姝ャ + +- 閰嶇疆杩滅▼璁块棶榛樿锛岀偣鍑讳笅涓姝ャ + +- 浣跨敤璁稿彲鐐瑰嚮鈥滄垜鎺ュ彈鏈嶅姟鏉℃鈥濓紝鐐瑰嚮涓嬩竴姝ャ + +- 瀹屾垚棣栨閰嶇疆銆 \ No newline at end of file diff --git a/emby_beta/README.md b/emby_beta/README.md new file mode 100644 index 0000000..33b7fe4 --- /dev/null +++ b/emby_beta/README.md @@ -0,0 +1,58 @@ +# Home assistant add-on: emby + +[![Donate][donation-badge]](https://www.buymeacoffee.com/alexbelgium) +[![Donate][paypal-badge]](https://www.paypal.com/donate/?hosted_button_id=DZFULJZTP3UQA) + +![Version](https://img.shields.io/badge/dynamic/json?label=Version&query=%24.version&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Femby%2Fconfig.json) +![Ingress](https://img.shields.io/badge/dynamic/json?label=Ingress&query=%24.ingress&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Femby%2Fconfig.json) +![Arch](https://img.shields.io/badge/dynamic/json?color=success&label=Arch&query=%24.arch&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Femby%2Fconfig.json) + +[![Codacy Badge](https://app.codacy.com/project/badge/Grade/9c6cf10bdbba45ecb202d7f579b5be0e)](https://www.codacy.com/gh/alexbelgium/hassio-addons/dashboard?utm_source=github.com&utm_medium=referral&utm_content=alexbelgium/hassio-addons&utm_campaign=Badge_Grade) +[![GitHub Super-Linter](https://img.shields.io/github/actions/workflow/status/alexbelgium/hassio-addons/weekly-supelinter.yaml?label=Lint%20code%20base)](https://github.com/alexbelgium/hassio-addons/actions/workflows/weekly-supelinter.yaml) +[![Builder](https://img.shields.io/github/actions/workflow/status/alexbelgium/hassio-addons/onpush_builder.yaml?label=Builder)](https://github.com/alexbelgium/hassio-addons/actions/workflows/onpush_builder.yaml) + +[donation-badge]: https://img.shields.io/badge/Buy%20me%20a%20coffee%20(no%20paypal)-%23d32f2f?logo=buy-me-a-coffee&style=flat&logoColor=white +[paypal-badge]: https://img.shields.io/badge/Buy%20me%20a%20coffee%20with%20Paypal-0070BA?logo=paypal&style=flat&logoColor=white + +_Thanks to everyone having starred my repo! To star it click on the image below, then it will be on top right. Thanks!_ + +[![Stargazers repo roster for @alexbelgium/hassio-addons](https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.github/stars2.svg)](https://github.com/alexbelgium/hassio-addons/stargazers) + +![downloads evolution](https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/emby/stats.png) + +## About + +[emby](https://emby.media/) organizes video, music, live TV, and photos from personal media libraries and streams them to smart TVs, streaming boxes and mobile devices. This container is packaged as a standalone emby Media Server. + +This addon is based on the [docker image](https://github.com/linuxserver/docker-emby) from linuxserver.io. +Inital addon version : https://github.com/petersendev/hassio-addons + +## Configuration + +Webui can be found at `:8096`, or within Home Assistant through Ingress. + +```yaml +PGID: user +GPID: user +TZ: timezone +localdisks: sda1 #put the hardware name of your drive to mount separated by commas, or its label. ex. sda1, sdb1, MYNAS... +networkdisks: "//SERVER/SHARE" # optional, list of smb servers to mount, separated by commas +cifsusername: "username" # optional, smb username, same for all smb shares +cifspassword: "password" # optional, smb password +cifsdomain: "domain" # optional, allow setting the domain for the smb share +silent: true #suppresses debug messages +``` + +## Installation + +The installation of this add-on is pretty straightforward and not different in +comparison to installing any other Hass.io add-on. + +1. [Add my Hass.io add-ons repository][repository] to your Hass.io instance. +1. Install this add-on. +1. Click the `Save` button to store your configuration. +1. Start the add-on. +1. Check the logs of the add-on to see if everything went well. +1. Carefully configure the add-on to your preferences, see the official documentation for for that. + +[repository]: https://github.com/alexbelgium/hassio-addons diff --git a/emby_beta/apparmor.txt b/emby_beta/apparmor.txt new file mode 100644 index 0000000..53ff5d9 --- /dev/null +++ b/emby_beta/apparmor.txt @@ -0,0 +1,66 @@ +#include + +profile emby_nas flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + signal, + mount, + umount, + remount, + network udp, + network tcp, + network dgram, + network stream, + network inet, + network inet6, + network netlink raw, + network unix dgram, + + capability setgid, + capability setuid, + capability sys_admin, + capability dac_read_search, + # capability dac_override, + # capability sys_rawio, + +# S6-Overlay + /init ix, + /run/{s6,s6-rc*,service}/** ix, + /package/** ix, + /command/** ix, + /run/{,**} rwk, + /dev/tty rw, + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /dev/i2c-1 mrwkl, + # Files required + /dev/fuse mrwkl, + /dev/sda1 mrwkl, + /dev/sdb1 mrwkl, + /dev/nvme0 mrwkl, + /dev/nvme1 mrwkl, + /dev/ttyUSB0 mrwkl, + /dev/* mrwkl, + /tmp/** mrkwl, + + # Data access + /data/** rw, + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} diff --git a/emby_beta/config.json b/emby_beta/config.json new file mode 100644 index 0000000..f73cdce --- /dev/null +++ b/emby_beta/config.json @@ -0,0 +1,134 @@ +{ + "arch": [ + "aarch64", + "amd64" + ], + "backup_exclude": [ + "*/cache/", + "*/transcoding-temp/", + "*/logs/*" + ], + "codenotary": "wghaos@163.com", + "description": "涓涓厤璐圭殑杞欢濯掍綋绯荤粺锛岃浣犳帉鎺х鐞嗗拰娴佸獟浣撳唴瀹癸紙娴嬭瘯鐗堬級", + "devices": [ + "/dev/dri", + "/dev/dri/card0", + "/dev/dri/card1", + "/dev/dri/renderD128", + "/dev/vchiq", + "/dev/video10", + "/dev/video11", + "/dev/video12", + "/dev/video13", + "/dev/video14", + "/dev/video15", + "/dev/video16", + "/dev/ttyUSB0", + "/dev/sda", + "/dev/sdb", + "/dev/sdc", + "/dev/sdd", + "/dev/sde", + "/dev/sdf", + "/dev/sdg", + "/dev/nvme", + "/dev/nvme0", + "/dev/nvme0n1", + "/dev/nvme0n1p1", + "/dev/nvme0n1p2", + "/dev/nvme0n1p3", + "/dev/nvme1n1", + "/dev/nvme1n1p1", + "/dev/nvme1n1p2", + "/dev/nvme1n1p3", + "/dev/nvme2n1", + "/dev/nvme2n1p1", + "/dev/nvme2n1p2", + "/dev/nvme2n3p3", + "/dev/mmcblk", + "/dev/fuse", + "/dev/sda1", + "/dev/sdb1", + "/dev/sdc1", + "/dev/sdd1", + "/dev/sde1", + "/dev/sdf1", + "/dev/sdg1", + "/dev/sda2", + "/dev/sdb2", + "/dev/sdc2", + "/dev/sdd2", + "/dev/sde2", + "/dev/sdf2", + "/dev/sdg2", + "/dev/sda3", + "/dev/sdb3", + "/dev/sda4", + "/dev/sdb4", + "/dev/sda5", + "/dev/sda6", + "/dev/sda7", + "/dev/sda8", + "/dev/nvme0", + "/dev/nvme1", + "/dev/nvme2" + ], + "environment": { + "data_location": "/share/emby" + }, + "host_network": true, + "image": "r.hassbus.com/alexbelgium/emby-{arch}", + "ingress": true, + "ingress_port": 0, + "ingress_stream": true, + "init": false, + "map": [ + "addon_config:rw", + "homeassistant_config:rw", + "share:rw", + "media:rw", + "ssl:rw" + ], + "name": "Emby Beta", + "options": { + "PGID": 0, + "PUID": 0, + "silent": true + }, + "panel_admin": false, + "panel_icon": "mdi:emby", + "ports": { + "1900/udp": null, + "7359/udp": null, + "8096/tcp": 8096, + "8920/tcp": null + }, + "ports_description": { + "1900/udp": "dlna (optional)", + "7359/udp": "udp server discover (optional)", + "8096/tcp": "web interface", + "8920/tcp": "https web interface (optional)" + }, + "privileged": [ + "SYS_ADMIN", + "DAC_READ_SEARCH" + ], + "schema": { + "PGID": "int", + "PUID": "int", + "TZ": "str?", + "cifsdomain": "str?", + "cifspassword": "str?", + "cifsusername": "str?", + "localdisks": "str?", + "networkdisks": "str?", + "silent": "bool?", + "smbv1": "bool?" + }, + "slug": "emby_nas", + "udev": true, + "url": "https://gitcode.com/waxgourd/addons", + "version": "4.9.2.6", + "video": true, + "boot": "manual" +} diff --git a/emby_beta/icon.png b/emby_beta/icon.png new file mode 100644 index 0000000..1f4a9f1 Binary files /dev/null and b/emby_beta/icon.png differ diff --git a/emby_beta/logo.png b/emby_beta/logo.png new file mode 100644 index 0000000..1f4a9f1 Binary files /dev/null and b/emby_beta/logo.png differ diff --git a/emby_beta/translations/en.yaml b/emby_beta/translations/en.yaml new file mode 100644 index 0000000..9c8b1a7 --- /dev/null +++ b/emby_beta/translations/en.yaml @@ -0,0 +1,39 @@ +--- +configuration: + PGID: + name: PGID + description: >- + user + GPID: + name: GPID + description: >- + user + TZ: + name: TZ + description: >- + timezone + localdisks: + name: localdisks + description: >- + put the hardware name of your drive to mount separated by commas, or its label. ex. sda1, sdb1, MYNAS... + networkdisks: + name: networkdisks + description: >- + optional, list of smb servers to mount, separated by commas + cifsusername: + name: cifsusername + description: >- + optional, smb username, same for all smb shares + cifspassword: + name: cifspassword + description: >- + optional, smb password + cifsdomain: + name: cifsdomain + description: >- + optional, allow setting the domain for the smb share + silent: + name: silent + description: >- + suppresses debug messages + diff --git a/emby_beta/translations/zh-Hans.yaml b/emby_beta/translations/zh-Hans.yaml new file mode 100644 index 0000000..da8c185 --- /dev/null +++ b/emby_beta/translations/zh-Hans.yaml @@ -0,0 +1,41 @@ +--- +configuration: + PGID: + name: PGID + description: >- + PGID + GPID: + name: GPID + description: >- + GPID + TZ: + name: TZ + description: >- + 鎵鍦ㄦ椂鍖 + localdisks: + name: 鏈湴瀛樺偍鍣 + description: >- + 鎸傝浇鐨勫瓨鍌ㄥ櫒鐨勭‖浠跺悕绉版垨鍏舵爣绛撅紝鐢ㄩ楀彿鍒嗛殧瑕併備緥濡俿da1, sdb1, MYNAS鈥 + networkdisks: + name: 缃戠粶瀛樺偍鍣 + description: >- + 鍙夛紝瑕佹寕杞界殑SMB鏈嶅姟鍣ㄥ垪琛紝浠ラ楀彿鍒嗛殧銆 + cifsusername: + name: cifs鐢ㄦ埛鍚 + description: >- + 鍙夛紝samba 璐﹀彿 + cifspassword: + name: cifs瀵嗙爜 + description: >- + 鍙夛紝samba 瀵嗙爜 + cifsdomain: + name: cifs宸ヤ綔缁 + description: >- + 鍙夛紝samba 鎵鍦ㄧ殑宸ヤ綔缁 + silent: + name: 闈欓粯 + description: >- + debug 淇℃伅涓洪潤榛樼姸鎬 + smbv1: + name: Samba + description: >- diff --git a/emulatorjs-zh/CHANGELOG.md b/emulatorjs-zh/CHANGELOG.md new file mode 100644 index 0000000..fbad76a --- /dev/null +++ b/emulatorjs-zh/CHANGELOG.md @@ -0,0 +1,15 @@ +### 1.9.2锛2024-09-19锛 + +- 鐗堟湰鍗囩骇 + +### 1.9.0锛2024-04-08锛 + +- 鐗堟湰鍗囩骇 + +### 1.8.9锛2024-03-13锛 + +- 鐗堟湰鍗囩骇 + +### 1.8.8 锛2024-02-06锛 + +- 棣栨鎺ㄥ嚭 diff --git a/emulatorjs-zh/DOCS.md b/emulatorjs-zh/DOCS.md new file mode 100644 index 0000000..a5b62bc --- /dev/null +++ b/emulatorjs-zh/DOCS.md @@ -0,0 +1,19 @@ +# 娓告垙鏈烘ā鎷熷櫒 + +## 浣跨敤鏂规硶 + +- 鐩存帴鍚姩銆 + +- 閫氳繃ip:3000绔彛杩涘叆绠$悊鐣岄潰銆 + +- 鍦ㄢ滃紑濮嬩笅杞芥枃浠堕泦鈥濇彁绀烘椂锛岀偣鍑烩滀笅杞解濇寜閽 + +- 涓嬭浇瀹屾垚鍚庯紝鍙互鐪嬪埌绠$悊鍚庡彴鐨勪粙缁嶃傜劧鍚庣偣鍑婚《閮ㄨ彍鍗曟爮鈥滄枃浠剁鐞嗏濓紝閫夋嫨宸﹁竟鏍忕殑娓告垙鏈虹被鍨嬶紝鍙宠竟鐩綍鎵惧埌roms鏂囦欢澶癸紝杩涘叆銆 + +- 鎸夌浉鍏崇殑娓告垙鏈簉oms鐨勮姹傦紝鎷栨嫿鏂囦欢涓婁紶銆 + +- 鍐嶇偣鍑婚《閮ㄨ彍鍗曟爮鈥淩OM绠$悊鈥濓紝鐐瑰嚮鐩稿簲娓告垙鏈衡滄壂鎻忊濇寜閿紝鏈鍚庣偣鍑诲姞杞界獥鍙g殑鈥滀笅杞/涓婁紶鈥濄 + +- 杩欐椂锛屽彲浠ユ墦寮ip:8486绔彛鐜╂父鎴忎簡銆 + + diff --git a/emulatorjs-zh/README.md b/emulatorjs-zh/README.md new file mode 100644 index 0000000..bb3dfce --- /dev/null +++ b/emulatorjs-zh/README.md @@ -0,0 +1,15 @@ +# 鍐摐鐢勯塧ddons锛氭父鎴忔満妯℃嫙鍣 + +## 鍏充簬 + +杩欐槸emulatorjs鐨刪ome assistant鐗堟湰锛屾槸缁忓吀绯诲垪娓告垙妯℃嫙鍣ㄧ敤娴忚鍣ㄥ仛涓烘樉绀虹粓绔殑涓绉嶅簲鐢ㄣ傚畠涓篐A鎵撳紑浜嗗簲鐢ㄧ殑涓涓柊棰嗗煙锛屾湰鐗堟湰鍦ㄥ師椤圭洰涓婂仛浜嗘眽鍖栧寘锛屾敮鎸佷腑鑻辨枃鍒囨崲銆傚浜巉ilebrowers鐨勫啓鏉冮檺杩涜淇銆 + +娉細鏈夐儴鍒嗘祻瑙堝櫒鏀寔涓嶅ソ锛360鏋侀熸渶鏂扮増娴嬭繃锛屾墜鏌勭瓑鏀寔鑹ソ銆 + + + +## 鏉ユ簮 + +鍙傝冿細https://github.com/hulkhaugen/hassio-addons/tree/main/emulatorjs + +椤圭洰婧愮爜锛歨ttps://github.com/linuxserver/emulatorjs diff --git a/emulatorjs-zh/config.json b/emulatorjs-zh/config.json new file mode 100644 index 0000000..ca033b1 --- /dev/null +++ b/emulatorjs-zh/config.json @@ -0,0 +1,49 @@ +{ + "name": "娓告垙鏈烘ā鎷熷櫒", + "version": "1.9.2", + "slug": "emulatorjs-zh", + "codenotary": "wghaos@163.com", + "description": "鍩轰簬web娴忚鍣ㄧ殑妯℃嫙鍣紝宸辩Щ妞嶄紬澶氬鍙ゆ父鎴忔満銆傚畠鏄疞ibretro鍜孍mulatorJS涔嬮棿娣峰悎浣跨敤妯℃嫙鍣", + "url": "https://gitcode.com/waxgourd/addons", + "image": "r.hassbus.com/wghaos/emulatorjs", + "arch": [ + "aarch64", + "amd64" + ], + "init": false, + "boot": "manual", + "webui": "http://[HOST]:[PORT:80]", + "ports": { + "80/tcp": 8486, + "3000/tcp": 3000, + "4001/tcp": 4001, + "4001/udp": 4001 + }, + "ports_description": { + "80/tcp": "EmulatorJS frontend", + "3000/tcp": "EmulatorJS Manager", + "4001/tcp": "IPFS TCP (Optional)", + "4001/udp": "IPFS UDP (Optional)" + }, + "options": { + "roms_folder": "/config/roms", + "disable_ipfs": false, + "lang": "zh" + }, + "schema": { + "roms_folder": "str", + "disable_ipfs": "bool", + "lang": "list(zh|en)" + }, + "map": [ + "addon_config:rw", + "media:rw", + "share:rw" + ], + "backup_exclude": [ + "**/data/.ipfs", + "**/data/main", + "**/data/metadata", + "**/videos" + ] +} diff --git a/emulatorjs-zh/icon.png b/emulatorjs-zh/icon.png new file mode 100644 index 0000000..53b353b Binary files /dev/null and b/emulatorjs-zh/icon.png differ diff --git a/emulatorjs-zh/logo.png b/emulatorjs-zh/logo.png new file mode 100644 index 0000000..53b353b Binary files /dev/null and b/emulatorjs-zh/logo.png differ diff --git a/emulatorjs-zh/translations/en.yaml b/emulatorjs-zh/translations/en.yaml new file mode 100644 index 0000000..9c44dfc --- /dev/null +++ b/emulatorjs-zh/translations/en.yaml @@ -0,0 +1,14 @@ +--- +configuration: + roms_folder: + name: roms_folder + description: >- + Roms storage folder. + disable_ipfs: + name: disable_ipfs + description: >- + Disable ipfs. + lang: + name: lang + description: >- + Management interface language selection. diff --git a/emulatorjs-zh/translations/zh-Hans.yaml b/emulatorjs-zh/translations/zh-Hans.yaml new file mode 100644 index 0000000..e108b3d --- /dev/null +++ b/emulatorjs-zh/translations/zh-Hans.yaml @@ -0,0 +1,14 @@ +--- +configuration: + roms_folder: + name: roms瀛樻斁鏂囦欢澶 + description: >- + roms瀛樻斁鏂囦欢澶广 + disable_ipfs: + name: 绂佺敤ipfs + description: >- + 绂佺敤ipfs鍔熻兘銆 + lang: + name: 璇█ + description: >- + 閫夋嫨绠$悊鐣岄潰鏄腑鏂囪繕鏄嫳鏂囥 diff --git a/eweLink-smart-home/CHANGELOG.md b/eweLink-smart-home/CHANGELOG.md new file mode 100644 index 0000000..d635bc6 --- /dev/null +++ b/eweLink-smart-home/CHANGELOG.md @@ -0,0 +1,11 @@ +### 1.4.5 (2025-08-27) + +- 鐗堟湰鍗囩骇 + +### 1.4.3 (2024-11-08) + +- 鐗堟湰鍗囩骇 + +### 1.0.0 (2024-09-09) + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/eweLink-smart-home/DOCS.md b/eweLink-smart-home/DOCS.md new file mode 100644 index 0000000..8a11c21 --- /dev/null +++ b/eweLink-smart-home/DOCS.md @@ -0,0 +1,52 @@ +# eWeLink Smart Home + +--- + +## 鐤戦毦瑙g瓟 + +- 瑙e喅鈥滆皟鐢ㄦ湇鍔xxxx/xxxxxxxx澶辫触鈥濈殑闂銆傛壘涓嶅埌鏈嶅姟銆俙闂锛屼娇鐢ㄢ滄枃浠剁紪杈戝櫒鈥濈紪杈戔渃onfiguration.yaml鈥濄傚皢浠ヤ笅淇℃伅闄勫姞鍒版枃浠舵湯灏撅細 + +``` +switch: + - platform: template + switches: + ewelink_virtual_switch: + turn_on: + service: switch.turn_on + turn_off: + service: switch.turn_off + +cover: + - platform: template + covers: + ewelink_virtual_cover: + open_cover: + service: cover.open_cover + close_cover: + service: cover.close_cover + stop_cover: + service: cover.stop_cover + set_cover_position: + service: cover.set_cover_position + +fan: + - platform: template + fans: + ewelink_virtual_fan: + value_template: "{{ states('input_boolean.state') }}" + turn_on: + service: fan.turn_on + turn_off: + service: fan.turn_off + set_preset_mode: + service: fan.set_preset_mode + +light: + - platform: template + lights: + ewelink_virtual_light: + turn_on: + service: light.turn_on + turn_off: + service: light.turn_off +``` \ No newline at end of file diff --git a/eweLink-smart-home/README.md b/eweLink-smart-home/README.md new file mode 100644 index 0000000..ed2d6c4 --- /dev/null +++ b/eweLink-smart-home/README.md @@ -0,0 +1,12 @@ +# 鍐摐鐢勯夛細eWeLink Smart Home + +--- +## 鍏充簬 + +灏唀WeLink涓庡搴姪鐞嗚繛鎺 + +## 鏉ユ簮 + +https://github.com/CoolKit-Technologies/ha-addon + + diff --git a/eweLink-smart-home/config.json b/eweLink-smart-home/config.json new file mode 100644 index 0000000..1d0eb9e --- /dev/null +++ b/eweLink-smart-home/config.json @@ -0,0 +1,27 @@ +{ + "name": "eWeLink Smart Home", + "version": "1.4.5", + "slug": "ewelink_smart_home_slug", + "description": "灏 eWeLink 涓庡搴姪鐞嗚繛鎺", + "arch": ["aarch64", "amd64"], + "init": false, + "startup": "application", + "boot": "auto", + "url": "https://www.facebook.com/ewelink.support", + "image":"r.hassbus.com/wghaos/ewelink", + "host_network": true, + "ports": { + "3000/tcp": 3000 + }, + "ports_description": { + "3000/tcp": "Web interface" + }, + "panel_icon": "mdi:earth", + "panel_title": "eWeLink Smart Home", + "hassio_api": true, + "webui": "[PROTO:http]://[HOST]:[PORT:3000]", + "homeassistant_api": true, + "ingress": true, + "ingress_port": 3000, + "ingress_entry": "" +} diff --git a/eweLink-smart-home/icon.png b/eweLink-smart-home/icon.png new file mode 100644 index 0000000..20b744a Binary files /dev/null and b/eweLink-smart-home/icon.png differ diff --git a/excalidraw/CHANGELOG.md b/excalidraw/CHANGELOG.md new file mode 100644 index 0000000..eaf37a1 --- /dev/null +++ b/excalidraw/CHANGELOG.md @@ -0,0 +1,19 @@ +### 0.18.0 锛2025-08-08锛 + +- 鐗堟湰鍗囩骇 + +### 0.17.4 锛2024-10-14锛 + +- 鐗堟湰鍗囩骇 + +### 0.17.3-1 锛2024-07-30锛 + +- 鐗堟湰鍗囩骇 + +### 0.17.3 锛2024-07-01锛 + +- 鐗堟湰鍗囩骇 + +### 0.1.0 锛2024-05-11锛 + +- 棣栨鎺ㄥ嚭 diff --git a/excalidraw/DOCS.md b/excalidraw/DOCS.md new file mode 100644 index 0000000..64220d5 --- /dev/null +++ b/excalidraw/DOCS.md @@ -0,0 +1,11 @@ +# Excalidraw + +## 瀹夎 + +杩欎釜鎻掍欢鐨勫畨瑁呴潪甯哥畝鍗曘 + +1. 鍚姩鍔犺浇椤广 + +1. 妫鏌ュ姞杞介」鐨勬棩蹇楋紝鐪嬬湅鏄惁涓鍒囬『鍒┿ + +1. 鎵撳紑webUI骞惰皟鏁磋蒋浠堕夐」銆 diff --git a/excalidraw/README.md b/excalidraw/README.md new file mode 100644 index 0000000..cad1158 --- /dev/null +++ b/excalidraw/README.md @@ -0,0 +1,11 @@ +# 鍐摐鐢勯塧ddons锛欵xcalidraw + +## 鍏充簬 + +Excalidraw鏄敮鎸佸浜哄崗鍚岀殑绉佹湁鍖栧湪绾跨敾鏉垮伐鍏 + +## 鏉ユ簮 + +- Github锛歨ttps://github.com/excalidraw/excalidraw + +- 瀹樼綉锛歨ttps://excalidraw.com/ \ No newline at end of file diff --git a/excalidraw/config.yaml b/excalidraw/config.yaml new file mode 100644 index 0000000..5bae2e5 --- /dev/null +++ b/excalidraw/config.yaml @@ -0,0 +1,16 @@ +name: 'Excalidraw' +version: '0.18.0' +slug: 'excalidraw' +codenotary: 'wghaos@163.com' +description: "Excalidraw鏄敮鎸佸浜哄崗鍚岀殑绉佹湁鍖栧湪绾跨敾鏉垮伐鍏" +image: r.hassbus.com/wghaos/excalidraw +url: https://gitcode.com/waxgourd/addons +init: false +arch: + - aarch64 + - amd64 +webui: "[PROTO:http]://[HOST]:[PORT:3000]" +ports: + 3000/tcp: 3000 +panel_icon: 'mdi:application-variable' +boot: manual diff --git a/excalidraw/icon.png b/excalidraw/icon.png new file mode 100644 index 0000000..041545c Binary files /dev/null and b/excalidraw/icon.png differ diff --git a/excalidraw/logo.png b/excalidraw/logo.png new file mode 100644 index 0000000..bcbbeaf Binary files /dev/null and b/excalidraw/logo.png differ diff --git a/filebrowser-wg-low/CHANGELOG.md b/filebrowser-wg-low/CHANGELOG.md new file mode 100644 index 0000000..e2943a7 --- /dev/null +++ b/filebrowser-wg-low/CHANGELOG.md @@ -0,0 +1,6 @@ +### 2.32.0-1 (25-03-2025) + +- 鐗堟湰鍗囩骇 +### 2.32.0 (12-03-2025) + +- 棣栨鎺ㄩ diff --git a/filebrowser-wg-low/DOCS.md b/filebrowser-wg-low/DOCS.md new file mode 100644 index 0000000..0e12d31 --- /dev/null +++ b/filebrowser-wg-low/DOCS.md @@ -0,0 +1,55 @@ +# Filebrowser鍐摐浣嶤ore鐗 + +## 閰嶇疆璇存槑 + +### 鏃犺璇佽繍琛屾ā寮: + +- 鍚敤/鍋滅敤ssl銆 + +### 鍒濆鏂囦欢澶: + +- 鍙夐」锛岄粯璁ゅ /銆 + +### 璇佷功鏂囦欢: + +- ssl璇佷功鏂囦欢銆 + +### cifs鍩燂細 + +- cifs鍩熴 + +### cifs鐢ㄦ埛鍚嶏細 + +- 鍙夐」锛宻mb鐢ㄦ埛鍚嶏紝涓巗mb shares鐢ㄦ埛鍚嶇浉鍚屻 + +### cifs瀵嗙爜锛 + +- 鍙夐」锛宻mb瀵嗙爜锛屼笌smb shares瀵嗙爜鐩稿悓銆 + +### 瀵嗛挜锛 + +- sl瀵嗛挜銆 + +### 鏈湴纾佺洏锛 + +- 鐢ㄩ楀彿鍒嗛殧瑕佹寕杞界殑椹卞姩鍣ㄧ殑纭欢鍚嶇О鎴栧叾鏍囩銆備緥濡俿da1, sdb1, MYNAS绛夈 + +### 缃戠粶纾佺洏锛 + +- 鍙夛紝瑕佹寕杞界殑smbv2/3鏈嶅姟鍣ㄥ垪琛紝浠ラ楀彿鍒嗛殧銆 + +### 绂佺敤缂╃暐鍥撅細 + +- True /false(璁剧疆绂佺敤缂╃暐鍥句负True鎴杅alse;閫熷害榛樿涓簍rue)銆 + +### ssl锛 + +- 鍚敤/绂佺敤ssl銆 + +## 浣跨敤鏂规硶 + +- 鍙互閫氳繃娴忚鍣ㄩ〉闈㈣闂 锛堢鍙e彿榛樿8080锛 + +- 榛樿鐢ㄦ埛鍚: "admin" 瀵嗙爜: "admin" + +- 缃戠粶纾佺洏鎸傝浇鍒 `/share/storagecifs`涓嬨 \ No newline at end of file diff --git a/filebrowser-wg-low/README.md b/filebrowser-wg-low/README.md new file mode 100644 index 0000000..c401aa2 --- /dev/null +++ b/filebrowser-wg-low/README.md @@ -0,0 +1,10 @@ +# 鍐摐鐢勯塧ddons锛欶ilebrowser鍐摐浣嶤ore鐗 + +## 鍏充簬 + +涓涓潪甯稿ソ鐢ㄧ殑锛屽熀浜嶹eb绠$悊鐨刐鏂囦欢绠$悊鍣 File Browser](https://filebrowser.org/). +閫傜敤浜嶩ome Assistant 鏍稿績鐗堟湰 < 2025.5.0 + +## 鏉ユ簮 + +https://github.com/alexbelgium/hassio-addons \ No newline at end of file diff --git a/filebrowser-wg-low/apparmor.txt b/filebrowser-wg-low/apparmor.txt new file mode 100644 index 0000000..e00e788 --- /dev/null +++ b/filebrowser-wg-low/apparmor.txt @@ -0,0 +1,66 @@ +#include + +profile filebrowser-wg-low flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + signal, + mount, + umount, + remount, + network udp, + network tcp, + network dgram, + network stream, + network inet, + network inet6, + network netlink raw, + network unix dgram, + + capability setgid, + capability setuid, + capability sys_admin, + capability dac_read_search, + # capability dac_override, + # capability sys_rawio, + +# S6-Overlay + /init ix, + /run/{s6,s6-rc*,service}/** ix, + /package/** ix, + /command/** ix, + /run/{,**} rwk, + /dev/tty rw, + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /dev/i2c-1 mrwkl, + # Files required + /dev/fuse mrwkl, + /dev/sda1 mrwkl, + /dev/sdb1 mrwkl, + /dev/nvme0 mrwkl, + /dev/nvme1 mrwkl, + /dev/mmcblk0p1 mrwkl, + /dev/* mrwkl, + /tmp/** mrkwl, + + # Data access + /data/** rw, + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} diff --git a/filebrowser-wg-low/config.json b/filebrowser-wg-low/config.json new file mode 100644 index 0000000..927fc97 --- /dev/null +++ b/filebrowser-wg-low/config.json @@ -0,0 +1,133 @@ +{ + "arch": [ + "aarch64", + "amd64" + ], + "codenotary": "wghaos@163.com", + "description": "filebrowser鍐摐浣庨厤鐗,閫傜敤浜巋omeassistant core < 2025.5.0 锛屾彁渚涙寚瀹氱洰褰曚笅鐨勬枃浠剁鐞嗙晫闈紝鍙敤浜庝笂浼犮佸垹闄ゃ侀瑙堛侀噸鍛藉悕鍜岀紪杈戞枃浠", + "devices": [ + "/dev/dri", + "/dev/dri/card0", + "/dev/dri/card1", + "/dev/dri/renderD128", + "/dev/vchiq", + "/dev/video10", + "/dev/video11", + "/dev/video12", + "/dev/video13", + "/dev/video14", + "/dev/video15", + "/dev/video16", + "/dev/ttyUSB0", + "/dev/sda", + "/dev/sdb", + "/dev/sdc", + "/dev/sdd", + "/dev/sde", + "/dev/sdf", + "/dev/sdg", + "/dev/nvme", + "/dev/nvme0", + "/dev/nvme0n1", + "/dev/nvme0n1p1", + "/dev/nvme0n1p2", + "/dev/nvme0n1p3", + "/dev/nvme1n1", + "/dev/nvme1n1p1", + "/dev/nvme1n1p2", + "/dev/nvme1n1p3", + "/dev/nvme2n1", + "/dev/nvme2n1p1", + "/dev/nvme2n1p2", + "/dev/nvme2n3p3", + "/dev/mmcblk", + "/dev/fuse", + "/dev/sda1", + "/dev/sdb1", + "/dev/sdc1", + "/dev/sdd1", + "/dev/sde1", + "/dev/sdf1", + "/dev/sdg1", + "/dev/sda2", + "/dev/sdb2", + "/dev/sdc2", + "/dev/sdd2", + "/dev/sde2", + "/dev/sdf2", + "/dev/sdg2", + "/dev/sda3", + "/dev/sdb3", + "/dev/sda4", + "/dev/sdb4", + "/dev/sda5", + "/dev/sda6", + "/dev/sda7", + "/dev/sda8", + "/dev/nvme0", + "/dev/nvme1", + "/dev/nvme2", + "/dev/md0", + "/dev/md1", + "/dev/md2", + "/dev/md3" + ], + "environment": { + "FB_BASEURL": "/filebrowser", + "PGID": "0", + "PUID": "0" + }, + "image": "r.hassbus.com/wghaos/addon-wghaos-filebrowser", + "ingress": true, + "ingress_stream": true, + "map": [ + "addon_config:rw", + "media:rw", + "all_addon_configs:rw", + "homeassistant_config:rw", + "addons:rw", + "backup:rw", + "share:rw", + "ssl:rw" + ], + "name": "Filebrowser鍐摐浣嶤ore鐗", + "options": { + "NoAuth": true, + "certfile": "fullchain.pem", + "disable_thumbnails": true, + "keyfile": "privkey.pem", + "TZ": "Asia/shanghai", + "ssl": false + }, + "panel_admin": false, + "panel_icon": "mdi:file-search", + "ports": { + "8080/tcp": null + }, + "ports_description": { + "8080/tcp": "Web UI port" + }, + "privileged": [ + "SYS_ADMIN", + "DAC_READ_SEARCH" + ], + "schema": { + "NoAuth": "bool", + "TZ":"str", + "base_folder": "str?", + "certfile": "str", + "cifsdomain": "str?", + "cifspassword": "str?", + "cifsusername": "str?", + "disable_thumbnails": "bool?", + "keyfile": "str", + "localdisks": "str?", + "networkdisks": "str?", + "ssl": "bool" + }, + "slug": "filebrowser-wg-low", + "url": "https://gitcode.com/waxgourd/addons", + "version": "2.32.0-1", + "udev": true, + "boot": "manual" +} diff --git a/filebrowser-wg-low/icon.png b/filebrowser-wg-low/icon.png new file mode 100644 index 0000000..4470a77 Binary files /dev/null and b/filebrowser-wg-low/icon.png differ diff --git a/filebrowser-wg-low/logo.png b/filebrowser-wg-low/logo.png new file mode 100644 index 0000000..4470a77 Binary files /dev/null and b/filebrowser-wg-low/logo.png differ diff --git a/filebrowser-wg-low/translations/en.yaml b/filebrowser-wg-low/translations/en.yaml new file mode 100644 index 0000000..51f0423 --- /dev/null +++ b/filebrowser-wg-low/translations/en.yaml @@ -0,0 +1,39 @@ +--- +configuration: + NoAuth: + name: NoAuth + description: >- + Remove password. Resets database when changed. + base_folder: + name: base_folder + description: >- + optional, default is / + certfile: + name: certfile + description: ssl certificate + cifsdomain: + name: cifsdomain + cifspassword: + name: cifspassword + description: optional, smb password, same for all smb shares + cifsusername: + name: cifsusername + description: optional, smb username, same for all smb shares + keyfile: + name: keyfile + description: >- + sslkeyfile + localdisks: + name: localdisks + description: >- + put the hardware name of your drive to mount separated by commas, or its label. ex. sda1, sdb1, MYNAS... + networkdisks: + name: networkdisks + description: >- + optional, list of smbv2/3 servers to mount, separated by commas + disable_thumbnails: + name: disable_thumbnails + description: >- + true/false (set disable_thumbnails to true or false ; default true for speed) + ssl: + name: ssl \ No newline at end of file diff --git a/filebrowser-wg-low/translations/zh-Hans.yaml b/filebrowser-wg-low/translations/zh-Hans.yaml new file mode 100644 index 0000000..bcfccab --- /dev/null +++ b/filebrowser-wg-low/translations/zh-Hans.yaml @@ -0,0 +1,39 @@ +--- +configuration: + NoAuth: + name: 鏃犺璇佽繍琛屾ā寮 + description: >- + 鍒犻櫎瀵嗙爜锛屾洿鏀规椂閲嶇疆鏁版嵁搴撱 + base_folder: + name: 鍒濆鏂囦欢澶 + description: >- + 鍙夐」锛岄粯璁ゅ / + certfile: + name: 璇佷功鏂囦欢 + description: ssl璇佷功鏂囦欢 + cifsdomain: + name: cifs鍩 + cifspassword: + name: cifs瀵嗙爜 + description: 鍙夐」锛宻mb瀵嗙爜锛屼笌smb shares瀵嗙爜鐩稿悓 + cifsusername: + name: cifs鐢ㄦ埛鍚 + description: 鍙夐」锛宻mb鐢ㄦ埛鍚嶏紝涓巗mb shares鐢ㄦ埛鍚嶇浉鍚 + keyfile: + name: 瀵嗛挜 + description: >- + ssl瀵嗛挜 + localdisks: + name: 鏈湴纾佺洏 + description: >- + 鐢ㄩ楀彿鍒嗛殧瑕佹寕杞界殑椹卞姩鍣ㄧ殑纭欢鍚嶇О鎴栧叾鏍囩銆備緥濡俿da1, sdb1, MYNAS鈥 + networkdisks: + name: 缃戠粶纾佺洏 + description: >- + 鍙夛紝瑕佹寕杞界殑smbv2/3鏈嶅姟鍣ㄥ垪琛紝浠ラ楀彿鍒嗛殧 + disable_thumbnails: + name: 绂佺敤缂╃暐鍥 + description: >- + True /false(璁剧疆绂佺敤缂╃暐鍥句负True鎴杅alse;閫熷害榛樿涓簍rue) + ssl: + name: ssl \ No newline at end of file diff --git a/filebrowser-wg/CHANGELOG.md b/filebrowser-wg/CHANGELOG.md new file mode 100644 index 0000000..2bc6af3 --- /dev/null +++ b/filebrowser-wg/CHANGELOG.md @@ -0,0 +1,22 @@ +## 2.44.2 (30-10-2025) + +- 鐗堟湰鍗囩骇 + +## 2.42.3-1 (25-08-2025) + +- 鐗堟湰鍗囩骇 + +## 2.42.3 (18-08-2025) + +- 鐗堟湰鍗囩骇 + +### 2.32.0 (13-05-2025) + +- 鐗堟湰鍗囩骇 + +### 2.32.0-1 (25-03-2025) + +- 鐗堟湰鍗囩骇 +### 2.32.0 (12-03-2025) + +- 棣栨鎺ㄩ diff --git a/filebrowser-wg/DOCS.md b/filebrowser-wg/DOCS.md new file mode 100644 index 0000000..39274d1 --- /dev/null +++ b/filebrowser-wg/DOCS.md @@ -0,0 +1,55 @@ +# Filebrowser鍐摐鐗 + +## 閰嶇疆璇存槑 + +### 鏃犺璇佽繍琛屾ā寮: + +- 鍚敤/鍋滅敤ssl銆 + +### 鍒濆鏂囦欢澶: + +- 鍙夐」锛岄粯璁ゅ /銆 + +### 璇佷功鏂囦欢: + +- ssl璇佷功鏂囦欢銆 + +### cifs鍩燂細 + +- cifs鍩熴 + +### cifs鐢ㄦ埛鍚嶏細 + +- 鍙夐」锛宻mb鐢ㄦ埛鍚嶏紝涓巗mb shares鐢ㄦ埛鍚嶇浉鍚屻 + +### cifs瀵嗙爜锛 + +- 鍙夐」锛宻mb瀵嗙爜锛屼笌smb shares瀵嗙爜鐩稿悓銆 + +### 瀵嗛挜锛 + +- sl瀵嗛挜銆 + +### 鏈湴纾佺洏锛 + +- 鐢ㄩ楀彿鍒嗛殧瑕佹寕杞界殑椹卞姩鍣ㄧ殑纭欢鍚嶇О鎴栧叾鏍囩銆備緥濡俿da1, sdb1, MYNAS绛夈 + +### 缃戠粶纾佺洏锛 + +- 鍙夛紝瑕佹寕杞界殑smbv2/3鏈嶅姟鍣ㄥ垪琛紝浠ラ楀彿鍒嗛殧銆 + +### 绂佺敤缂╃暐鍥撅細 + +- True /false(璁剧疆绂佺敤缂╃暐鍥句负True鎴杅alse;閫熷害榛樿涓簍rue)銆 + +### ssl锛 + +- 鍚敤/绂佺敤ssl銆 + +## 浣跨敤鏂规硶 + +- 鍙互閫氳繃娴忚鍣ㄩ〉闈㈣闂 锛堢鍙e彿榛樿8080锛 + +- 榛樿鐢ㄦ埛鍚: "admin" 瀵嗙爜: "admin" + +- 缃戠粶纾佺洏鎸傝浇鍒 `/share/storagecifs`涓嬨 \ No newline at end of file diff --git a/filebrowser-wg/README.md b/filebrowser-wg/README.md new file mode 100644 index 0000000..8b04da8 --- /dev/null +++ b/filebrowser-wg/README.md @@ -0,0 +1,9 @@ +# 鍐摐鐢勯塧ddons锛欶ilebrowser鍐摐鐗 + +## 鍏充簬 + +涓涓潪甯稿ソ鐢ㄧ殑锛屽熀浜嶹eb绠$悊鐨刐鏂囦欢绠$悊鍣 File Browser](https://filebrowser.org/). + +## 鏉ユ簮 + +https://github.com/alexbelgium/hassio-addons \ No newline at end of file diff --git a/filebrowser-wg/apparmor.txt b/filebrowser-wg/apparmor.txt new file mode 100644 index 0000000..ab1a330 --- /dev/null +++ b/filebrowser-wg/apparmor.txt @@ -0,0 +1,66 @@ +#include + +profile filebrowser-wg flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + signal, + mount, + umount, + remount, + network udp, + network tcp, + network dgram, + network stream, + network inet, + network inet6, + network netlink raw, + network unix dgram, + + capability setgid, + capability setuid, + capability sys_admin, + capability dac_read_search, + # capability dac_override, + # capability sys_rawio, + +# S6-Overlay + /init ix, + /run/{s6,s6-rc*,service}/** ix, + /package/** ix, + /command/** ix, + /run/{,**} rwk, + /dev/tty rw, + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /dev/i2c-1 mrwkl, + # Files required + /dev/fuse mrwkl, + /dev/sda1 mrwkl, + /dev/sdb1 mrwkl, + /dev/nvme0 mrwkl, + /dev/nvme1 mrwkl, + /dev/mmcblk0p1 mrwkl, + /dev/* mrwkl, + /tmp/** mrkwl, + + # Data access + /data/** rw, + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} diff --git a/filebrowser-wg/config.json b/filebrowser-wg/config.json new file mode 100644 index 0000000..1094026 --- /dev/null +++ b/filebrowser-wg/config.json @@ -0,0 +1,133 @@ +{ + "arch": [ + "aarch64", + "amd64" + ], + "codenotary": "wghaos@163.com", + "description": "filebrowser鍐摐鐗,鎻愪緵鎸囧畾鐩綍涓嬬殑鏂囦欢绠$悊鐣岄潰锛屽彲鐢ㄤ簬涓婁紶銆佸垹闄ゃ侀瑙堛侀噸鍛藉悕鍜岀紪杈戞枃浠", + "devices": [ + "/dev/dri", + "/dev/dri/card0", + "/dev/dri/card1", + "/dev/dri/renderD128", + "/dev/vchiq", + "/dev/video10", + "/dev/video11", + "/dev/video12", + "/dev/video13", + "/dev/video14", + "/dev/video15", + "/dev/video16", + "/dev/ttyUSB0", + "/dev/sda", + "/dev/sdb", + "/dev/sdc", + "/dev/sdd", + "/dev/sde", + "/dev/sdf", + "/dev/sdg", + "/dev/nvme", + "/dev/nvme0", + "/dev/nvme0n1", + "/dev/nvme0n1p1", + "/dev/nvme0n1p2", + "/dev/nvme0n1p3", + "/dev/nvme1n1", + "/dev/nvme1n1p1", + "/dev/nvme1n1p2", + "/dev/nvme1n1p3", + "/dev/nvme2n1", + "/dev/nvme2n1p1", + "/dev/nvme2n1p2", + "/dev/nvme2n3p3", + "/dev/mmcblk", + "/dev/fuse", + "/dev/sda1", + "/dev/sdb1", + "/dev/sdc1", + "/dev/sdd1", + "/dev/sde1", + "/dev/sdf1", + "/dev/sdg1", + "/dev/sda2", + "/dev/sdb2", + "/dev/sdc2", + "/dev/sdd2", + "/dev/sde2", + "/dev/sdf2", + "/dev/sdg2", + "/dev/sda3", + "/dev/sdb3", + "/dev/sda4", + "/dev/sdb4", + "/dev/sda5", + "/dev/sda6", + "/dev/sda7", + "/dev/sda8", + "/dev/nvme0", + "/dev/nvme1", + "/dev/nvme2", + "/dev/md0", + "/dev/md1", + "/dev/md2", + "/dev/md3" + ], + "environment": { + "FB_BASEURL": "/filebrowser", + "PGID": "0", + "PUID": "0" + }, + "homeassistant": "2025.5.0", + "image": "r.hassbus.com/wghaos/addon-wghaos-filebrowser-{arch}", + "ingress": true, + "ingress_port": 8071, + "ingress_stream": true, + "map": [ + "addon_config:rw", + "media:rw", + "all_addon_configs:rw", + "homeassistant_config:rw", + "addons:rw", + "backup:rw", + "share:rw", + "ssl:rw" + ], + "name": "Filebrowser鍐摐鐗", + "options": { + "NoAuth": true, + "certfile": "fullchain.pem", + "disable_thumbnails": true, + "keyfile": "privkey.pem", + "ssl": false + }, + "panel_admin": false, + "panel_icon": "mdi:file-search", + "ports": { + "8080/tcp": 8071 + }, + "ports_description": { + "8080/tcp": "Web UI port" + }, + "privileged": [ + "SYS_ADMIN", + "DAC_READ_SEARCH" + ], + "schema": { + "NoAuth": "bool", + "base_folder": "str?", + "certfile": "str", + "cifsdomain": "str?", + "cifspassword": "str?", + "cifsusername": "str?", + "disable_thumbnails": "bool?", + "keyfile": "str", + "localdisks": "str?", + "networkdisks": "str?", + "ssl": "bool" + }, + "slug": "filebrowser-wg", + "url": "https://gitcode.com/waxgourd/addons", + "version": "2.44.2", + "udev": true, + "boot": "manual" +} diff --git a/filebrowser-wg/icon.png b/filebrowser-wg/icon.png new file mode 100644 index 0000000..4470a77 Binary files /dev/null and b/filebrowser-wg/icon.png differ diff --git a/filebrowser-wg/logo.png b/filebrowser-wg/logo.png new file mode 100644 index 0000000..4470a77 Binary files /dev/null and b/filebrowser-wg/logo.png differ diff --git a/filebrowser-wg/translations/en.yaml b/filebrowser-wg/translations/en.yaml new file mode 100644 index 0000000..51f0423 --- /dev/null +++ b/filebrowser-wg/translations/en.yaml @@ -0,0 +1,39 @@ +--- +configuration: + NoAuth: + name: NoAuth + description: >- + Remove password. Resets database when changed. + base_folder: + name: base_folder + description: >- + optional, default is / + certfile: + name: certfile + description: ssl certificate + cifsdomain: + name: cifsdomain + cifspassword: + name: cifspassword + description: optional, smb password, same for all smb shares + cifsusername: + name: cifsusername + description: optional, smb username, same for all smb shares + keyfile: + name: keyfile + description: >- + sslkeyfile + localdisks: + name: localdisks + description: >- + put the hardware name of your drive to mount separated by commas, or its label. ex. sda1, sdb1, MYNAS... + networkdisks: + name: networkdisks + description: >- + optional, list of smbv2/3 servers to mount, separated by commas + disable_thumbnails: + name: disable_thumbnails + description: >- + true/false (set disable_thumbnails to true or false ; default true for speed) + ssl: + name: ssl \ No newline at end of file diff --git a/filebrowser-wg/translations/zh-Hans.yaml b/filebrowser-wg/translations/zh-Hans.yaml new file mode 100644 index 0000000..bcfccab --- /dev/null +++ b/filebrowser-wg/translations/zh-Hans.yaml @@ -0,0 +1,39 @@ +--- +configuration: + NoAuth: + name: 鏃犺璇佽繍琛屾ā寮 + description: >- + 鍒犻櫎瀵嗙爜锛屾洿鏀规椂閲嶇疆鏁版嵁搴撱 + base_folder: + name: 鍒濆鏂囦欢澶 + description: >- + 鍙夐」锛岄粯璁ゅ / + certfile: + name: 璇佷功鏂囦欢 + description: ssl璇佷功鏂囦欢 + cifsdomain: + name: cifs鍩 + cifspassword: + name: cifs瀵嗙爜 + description: 鍙夐」锛宻mb瀵嗙爜锛屼笌smb shares瀵嗙爜鐩稿悓 + cifsusername: + name: cifs鐢ㄦ埛鍚 + description: 鍙夐」锛宻mb鐢ㄦ埛鍚嶏紝涓巗mb shares鐢ㄦ埛鍚嶇浉鍚 + keyfile: + name: 瀵嗛挜 + description: >- + ssl瀵嗛挜 + localdisks: + name: 鏈湴纾佺洏 + description: >- + 鐢ㄩ楀彿鍒嗛殧瑕佹寕杞界殑椹卞姩鍣ㄧ殑纭欢鍚嶇О鎴栧叾鏍囩銆備緥濡俿da1, sdb1, MYNAS鈥 + networkdisks: + name: 缃戠粶纾佺洏 + description: >- + 鍙夛紝瑕佹寕杞界殑smbv2/3鏈嶅姟鍣ㄥ垪琛紝浠ラ楀彿鍒嗛殧 + disable_thumbnails: + name: 绂佺敤缂╃暐鍥 + description: >- + True /false(璁剧疆绂佺敤缂╃暐鍥句负True鎴杅alse;閫熷害榛樿涓簍rue) + ssl: + name: ssl \ No newline at end of file diff --git a/filebrowser/CHANGELOG.md b/filebrowser/CHANGELOG.md new file mode 100644 index 0000000..6319534 --- /dev/null +++ b/filebrowser/CHANGELOG.md @@ -0,0 +1,62 @@ +## 2.44.2 (27-10-2025) +- 浠巉ilebrowser/filebrowser鏇存柊鍒版渶鏂扮増鏈 (鏇存柊鏃ュ織 : https://github.com/filebrowser/filebrowser/releases) +## 2.44.0 (14-10-2025) +- 浠巉ilebrowser/filebrowser鏇存柊鍒版渶鏂扮増鏈 (鏇存柊鏃ュ織 : https://github.com/filebrowser/filebrowser/releases) +## 2.43.0 (26-09-2025) +- 浠巉ilebrowser/filebrowser鏇存柊鍒版渶鏂扮増鏈 (鏇存柊鏃ュ織 : https://github.com/filebrowser/filebrowser/releases) +## 2.42.5 (25-08-2025) +- 浠巉ilebrowser/filebrowser鏇存柊鍒版渶鏂扮増鏈 (鏇存柊鏃ュ織 : https://github.com/filebrowser/filebrowser/releases) +## 2.42.3 (18-08-2025) +- 浠巉ilebrowser/filebrowser鏇存柊鍒版渶鏂扮増鏈 (鏇存柊鏃ュ織 : https://github.com/filebrowser/filebrowser/releases) +## 2.42.2-5 (15-08-2025) +- 淇浜嗗皬閿欒 +## 2.42.1-3 (01-08-2025) +- 淇浜嗗皬閿欒 +## 2.42.0-2 (28-07-2025) +- 淇浜嗗皬閿欒 +### 2.40.2 (21-07-2025) +- 浠巉ilebrowser/filebrowser鏇存柊鍒版渶鏂扮増鏈紙鏇存柊鏃ュ織锛歨ttps://github.com/filebrowser/filebrowser/releases锛 +### 2.37.0 (15-07-2025) +- 浠巉ilebrowser/filebrowser鏇存柊鍒版渶鏂扮増鏈紙鏇存柊鏃ュ織锛歨ttps://github.com/filebrowser/filebrowser/releases锛 +### 2.36.1 (11-07-2025) +- 浠巉ilebrowser/filebrowser鏇存柊鍒版渶鏂扮増鏈紙鏇存柊鏃ュ織锛歨ttps://github.com/filebrowser/filebrowser/releases锛 +### 2.33.10 (01-07-2025) +- 浠巉ilebrowser/filebrowser鏇存柊鍒版渶鏂扮増鏈紙鏇存柊鏃ュ織锛歨ttps://github.com/filebrowser/filebrowser/releases锛 +### 2.33.0 (21-06-2025) + +- 浠巉ilebrowser/filebrowser鏇存柊鍒版渶鏂扮増鏈紙鏇存柊鏃ュ織锛歨ttps://github.com/filebrowser/filebrowser/releases锛 + +### 2.32.0 (27-05-2025) +- 闇瑕 Home Assistant 鏍稿績鐗堟湰 > 2025.5.0 +- 鏇存柊鍒版渶鏂伴暅鍍 +### 2.23.0_14 (26-05-2025) +- 鍥為鍒版鐗堟湰 +### 2.32.0 (13-05-2025) +- 闇瑕 Home Assistant 鏍稿績鐗堟湰 > 2025.5.0 +- 鏇存柊鍒版渶鏂伴暅鍍 +### 2.23.0_14 (21-04-2024) +淇锛氬厑璁哥己灏戞棫鏂囦欢澶癸紙addons_config鍜宎ddons_autoscripts锛 + +### 2.23.0_13 (06-04-2024) +- 鍏佽mdadm raid(鎰熻阿 @zagi988) + +### 2.23.0_12 (08-01-2024) +- 淇浜嗕竴浜涘皬鐨刡ug +- 淇: https://github.com/alexbelgium/hassio-addons/issues/1163 + +### 2.23.0_11 (05-01-2024) +- 淇浜嗕竴浜涘皬鐨刡ug +- 淇:妫鏌ttps鐨勭姸鎬(鎰熻阿@encryptix) https://github.com/alexbelgium/hassio-addons/issues/1155 + +### 2.23.0_10 (30-12-2023) +- 淇浜嗕竴浜涘皬鐨刡ug +- 淇:姝g‘鐨勭紦瀛樼缉鐣ュ浘鍒涘缓 +- 鏂板姛鑳:鏂扮殑鎻掍欢閫夐」disable_thumbnails(璁剧疆disable_thumbnails涓虹湡鎴栧亣;閫熷害榛樿涓簍rue) +### 2.23.0_8 (20-12-2023) + +- 淇浜嗕竴浜涘皬bug +- 鏇存柊鍏ㄥ眬鑴氭湰 + +### 2.23.0_7 (25-11-2023) + +- 棣栨鎻愪氦锛屼粠2.23.0_7鐗堟湰寮濮 diff --git a/filebrowser/DOCS.md b/filebrowser/DOCS.md new file mode 100644 index 0000000..b81d7dc --- /dev/null +++ b/filebrowser/DOCS.md @@ -0,0 +1,55 @@ +# Filebrowser + +## 閰嶇疆璇存槑 + +### 鏃犺璇佽繍琛屾ā寮: + +- 鍚敤/鍋滅敤ssl銆 + +### 鍒濆鏂囦欢澶: + +- 鍙夐」锛岄粯璁ゅ /銆 + +### 璇佷功鏂囦欢: + +- ssl璇佷功鏂囦欢銆 + +### cifs鍩燂細 + +- cifs鍩熴 + +### cifs鐢ㄦ埛鍚嶏細 + +- 鍙夐」锛宻mb鐢ㄦ埛鍚嶏紝涓巗mb shares鐢ㄦ埛鍚嶇浉鍚屻 + +### cifs瀵嗙爜锛 + +- 鍙夐」锛宻mb瀵嗙爜锛屼笌smb shares瀵嗙爜鐩稿悓銆 + +### 瀵嗛挜锛 + +- sl瀵嗛挜銆 + +### 鏈湴纾佺洏锛 + +- 鐢ㄩ楀彿鍒嗛殧瑕佹寕杞界殑椹卞姩鍣ㄧ殑纭欢鍚嶇О鎴栧叾鏍囩銆備緥濡俿da1, sdb1, MYNAS绛夈 + +### 缃戠粶纾佺洏锛 + +- 鍙夛紝瑕佹寕杞界殑smbv2/3鏈嶅姟鍣ㄥ垪琛紝浠ラ楀彿鍒嗛殧銆 + +### 绂佺敤缂╃暐鍥撅細 + +- True /false(璁剧疆绂佺敤缂╃暐鍥句负True鎴杅alse;閫熷害榛樿涓簍rue)銆 + +### ssl锛 + +- 鍚敤/绂佺敤ssl銆 + +## 浣跨敤鏂规硶 + +- 鍙互閫氳繃娴忚鍣ㄩ〉闈㈣闂 锛堢鍙e彿榛樿8080锛 + +- 榛樿鐢ㄦ埛鍚: "admin" 瀵嗙爜: "admin" + +- 缃戠粶纾佺洏鎸傝浇鍒 `/share/storagecifs`涓嬨 \ No newline at end of file diff --git a/filebrowser/README.md b/filebrowser/README.md new file mode 100644 index 0000000..3c96cc2 --- /dev/null +++ b/filebrowser/README.md @@ -0,0 +1,9 @@ +# 鍐摐鐢勯塧ddons锛欶ilebrowser + +## 鍏充簬 + +涓涓潪甯稿ソ鐢ㄧ殑锛屽熀浜嶹eb绠$悊鐨刐鏂囦欢绠$悊鍣 File Browser](https://filebrowser.org/). + +## 鏉ユ簮 + +https://github.com/alexbelgium/hassio-addons diff --git a/filebrowser/apparmor.txt b/filebrowser/apparmor.txt new file mode 100644 index 0000000..15d68e8 --- /dev/null +++ b/filebrowser/apparmor.txt @@ -0,0 +1,66 @@ +#include + +profile filebrowser flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + signal, + mount, + umount, + remount, + network udp, + network tcp, + network dgram, + network stream, + network inet, + network inet6, + network netlink raw, + network unix dgram, + + capability setgid, + capability setuid, + capability sys_admin, + capability dac_read_search, + # capability dac_override, + # capability sys_rawio, + +# S6-Overlay + /init ix, + /run/{s6,s6-rc*,service}/** ix, + /package/** ix, + /command/** ix, + /run/{,**} rwk, + /dev/tty rw, + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /dev/i2c-1 mrwkl, + # Files required + /dev/fuse mrwkl, + /dev/sda1 mrwkl, + /dev/sdb1 mrwkl, + /dev/nvme0 mrwkl, + /dev/nvme1 mrwkl, + /dev/mmcblk0p1 mrwkl, + /dev/* mrwkl, + /tmp/** mrkwl, + + # Data access + /data/** rw, + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} diff --git a/filebrowser/config.json b/filebrowser/config.json new file mode 100644 index 0000000..e224198 --- /dev/null +++ b/filebrowser/config.json @@ -0,0 +1,134 @@ +{ + "arch": [ + "aarch64", + "amd64", + "armv7" + ], + "codenotary": "wghaos@163.com", + "description": "filebrowser鎻愪緵鎸囧畾鐩綍涓嬬殑鏂囦欢绠$悊鐣岄潰锛屽彲鐢ㄤ簬涓婁紶銆佸垹闄ゃ侀瑙堛侀噸鍛藉悕鍜岀紪杈戞枃浠", + "devices": [ + "/dev/dri", + "/dev/dri/card0", + "/dev/dri/card1", + "/dev/dri/renderD128", + "/dev/vchiq", + "/dev/video10", + "/dev/video11", + "/dev/video12", + "/dev/video13", + "/dev/video14", + "/dev/video15", + "/dev/video16", + "/dev/ttyUSB0", + "/dev/sda", + "/dev/sdb", + "/dev/sdc", + "/dev/sdd", + "/dev/sde", + "/dev/sdf", + "/dev/sdg", + "/dev/nvme", + "/dev/nvme0", + "/dev/nvme0n1", + "/dev/nvme0n1p1", + "/dev/nvme0n1p2", + "/dev/nvme0n1p3", + "/dev/nvme1n1", + "/dev/nvme1n1p1", + "/dev/nvme1n1p2", + "/dev/nvme1n1p3", + "/dev/nvme2n1", + "/dev/nvme2n1p1", + "/dev/nvme2n1p2", + "/dev/nvme2n3p3", + "/dev/mmcblk", + "/dev/fuse", + "/dev/sda1", + "/dev/sdb1", + "/dev/sdc1", + "/dev/sdd1", + "/dev/sde1", + "/dev/sdf1", + "/dev/sdg1", + "/dev/sda2", + "/dev/sdb2", + "/dev/sdc2", + "/dev/sdd2", + "/dev/sde2", + "/dev/sdf2", + "/dev/sdg2", + "/dev/sda3", + "/dev/sdb3", + "/dev/sda4", + "/dev/sdb4", + "/dev/sda5", + "/dev/sda6", + "/dev/sda7", + "/dev/sda8", + "/dev/nvme0", + "/dev/nvme1", + "/dev/nvme2", + "/dev/md0", + "/dev/md1", + "/dev/md2", + "/dev/md3" + ], + "environment": { + "FB_BASEURL": "/filebrowser", + "PGID": "0", + "PUID": "0" + }, + "homeassistant": "2025.5.0", + "image": "r.hassbus.com/alexbelgium/filebrowser-{arch}", + "ingress": true, + "ingress_port": 8071, + "ingress_stream": true, + "map": [ + "addon_config:rw", + "media:rw", + "all_addon_configs:rw", + "homeassistant_config:rw", + "addons:rw", + "backup:rw", + "share:rw", + "ssl:rw" + ], + "name": "Filebrowser", + "options": { + "NoAuth": true, + "certfile": "fullchain.pem", + "disable_thumbnails": true, + "keyfile": "privkey.pem", + "ssl": false + }, + "panel_admin": false, + "panel_icon": "mdi:file-search", + "ports": { + "8080/tcp": 8071 + }, + "ports_description": { + "8080/tcp": "Web UI port" + }, + "privileged": [ + "SYS_ADMIN", + "DAC_READ_SEARCH" + ], + "schema": { + "NoAuth": "bool", + "base_folder": "str?", + "certfile": "str", + "cifsdomain": "str?", + "cifspassword": "str?", + "cifsusername": "str?", + "disable_thumbnails": "bool?", + "keyfile": "str", + "localdisks": "str?", + "networkdisks": "str?", + "ssl": "bool" + }, + "slug": "filebrowser", + "udev": true, + "url": "https://gitcode.com/waxgourd/addons", + "version": "2.44.2", + "boot": "manual" +} diff --git a/filebrowser/icon.png b/filebrowser/icon.png new file mode 100644 index 0000000..4470a77 Binary files /dev/null and b/filebrowser/icon.png differ diff --git a/filebrowser/logo.png b/filebrowser/logo.png new file mode 100644 index 0000000..4470a77 Binary files /dev/null and b/filebrowser/logo.png differ diff --git a/filebrowser/translations/en.yaml b/filebrowser/translations/en.yaml new file mode 100644 index 0000000..51f0423 --- /dev/null +++ b/filebrowser/translations/en.yaml @@ -0,0 +1,39 @@ +--- +configuration: + NoAuth: + name: NoAuth + description: >- + Remove password. Resets database when changed. + base_folder: + name: base_folder + description: >- + optional, default is / + certfile: + name: certfile + description: ssl certificate + cifsdomain: + name: cifsdomain + cifspassword: + name: cifspassword + description: optional, smb password, same for all smb shares + cifsusername: + name: cifsusername + description: optional, smb username, same for all smb shares + keyfile: + name: keyfile + description: >- + sslkeyfile + localdisks: + name: localdisks + description: >- + put the hardware name of your drive to mount separated by commas, or its label. ex. sda1, sdb1, MYNAS... + networkdisks: + name: networkdisks + description: >- + optional, list of smbv2/3 servers to mount, separated by commas + disable_thumbnails: + name: disable_thumbnails + description: >- + true/false (set disable_thumbnails to true or false ; default true for speed) + ssl: + name: ssl \ No newline at end of file diff --git a/filebrowser/translations/zh-Hans.yaml b/filebrowser/translations/zh-Hans.yaml new file mode 100644 index 0000000..bcfccab --- /dev/null +++ b/filebrowser/translations/zh-Hans.yaml @@ -0,0 +1,39 @@ +--- +configuration: + NoAuth: + name: 鏃犺璇佽繍琛屾ā寮 + description: >- + 鍒犻櫎瀵嗙爜锛屾洿鏀规椂閲嶇疆鏁版嵁搴撱 + base_folder: + name: 鍒濆鏂囦欢澶 + description: >- + 鍙夐」锛岄粯璁ゅ / + certfile: + name: 璇佷功鏂囦欢 + description: ssl璇佷功鏂囦欢 + cifsdomain: + name: cifs鍩 + cifspassword: + name: cifs瀵嗙爜 + description: 鍙夐」锛宻mb瀵嗙爜锛屼笌smb shares瀵嗙爜鐩稿悓 + cifsusername: + name: cifs鐢ㄦ埛鍚 + description: 鍙夐」锛宻mb鐢ㄦ埛鍚嶏紝涓巗mb shares鐢ㄦ埛鍚嶇浉鍚 + keyfile: + name: 瀵嗛挜 + description: >- + ssl瀵嗛挜 + localdisks: + name: 鏈湴纾佺洏 + description: >- + 鐢ㄩ楀彿鍒嗛殧瑕佹寕杞界殑椹卞姩鍣ㄧ殑纭欢鍚嶇О鎴栧叾鏍囩銆備緥濡俿da1, sdb1, MYNAS鈥 + networkdisks: + name: 缃戠粶纾佺洏 + description: >- + 鍙夛紝瑕佹寕杞界殑smbv2/3鏈嶅姟鍣ㄥ垪琛紝浠ラ楀彿鍒嗛殧 + disable_thumbnails: + name: 绂佺敤缂╃暐鍥 + description: >- + True /false(璁剧疆绂佺敤缂╃暐鍥句负True鎴杅alse;閫熷害榛樿涓簍rue) + ssl: + name: ssl \ No newline at end of file diff --git a/firefox/CHANGELOG.md b/firefox/CHANGELOG.md new file mode 100644 index 0000000..d16819f --- /dev/null +++ b/firefox/CHANGELOG.md @@ -0,0 +1,15 @@ +### 25.02.2 (2025-03-03) + +- 鐗堟湰鍗囩骇 + +### 24.12.1 (2025-01-15) + +- 鐗堟湰鍗囩骇 + +### 24.11.1 锛2024-11-26锛 + +- 鐗堟湰鍗囩骇 + +### 24.10.1 锛2024-11-01锛 + +- 棣栨鎺ㄥ嚭 diff --git a/firefox/DOCS.md b/firefox/DOCS.md new file mode 100644 index 0000000..ad8b6a4 --- /dev/null +++ b/firefox/DOCS.md @@ -0,0 +1,26 @@ +# Firefox + +## 浣跨敤鏂规硶 + +- 鍙渶瀹夎銆佸惎鍔ㄥ鍣ㄥ苟鐐瑰嚮鈥滄墦寮 Web UI鈥濄 + +- 鎮ㄥ彲浠ヤ娇鐢ㄢ滄樉绀哄湪渚ц竟鏍忊濅互渚夸簬璁块棶銆 + +- 鎮ㄥ湪 Firefox 涓墍鍋氱殑涓鍒囬兘浼氭寔涔呬繚瀛樸 + +- 鍗充娇鎮ㄥ仠姝㈡彃浠舵垨閲嶅惎 Home Assistant 涓绘満鎿嶄綔绯荤粺銆 + +## 涓嬭浇 + +- 搴旂敤鍐/share/firefox +- 榛樿鐨勪笅杞藉湴鍧鍦╤ost涓绘満鐨/mnt/data/supervisor/share/firefox 涓 + +## 涓婁紶 + +- 濡傛灉鎮ㄩ渶瑕侀氳繃 Firefox 鎻掍欢涓婁紶鏂囦欢锛屾偍鍙互浣跨敤鏂囦欢缂栬緫鍣ㄦ彃浠跺皢鏂囦欢涓婁紶鍒版偍鐨 /mnt/data/supervisor/share/firefox 鏂囦欢澶广 + +- 鏂囦欢灏嗗湪鎻掍欢鐨 downloads 鏂囦欢澶逛腑鍙敤銆傚綋鎮ㄩ夋嫨鏂囦欢涓婁紶鏃讹紝鍙互娴忚鍒拌繖涓綅缃 + +## 瀵煎叆涔︾ + +- 鎮ㄥ彲浠ラ氳繃灏 bookmarks.html 鏂囦欢鎷栨斁鍒版偍鐨 /mnt/data/supervisor/share/firefox 鏂囦欢澶逛腑锛屽苟鍦 Firefox 涓鍏 bookmarks.html 鏂囦欢鏉ュ鍏ヤ功绛俱 diff --git a/firefox/README.md b/firefox/README.md new file mode 100644 index 0000000..0a03fd1 --- /dev/null +++ b/firefox/README.md @@ -0,0 +1,13 @@ +# 鍐摐鐢勯堿ddons: Firefox + +## 鍏充簬 + +Mozilla Firefox 鏄敱 Mozilla 鍩洪噾浼氬強鍏跺瓙鍏徃 Mozilla 鍏徃寮鍙戠殑鍏嶈垂寮婧愮綉缁滄祻瑙堝櫒銆 + +## 婧 + +[https://github.com/Mincka/ha-addons](https://github.com/Mincka/ha-addons) + +[https://github.com/jlesage/docker-firefox](https://github.com/jlesage/docker-firefox) + +[https://hub.docker.com/r/jlesage/firefox/tags](https://hub.docker.com/r/jlesage/firefox/tags) diff --git a/firefox/config.yaml b/firefox/config.yaml new file mode 100644 index 0000000..466bdbb --- /dev/null +++ b/firefox/config.yaml @@ -0,0 +1,75 @@ +name: "Firefox" +version: "25.02.2" +slug: "firefox" +panel_icon: "mdi:firefox" +description: "鐏嫄娴忚鍣ㄧ殑Docker瀹瑰櫒" +url: "https://github.com/mincka/ha-addons/tree/main/firefox" +arch: + - aarch64 + - amd64 +init: false +apparmor: false +panel_admin: false +map: + - share:rw +ingress: true +ingress_port: 5800 +ports: + 5800/tcp: null + 5900/tcp: null + 9222/tcp: null +environment: + # Required to write to /data + USER_ID: "0" + KEEP_APP_RUNNING: "1" +# Sound support (forward audio to your host), not tested +devices: + - /dev/snd +# Map a working PulseAudio setup into the container +audio: true +image: r.hassbus.com/wghaos/firefox +# To pass options as environment variables (thanks to legacy mode), they must be either "int" or "str" ("str?" will be ignored). +legacy: true +boot: manual +options: + VNC_PASSWORD: "" + ENABLE_CJK_FONT: "1" + FF_OPEN_URL: "" + FF_KIOSK: "0" + LANG: "zh_CN.UTF-8" + TZ: "Asia/shanghai" + INSTALL_PACKAGES: "" + PACKAGES_MIRROR: "" + CONTAINER_DEBUG: "0" + DISPLAY_WIDTH: "1920" + DISPLAY_HEIGHT: "1080" + DARK_MODE: "0" + SECURE_CONNECTION: "0" + SECURE_CONNECTION_VNC_METHOD: "SSL" + SECURE_CONNECTION_CERTS_CHECK_INTERVAL: "60" + WEB_AUDIO: "0" + WEB_AUTHENTICATION: "0" + WEB_AUTHENTICATION_USERNAME: "" + WEB_AUTHENTICATION_PASSWORD: "0" + FF_CUSTOM_ARGS: "" +schema: + VNC_PASSWORD: str + ENABLE_CJK_FONT: str + FF_OPEN_URL: str + FF_KIOSK: str + LANG: str + TZ: str + INSTALL_PACKAGES: str + PACKAGES_MIRROR: str + CONTAINER_DEBUG: str + DISPLAY_WIDTH: str + DISPLAY_HEIGHT: str + DARK_MODE: str + SECURE_CONNECTION: str + SECURE_CONNECTION_VNC_METHOD: str + SECURE_CONNECTION_CERTS_CHECK_INTERVAL: str + WEB_AUDIO: str + WEB_AUTHENTICATION: str + WEB_AUTHENTICATION_USERNAME: str + WEB_AUTHENTICATION_PASSWORD: str + FF_CUSTOM_ARGS: str diff --git a/firefox/icon.png b/firefox/icon.png new file mode 100644 index 0000000..87f014f Binary files /dev/null and b/firefox/icon.png differ diff --git a/firefox/logo.png b/firefox/logo.png new file mode 100644 index 0000000..87f014f Binary files /dev/null and b/firefox/logo.png differ diff --git a/firefox/translations/en.yaml b/firefox/translations/en.yaml new file mode 100644 index 0000000..1e431a6 --- /dev/null +++ b/firefox/translations/en.yaml @@ -0,0 +1,65 @@ +configuration: + VNC_PASSWORD: + name: VNC Password + description: Password needed to connect to the application's GUI. If you set a value, the only way to remove it will be to reinstall the add-on. Password is limited to 8 characters because due to a limitation of the Remote Framebuffer Protocol RFC (see section 7.2.2). + ENABLE_CJK_FONT: + name: Enable CJK font + description: When set to 1, open-source computer font WenQuanYi Zen Hei is installed. This font contains a large range of Chinese/Japanese/Korean characters. + FF_OPEN_URL: + name: Firefox Open URL + description: The URL to open when Firefox starts. If you set a value, the only way to remove it will be to reinstall the add-on. + FF_KIOSK: + name: Firefox Kiosk Mode + description: When set to 1, kiosk mode is enabled. This mode launches Firefox in a very restricted and limited mode best suitable for public areas or customer-facing displays. + LANG: + name: Locale + description: Set the locale, which defines the application's language, if supported. Format of the locale is language[_territory][.codeset], where language is an ISO 639 language code, territory is an ISO 3166 country code and codeset is a character set, like UTF-8. For example, Australian English using the UTF-8 encoding is en_AU.UTF-8. + TZ: + name: Timezone + description: TimeZone used by the container. Timezone can also be set by mapping /etc/localtime between the host and the container. + INSTALL_PACKAGES: + name: Install Packages + description: Space-separated list of packages to install during the startup of the container. List of available packages can be found at https://mirrors.alpinelinux.org. ATTENTION - Container functionality can be affected when installing a package that overrides existing container files (e.g. binaries). + PACKAGES_MIRROR: + name: Packages Mirror + description: Mirror of the repository to use when installing packages. List of mirrors is available at https://mirrors.alpinelinux.org. + CONTAINER_DEBUG: + name: Container Debug + description: When set to 1, debug logging is enabled. + DISPLAY_WIDTH: + name: Display Width + description: Width (in pixels) of the application's window. + DISPLAY_HEIGHT: + name: Display Height + description: Height (in pixels) of the application's window. + DARK_MODE: + name: Firefox Dark Mode + description: When set to 1, dark mode is enabled for the application. + SECURE_CONNECTION: + name: Secure Connection + description: When set to 1, an encrypted connection is used to access the application's GUI (either via a web browser or VNC client). This may not be compatible with HA Ingress (even in HTTPS). Note that few VNC clients support this method. SSVNC is one of them. See the Security section of https://github.com/jlesage/docker-firefox for more details. + SECURE_CONNECTION_VNC_METHOD: + name: Secure Connection VNC Method + description: Method used to perform the secure VNC connection. Possible values are SSL or TLS. See the Security section of https://github.com/jlesage/docker-firefox for more details. + SECURE_CONNECTION_CERTS_CHECK_INTERVAL: + name: Secure Connection Certificate Check Interval + description: Interval, in seconds, at which the system verifies if web or VNC certificates have changed. When a change is detected, the affected services are automatically restarted. A value of 0 disables the check. + FF_CUSTOM_ARGS: + name: Firefox Custom Arguments + description: Custom argument(s) to pass when launching Firefox. + WEB_AUDIO: + name: Web Audio + description: When set to 1, audio support is enabled, meaning that any audio produced by the application is played through the browser. Don't forget to also enable audio in the VNC docked console. Note that audio is not supported for VNC clients, nor HA Ingress. Please tell me if you find a way to make it work through HA ingress. + WEB_AUTHENTICATION: + name: Web Authentication + description: When set to 1, the application' GUI is protected via a login page when accessed via a web browser. Access is allowed only when providing valid credentials. This feature requires secure connection (SECURE_CONNECTION environment variable) to be enabled. This may not be compatible with HA ingress (even in HTTPS). + WEB_AUTHENTICATION_USERNAME: + name: Web Authentication Username + description: Optional username to configure for the web authentication. This is a quick and easy way to configure credentials for a single user. + WEB_AUTHENTICATION_PASSWORD: + name: Web Authentication Password + description: Optional password to configure for the web authentication. This is a quick and easy way to configure credentials for a single user. +network: + 5800/tcp: Firefox via Web (Not required for Ingress) + 5900/tcp: Firefox via VNC (Not required for Ingress) + 9222/tcp: Firefox Remote Debugging Port (Not required for Ingress) \ No newline at end of file diff --git a/firefox/translations/zh-Hans.yaml b/firefox/translations/zh-Hans.yaml new file mode 100644 index 0000000..0bcaed5 --- /dev/null +++ b/firefox/translations/zh-Hans.yaml @@ -0,0 +1,65 @@ +configuration: + VNC_PASSWORD: + name: VNC 瀵嗙爜 + description: 杩炴帴鍒板簲鐢ㄧ▼搴忓浘褰㈢敤鎴风晫闈㈡墍闇鐨勫瘑鐮併傚鏋滄偍璁剧疆浜嗗硷紝绉婚櫎瀹冪殑鍞竴鏂瑰紡灏嗘槸閲嶆柊瀹夎鎻掍欢銆傜敱浜庤繙绋嬪抚缂撳啿鍗忚RFC鐨勯檺鍒讹紙鍙傝绗7.2.2鑺傦級锛屽瘑鐮侀檺鍒朵负8涓瓧绗︺ + ENABLE_CJK_FONT: + name: 鍚敤涓枃鏃ラ煩瀛椾綋 + description: 璁剧疆涓1鏃讹紝灏嗗畨瑁呭紑婧愯绠楁満瀛椾綋鏂囨硥椹挎榛戙傝瀛椾綋鍖呭惈澶ч噺鐨勪腑鏂/鏃ユ枃/闊╂枃瀛楃銆 + FF_OPEN_URL: + name: Firefox 鎵撳紑 URL + description: Firefox鍚姩鏃舵墦寮鐨刄RL銆傚鏋滄偍璁剧疆浜嗗硷紝绉婚櫎瀹冪殑鍞竴鏂瑰紡灏嗘槸閲嶆柊瀹夎鎻掍欢銆 + FF_KIOSK: + name: Firefox iosk妯″紡 + description: 璁剧疆涓1鏃讹紝鍚敤iosk妯″紡銆傛妯″紡浠ラ潪甯稿彈闄愬拰鏈夐檺鐨勬ā寮忓惎鍔‵irefox锛屾渶閫傚悎鍏叡鍖哄煙鎴栭潰鍚戝鎴风殑灞曠ず銆 + LANG: + name: 鍦板尯璁剧疆 + description: 璁剧疆鍦板尯锛屽畾涔夊簲鐢ㄧ▼搴忕殑璇█锛堝鏋滄敮鎸侊級銆傚湴鍖虹殑鏍煎紡鏄痩anguage[_territory][.codeset]锛屽叾涓璴anguage鏄疘SO 639璇█浠g爜锛宼erritory鏄疘SO 3166鍥藉浠g爜锛宑odeset鏄瓧绗﹂泦锛屽UTF-8銆備緥濡傦紝浣跨敤UTF-8缂栫爜鐨勬境澶у埄浜氳嫳璇槸en_AU.UTF-8銆 + TZ: + name: 鏃跺尯 + description: 瀹瑰櫒浣跨敤鐨勬椂鍖恒備篃鍙互閫氳繃鍦ㄤ富鏈哄拰瀹瑰櫒涔嬮棿鏄犲皠/etc/localtime鏉ヨ缃椂鍖恒 + INSTALL_PACKAGES: + name: 瀹夎杞欢鍖 + description: 鍦ㄥ鍣ㄥ惎鍔ㄦ湡闂村畨瑁呯殑杞欢鍖呭垪琛紝绌烘牸鍒嗛殧銆傚彲鐢ㄨ蒋浠跺寘鍒楄〃鍙湪 https://mirrors.alpinelinux.org 鏌ョ湅銆傛敞鎰 - 瀹夎瑕嗙洊鐜版湁瀹瑰櫒鏂囦欢鐨勮蒋浠跺寘鍙兘浼氬奖鍝嶅鍣ㄥ姛鑳斤紙渚嬪浜岃繘鍒舵枃浠讹級銆 + PACKAGES_MIRROR: + name: 杞欢鍖呴暅鍍 + description: 瀹夎杞欢鍖呮椂浣跨敤鐨勪粨搴撻暅鍍忋傞暅鍍忓垪琛ㄥ彲鍦 https://mirrors.alpinelinux.org 鏌ョ湅銆 + CONTAINER_DEBUG: + name: 瀹瑰櫒璋冭瘯 + description: 璁剧疆涓1鏃讹紝鍚敤璋冭瘯鏃ュ織銆 + DISPLAY_WIDTH: + name: 鏄剧ず瀹藉害 + description: 搴旂敤绋嬪簭绐楀彛鐨勫搴︼紙鍍忕礌鍊硷級銆 + DISPLAY_HEIGHT: + name: 鏄剧ず楂樺害 + description: 搴旂敤绋嬪簭绐楀彛鐨勯珮搴︼紙鍍忕礌鍊硷級銆 + DARK_MODE: + name: Firefox 鏆楄壊妯″紡 + description: 璁剧疆涓1鏃讹紝鍚敤搴旂敤绋嬪簭鐨勬殫鑹叉ā寮忋 + SECURE_CONNECTION: + name: 瀹夊叏杩炴帴 + description: 璁剧疆涓1鏃讹紝浣跨敤鍔犲瘑杩炴帴璁块棶搴旂敤绋嬪簭鐨凣UI锛堥氳繃Web娴忚鍣ㄦ垨VNC瀹㈡埛绔級銆傝繖鍙兘涓嶩A Ingress锛堝嵆浣挎槸HTTPS锛変笉鍏煎銆傝娉ㄦ剰锛屽緢灏戞湁VNC瀹㈡埛绔敮鎸佽繖绉嶆柟娉曘係SVNC鏄叾涓箣涓銆傛洿澶氱粏鑺傝鍙傞槄 https://github.com/jlesage/docker-firefox 鐨勫畨鍏ㄩ儴鍒嗐 + SECURE_CONNECTION_VNC_METHOD: + name: 瀹夊叏杩炴帴VNC鏂规硶 + description: 鎵ц瀹夊叏VNC杩炴帴鐨勬柟娉曘傚彲鑳界殑鍊兼槸SSL鎴朤LS銆傛洿澶氱粏鑺傝鍙傞槄 https://github.com/jlesage/docker-firefox 鐨勫畨鍏ㄩ儴鍒嗐 + SECURE_CONNECTION_CERTS_CHECK_INTERVAL: + name: 瀹夊叏杩炴帴璇佷功妫鏌ラ棿闅 + description: 绯荤粺妫鏌eb鎴朧NC璇佷功鏄惁鏇存敼鐨勯棿闅旓紙绉掞級銆傚綋妫娴嬪埌鏇存敼鏃讹紝鍙楀奖鍝嶇殑鏈嶅姟灏嗚嚜鍔ㄩ噸鍚傚间负0鏃剁鐢ㄦ鏌ャ + FF_CUSTOM_ARGS: + name: Firefox鑷畾涔夊弬鏁 + description: 鍚姩Firefox鏃朵紶閫掔殑鑷畾涔夊弬鏁般 + WEB_AUDIO: + name: Web闊抽 + description: 璁剧疆涓1鏃讹紝鍚敤闊抽鏀寔锛岃繖鎰忓懗鐫搴旂敤绋嬪簭浜х敓鐨勪换浣曢煶棰戦兘閫氳繃娴忚鍣ㄦ挱鏀俱備笉瑕佸繕璁板湪VNC鍋滈潬鐨勬帶鍒跺彴涓惎鐢ㄩ煶棰戙傝娉ㄦ剰锛孷NC瀹㈡埛绔拰HA Ingress涓嶆敮鎸侀煶棰戙傚鏋滄偍鎵惧埌浜嗛氳繃HA ingress浣垮叾宸ヤ綔鐨勬柟娉曪紝璇峰憡璇夋垜銆 + WEB_AUTHENTICATION: + name: Web璁よ瘉 + description: 璁剧疆涓1鏃讹紝搴旂敤绋嬪簭鐨凣UI鍦ㄩ氳繃Web娴忚鍣ㄨ闂椂鍙楀埌鐧诲綍椤甸潰鐨勪繚鎶ゃ傚彧鏈夊湪鎻愪緵鏈夋晥鍑瘉鏃舵墠鍏佽璁块棶銆傛鍔熻兘闇瑕佸惎鐢ㄥ畨鍏ㄨ繛鎺ワ紙SECURE_CONNECTION鐜鍙橀噺锛夈傝繖鍙兘涓嶩A ingress锛堝嵆浣挎槸HTTPS锛変笉鍏煎銆 + WEB_AUTHENTICATION_USERNAME: + name: Web璁よ瘉鐢ㄦ埛鍚 + description: 涓篧eb璁よ瘉閰嶇疆鐨勫彲閫夌敤鎴峰悕銆傝繖鏄负鍗曚釜鐢ㄦ埛閰嶇疆鍑瘉鐨勫揩閫熺畝渚挎柟寮忋 + WEB_AUTHENTICATION_PASSWORD: + name: Web璁よ瘉瀵嗙爜 + description: 涓篧eb璁よ瘉閰嶇疆鐨勫彲閫夊瘑鐮併傝繖鏄负鍗曚釜鐢ㄦ埛閰嶇疆鍑瘉鐨勫揩閫熺畝渚挎柟寮忋 +network: + 5800/tcp: 閫氳繃Web璁块棶Firefox锛圛ngress涓嶉渶瑕侊級 + 5900/tcp: 閫氳繃VNC璁块棶Firefox锛圛ngress涓嶉渶瑕侊級 + 9222/tcp: Firefox杩滅▼璋冭瘯绔彛锛圛ngress涓嶉渶瑕侊級 \ No newline at end of file diff --git a/frigate-rknn-old/CHANGELOG.md b/frigate-rknn-old/CHANGELOG.md new file mode 100644 index 0000000..7f1ac28 --- /dev/null +++ b/frigate-rknn-old/CHANGELOG.md @@ -0,0 +1,6 @@ +## rknn1.6-13.2-3 锛2024-05-13锛 +- 澧炲姞鑷姩鑾峰彇榛樿MQTT鐢ㄦ埛鍚嶅拰瀵嗙爜 +## rknn1.6-13.2-2-preview 锛2024-05-09锛 +- 澧炲姞鍐呯疆榛樿閰嶇疆 +## rknn1.6-13.2-preview 锛2024-04-28锛 +- 棣栨鎺ㄥ嚭 diff --git a/frigate-rknn-old/DOCS.md b/frigate-rknn-old/DOCS.md new file mode 100644 index 0000000..cde4aa6 --- /dev/null +++ b/frigate-rknn-old/DOCS.md @@ -0,0 +1,90 @@ +# Frigate-rknpu-old鐗 +閰嶇疆鍙傝冿細[https://docs.frigate.video/configuration/reference](https://docs.frigate.video/configuration/reference) + +## 浣跨敤鏂规硶: +- 鏂规硶涓锛氱洿鎺ュ惎鍔紝鍚姩瀹屾垚涔嬪悗锛岀偣鍑籤鎵撳紑webui`锛岀偣鍑籤config`锛岃繘琛岀紪杈戜箣鍚庯紝鐐瑰嚮`Save Only`锛岀劧鍚庡啀閲嶅惎鏈簲鐢 +- 鏂规硶浜岋細浣跨敤 Filebrowser 缂栬緫`homeassistant/frigate.yaml`锛岀劧鍚庡惎鍔ㄦ湰搴旂敤 +- 鏂规硶涓夛細杩涘叆 [ip]:7681 瀵艰埅鍒癭/mnt/data/supervisor/homeassistant/`锛屼娇鐢ㄥ懡浠よ宸ュ叿缂栬緫`frigate.yaml`锛岀劧鍚庡惎鍔ㄦ湰搴旂敤 + +`frigate.ayml`榛樿鍐呭 + +```yaml +mqtt: + enabled: false # 濡傛灉瑕佺敤璇蜂慨鏀规垚 true + host: core-mosquitto + port: 1883 + client_id: gzbdi3 + #topic_prefix: frigate + user: '' # 鏀规垚mqtt鐧诲綍璐﹀彿 + password: '' # 鏀规垚mqtt鐧诲綍瀵嗙爜 + +ffmpeg: + input_args: preset-rtsp-restream + hwaccel_args: preset-rk-h264 + output_args: + record: preset-record-generic-audio-aac + +cameras: + video: # 澶氳矾瑙嗛锛岃浠庢澶嶅埗 + ffmpeg: + inputs: + - path: '' # 濉啓浣犵殑rtsp瑙嗛娴佸湴鍧锛屾瘮濡傦細rtsp://username:password@192.168.1.100:554/Streaming/Channels/101 + input_args: preset-rtsp-restream + roles: + - detect + +detectors: + rk-detector: + type: rknn + +model: + width: 320 + height: 320 + input_tensor: nhwc + input_pixel_format: bgr + +detect: + width: 1280 + height: 720 + fps: 6 + enabled: True + +objects: + track: + - person + filters: + person: + min_score: 0.2 + +snapshots: + enabled: true + bounding_box: true + clean_copy: true + retain: + default: 15 + +record: + enabled: True + expire_interval: 60 + retain: + days: 0 + mode: active_objects + events: + pre_capture: 2 + post_capture: 3 + objects: + - person + required_zones: [ ] + retain: + default: 2 + mode: active_objects + objects: + person: 15 + +logger: + default: info + logs: + frigate.event: debug + frigate.mqtt: debug + detect: debug +``` diff --git a/frigate-rknn-old/README.md b/frigate-rknn-old/README.md new file mode 100644 index 0000000..e10ac81 --- /dev/null +++ b/frigate-rknn-old/README.md @@ -0,0 +1,32 @@ +# 鍐摐鐢勯塧ddons锛欶rigate-rknpu-old + +###### **姝ら」鐩渶楂樼増涓簉knn1.6-13.2-3锛屽埌姝や负姝紝涓嶄細鍐嶅崌绾** + +## 鍏充簬 +Frigate鏄竴娆惧疄鏃舵櫤鑳界墿浣撹瘑鍒簲鐢紝鎵鏈夊鐞嗗彲浠ュ湪鏈湴纭欢涓婃墽琛岋紝閫氳繃缃戠粶鎽勫儚澶存崟鎹夌殑鐢婚潰杩涜鐗╀綋璇嗗埆锛屽彲閫氳繃HA鐨勪簨浠舵満鍒讹紝瀹屾垚鍚勭瓒呰繃浜哄瓨鍦ㄤ紶鎰熷櫒鐨勫姛鑳姐 + +## 浠嬬粛 +1. 閫氳繃鏈湴瀵硅薄妫娴嬪彲浠ュ噺灏戣鎶 + 浼犵粺鐨凬VR渚濊禆浜庣畝鍗曠殑杩愬姩妫娴嬶紝闇瑕侀氳繃鏁板皬鏃剁殑寰皟璁剧疆闄嶄綆璇姤鐜囥傞氳繃Frigate鐗╀綋妫娴嬬畻娉曪紝鍗充娇鏄櫘閫氱殑纭欢涔熷彲浠ヨ繍琛岄珮绾у垎鏋愶紝浠ョ‘瀹氳繍鍔ㄦ槸鍚︾湡鐨勬槸浜恒佽溅鎴栧叾浠栨劅鍏磋叮鐨勭墿浣撱傞氳繃Frigate鐨勬湰鍦板鐞嗭紝鎮ㄥ氨涓嶉渶瑕佷娇鐢ㄦ妸鏈湴瑙嗛鎺ㄩ佸埌浠樿垂鐨勬櫤鑳借棰戣瘑鍒钩鍙颁簡銆 + +2. 閫氳繃璁剧疆缁嗗井鍖哄煙鍝嶅簲鏉ヨЕ鍙戜簨浠跺拰璀︽姤 + Frigate 閫氳繃瀹炴椂璺熻釜鐗╀綋锛屽彲浠ュ疄鐜颁竴涓汉浠庡紑濮嬭蛋涓婂墠闈㈢殑鍙伴樁鎴栨苯杞﹁繘鍏ユ寚瀹氳溅閬撶殑鍑嗙‘鏃堕棿銆傚疄鐜版牴鎹簿纭綅缃搷搴旀潵浼樺寲閫氱煡鐨勬秷鎭 + +3. 涓 Home Assistant 鍜屽叾浠栬嚜鍔ㄥ寲骞冲彴闆嗘垚 + 鍦ㄤ换浣曟敮鎸 MQTT 鐨勮澶囧疄浣撶殑骞冲彴锛圚ome Assistant銆丯odeRed绛夛級锛屽疄鐜版娴嬪璞″疄浣撱 Frigate 鐨勯厤濂桯ome Assistant闆嗘垚锛屾彁渚涗綆寤惰繜鎽勫儚澶村疄浣撱佸疄鏃朵紶鎰熷櫒鍜屽紑鍏筹紝杈惧埌瀹炵幇鑷姩鍖栧拰閫氱煡鍔熻兘銆 + +4. 涓烘憚鍍忓ご鎻愪緵鍔ㄦ佸疄鏃惰棰戞帹閫佹煡鐪嬪姛鑳 + 閫氳繃Birdseye瑙嗗浘鍔ㄦ佹覆鏌撹鎽勫儚澶村叿鏈夋椿鍔ㄦ娴嬭兘鍔涳紝璁╂偍鍙互杞绘澗鏌ョ湅鎰熷叴瓒g殑鎽勫儚澶淬備粠姝ゅ憡鍒湳鐫鐪肩潧鐪嬫暣鐗堢敱灏忔柟鏍肩粍鎴愮殑澶氳矾瑙嗛鐩戞帶鐢婚潰鐨勬椂浠c + +5. RK3566绯诲垪soc鍙互鍦720P杈呯爜娴佷笅锛屽疄鐜4璺棰戣瘑鍒紝浠庤屽疄鐜版渶浼樻垚鏈殑鏅鸿兘鎰熺煡鎽勫儚澶村姛鑳姐傦紙妯″瀷搴撳ぇ鏃讹紝鎺ㄨ崘1-2璺紝浼氳搴旂敤鏇村箍娉涳級 + +## 閲嶈璇存槑: + 姝ddon涓衡滃啲鐡渉aos鈥濈殑rk3566绯诲垪AI鍥轰欢鐨勪笓鐢ㄧ増锛岃兘鍏呭垎鍙戞尌rknn鐨勬ц兘锛屽湪2024骞4鏈28鏃ュ墠鐨剅k3566绯诲垪鏈哄瀷锛岄兘涓轰笉甯PU鍔犻熺殑锛屾兂浣跨敤rknn鍔熻兘锛岃纭濂戒富鏈哄拰鍥轰欢锛屽惁鍒欐棤娉曚娇鐢紒锛侊紒 + +## 鏀寔鎺㈡祴鍣細 +- cpu +- rknn +- openvino +- 鍏朵粬瀹樻柟鏀寔鐨勭‖浠剁浉鍏虫帰娴嬪櫒锛堟湭娴嬭瘯锛 + + diff --git a/frigate-rknn-old/apparmor.txt b/frigate-rknn-old/apparmor.txt new file mode 100644 index 0000000..76e6d59 --- /dev/null +++ b/frigate-rknn-old/apparmor.txt @@ -0,0 +1,77 @@ +#include + +profile frigate-rknpu-old flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + signal, + mount, + umount, + remount, + network udp, + network tcp, + network dgram, + network stream, + network inet, + network inet6, + network netlink raw, + network unix dgram, + network, + + signal (send) set=(kill,term,int,hup,cont), + + capability net_admin, + capability net_bind_service, + capability dac_read_search, + capability dac_override, + capability chown, + + + capability setgid, + capability setuid, + capability sys_admin, + capability dac_read_search, + # capability dac_override, + # capability sys_rawio, + + # S6-Overlay + /init ix, + /run/{s6,s6-rc*,service}/** ix, + /package/** ix, + /command/** ix, + /run/{,**} rwk, + /dev/tty rw, + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /dev/i2c-1 mrwkl, + # Files required + /dev/fuse mrwkl, + /dev/sda1 mrwkl, + /dev/sdb1 mrwkl, + /dev/nvme0 mrwkl, + /dev/nvme1 mrwkl, + /dev/mmcblk0p1 mrwkl, + /dev/* mrwkl, + /tmp/** mrkwl, + /dev/shm/** rwix, + + # Data access + /data/** rw, + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} diff --git a/frigate-rknn-old/config.yaml b/frigate-rknn-old/config.yaml new file mode 100644 index 0000000..41810b7 --- /dev/null +++ b/frigate-rknn-old/config.yaml @@ -0,0 +1,66 @@ +name: frigate-rknpu-old +version: rknn1.6-13.2-3 +slug: "frigate-rknpu-old" +codenotary: "wghaos@163.com" +description: NVR with realtime local object detection for IP cameras +url: "https://gitcode.com/waxgourd/addons" +image: r.hassbus.com/wghaos/frigate +init: false +startup: application +boot: manual +arch: + - aarch64 +map: + - "media:rw" + - "config:rw" +webui: "http://[HOST]:[PORT:5000]/" +watchdog: "http://[HOST]:[PORT:5000]/" +ingress: true +ingress_port: 5000 +ingress_entry: / +panel_icon: "mdi:cctv" +panel_title: Frigate +panel_admin: false +homeassistant_api: true +hassio_api: true +hassio_role: manager +ports: + 8555/tcp: 8555 + 8555/udp: 8555 + 8554/tcp: null + 5000/tcp: null + 1984/tcp: null + 1935/tcp: null +ports_description: + 8555/tcp: WebRTC over tcp + 8555/udp: WebRTC over udp + 8554/tcp: RTSP Restream + 5000/tcp: Web interface (Not required for Hass.io Ingress) + 1984/tcp: go2rtc API + 1935/tcp: RTMP streams +host_network: false +video: true +tmpfs: true +host_ipc: true +apparmor: true +full_access: true +privileged: + - BPF + - DAC_READ_SEARCH + - IPC_LOCK + - NET_ADMIN + - NET_RAW + - PERFMON + - SYS_ADMIN + - SYS_MODULE + - SYS_NICE + - SYS_PTRACE + - SYS_RAWIO + - SYS_RESOURCE + - SYS_TIME +environment: + CONFIG_FILE: /config/frigate.yaml +schema: + plus_api_key: password? +services: + - "mqtt:want" diff --git a/frigate-rknn-old/icon.png b/frigate-rknn-old/icon.png new file mode 100644 index 0000000..405411a Binary files /dev/null and b/frigate-rknn-old/icon.png differ diff --git a/frigate-rknn-old/logo.png b/frigate-rknn-old/logo.png new file mode 100644 index 0000000..405411a Binary files /dev/null and b/frigate-rknn-old/logo.png differ diff --git a/frigate/CHANGELOG.md b/frigate/CHANGELOG.md new file mode 100644 index 0000000..8976735 --- /dev/null +++ b/frigate/CHANGELOG.md @@ -0,0 +1,9 @@ +## 0.16.2-rk 锛2025-10-16锛 +- **姝ょ増鏈畼鏂归厤缃湁鍙樺姩锛屽缓璁厛澶囦唤閰嶇疆涔嬪悗鍐嶅崌绾** +- **濯掍綋鏂囦欢/media/frigate璇疯嚜琛屽浠斤紝涓鏃﹀崌绾у埌姝ょ増鏈紝recordings鍐呯殑濯掍綋鏂囦欢灏嗕笉澶嶅瓨鍦ㄣ** +## rknn1.6-13.2-3 锛2024-05-13锛 +- 澧炲姞鑷姩鑾峰彇榛樿MQTT鐢ㄦ埛鍚嶅拰瀵嗙爜 +## rknn1.6-13.2-2-preview 锛2024-05-09锛 +- 澧炲姞鍐呯疆榛樿閰嶇疆 +## rknn1.6-13.2-preview 锛2024-04-28锛 +- 棣栨鎺ㄥ嚭 diff --git a/frigate/DOCS.md b/frigate/DOCS.md new file mode 100644 index 0000000..a8c660d --- /dev/null +++ b/frigate/DOCS.md @@ -0,0 +1,51 @@ +# Frigate-rknpu鐗 + +## 鍑嗗宸ヤ綔 + +1銆佺‘淇濈郴缁熶负鍚敤RKNN鍔熻兘鐨勫啲鐡滅増HAOS 12.3鎴栦互涓婄増鏈 + +鈥 鍖呭惈鏈哄瀷锛 + +- Green锛堟敮鎸丷KNN鍔熻兘鐨勭‖浠朵唬鍙蜂负ngreen锛 +- panther-x2(浠12.3寮濮嬩负榛樿寮鍚疪KNN锛岀洿鎺ュ崌绾у嵆鍙) +- X88pro20锛堜粠OS12.3寮濮嬶紝榛樿寮鍚疪KNN锛岀‖浠朵唬鍙穢88pro20锛 + +2銆佺洰鍓嶄粎鏀寔鐟炶姱寰甊K3566鍙婁互涓奀PU锛堟敮鎸丷KNN鍔熻兘鐨勶級銆 + + 娉細姝ょ増鏈彧娴嬭繃鍐摐HAOS涓嬩娇鐢紝鍏跺畠鏈祴璇曡繃銆 + +3銆佺‘璁ゆ憚鍍忓ご鏀寔rtsp銆 + + + +## 浣跨敤鏂规硶 + +1銆佽繘鍏ュ啲鐡滅増HAOS > 閰嶇疆 > 鍔犺浇椤 > 鍔犺浇椤瑰晢搴 > Add-ons by waxgourd锛屽畨瑁**frigate-rknpu**锛堝閲忚緝澶э紝璇疯愬績绛夊緟锛夈 + +2銆**frigate-rknpu**鐨勪俊鎭〉闈腑鍏抽棴**淇濇姢妯″紡**骞**鍚姩**銆 + +3銆佹甯稿惎鍔ㄥ垯鍙互鍦**淇℃伅**椤甸潰涓**鎵撳紑 WEB UI**銆 + +4銆佽繘鍏**FRIGATE**鍐呮壘鍒**CONFIG**锛屾寜鐓ф敞閲婃洿鏀逛俊鎭 + +a銆佸鏋滀笉闇瑕佸紑鍚痐mqtt`鍒欎笉闇瑕佹洿鏀硅閰嶇疆銆傚瀹夎鐨勬槸**mosquitto**锛屽彧闇瑕佸皢`enabled`鏀逛负`true`锛屽~鍐檓osquitto璁剧疆鐨勭敤鎴峰悕鍜屽瘑鐮佸嵆鍙 + +b銆佹壘鍒癭cameras`涓嬬殑`path`閰嶇疆椤癸紝灏嗗悗闈㈢殑鍦板潃鏀逛负浣犳憚鍍忓ご鐨勫湴鍧銆傚鎽勫儚娣诲姞鏍煎紡鎸夌収鎻愮ず杩涜閰嶇疆锛屽缓璁笉瑕佽秴杩囧洓涓傚お澶氫細褰卞搷HA鐨勬ц兘銆 + +鈥 鏍煎紡锛歳tsp://{璐﹀彿}:{瀵嗙爜}@{IP鍦板潃}:554/Streaming/Channels/{閫氶亾鍙穧 + +鈥 渚嬪锛歳tsp://rtsp:123456@192.168.68.148:554/Streaming/Channels/101 + +5銆佺紪杈戝畬鎴愬悗鐐瑰嚮**SAVE & RESTART**淇濆瓨骞堕噸鍚傛敞锛氫粬鑷繁涓嶈兘閲嶅惎锛屽彧鑳借繘鍏ラ〉闈㈠啀娆$偣鍑**鍚姩**銆傚啀娆¤繘鍏ュ垯鍙互鐪嬪埌鍥惧儚浜嗐 + + + +## 鍏朵粬鎶宸 + +### 1銆佷汉浣撹瘑鍒瓨鍌ㄤ繚鐣欏懆鏈 + +a銆佸湪**Config**涓壘鍒**record** > **events** > **retain** > **objects** > **person**锛**person**鐨勫煎氨鏄Е鍙戞姤璀﹀悗鐨勫瓨鍌ㄥ懆鏈燂紝榛樿涓15澶┿ + + + +瑙i攣鏇村鐜╂硶璇锋煡鐪媅瀹樻柟缃戠珯](https://docs.frigate.video/) \ No newline at end of file diff --git a/frigate/README.md b/frigate/README.md new file mode 100644 index 0000000..a663c76 --- /dev/null +++ b/frigate/README.md @@ -0,0 +1,28 @@ +# 鍐摐鐢勯塧ddons锛欶rigate-rknpu + +## 鍏充簬 +Frigate鏄竴娆惧疄鏃舵櫤鑳界墿浣撹瘑鍒簲鐢紝鎵鏈夊鐞嗗彲浠ュ湪鏈湴纭欢涓婃墽琛岋紝閫氳繃缃戠粶鎽勫儚澶存崟鎹夌殑鐢婚潰杩涜鐗╀綋璇嗗埆锛屽彲閫氳繃HA鐨勪簨浠舵満鍒讹紝瀹屾垚鍚勭瓒呰繃浜哄瓨鍦ㄤ紶鎰熷櫒鐨勫姛鑳姐 + +## 浠嬬粛 +1. 閫氳繃鏈湴瀵硅薄妫娴嬪彲浠ュ噺灏戣鎶 + 浼犵粺鐨凬VR渚濊禆浜庣畝鍗曠殑杩愬姩妫娴嬶紝闇瑕侀氳繃鏁板皬鏃剁殑寰皟璁剧疆闄嶄綆璇姤鐜囥傞氳繃Frigate鐗╀綋妫娴嬬畻娉曪紝鍗充娇鏄櫘閫氱殑纭欢涔熷彲浠ヨ繍琛岄珮绾у垎鏋愶紝浠ョ‘瀹氳繍鍔ㄦ槸鍚︾湡鐨勬槸浜恒佽溅鎴栧叾浠栨劅鍏磋叮鐨勭墿浣撱傞氳繃Frigate鐨勬湰鍦板鐞嗭紝鎮ㄥ氨涓嶉渶瑕佷娇鐢ㄦ妸鏈湴瑙嗛鎺ㄩ佸埌浠樿垂鐨勬櫤鑳借棰戣瘑鍒钩鍙颁簡銆 + +2. 閫氳繃璁剧疆缁嗗井鍖哄煙鍝嶅簲鏉ヨЕ鍙戜簨浠跺拰璀︽姤 + Frigate 閫氳繃瀹炴椂璺熻釜鐗╀綋锛屽彲浠ュ疄鐜颁竴涓汉浠庡紑濮嬭蛋涓婂墠闈㈢殑鍙伴樁鎴栨苯杞﹁繘鍏ユ寚瀹氳溅閬撶殑鍑嗙‘鏃堕棿銆傚疄鐜版牴鎹簿纭綅缃搷搴旀潵浼樺寲閫氱煡鐨勬秷鎭 + +3. 涓 Home Assistant 鍜屽叾浠栬嚜鍔ㄥ寲骞冲彴闆嗘垚 + 鍦ㄤ换浣曟敮鎸 MQTT 鐨勮澶囧疄浣撶殑骞冲彴锛圚ome Assistant銆丯odeRed绛夛級锛屽疄鐜版娴嬪璞″疄浣撱 Frigate 鐨勯厤濂桯ome Assistant闆嗘垚锛屾彁渚涗綆寤惰繜鎽勫儚澶村疄浣撱佸疄鏃朵紶鎰熷櫒鍜屽紑鍏筹紝杈惧埌瀹炵幇鑷姩鍖栧拰閫氱煡鍔熻兘銆 + +4. 涓烘憚鍍忓ご鎻愪緵鍔ㄦ佸疄鏃惰棰戞帹閫佹煡鐪嬪姛鑳 + 閫氳繃Birdseye瑙嗗浘鍔ㄦ佹覆鏌撹鎽勫儚澶村叿鏈夋椿鍔ㄦ娴嬭兘鍔涳紝璁╂偍鍙互杞绘澗鏌ョ湅鎰熷叴瓒g殑鎽勫儚澶淬備粠姝ゅ憡鍒湳鐫鐪肩潧鐪嬫暣鐗堢敱灏忔柟鏍肩粍鎴愮殑澶氳矾瑙嗛鐩戞帶鐢婚潰鐨勬椂浠c + +5. RK3566绯诲垪soc鍙互鍦720P杈呯爜娴佷笅锛屽疄鐜4璺棰戣瘑鍒紝浠庤屽疄鐜版渶浼樻垚鏈殑鏅鸿兘鎰熺煡鎽勫儚澶村姛鑳姐傦紙妯″瀷搴撳ぇ鏃讹紝鎺ㄨ崘1-2璺紝浼氳搴旂敤鏇村箍娉涳級 + +## 閲嶈璇存槑: + 姝ddon涓衡滃啲鐡渉aos鈥濈殑rk3566绯诲垪AI鍥轰欢鐨勪笓鐢ㄧ増锛岃兘鍏呭垎鍙戞尌rknn鐨勬ц兘锛屽湪2024骞4鏈28鏃ュ墠鐨剅k3566绯诲垪鏈哄瀷锛岄兘涓轰笉甯PU鍔犻熺殑锛屾兂浣跨敤rknn鍔熻兘锛岃纭濂戒富鏈哄拰鍥轰欢锛屽惁鍒欐棤娉曚娇鐢紒锛侊紒 + +## 鏀寔鎺㈡祴鍣細 +- cpu +- rknn +- openvino +- 鍏朵粬瀹樻柟鏀寔鐨勭‖浠剁浉鍏虫帰娴嬪櫒锛堟湭娴嬭瘯锛 diff --git a/frigate/apparmor.txt b/frigate/apparmor.txt new file mode 100644 index 0000000..2b5ca71 --- /dev/null +++ b/frigate/apparmor.txt @@ -0,0 +1,77 @@ +#include + +profile frigate-rknpu flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + signal, + mount, + umount, + remount, + network udp, + network tcp, + network dgram, + network stream, + network inet, + network inet6, + network netlink raw, + network unix dgram, + network, + + signal (send) set=(kill,term,int,hup,cont), + + capability net_admin, + capability net_bind_service, + capability dac_read_search, + capability dac_override, + capability chown, + + + capability setgid, + capability setuid, + capability sys_admin, + capability dac_read_search, + # capability dac_override, + # capability sys_rawio, + + # S6-Overlay + /init ix, + /run/{s6,s6-rc*,service}/** ix, + /package/** ix, + /command/** ix, + /run/{,**} rwk, + /dev/tty rw, + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /dev/i2c-1 mrwkl, + # Files required + /dev/fuse mrwkl, + /dev/sda1 mrwkl, + /dev/sdb1 mrwkl, + /dev/nvme0 mrwkl, + /dev/nvme1 mrwkl, + /dev/mmcblk0p1 mrwkl, + /dev/* mrwkl, + /tmp/** mrkwl, + /dev/shm/** rwix, + + # Data access + /data/** rw, + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} diff --git a/frigate/config.yaml b/frigate/config.yaml new file mode 100644 index 0000000..1d60053 --- /dev/null +++ b/frigate/config.yaml @@ -0,0 +1,70 @@ +name: frigate-rknpu +version: 0.16.2-rk +slug: 'frigate-rknpu' +codenotary: 'wghaos@163.com' +description: NVR with realtime local object detection for IP cameras +url: "https://gitcode.com/waxgourd/addons" +image: r.hassbus.com/wghaos/frigate +init: false +startup: application +boot: manual +arch: + - aarch64 +map: + - "media:rw" + #- "config:rw" + - "addon_config:rw" + - "homeassistant_config:rw" +webui: "http://[HOST]:[PORT:5000]/" +watchdog: "http://[HOST]:[PORT:5000]/" +ingress: true +ingress_port: 5000 +ingress_entry: / +panel_icon: "mdi:cctv" +panel_title: Frigate +panel_admin: false +homeassistant_api: true +hassio_api: true +hassio_role: manager +ports: + 8555/tcp: 8555 + 8555/udp: 8555 + 8554/tcp: null + 8971/tcp: null + 5000/tcp: null + 1984/tcp: null + 1935/tcp: null +ports_description: + 8555/tcp: WebRTC over tcp + 8555/udp: WebRTC over udp + 8554/tcp: RTSP Restream + 8971/tcp: Authenticated Web interface + 5000/tcp: Web interface (Not required for Hass.io Ingress) + 1984/tcp: go2rtc API + 1935/tcp: RTMP streams +host_network: false +video: true +tmpfs: true +host_ipc: true +apparmor: true +full_access: true +privileged: + - BPF + - DAC_READ_SEARCH + - IPC_LOCK + - NET_ADMIN + - NET_RAW + - PERFMON + - SYS_ADMIN + - SYS_MODULE + - SYS_NICE + - SYS_PTRACE + - SYS_RAWIO + - SYS_RESOURCE + - SYS_TIME +environment: + CONFIG_FILE: /config/frigate.yaml +schema: + plus_api_key: password? +services: + - "mqtt:want" diff --git a/frigate/icon.png b/frigate/icon.png new file mode 100644 index 0000000..405411a Binary files /dev/null and b/frigate/icon.png differ diff --git a/frigate/logo.png b/frigate/logo.png new file mode 100644 index 0000000..405411a Binary files /dev/null and b/frigate/logo.png differ diff --git a/fusion/CHANGELOG.md b/fusion/CHANGELOG.md new file mode 100644 index 0000000..2c9d72f --- /dev/null +++ b/fusion/CHANGELOG.md @@ -0,0 +1,11 @@ +### 2024.10.1锛2024-10-14锛 + +-鐗堟湰鍗囩骇 + +### 2024.7.1锛2024-08-26锛 + +- 鐗堟湰鍗囩骇 + +### 2024.5.3锛2024-05-22锛 + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/fusion/DOCS.md b/fusion/DOCS.md new file mode 100644 index 0000000..97d5329 --- /dev/null +++ b/fusion/DOCS.md @@ -0,0 +1,12 @@ +# Fusion(浠〃鏉) + +## 浣跨敤鏂规硶 + +- 閰嶇疆椤逛腑鏈夐粯璁ょ殑绔彛锛堢偣鍑绘墦寮绂佺敤鐨勭鍙f梺鐨勬寜閽紝灏卞彲浠ヨ嚜琛屼慨鏀癸級. + +- 鍚姩鍔犺浇椤,骞舵鏌ュ姞杞介」鏃ュ織锛屾槸鍚﹀惎鍔ㄦ甯. + +- 鍚姩鍚庡彲鍦ㄤ俊鎭〉涓偣鍑"鎵撳紑 WEI UI". + +- 鍦ㄦ墦寮鐨勭晫闈㈣繘琛岃缃拰娣诲姞. + diff --git a/fusion/README.md b/fusion/README.md new file mode 100644 index 0000000..e3829f7 --- /dev/null +++ b/fusion/README.md @@ -0,0 +1,8 @@ +# 鍐摐鐢勯塧ddons锛欶usion(浠〃鏉) + +## 鍏充簬 +Fusion 鐜颁唬銆佹槗浜庝娇鐢ㄣ侀珮鎬ц兘鐨勮嚜瀹氫箟Home Assistant浠〃鏉 + +## 鏉ユ簮 + +https://github.com/matt8707/ha-fusion diff --git a/fusion/apparmor.txt b/fusion/apparmor.txt new file mode 100644 index 0000000..134d821 --- /dev/null +++ b/fusion/apparmor.txt @@ -0,0 +1,56 @@ +#include + +profile ha_fusion flags=(attach_disconnected,mediate_deleted) { + #include + + # Network for HA supervised, issue #5 + network, + deny network raw, + + # Capabilities + file, + signal (send) set=(kill,term,int,hup,cont), + + # S6-Overlay + /init ix, + /bin/** ix, + /usr/bin/** ix, + /run/{s6,s6-rc*,service}/** ix, + /package/** ix, + /command/** ix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /run/{,**} rwk, + /dev/tty rw, + + # Bashio + /usr/lib/bashio/** ix, + /tmp/** rwk, + + # Access to options.json and other files within your addon + /data/** rw, + + # Start new profile for service + /usr/bin/myprogram cx -> myprogram, + + profile myprogram flags=(attach_disconnected,mediate_deleted) { + #include + + # Receive signals from S6-Overlay + signal (receive) peer=*_fusion, + + # Access to options.json and other files within your addon + /data/** rw, + + # Access to mapped volumes specified in config.json + /share/** rw, + + # Access required for service functionality + /usr/bin/myprogram r, + /bin/bash rix, + /bin/echo ix, + /etc/passwd r, + /dev/tty rw, + } +} \ No newline at end of file diff --git a/fusion/config.yaml b/fusion/config.yaml new file mode 100644 index 0000000..93e909b --- /dev/null +++ b/fusion/config.yaml @@ -0,0 +1,19 @@ +name: Fusion(浠〃鏉) +version: 2024.10.1 +slug: ha_fusion +description: Fusion涓涓幇浠e寲銆佹槗浜庝娇鐢ㄤ笖鎬ц兘鍗撹秺鐨勮嚜瀹氫箟Home Assistant浠〃鏉 +arch: + - aarch64 + - amd64 +init: false +url: https://github.com/matt8707/addon-ha-fusion +panel_icon: mdi:atom +panel_admin: false +apparmor: true +ingress: true +ingress_stream: true +hassio_api: true +ports: + 8099/tcp: null +image: r.hassbus.com/matt8707/addon-ha-fusion-{arch} +boot: manual diff --git a/fusion/icon.png b/fusion/icon.png new file mode 100644 index 0000000..1778133 Binary files /dev/null and b/fusion/icon.png differ diff --git a/fusion/logo.png b/fusion/logo.png new file mode 100644 index 0000000..4664a7c Binary files /dev/null and b/fusion/logo.png differ diff --git a/get-hacs/CHANGELOG.md b/get-hacs/CHANGELOG.md new file mode 100644 index 0000000..db65437 --- /dev/null +++ b/get-hacs/CHANGELOG.md @@ -0,0 +1,28 @@ +# 1.3.1 + +- 棣栨鎺ㄥ嚭 + +# 1.3.0 + +- Dynamically get the version again + +# 1.2.1 + +- Create custom_components directory if it does not exist + +# 1.2.0 + +- Set dev version to 2.0.0 + +# 1.1.1 + +- Fix version format for development build + +# 1.1.0 + +- Added option to get development builds +- Change base images to `*-base-python:3.12-alpine3.20` + +# 1.0.0 + +Initial release diff --git a/get-hacs/DOCS.md b/get-hacs/DOCS.md new file mode 100644 index 0000000..0337a98 --- /dev/null +++ b/get-hacs/DOCS.md @@ -0,0 +1,9 @@ +# Get HACS + +## 浣跨敤鏂规硶 + +1. 浣跨敤涓婇潰鐨勫畨瑁呮寜閽瀯寤烘彃浠躲 + +1. 鍚姩鎻掍欢銆 + +1. 瀵艰埅鍒伴檮鍔犵粍浠舵棩蹇楀苟鎸夌収鍏朵腑缁欏嚭鐨勮鏄庤繘琛屾搷浣溿 diff --git a/get-hacs/README.md b/get-hacs/README.md new file mode 100644 index 0000000..7a7baff --- /dev/null +++ b/get-hacs/README.md @@ -0,0 +1,11 @@ +# 鍐摐鐢勯塧ddons锛欸et HACS + +## 鍏充簬 + +鑾峰彇瀹跺涵鍔╃悊HACS鐨勬渶绠鍗曟柟娉曘 + +> **姝ゆ彃浠朵笉杩愯HACS銆傛鎻掍欢浠呮彁渚涗笅杞紿ACS鐨勬渶绠鍗曟柟娉** + +## 婧 + +https://github.com/hacs/addons \ No newline at end of file diff --git a/get-hacs/config.yaml b/get-hacs/config.yaml new file mode 100644 index 0000000..d9e778a --- /dev/null +++ b/get-hacs/config.yaml @@ -0,0 +1,17 @@ +name: Get HACS +version: "1.3.1" +slug: get +description: 鑾峰彇瀹跺涵鍔╃悊HACS鐨勬渶绠鍗曟柟娉 +startup: once +boot: manual +url: "https://github.com/hacs/addons/tree/main/get" +image: r.hassbus.com/wghaos/addons-get-hacs +# image: ghcr.io/hacs/{arch}-addon-get +arch: + - aarch64 + - amd64 +init: false +schema: + channel: list(current|development)? +map: + - homeassistant_config:rw diff --git a/get-hacs/icon.png b/get-hacs/icon.png new file mode 100644 index 0000000..0ab93b5 Binary files /dev/null and b/get-hacs/icon.png differ diff --git a/get-hacs/logo.png b/get-hacs/logo.png new file mode 100644 index 0000000..0ab93b5 Binary files /dev/null and b/get-hacs/logo.png differ diff --git a/imaotai/CHANGELOG.md b/imaotai/CHANGELOG.md new file mode 100644 index 0000000..6714ad6 --- /dev/null +++ b/imaotai/CHANGELOG.md @@ -0,0 +1,6 @@ +### 1.0.13锛2024-04-22锛 +- 鐗堟湰鏇存柊 + +### 1.0.12锛2024-01-18锛 + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/imaotai/DOCS.md b/imaotai/DOCS.md new file mode 100644 index 0000000..aed9dd2 --- /dev/null +++ b/imaotai/DOCS.md @@ -0,0 +1,38 @@ +# imaotai + +## 閰嶇疆璇存槑 + +### 涓銆佸畨瑁呭強閰嶇疆 鏁版嵁搴 + +- 杩涘叆閰嶇疆 - 鍔犺浇椤瑰晢搴 鎵惧埌骞跺畨瑁 Official add-ons涓壘鍒癕ariaDB銆 + +- 瀹夎瀹屾垚鍚庣偣鍑婚厤缃紝鍦ㄩ夐」涓壘鍒扳淒atabases鈥濋夐」骞惰緭鍏モ渃ampus_imaotai鈥濄 + +- 鍦↙ogins閫夐」鍐呯殑鈥- password鈥濆杈撳叆 鏁版嵁搴撶殑鑷畾涔夊瘑鐮併 + +``` +- password:WaxGourdHAos +``` + +- 鍦≧ights閫夐」鍐呮渶涓嬮潰鍥炶溅**鏂板缓涓琛**杈撳叆 锛 +``` +- database: campus_imaotai + username: homeassistant +``` +- 鐐瑰嚮淇濆瓨骞跺惎鍔∕ariaDB + +### 浜屻佸畨瑁呭強閰嶇疆 i鑼呭彴 + +- 杩涘叆閰嶇疆 - 鍔犺浇椤瑰晢搴 鎵惧埌骞跺畨瑁 i鑼呭彴銆 + +- 瀹夎瀹屾垚鍚庣偣鍑婚厤缃紝鍦ㄩ夐」涓壘鍒''db_pass*"澶勮緭鍏 鏁版嵁搴撶殑鑷畾涔夊瘑鐮併 + +- 鐐瑰嚮淇濆瓨骞跺惎鍔 i鑼呭彴 + +- 鍦ㄦ棩蹇楀鐐瑰嚮鍒锋柊鐩磋嚦鍑虹幇鈥滄帴鍙f湇鍔¤繍琛屾垚鍔.鈥濆瓧鏍峰緱绯荤粺鍚姩鎴愬姛銆傦紙娉ㄦ剰锛氳椤圭洰浣跨敤java寮鍙戯紝鍚姩鎱㈠拰杩愯鍗犵敤鍐呭瓨杈冨锛 + +- 鍥炲埌淇℃伅椤典腑鐐瑰嚮鈥滄墦寮 WEB UI鈥濊繘鍏ュ钩鍙帮紝鐧诲綍鍗冲彲鎿嶄綔銆 + + + +骞冲彴閰嶇疆璇锋煡鐪嬪畼鏂规暀绋嬶細[鏁欑▼缃戝潃](https://oddfar.github.io/campus-doc/campus-imaotai/#%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B) diff --git a/imaotai/README.md b/imaotai/README.md new file mode 100644 index 0000000..e9a9e0f --- /dev/null +++ b/imaotai/README.md @@ -0,0 +1,9 @@ +# 鍐摐鐢勯塧ddons锛歩鑼呭彴 + +## 鍏充簬 + +i鑼呭彴app鑷姩棰勭害锛屾瘡鏃ヨ嚜鍔ㄩ绾︼紝鏀寔docker涓閿儴缃 + +## 鏉ユ簮 + +https://github.com/oddfar/campus-imaotai \ No newline at end of file diff --git a/imaotai/config.yaml b/imaotai/config.yaml new file mode 100644 index 0000000..6b02fc5 --- /dev/null +++ b/imaotai/config.yaml @@ -0,0 +1,21 @@ +name: i鑼呭彴 +version: 1.0.13 +slug: imaotai +codenotary: wghaos@163.com +description: 'i鑼呭彴app鑷姩棰勭害锛屾瘡鏃ヨ嚜鍔ㄩ绾︼紝鏀寔docker涓閿儴缃' +url: https://gitcode.com/waxgourd/addons +image: r.hassbus.com/wghaos/imaotai +init: false +arch: + - aarch64 + - amd64 +webui: "[PROTO:http]://[HOST]:[PORT:8161]" +ports: + 8161/tcp: 8161 +options: + db_user: homeassistant + db_pass: null +schema: + db_user: str + db_pass: str +boot: manual diff --git a/imaotai/icon.png b/imaotai/icon.png new file mode 100644 index 0000000..3c27e5a Binary files /dev/null and b/imaotai/icon.png differ diff --git a/imaotai/logo.png b/imaotai/logo.png new file mode 100644 index 0000000..3c27e5a Binary files /dev/null and b/imaotai/logo.png differ diff --git a/it-tools/CHANGELOG.md b/it-tools/CHANGELOG.md new file mode 100644 index 0000000..63e3008 --- /dev/null +++ b/it-tools/CHANGELOG.md @@ -0,0 +1,29 @@ +### 2024.10.22-7ca5933 锛10-22-2024锛 +#### 鐗瑰緛 +- 鏂板伐鍏凤細姝e垯琛ㄨ揪寮忔祴璇曞櫒锛堝強閫熸煡琛級 +- 鏂板伐鍏凤細Markdown鍒癏TML +- 鏂板伐鍏凤細娣诲姞鐢靛瓙閭欢瑙勮寖鍖 +- 鏂板伐鍏凤細JSON 鍒 XML 鍜 XML 鍒 JSON +- lorem-ipsum锛氭坊鍔犳寜閽潵鍒锋柊鏂囨湰 lorem-ipsum +- base64锛欱ase64 澧炲己鍔熻兘 + +#### 閿欒淇 +- 鏀惰棌锛氭棤璁鸿瑷濡備綍锛岄兘鍙互瀛樺偍鏀惰棌澶 +- 琛ㄦ儏绗﹀彿閫夋嫨鍣細鍘绘姈鎼滅储杈撳叆 +- 鏍煎紡杞崲鍣細璁剧疆杈撳嚭鍖哄煙瀹藉害鐨勬孩鍑 +- jwt-parser锛氶槻姝㈠皬灞忓箷涓婄殑 UI 婧㈠嚭 + +#### 閲嶆瀯 +- regex-tester锛氭洿濂界殑鎻忚堪 + +#### 鏉傜墿 +- 璧炲姪鍟嗭細钑ㄧ被妞嶇墿璧炲姪鍟嗘í骞 +- 鑷堪鏂囦欢锛氭洿鏂板窘鏍 + +### 2024.5.13-a0bc346 锛05-17-2024锛 + +- 鐗堟湰鍗囩骇 + +### 2023.12.21-5ed3693 锛05-02-2024锛 + +- 棣栨鎺ㄥ嚭 diff --git a/it-tools/DOCS.md b/it-tools/DOCS.md new file mode 100644 index 0000000..f462d52 --- /dev/null +++ b/it-tools/DOCS.md @@ -0,0 +1,5 @@ +# IT Tools + +## 鍏充簬 + +涓哄紑鍙戜汉鍛樺拰 IT 浜哄憳鎻愪緵鏈夌敤鐨勫伐鍏 diff --git a/it-tools/README.md b/it-tools/README.md new file mode 100644 index 0000000..8aaf140 --- /dev/null +++ b/it-tools/README.md @@ -0,0 +1,9 @@ +# 鍐摐鐢勯塧ddons锛欼T Tools + +## 鍏充簬 + +涓哄紑鍙戜汉鍛樺拰 IT 浜哄憳鎻愪緵鏈夌敤鐨勫伐鍏 + +## 鏉ユ簮 + +https://github.com/CorentinTh/it-tools \ No newline at end of file diff --git a/it-tools/config.yaml b/it-tools/config.yaml new file mode 100644 index 0000000..d81f5a5 --- /dev/null +++ b/it-tools/config.yaml @@ -0,0 +1,20 @@ +name: "IT Tools" +version: 2024.10.22-7ca5933 +slug: it-tools +codenotary: wghaos@163.com +description: '閫傜敤浜庡紑鍙戜汉鍛樺拰IT浜哄憳鐨勬湁鐢ㄥ伐鍏' +url: https://gitcode.com/waxgourd/addons +image: r.hassbus.com/wghaos/it-tools +init: false +arch: + - aarch64 + - amd64 +ingress: false +ingress_port: 3210 +ingress_stream: true +webui: "[PROTO:http]://[HOST]:[PORT:3210]" +ports: + 3210/tcp: 3210 +ports_description: + 3210/tcp: Web interface +boot: manual diff --git a/it-tools/icon.png b/it-tools/icon.png new file mode 100644 index 0000000..a84e2eb Binary files /dev/null and b/it-tools/icon.png differ diff --git a/it-tools/logo.png b/it-tools/logo.png new file mode 100644 index 0000000..18bac95 Binary files /dev/null and b/it-tools/logo.png differ diff --git a/jdxb/CHANGELOG.md b/jdxb/CHANGELOG.md new file mode 100644 index 0000000..9a3ccd8 --- /dev/null +++ b/jdxb/CHANGELOG.md @@ -0,0 +1,3 @@ +### 1.0.1 (2025-02-07) + +- 棣栨鎺ㄥ嚭 diff --git a/jdxb/DOCS.md b/jdxb/DOCS.md new file mode 100644 index 0000000..b9e9afe --- /dev/null +++ b/jdxb/DOCS.md @@ -0,0 +1,9 @@ +# 鑺傜偣灏忓疂 + +## 浣跨敤鏂规硶 + +1. 鍚姩鍚庡彲璁块棶 IP:9118 杩涘叆缁戝畾鐣岄潰 + +## 鐗瑰埆璇存槑 + +1. 宸茬粡瀹夎鑺傜偣灏忓疂濂椾欢/鎻掍欢鐨勮澶囦細榛樿浣跨敤9118绔彛锛岀户缁畨瑁卍ocker浼氫骇鐢熷啿绐 diff --git a/jdxb/README.md b/jdxb/README.md new file mode 100644 index 0000000..aac6fda --- /dev/null +++ b/jdxb/README.md @@ -0,0 +1,15 @@ +# 鍐摐鐢勯塧ddons锛氳妭鐐瑰皬瀹 + +## 鍏充簬 + +鑺傜偣灏忓疂鏄竴娆鹃泦鍐呯綉绌块忎笌寮傚湴缁勭綉鐨勮繙绋嬬鐞嗗伐鍏,婊¤冻鎮ㄧ粷澶ч儴鍒嗙殑杩滅▼璁块棶闇姹傘 + +## 婧 + +HTTPS: https://www.ionewu.com + +鏂囨。: https://iepose.com/helpcenter/ + +姝ゅ姞杞介」寮曠敤浜庡叕浼楀彿锛氥愯佺帇鏉傝皥璇淬戝唴瀹瑰埗浣滆屾潵 + +鑰佺帇鏉傝皥璇 \ No newline at end of file diff --git a/jdxb/config.yaml b/jdxb/config.yaml new file mode 100644 index 0000000..5b4e506 --- /dev/null +++ b/jdxb/config.yaml @@ -0,0 +1,19 @@ +{ + "version": "1.0.1", + "name": "鑺傜偣灏忓疂", + "url": "https://www.ionewu.com", + "slug": "jdxb", + "description": "A Home Assistant add-on for jdxb service. 杩欐槸涓涓妭鐐瑰皬瀹濆鎴风", + "arch": ["amd64", "aarch64"], + "image": "r.hassbus.com/wghaos/addon-wghaos-jdxb", + "startup": "application", + "init": false, + "ports": { + "9118/tcp": 9118 + }, + "webui": "[PROTO:http]://[HOST]:[PORT:9118]", + "boot": "manual", + "map": [ + "addon_config:rw" + ] +} diff --git a/jdxb/icon.png b/jdxb/icon.png new file mode 100644 index 0000000..18ebbfb Binary files /dev/null and b/jdxb/icon.png differ diff --git a/jdxb/logo.png b/jdxb/logo.png new file mode 100644 index 0000000..b7b9fe3 Binary files /dev/null and b/jdxb/logo.png differ diff --git a/knxd-wg/CHANGELOG.md b/knxd-wg/CHANGELOG.md new file mode 100644 index 0000000..96c2d77 --- /dev/null +++ b/knxd-wg/CHANGELOG.md @@ -0,0 +1,8 @@ +# Changelog +### 0.5.2-1 (2024-11-27) + +- 澧炲姞connect_device閰嶇疆椤癸紝璁剧疆姝ら」鍚巇evice椤瑰け鏁堬紝涓昏瑙e喅澶氫釜usb鏃禿evice鍙兘閫夋嫨/dev/ttyUSB0鐨勯棶棰 + +### 0.5.2 (2024-11-22) + +- 棣栨鎺ㄥ嚭 diff --git a/knxd-wg/DOCS.md b/knxd-wg/DOCS.md new file mode 100644 index 0000000..1b9621f --- /dev/null +++ b/knxd-wg/DOCS.md @@ -0,0 +1,84 @@ +# KNXD daemon (娉㈢壒鐜囩増) + +## 鐗瑰埆璇存槑 + +1. 閰嶇疆涓缃甤onnect_device鍚巇evice椤瑰拷鐣ワ紝涓昏瑙e喅澶氫釜usb鏃禿evice鍙兘閫夋嫨/dev/ttyUSB0鐨勯棶棰 + +## 瀹夎 + +鎸夌収浠ヤ笅姝ラ鍦ㄦ偍鐨勭郴缁熶笂瀹夎鎻掍欢: + + 1. 鎵惧埌鈥淜NXD daemon (娉㈢壒鐜囩増)鈥濇彃浠跺苟鍗曞嚮瀹冦 + + 1. 鐐瑰嚮鈥滃畨瑁呪濇寜閽 + +## 閰嶇疆 + +闄勫姞缁勪欢閰嶇疆锛 + +```yaml + "address": "0.0.1", + "client_address": "0.0.2:8", + "interface": "tpuart", + "device": "/dev/ttyACM0", + "usb_filters": "", + "custom_config": "" + "baudrate": "19200" + "connect_device": "" +``` + +### 閫夐」: +杩欎簺閫夐」鐨勬弿杩伴儴鍒嗗鍒惰嚜鈥渒nxd鈥漑鏂囨。][documentation](https://githubcom/knxd/knxd/blob/master/doc/inifile.rst)銆 +鎮ㄥ皢鍦ㄩ偅閲屾壘鍒版洿澶氱ず渚嬪拰璇︾粏淇℃伅銆 + +#### 閫夐」: `address` + +knxd deamon鏈韩鐨凨NX鍦板潃銆備緥濡傦紝鐢ㄤ簬婧愯嚜缁勭紦瀛樼殑璇锋眰銆 + +#### 閫夐」: `client_address` + +瑕佸垎閰嶇粰瀹㈡埛绔繛鎺ョ殑鍦板潃鑼冨洿銆傝娉ㄦ剰锛岄暱搴﹀弬鏁拌〃绀鸿鍒嗛厤鐨勫湴鍧鏁伴噺銆 + +渚嬪: 1.2.3:5 (绀轰緥锛1.2.3:5锛堣繖灏嗗湴鍧1.2.3鍒1.2.7鍒嗛厤缁檏nxd鐨勫鎴风銆傦級) + +#### 閫夐」: `interface` + +椹卞姩绋嬪簭鈥渒nxd鈥濆簲鐢ㄤ綔涓嶬NX鎬荤嚎閫氫俊鐨勬帴鍙c傛鎻掍欢鐨勫吀鍨嬬敤渚嬩腑鏈甯歌鐨勬槸锛 + +- `tpuart` (鐢ㄤ簬鍩轰簬UART鐨凨NX鎺ュ彛锛屽Busware.de涓殑鎺ュ彛) +- `usb` (鐢ㄤ簬鍟嗙敤USB KNX鎺ュ彛) + +鏈夊叧鎵鏈夊彲鑳介夐」鐨勫畬鏁村垪琛紝璇峰弬闃卥nxd鏂囨。鐨勯┍鍔ㄧ▼搴忛儴鍒嗐 + +#### 閫夐」: `device` (鏌愪簺鎺ュ彛鍙) + +nux涓傞厤鍣ㄧ殑鐗╃悊璁惧鍦板潃銆備緥瀛愶細: + +- **TPUART interface**: `/dev/ttyACM0` ### 鐗╃悊璁惧鍦板潃 ; 瀹炰綋瑁呯疆浣嶅潃 +- **USB interface**: 鍙互灏濊瘯灏嗘鐣欑┖锛屼互渚縛knxd`鑷姩妫娴嬫偍鐨勮澶囥傚鏋滅┖鐧芥椂涓嶈捣浣滅敤锛岃灏濊瘯鎸囧畾涓涓澶囧湴鍧锛屽鈥/dev/ttyAMA0鈥濄 + +璇锋敞鎰忥紝杩欎簺鍦板潃浠呬负绀轰緥锛屽彲鑳藉洜鎮ㄧ殑璁惧鑰屽紓銆傝鎵惧嚭璁惧鍦板潃锛屾偍蹇呴』閫氳繃SSH杩炴帴鍒颁富鏈烘搷浣滅郴缁燂紙**涓嶆槸**涓荤锛侊級锛屽苟妫鏌ヨ繛鎺ュ埌閭i噷鐨勮澶囥 + +#### 閫夐」: `usb_filters` (optional) + +浣跨敤USB鎺ュ彛鏃讹紝鎮ㄥ彲浠ユ寚瀹氳浣跨敤鐨勫叾浠栬繃婊ゅ櫒銆傝鍙傞槄[杩囨护鍣ㄩ儴鍒哴(https://github.com/knxd/knxd/blob/master/doc/inifile.rst#filters) 瀹樻柟鈥渒nxd鈥濇枃浠躲 + +#### 閫夐」: `custom_config` (optional) + +鍏佽鎮ㄧ紪鍐欒嚜宸辩殑鑷畾涔夆渒nxd鈥漣ni閰嶇疆锛岃屼笉鏄娇鐢ㄦ鎻掍欢涓噯澶囧ソ鐨勬ā鏉匡紝璇ユā鏉夸娇鐢ㄤ簡涓婅堪鎵鏈夊叾浠栭厤缃夐」銆 + +鎮ㄧ殑鑷畾涔夐厤缃皢鏇挎崲姝ゆ彃浠舵彁渚涚殑榛樿閰嶇疆锛屽洜姝や笂杩版墍鏈夊叾浠栭厤缃夐」閮藉皢琚拷鐣ャ傝鍙傞槄[knxd鏂囨。](https://github.com/knxd/knxd/blob/master/doc/inifile.rst)瀵逛簬鎵鏈夊彲鑳界殑閰嶇疆閫夐」銆 + + +#### 閫夐」: `baudrate` (optional) +娉㈢壒鐜(浠呴傜敤浜巘puart銆乫t12銆乫t12cemi銆乶cn5120) + +#### 閫夐」: `connect_device` (optional) + +璁剧疆姝ら」鍚巇evice椤瑰拷鐣ワ紝涓昏瑙e喅澶氫釜usb鏃禿evice鍙兘閫夋嫨/dev/ttyUSB0鐨勯棶棰 + +## 鏀寔 + +濡傛灉鎮ㄦ湁浠讳綍闂锛岃闅忔椂鍔犲叆HomeAssistant绀惧尯锛屽苟鍦╗闄勫姞绾跨▼]涓彁闂(https://community.home-assistant.io/t/knxd鎻掍欢灏唊nx usb鎺ュ彛杞崲涓篽a/38108/38鍙互浣跨敤鐨刬p鎺ュ彛). + +濡傛灉浣犲彂鐜颁簡涓涓猙ug锛岃闅忔椂鍦 [Github](https://github.com/da-anda/hass-io-addons/issues) diff --git a/knxd-wg/README.md b/knxd-wg/README.md new file mode 100644 index 0000000..dcea83c --- /dev/null +++ b/knxd-wg/README.md @@ -0,0 +1,16 @@ +# 鍐摐鐢勯堿ddons: KNXD daemon (娉㈢壒鐜囩増) + +![Supports aarch64 Architecture][aarch64-shield] +![Supports amd64 Architecture][amd64-shield] + +## 鍏充簬 + +`knxd`鏄竴涓猯inux宸ュ叿锛屽彲浠ョ敤浣滆矾鐢卞櫒/缃戝叧锛屼笌KNX鎬荤嚎涓婄殑璁惧杩涜閫氫俊銆傛鎻掍欢鎻愪緵knxd瀹堟姢杩涚▼锛屾偍鍙互浣跨敤瀹冧粠瀹跺涵瀹夎涓娇鐢═PUART鎴朥SB鎬荤嚎閫傞厤鍣ㄥ垱寤篕NX/IP缃戝叧銆傚洜姝わ紝瀹冨熀鏈笂鍙互灏哢ART/USB鎺ュ彛杞崲涓篕NX IP鎺ュ彛锛岀劧鍚庢偍鍙互鍦℉omeAssistant涓娇鐢ㄨ繖浜涙帴鍙o紝鎴栬呴氳繃浠ュお缃戜笂鐨凟TS瀵筀NX璁惧杩涜缂栫▼銆傛湁鍏虫洿澶氳缁嗕俊鎭紝璇峰弬闃卙ttps://github.com/knxd/knxd. + + +[aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg +[amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg + +## 婧 + +https://github.com/da-anda/hass-io-addons/tree/main/knxd \ No newline at end of file diff --git a/knxd-wg/apparmor.txt b/knxd-wg/apparmor.txt new file mode 100644 index 0000000..505102b --- /dev/null +++ b/knxd-wg/apparmor.txt @@ -0,0 +1,51 @@ +#include + +profile knxdaddon flags=(attach_disconnected,mediate_deleted) { + #include + + # Capabilities + file, + signal (send) set=(kill,term,int,hup,cont), + + # S6-Overlay + /init ix, + /bin/** ix, + /usr/bin/** ix, + /run/{s6,s6-rc*,service}/** ix, + /package/** ix, + /command/** ix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /run/{,**} rwk, + /dev/tty rw, + + # Bashio + /usr/lib/bashio/** ix, + /tmp/** rwk, + + # Access to options.json and other files within your addon + /data/** rw, + + # Start new profile for service + /usr/sbin/knxd cx -> knxd, + /usr/sbin/knxtool cx -> knxd, + + profile knxd-wg flags=(attach_disconnected,mediate_deleted) { + #include + + # Receive signals from S6-Overlay + signal (receive) peer=*_example, + + # Access to options.json and other files within your addon + /data/** rw, + /etc/knxd.ini r, + + /usr/sbin/knxd r, + /usr/sbin/knxtool r, + /bin/bash rix, + /bin/echo ix, + /etc/passwd r, + /dev/tty rw, + } +} \ No newline at end of file diff --git a/knxd-wg/config.yaml b/knxd-wg/config.yaml new file mode 100644 index 0000000..bd72020 --- /dev/null +++ b/knxd-wg/config.yaml @@ -0,0 +1,46 @@ +# https://gitcode.com/waxgourd/addons +name: KNXD daemon (娉㈢壒鐜囩増) +version: "0.5.2-1" +slug: knxd-wg +description: KNXD瀹堟姢杩涚▼鍙敤浜庨氳繃TPUART鎴朥SB鎬荤嚎閫傞厤鍣ㄥ垱寤篕NX/IP缃戝叧 +url: https://gitcode.com/waxgourd/addons +arch: + - aarch64 + - amd64 +init: false +startup: services +host_network: true +privileged: + - SYS_MODULE + - SYS_RAWIO +options: + address: "0.0.1" + client_address: "0.0.2:8" + interface: usb + log_error_level: warning + usb_filters: single + dest_port: "99" + connect_device: "" + baudrate: "19200" +schema: + address: "match(^\\d+\\.\\d+.\\d+$)" + client_address: "match(^\\d+\\.\\d+.\\d+\\:\\d+$)" + interface: "list(tpuart|tpuart-ip|usb|ft12|ft12cemi|ncn5120|ncn5120-ip|ipt|dummy)" + device: "device?" + log_error_level: "list(warning|error|fatal|note|info|debug)" + usb_filters: "str?" + ip_address: "str?" + dest_port: "port?" + baudrate: "str?" + connect_device: "str?" + custom_config: "str?" +watchdog: "tcp://[HOST]:[PORT:6720]" +ports: + "6720/tcp": 6720 + "3671/udp": 3671 +ports_description: + "6720/tcp": "knx鎺ュ彛瑕佹眰锛岃兘澶熼氳繃ETS璁块棶knx鎬荤嚎" + "3671/udp": "knx鎺ュ彛瑕佹眰锛岃兘澶熼氳繃ETS璁块棶knx鎬荤嚎" +image: "r.hassbus.com/wghaos/{arch}-knxd" +uart: true +usb: true diff --git a/knxd-wg/icon.png b/knxd-wg/icon.png new file mode 100644 index 0000000..792a4b0 Binary files /dev/null and b/knxd-wg/icon.png differ diff --git a/knxd-wg/logo.png b/knxd-wg/logo.png new file mode 100644 index 0000000..792a4b0 Binary files /dev/null and b/knxd-wg/logo.png differ diff --git a/knxd-wg/translations/en.yaml b/knxd-wg/translations/en.yaml new file mode 100644 index 0000000..49489d6 --- /dev/null +++ b/knxd-wg/translations/en.yaml @@ -0,0 +1,44 @@ +configuration: + address: + name: Bus Address for KNXD + description: The KNX address for the knxd deamon itself. Used e.g. for requests originating at the group cache. + client_address: + name: Bus Address Pool for KNXD Clients + description: > + Address range to be distributed to client connections. Note that the length parameter indicates the number of addresses to be allocated. + Example: 1.2.3:5 (This assigns addresses 1.2.3 through 1.2.7 to knxd's clients.) + interface: + name: Interface Driver + description: > + The driver knxd should use as interface to talk to the KNX bus. The most common ones for the typical usecase of this add-on are: + tpuart (for UART based KNX interfaces, like the one from Busware.de) + usb (for commercial USB KNX interfaces) + ipt (for connecting to existing IP tunneling interface) + device: + name: Device to use for connection + description: > + The physical device address of your adapter in linux. + You can try leaving this blank in order for knxd to auto-detect your device. + usb_filters: + name: usb_filters + description: When using an USB interface, you can specify additional filters to use. See the filters[https://github.com/knxd/knxd/blob/master/doc/inifile.rst#filters] section of the official knxd documentation. + custom_config: + name: Complete custom config + description: > + Allows you to write your own, custom knxd ini configuration instead of using the prepared template from this add-on that makes use of all the other config options above. + Your custom configuration will replace the default configuration provided by this add-on and thus all the other config options above will be ignored. See the knxd documentation for all possible configuration options. + log_error_level: + name: KNXD Loglevel + description: Define the loglevel of knxd. + ip_address: + name: Interface IP-Address + description: IP address the IP based interface should use (only for tpuart-ip, ncn5120-ip and ipt) + dest_port: + name: Interface port + description: network port the IP based interface should use (only for tpuart-ip, ncn5120-ip and ipt) + connect_device: + name: connect_device + description: Device to use for connection,After setting this option, the device option becomes invalid, mainly to solve the problem that the device can only select/dev/ttyUSB0 when there are multiple USBs + baudrate: + name: baudrate + description: baudrate(only for tpuart銆乫t12銆乫t12cemi銆乶cn5120) diff --git a/knxd-wg/translations/zh-Hans.yaml b/knxd-wg/translations/zh-Hans.yaml new file mode 100644 index 0000000..e783698 --- /dev/null +++ b/knxd-wg/translations/zh-Hans.yaml @@ -0,0 +1,45 @@ +--- +configuration: + address: + name: KNXD宸村+鍦板潃 + description: knxd deamon鏈韩鐨凨NX鍦板潃銆備緥濡傦紝鐢ㄤ簬婧愯嚜缁勭紦瀛樼殑璇锋眰銆 + client_address: + name: KNXD瀹㈡埛绔荤嚎鍦板潃姹 + description: >- + 鍒嗛厤缁欏鎴风杩炴帴鐨勫湴鍧鑼冨洿銆傝娉ㄦ剰锛岄暱搴﹀弬鏁拌〃绀鸿鍒嗛厤鐨勫湴鍧鏁伴噺銆 + 绀轰緥锛1.2.3:5锛堣繖灏嗗湴鍧1.2.3鍒1.2.7鍒嗛厤缁檏nxd鐨勫鎴风銆傦級 + interface: + name: 鎺ュ彛椹卞姩绋嬪簭 + description: >- + 椹卞姩绋嬪簭knxd搴旂敤浣滀笌KNX鎬荤嚎閫氫俊鐨勬帴鍙c傛鎻掍欢鐨勫吀鍨嬬敤渚嬩腑鏈甯歌鐨勬槸锛 + tpuart锛堢敤浜庡熀浜嶶ART鐨凨NX鎺ュ彛锛屽Busware.de涓殑鎺ュ彛锛 + usb锛堢敤浜庡晢鐢╱sb KNX鎺ュ彛锛 + ipt锛堢敤浜庤繛鎺ュ埌鐜版湁鐨処P闅ч亾鎺ュ彛锛 + device: + name: 鐢ㄤ簬杩炴帴鐨勮澶 + description: >- + linux涓傞厤鍣ㄧ殑鐗╃悊璁惧鍦板潃銆 + 鎮ㄥ彲浠ュ皾璇曞皢姝ょ暀绌猴紝浠ヤ究knxd鑷姩妫娴嬫偍鐨勮澶囥 + usb_filters: + name: usb杩囨护鍣 + description: 浣跨敤USB鎺ュ彛鏃讹紝鎮ㄥ彲浠ユ寚瀹氳浣跨敤鐨勫叾浠栬繃婊ゅ櫒銆傛煡鐪嬭繃婊ゅ櫒[https://github.com/knxd/knxd/blob/master/doc/inifile.rst#filters]knxd瀹樻柟鏂囦欢鐨勪竴閮ㄥ垎銆 + custom_config: + name: 瀹屾垚鑷畾涔夐厤缃 + description: >- + 鍏佽鎮ㄧ紪鍐欒嚜宸辩殑鑷畾涔塳nxd ini閰嶇疆锛岃屼笉鏄娇鐢ㄦ鎻掍欢涓噯澶囧ソ鐨勬ā鏉匡紝璇ユā鏉夸娇鐢ㄤ簡涓婅堪鎵鏈夊叾浠栭厤缃夐」銆 + 鎮ㄧ殑鑷畾涔夐厤缃皢鏇挎崲姝ゆ彃浠舵彁渚涚殑榛樿閰嶇疆锛屽洜姝や笂杩版墍鏈夊叾浠栭厤缃夐」閮藉皢琚拷鐣ャ傛湁鍏虫墍鏈夊彲鑳界殑閰嶇疆閫夐」锛岃鍙傞槄knxd鏂囨。銆 + log_error_level: + name: KNXD鏃ュ織绾у埆 + description: 瀹氫箟knxd鐨勬棩蹇楃骇鍒 + ip_address: + name: 鎺ュ彛IP鍦板潃 + description: 鍩轰簬IP鐨勬帴鍙e簲浣跨敤鐨処P鍦板潃锛堜粎閫傜敤浜巘puart IP銆乶cn5120 IP鍜宨pt锛 + dest_port: + name: 鎺ュ彛绔彛 + description: 鍩轰簬IP鐨勬帴鍙e簲浣跨敤鐨勭綉缁滅鍙o紙浠呴傜敤浜巘puart IP銆乶cn5120 IP鍜宨pt锛 + connect_device: + name: connect_device + description: 杩炴帴璁惧锛岃缃椤瑰悗device椤瑰け鏁堬紝涓昏瑙e喅澶氫釜usb鏃禿evice鍙兘閫夋嫨/dev/ttyUSB0鐨勯棶棰 + baudrate: + name: 娉㈢壒鐜 + description: 娉㈢壒鐜(浠呴傜敤浜巘puart銆乫t12銆乫t12cemi銆乶cn5120) \ No newline at end of file diff --git a/knxd/CHANGELOG.md b/knxd/CHANGELOG.md new file mode 100644 index 0000000..64969a8 --- /dev/null +++ b/knxd/CHANGELOG.md @@ -0,0 +1,75 @@ +# Changelog + +## 0.5.2 + +- updated the definition of the default value for the "device" config option so that the visual editor will also render this option as optional. +- bumped KNXD to version 0.14.66 + +## 0.5.1 + +- added support for the `ipt` interface + +## 0.5.0 + +- bumped docker base image to 3.20 +- adjusted architecture to work with new s6overlay +- updated KNXD to version 0.14.63 which should fix some issues with programming devices using ETS6 + +## 0.4.7 + +- bumped docker base image to 3.16 again + +## 0.4.6 + +- downgraded docker base image to 3.14 until issues are resolved + +## 0.4.5 + +- updated KNXD to version 0.14.56 +- updated docker base image to Alpine 3.16 + +## 0.4.4 + +- added new experimental interfaces for `tpuart-ip` and `ncn5120-ip` + +## 0.4.3 + +- update addon based on home assistant template structure +- removed "hassio_role": "admin" +- bumped KNXD to 0.14.53 +- bumped base images to 3.14 +- add validators for `address` and `client_address`: +- add english descriptions for all parameters + +## 0.4.2 + +- fixed line breaks not being preserved in the resulting config file when using a `custom_config` + +## 0.4.1 + +- correctly map USB hardware device paths to the expected integer values in knxd configuration + +## 0.4 + +- using new approach on how the KNXD config is generated +- added device selector to the add-on configuration options +- added possibility to configure the error log level to be able to debug issues more easily +- switched add-on base image back to Alpine 3.12 since the new 3.13 seems to have severe issues with USB interfaces + +## 0.3.7 + +- switched to new hass-io base containers based on GitHub Docker Repository +- removed run.sh and replaced it with according s6-overlay scripts + +## 0.3.6 + +- bumped knxd version to 0.14.39 which fixes some delays with pace filters + +## 0.3.5 + +- bumped knxd version to 0.14.37 which fixes a memory leak in the FT12 driver +- add-on now uses the hosts network which enables multicast support. Thanks to stemnic for noticing the issue and fixing it. + +## 0.3.4 + +- bumped knxd version to 0.14.34 diff --git a/knxd/DOCS.md b/knxd/DOCS.md new file mode 100644 index 0000000..445c9f2 --- /dev/null +++ b/knxd/DOCS.md @@ -0,0 +1,75 @@ +# KNXD daemon + +## 瀹夎 + +鎸夌収浠ヤ笅姝ラ鍦ㄦ偍鐨勭郴缁熶笂瀹夎鎻掍欢: + + 1. 鍦ㄦ偍鐨勫搴姪鐞嗗墠绔鑸埌**涓荤**->**鎻掍欢鍟嗗簵**銆 + + 1. 濡傛灉鎮ㄨ繕娌℃湁灏嗘闄勫姞瀛樺偍搴撴坊鍔犲埌鎮ㄧ殑涓荤锛岃鍗曞嚮鍙充笂瑙掔殑鑿滃崟鍥炬爣锛岄夋嫨**瀛樺偍搴**锛屾坊鍔燻https://github.com/da-anda/hass-io-addons` 浣滀负鏂板瓨鍌ㄥ簱锛岀劧鍚庡啀娆″叧闂璇濇銆 + + 1. 鎵惧埌鈥淜NXD鈥濇彃浠跺苟鍗曞嚮瀹冦 + + 1. 鐐瑰嚮鈥滃畨瑁呪濇寜閽 + +## 閰嶇疆 + +闄勫姞缁勪欢閰嶇疆锛 + +```yaml + "address": "0.0.1", + "client_address": "0.0.2:8", + "interface": "tpuart", + "device": "/dev/ttyACM0", + "usb_filters": "", + "custom_config": "" +``` + +### 閫夐」: +杩欎簺閫夐」鐨勬弿杩伴儴鍒嗗鍒惰嚜鈥渒nxd鈥漑鏂囨。][documentation](https://githubcom/knxd/knxd/blob/master/doc/inifile.rst)銆 +鎮ㄥ皢鍦ㄩ偅閲屾壘鍒版洿澶氱ず渚嬪拰璇︾粏淇℃伅銆 + +#### 閫夐」: `address` + +knxd deamon鏈韩鐨凨NX鍦板潃銆備緥濡傦紝鐢ㄤ簬婧愯嚜缁勭紦瀛樼殑璇锋眰銆 + +#### 閫夐」: `client_address` + +瑕佸垎閰嶇粰瀹㈡埛绔繛鎺ョ殑鍦板潃鑼冨洿銆傝娉ㄦ剰锛岄暱搴﹀弬鏁拌〃绀鸿鍒嗛厤鐨勫湴鍧鏁伴噺銆 + +渚嬪: 1.2.3:5 (绀轰緥锛1.2.3:5锛堣繖灏嗗湴鍧1.2.3鍒1.2.7鍒嗛厤缁檏nxd鐨勫鎴风銆傦級) + +#### 閫夐」: `interface` + +椹卞姩绋嬪簭鈥渒nxd鈥濆簲鐢ㄤ綔涓嶬NX鎬荤嚎閫氫俊鐨勬帴鍙c傛鎻掍欢鐨勫吀鍨嬬敤渚嬩腑鏈甯歌鐨勬槸锛 + +- `tpuart` (鐢ㄤ簬鍩轰簬UART鐨凨NX鎺ュ彛锛屽Busware.de涓殑鎺ュ彛) +- `usb` (鐢ㄤ簬鍟嗙敤USB KNX鎺ュ彛) + +鏈夊叧鎵鏈夊彲鑳介夐」鐨勫畬鏁村垪琛紝璇峰弬闃卥nxd鏂囨。鐨勯┍鍔ㄧ▼搴忛儴鍒嗐 + +#### 閫夐」: `device` (鏌愪簺鎺ュ彛鍙) + +nux涓傞厤鍣ㄧ殑鐗╃悊璁惧鍦板潃銆備緥瀛愶細: + +- **TPUART interface**: `/dev/ttyACM0` ### 鐗╃悊璁惧鍦板潃 ; 瀹炰綋瑁呯疆浣嶅潃 +- **USB interface**: 鍙互灏濊瘯灏嗘鐣欑┖锛屼互渚縛knxd`鑷姩妫娴嬫偍鐨勮澶囥傚鏋滅┖鐧芥椂涓嶈捣浣滅敤锛岃灏濊瘯鎸囧畾涓涓澶囧湴鍧锛屽鈥/dev/ttyAMA0鈥濄 + +璇锋敞鎰忥紝杩欎簺鍦板潃浠呬负绀轰緥锛屽彲鑳藉洜鎮ㄧ殑璁惧鑰屽紓銆傝鎵惧嚭璁惧鍦板潃锛屾偍蹇呴』閫氳繃SSH杩炴帴鍒颁富鏈烘搷浣滅郴缁燂紙**涓嶆槸**涓荤锛侊級锛屽苟妫鏌ヨ繛鎺ュ埌閭i噷鐨勮澶囥 + +#### 閫夐」: `usb_filters` (optional) + +浣跨敤USB鎺ュ彛鏃讹紝鎮ㄥ彲浠ユ寚瀹氳浣跨敤鐨勫叾浠栬繃婊ゅ櫒銆傝鍙傞槄[杩囨护鍣ㄩ儴鍒哴(https://github.com/knxd/knxd/blob/master/doc/inifile.rst#filters) 瀹樻柟鈥渒nxd鈥濇枃浠躲 + +#### 閫夐」: `custom_config` (optional) + +鍏佽鎮ㄧ紪鍐欒嚜宸辩殑鑷畾涔夆渒nxd鈥漣ni閰嶇疆锛岃屼笉鏄娇鐢ㄦ鎻掍欢涓噯澶囧ソ鐨勬ā鏉匡紝璇ユā鏉夸娇鐢ㄤ簡涓婅堪鎵鏈夊叾浠栭厤缃夐」銆 + +鎮ㄧ殑鑷畾涔夐厤缃皢鏇挎崲姝ゆ彃浠舵彁渚涚殑榛樿閰嶇疆锛屽洜姝や笂杩版墍鏈夊叾浠栭厤缃夐」閮藉皢琚拷鐣ャ傝鍙傞槄[knxd鏂囨。](https://github.com/knxd/knxd/blob/master/doc/inifile.rst)瀵逛簬鎵鏈夊彲鑳界殑閰嶇疆閫夐」銆 + + +## 鏀寔 + +濡傛灉鎮ㄦ湁浠讳綍闂锛岃闅忔椂鍔犲叆HomeAssistant绀惧尯锛屽苟鍦╗闄勫姞绾跨▼]涓彁闂(https://community.home-assistant.io/t/knxd鎻掍欢灏唊nx usb鎺ュ彛杞崲涓篽a/38108/38鍙互浣跨敤鐨刬p鎺ュ彛). + +濡傛灉浣犲彂鐜颁簡涓涓猙ug锛岃闅忔椂鍦 [Github](https://github.com/da-anda/hass-io-addons/issues) \ No newline at end of file diff --git a/knxd/README.md b/knxd/README.md new file mode 100644 index 0000000..62f57a1 --- /dev/null +++ b/knxd/README.md @@ -0,0 +1,22 @@ +# 鍐摐鐢勯堿ddons: KNXD daemon + +![Supports aarch64 Architecture][aarch64-shield] +![Supports amd64 Architecture][amd64-shield] +![Supports armhf Architecture][armhf-shield] +![Supports armv7 Architecture][armv7-shield] +![Supports i386 Architecture][i386-shield] + +## 鍏充簬 + +`knxd`鏄竴涓猯inux宸ュ叿锛屽彲浠ョ敤浣滆矾鐢卞櫒/缃戝叧锛屼笌KNX鎬荤嚎涓婄殑璁惧杩涜閫氫俊銆傛鎻掍欢鎻愪緵knxd瀹堟姢杩涚▼锛屾偍鍙互浣跨敤瀹冧粠瀹跺涵瀹夎涓娇鐢═PUART鎴朥SB鎬荤嚎閫傞厤鍣ㄥ垱寤篕NX/IP缃戝叧銆傚洜姝わ紝瀹冨熀鏈笂鍙互灏哢ART/USB鎺ュ彛杞崲涓篕NX IP鎺ュ彛锛岀劧鍚庢偍鍙互鍦℉omeAssistant涓娇鐢ㄨ繖浜涙帴鍙o紝鎴栬呴氳繃浠ュお缃戜笂鐨凟TS瀵筀NX璁惧杩涜缂栫▼銆傛湁鍏虫洿澶氳缁嗕俊鎭紝璇峰弬闃卙ttps://github.com/knxd/knxd. + + +[aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg +[amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg +[armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg +[armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg +[i386-shield]: https://img.shields.io/badge/i386-yes-green.svg + +## 婧 + +https://github.com/da-anda/hass-io-addons \ No newline at end of file diff --git a/knxd/apparmor.txt b/knxd/apparmor.txt new file mode 100644 index 0000000..e82e82e --- /dev/null +++ b/knxd/apparmor.txt @@ -0,0 +1,51 @@ +#include + +profile knxdaddon flags=(attach_disconnected,mediate_deleted) { + #include + + # Capabilities + file, + signal (send) set=(kill,term,int,hup,cont), + + # S6-Overlay + /init ix, + /bin/** ix, + /usr/bin/** ix, + /run/{s6,s6-rc*,service}/** ix, + /package/** ix, + /command/** ix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /run/{,**} rwk, + /dev/tty rw, + + # Bashio + /usr/lib/bashio/** ix, + /tmp/** rwk, + + # Access to options.json and other files within your addon + /data/** rw, + + # Start new profile for service + /usr/sbin/knxd cx -> knxd, + /usr/sbin/knxtool cx -> knxd, + + profile knxd flags=(attach_disconnected,mediate_deleted) { + #include + + # Receive signals from S6-Overlay + signal (receive) peer=*_example, + + # Access to options.json and other files within your addon + /data/** rw, + /etc/knxd.ini r, + + /usr/sbin/knxd r, + /usr/sbin/knxtool r, + /bin/bash rix, + /bin/echo ix, + /etc/passwd r, + /dev/tty rw, + } +} \ No newline at end of file diff --git a/knxd/config.yaml b/knxd/config.yaml new file mode 100644 index 0000000..ec76b11 --- /dev/null +++ b/knxd/config.yaml @@ -0,0 +1,45 @@ +# https://developers.home-assistant.io/docs/add-ons/configuration#add-on-config +name: KNXD daemon +version: "0.5.2" +slug: knxd +description: KNXD瀹堟姢杩涚▼鍙敤浜庨氳繃TPUART鎴朥SB鎬荤嚎閫傞厤鍣ㄥ垱寤篕NX/IP缃戝叧 +url: https://github.com/da-anda/hass-io-addons/tree/main/knxd +arch: + - armhf + - armv7 + - aarch64 + - amd64 + - i386 +init: false +startup: services +host_network: true +privileged: + - SYS_MODULE + - SYS_RAWIO +options: + address: "0.0.1" + client_address: "0.0.2:8" + interface: usb + log_error_level: warning + usb_filters: single + dest_port: "99" +schema: + address: "match(^\\d+\\.\\d+.\\d+$)" + client_address: "match(^\\d+\\.\\d+.\\d+\\:\\d+$)" + interface: "list(tpuart|tpuart-ip|usb|ft12|ft12cemi|ncn5120|ncn5120-ip|ipt|dummy)" + device: "device?" + log_error_level: "list(warning|error|fatal|note|info|debug)" + usb_filters: "str?" + ip_address: "str?" + dest_port: "port?" + custom_config: "str?" +watchdog: "tcp://[HOST]:[PORT:6720]" +ports: + "6720/tcp": 6720 + "3671/udp": 3671 +ports_description: + "6720/tcp": "knx鎺ュ彛瑕佹眰锛岃兘澶熼氳繃ETS璁块棶knx鎬荤嚎" + "3671/udp": "knx鎺ュ彛瑕佹眰锛岃兘澶熼氳繃ETS璁块棶knx鎬荤嚎" +image: "r.hassbus.com/da-anda/hass-io-addons-{arch}-addon-knxd" +uart: true +usb: true diff --git a/knxd/icon.png b/knxd/icon.png new file mode 100644 index 0000000..792a4b0 Binary files /dev/null and b/knxd/icon.png differ diff --git a/knxd/logo.png b/knxd/logo.png new file mode 100644 index 0000000..792a4b0 Binary files /dev/null and b/knxd/logo.png differ diff --git a/knxd/translations/en.yaml b/knxd/translations/en.yaml new file mode 100644 index 0000000..0c3a4ca --- /dev/null +++ b/knxd/translations/en.yaml @@ -0,0 +1,38 @@ +configuration: + address: + name: Bus Address for KNXD + description: The KNX address for the knxd deamon itself. Used e.g. for requests originating at the group cache. + client_address: + name: Bus Address Pool for KNXD Clients + description: > + Address range to be distributed to client connections. Note that the length parameter indicates the number of addresses to be allocated. + Example: 1.2.3:5 (This assigns addresses 1.2.3 through 1.2.7 to knxd's clients.) + interface: + name: Interface Driver + description: > + The driver knxd should use as interface to talk to the KNX bus. The most common ones for the typical usecase of this add-on are: + tpuart (for UART based KNX interfaces, like the one from Busware.de) + usb (for commercial USB KNX interfaces) + ipt (for connecting to existing IP tunneling interface) + device: + name: Device to use for connection + description: > + The physical device address of your adapter in linux. + You can try leaving this blank in order for knxd to auto-detect your device. + usb_filters: + name: usb_filters + description: When using an USB interface, you can specify additional filters to use. See the filters[https://github.com/knxd/knxd/blob/master/doc/inifile.rst#filters] section of the official knxd documentation. + custom_config: + name: Complete custom config + description: > + Allows you to write your own, custom knxd ini configuration instead of using the prepared template from this add-on that makes use of all the other config options above. + Your custom configuration will replace the default configuration provided by this add-on and thus all the other config options above will be ignored. See the knxd documentation for all possible configuration options. + log_error_level: + name: KNXD Loglevel + description: Define the loglevel of knxd. + ip_address: + name: Interface IP-Address + description: IP address the IP based interface should use (only for tpuart-ip, ncn5120-ip and ipt) + dest_port: + name: Interface port + description: network port the IP based interface should use (only for tpuart-ip, ncn5120-ip and ipt) diff --git a/knxd/translations/zh-Hans.yaml b/knxd/translations/zh-Hans.yaml new file mode 100644 index 0000000..5960d28 --- /dev/null +++ b/knxd/translations/zh-Hans.yaml @@ -0,0 +1,39 @@ +--- +configuration: + address: + name: KNXD宸村+鍦板潃 + description: knxd deamon鏈韩鐨凨NX鍦板潃銆備緥濡傦紝鐢ㄤ簬婧愯嚜缁勭紦瀛樼殑璇锋眰銆 + client_address: + name: KNXD瀹㈡埛绔荤嚎鍦板潃姹 + description: >- + 鍒嗛厤缁欏鎴风杩炴帴鐨勫湴鍧鑼冨洿銆傝娉ㄦ剰锛岄暱搴﹀弬鏁拌〃绀鸿鍒嗛厤鐨勫湴鍧鏁伴噺銆 + 绀轰緥锛1.2.3:5锛堣繖灏嗗湴鍧1.2.3鍒1.2.7鍒嗛厤缁檏nxd鐨勫鎴风銆傦級 + interface: + name: 鎺ュ彛椹卞姩绋嬪簭 + description: >- + 椹卞姩绋嬪簭knxd搴旂敤浣滀笌KNX鎬荤嚎閫氫俊鐨勬帴鍙c傛鎻掍欢鐨勫吀鍨嬬敤渚嬩腑鏈甯歌鐨勬槸锛 + tpuart锛堢敤浜庡熀浜嶶ART鐨凨NX鎺ュ彛锛屽Busware.de涓殑鎺ュ彛锛 + usb锛堢敤浜庡晢鐢╱sb KNX鎺ュ彛锛 + ipt锛堢敤浜庤繛鎺ュ埌鐜版湁鐨処P闅ч亾鎺ュ彛锛 + device: + name: 鐢ㄤ簬杩炴帴鐨勮澶 + description: >- + linux涓傞厤鍣ㄧ殑鐗╃悊璁惧鍦板潃銆 + 鎮ㄥ彲浠ュ皾璇曞皢姝ょ暀绌猴紝浠ヤ究knxd鑷姩妫娴嬫偍鐨勮澶囥 + usb_filters: + name: usb杩囨护鍣 + description: 浣跨敤USB鎺ュ彛鏃讹紝鎮ㄥ彲浠ユ寚瀹氳浣跨敤鐨勫叾浠栬繃婊ゅ櫒銆傛煡鐪嬭繃婊ゅ櫒[https://github.com/knxd/knxd/blob/master/doc/inifile.rst#filters]knxd瀹樻柟鏂囦欢鐨勪竴閮ㄥ垎銆 + custom_config: + name: 瀹屾垚鑷畾涔夐厤缃 + description: >- + 鍏佽鎮ㄧ紪鍐欒嚜宸辩殑鑷畾涔塳nxd ini閰嶇疆锛岃屼笉鏄娇鐢ㄦ鎻掍欢涓噯澶囧ソ鐨勬ā鏉匡紝璇ユā鏉夸娇鐢ㄤ簡涓婅堪鎵鏈夊叾浠栭厤缃夐」銆 + 鎮ㄧ殑鑷畾涔夐厤缃皢鏇挎崲姝ゆ彃浠舵彁渚涚殑榛樿閰嶇疆锛屽洜姝や笂杩版墍鏈夊叾浠栭厤缃夐」閮藉皢琚拷鐣ャ傛湁鍏虫墍鏈夊彲鑳界殑閰嶇疆閫夐」锛岃鍙傞槄knxd鏂囨。銆 + log_error_level: + name: KNXD鏃ュ織绾у埆 + description: 瀹氫箟knxd鐨勬棩蹇楃骇鍒 + ip_address: + name: 鎺ュ彛IP鍦板潃 + description: 鍩轰簬IP鐨勬帴鍙e簲浣跨敤鐨処P鍦板潃锛堜粎閫傜敤浜巘puart IP銆乶cn5120 IP鍜宨pt锛 + dest_port: + name: 鎺ュ彛绔彛 + description: 鍩轰簬IP鐨勬帴鍙e簲浣跨敤鐨勭綉缁滅鍙o紙浠呴傜敤浜巘puart IP銆乶cn5120 IP鍜宨pt锛 \ No newline at end of file diff --git a/libretv/CHANGELOG.md b/libretv/CHANGELOG.md new file mode 100644 index 0000000..e2110df --- /dev/null +++ b/libretv/CHANGELOG.md @@ -0,0 +1,6 @@ +### 202508060117 +- 鐗堟湰鍗囩骇 +### 202507251119 +- 鐗堟湰鍗囩骇 +### latest锛2025-06-19锛 +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/libretv/DOCS.md b/libretv/DOCS.md new file mode 100644 index 0000000..9863d35 --- /dev/null +++ b/libretv/DOCS.md @@ -0,0 +1,21 @@ +# LibreTV - 鍏嶈垂鍦ㄧ嚎瑙嗛鎼滅储涓庤鐪嬪钩鍙 + + +## 馃摵 椤圭洰绠浠 + +LibreTV 鏄竴涓交閲忕骇銆佸厤璐圭殑鍦ㄧ嚎瑙嗛鎼滅储涓庤鐪嬪钩鍙帮紝鎻愪緵鏉ヨ嚜澶氫釜瑙嗛婧愮殑鍐呭鎼滅储涓庢挱鏀炬湇鍔°傛棤闇娉ㄥ唽锛屽嵆寮鍗崇敤锛屾敮鎸佸绉嶈澶囪闂傞」鐩粨鍚堜簡鍓嶇鎶鏈拰鍚庣浠g悊鍔熻兘锛屽彲閮ㄧ讲鍦ㄦ敮鎸佹湇鍔$鍔熻兘鐨勫悇绫荤綉绔欐墭绠℃湇鍔′笂銆 + + +## 馃殌 蹇熼儴缃 + +1. 瀹夎鏈琣ddons +2. 瀹夎LibreTV 鏈嶅姟鍣ㄦ彃浠 +3. 鐧诲綍LibreTV锛屽瘑鐮侊細1234 + +## 鈿狅笍鍏嶈矗澹版槑 + +LibreTV 浠呬綔涓鸿棰戞悳绱㈠伐鍏凤紝涓嶅瓨鍌ㄣ佷笂浼犳垨鍒嗗彂浠讳綍瑙嗛鍐呭銆傛墍鏈夎棰戝潎鏉ヨ嚜绗笁鏂 API 鎺ュ彛鎻愪緵鐨勬悳绱㈢粨鏋溿傚鏈変镜鏉冨唴瀹癸紝璇疯仈绯荤浉搴旂殑鍐呭鎻愪緵鏂广 + +鏈」鐩紑鍙戣呬笉瀵逛娇鐢ㄦ湰椤圭洰浜х敓鐨勪换浣曞悗鏋滆礋璐c備娇鐢ㄦ湰椤圭洰鏃讹紝鎮ㄥ繀椤婚伒瀹堝綋鍦扮殑娉曞緥娉曡銆 + +鍏蜂綋璇︾粏淇℃伅璇峰弬鑰僛瀹樻柟鍦板潃](https://libretv.is-an.org) \ No newline at end of file diff --git a/libretv/README.md b/libretv/README.md new file mode 100644 index 0000000..b0d70d5 --- /dev/null +++ b/libretv/README.md @@ -0,0 +1,15 @@ +# 鍐摐鐢勯堿ddons锛歀ibreTV + +## 鍏充簬 + +- LibreTV-鍏嶈垂鍦ㄧ嚎瑙嗛鎼滅储涓庤鐪嬪钩鍙帮紝鎻愪緵鏉ヨ嚜澶氫釜瑙嗛婧愮殑鍐呭鎼滅储涓庢挱鏀炬湇鍔° + 鏃犻渶娉ㄥ唽锛屽嵆寮鍗崇敤锛屾敮鎸佸绉嶈澶囪闂傞」鐩粨鍚堜簡鍓嶇鎶鏈拰鍚庣浠g悊鍔熻兘锛屽彲閮ㄧ讲鍦ㄦ敮鎸佹湇鍔$鍔熻兘鐨勫悇绫荤綉绔欐墭绠℃湇鍔′笂銆 + +- 璁块棶楠岃瘉瀵嗙爜锛1234 + +## 鏉ユ簮 +[ 瀹樼綉锛歖(https://libretv.is-an.org/) https://libretv.is-an.org/ + +[GitHub锛歖(https://github.com/LibreSpark/LibreTV.git) https://github.com/LibreSpark/LibreTV.git + +[Docker Hub锛歖(https://hub.docker.com/r/bestzwei/libretv) https://hub.docker.com/r/bestzwei/libretv diff --git a/libretv/config.yaml b/libretv/config.yaml new file mode 100644 index 0000000..104079c --- /dev/null +++ b/libretv/config.yaml @@ -0,0 +1,18 @@ +name: "LibreTV" +version: '202508060117' +slug: 'wg-libretv' +codenotary: wghaos@163.com +description: 'LibreTV 鏄竴涓交閲忕骇銆佸厤璐圭殑鍦ㄧ嚎瑙嗛鎼滅储涓庤鐪嬪钩鍙帮紝鎻愪緵鏉ヨ嚜澶氫釜瑙嗛婧愮殑鍐呭鎼滅储涓庢挱鏀炬湇鍔' +# image: r.hassbus.com/wghaos/ +image: bestzwei/libretv +url: https://gitcode.com/waxgourd/addons +init: false +arch: + - aarch64 + - amd64 +ports: + 8080/tcp: 8899 +webui: "[PROTO:http]://[HOST]:[PORT:8899]" +boot: manual +environment: + PASSWORD: "1234" \ No newline at end of file diff --git a/libretv/icon.png b/libretv/icon.png new file mode 100644 index 0000000..1d96ad7 Binary files /dev/null and b/libretv/icon.png differ diff --git a/libretv/logo.png b/libretv/logo.png new file mode 100644 index 0000000..1d96ad7 Binary files /dev/null and b/libretv/logo.png differ diff --git a/lucky/CHANGELOG.md b/lucky/CHANGELOG.md new file mode 100644 index 0000000..0619107 --- /dev/null +++ b/lucky/CHANGELOG.md @@ -0,0 +1,181 @@ +### 2.19.5 (2025-10-16) + +- 鐗堟湰鍗囩骇 + +### 2.19.4 (2025-09-19) + +- 鐗堟湰鍗囩骇 + +### 2.19.1 (2025-09-10) + +- 鐗堟湰鍗囩骇 + +### 2.18.5 (2025-08-25) + +- 鐗堟湰鍗囩骇 + +### 2.18.2 (2025-08-08) + +- 鐗堟湰鍗囩骇 + +### 2.18.1 (2025-08-1) + +- 鐗堟湰鍗囩骇 + +### 2.17.8 (2025-06-19) + +- 鐗堟湰鍗囩骇 + +### 2.17.3 (2025-05-16) + +- 鐗堟湰鍗囩骇 + +### 2.16.1 (2025-04-09) + +- 鐗堟湰鍗囩骇 + +### 2.15.3 (2025-02-10) + +1. DDNS妯″潡閲嶅ぇ鏇存柊姝e紡鍙戝竷 + 1.1 鏋舵瀯閲嶆瀯瀹炵幇澶氳褰曠被鍨嬫敮鎸侊紙A/AAAA/CNAME/TXT/SRV/MX/SVCB/HTTPS/NS/CAA/SPF锛 + 1.2 鏂板绾胯矾鎸囧畾 + 1.3 鏀寔鍚屽悕璁板綍骞跺彂鍚屾 + 1.4 浼樺寲DDNS浜嬪姟澶勭悊鏈哄埗 +2.淇鍏跺畠宸茬煡bug + +### 2.14.0 (2024-12-01) + +2024-12-01 v2.14.0 +1. 缃戠粶鍞ら啋 + 1.1 淇浜嗕竴涓 bug锛岃 bug 瀵艰嚧鍦ㄦ湇鍔$鎵嬪姩娣诲姞璁惧璁板綍鏃讹紝瀹㈡埛绔娆′娇鐢ㄦ椂杩炴帴澶辫触銆 + +2. IP鍦板潃搴 + 2.1 鏂板瀵圭函鐪熸柊鐗堝湴鍧搴擄紙czdb 鏍煎紡锛夌殑鏀寔銆傝鑷閫氳繃绾湡瀹樼綉鑾峰彇銆 + +3. 鐐圭伅鐗╄仈 + 3.1 浼樺寲鏍稿績浠g爜锛屼慨澶嶅皬鐖卞悓瀛﹁闊虫帶鍒跺洖澶嶅紓甯哥殑闂銆 + +4. DDNS + 4.1 鑵捐浜戞帴鍙d笉鍐嶉檺鍒舵渶灏 TTL 涓 600銆 + 4.2 淇浜 Dynadot 鏇存柊涓诲煙鍚嶅け璐ョ殑闂銆 +5. SSL + +ACME 璇佷功 鍚屼竴缁勫煙鍚嶅彲鍚屾椂浣跨敤 Let's Encrypt銆乑eroSSL 鍜 FreeSSL 绛夊涓満鏋勯鍙戠殑璇佷功锛孡ucky 灏嗚嚜鍔ㄨ皟鐢ㄦ湁鏁堟湡鏈闀跨殑璇佷功銆 + +璁″垝浠诲姟 鐐圭伅缁勪欢缁戝畾鏁伴噺闄愬埗鏀惧鍒10涓 + +澧炲姞闅愮闃叉姢绛栫暐锛岄槻姝ofa鏍规嵁鍥哄畾鍥炬爣hash鍊兼悳绱㈠嚭lucky鍚庡彴 + +澧炲姞瀹夊叏鍏ュ彛璁剧疆妫鏌ュ拰榛樿璐﹀彿瀵嗙爜妫鏌ユ満鍒讹紝涓嶉氳繃妫鏌ユ棤娉曚娇鐢ㄦ瘡涓姛鑳芥ā鍧楋紝鍙湪璁剧疆椤甸潰绂佺敤妫鏌ャ傜櫥闄嗚繛缁敊璇渶澶ф鏁板噺灏戝埌30娆 浠2.14.0鐗堟湰寮濮嬶紝鍦ㄩ粯璁ら厤缃腑锛屽缃戣闂紑鍏冲浜庡叧闂姸鎬併傜劧鑰岋紝鍦 lucky_base.lkcf 閰嶇疆鍒濆鍖栧悗鐨勫崄鍒嗛挓鍐咃紝绯荤粺鍏佽澶栫綉璁块棶銆傚鏋滃湪杩欏崄鍒嗛挓鍐呮墽琛屼簡閰嶇疆淇濆瓨鎿嶄綔锛屽垯澶栫綉璁块棶寮鍏崇殑璁剧疆灏嗕紭鍏堢敓鏁堛傚鏋滈敊杩囦簡杩欎釜鏃堕棿锛屾偍闇瑕侀氳繃鍒犻櫎 lucky_base.lkcf 閰嶇疆鏂囦欢骞堕噸鍚 Lucky 杩涚▼鐨勬柟寮忥紝浣 lucky_base.lkcf 閰嶇疆鍐嶆鍒濆鍖栥 濡傛灉鏈缃畨鍏ㄥ叆鍙f垨鏈慨鏀归粯璁よ处鍙峰瘑鐮侊紝灏嗘棤娉曚娇鐢ㄦ墍鏈夊姛鑳芥ā鍧椼傚鏋滄偍浜嗚В鐩稿叧椋庨櫓骞剁‘瀹炰笉鎯宠繘琛岃缃紝璇峰湪璁剧疆闈㈡澘涓惎鐢ㄧ鐢ㄥ畨鍏ㄥ叆鍙h缃鏌ュ拰绂佺敤榛樿璐﹀彿瀵嗙爜妫鏌ュ紑鍏筹紙姝や袱涓夐」浼氶棯鐑佹彁绀猴級銆 + +鍏朵粬浼樺寲 + +2024-11-22 v2.13.8 +1. Web鏈嶅姟 + 1.1 淇閭欢鍙戦佹湇鍔″ 465 绔彛鐨勬敮鎸 + 1.2 浼樺寲閭欢鍙戦佹湇鍔¤皟璇曠殑鍓嶇鐣岄潰 + 1.3 涓轰簡闃叉鏂版墜闅忔剰淇敼璁剧疆锛屽瓙瑙勫垯缃戠粶璁剧疆銆佽嚜鍔 404 鎷夐粦浠ュ強鍩烘湰璁よ瘉杩炵画閿欒鑷姩鎷夐粦閫夐」浠呭湪瀹氬埗妯″紡涓嬫樉绀恒 +2. ACME + 2.1 淇 FreeSSL 鏂扮増鎺ュ彛鏃犳硶鐢宠璇佷功鐨勯棶棰 +3. 璁″垝浠诲姟 + 3.1 澧炲姞澶囦唤閰嶇疆骞跺彂閫佸埌鎸囧畾閭 + 3.2 鏀惧璁″垝浠诲姟瀵圭偣鐏粍浠舵暟閲忕殑闄愬埗鑷 8 涓紝鍚屾椂鏀寔绗笁鏂圭墿鑱旂綉骞冲彴瀵规帴 3 涓澶囥 +4. 鍏朵粬浼樺寲 + +2024-11-17 v2.13.7 +1. DDNS + 1.1 淇浜嗗湪鍙屾爤浠诲姟涓嬭幏鍙 IP 鍦板潃鏍煎紡閿欒鐨勯棶棰樸 +2. 璁″垝浠诲姟 + 2.1 璁″垝浠诲姟鐜版敮鎸佹帴鍏ョ偣鐏墿鑱旓紙鏀寔璇煶鎺у埗鍜岀粍浠舵帶鍒讹級鍙婂反娉曚簯锛屽綋鍓嶆敮鎸佷笁涓鍒掍换鍔″鎺ョ墿鑱旂綉骞冲彴銆 + 2.2 淇浜嗚鍒掍换鍔′慨鏀规墽琛屽懆鏈熷悗鏈敓鏁堢殑闂銆 + 2.3 璁″垝浠诲姟鏂板鏀寔鎿嶄綔 Lucky 绠$悊鍚庡彴澶栫綉璁块棶寮鍏崇被鍨嬨 + 2.4 閫氳繃璁″垝浠诲姟瀹炵幇鐐圭伅绉戞妧寮鍏崇粍浠朵笌 Lucky 绠$悊鍚庡彴澶栫綉璁块棶寮鍏崇殑鍙屽悜缁戝畾銆 +3. Web 鏈嶅姟 + 3.1鏂板閭欢鍙戦佸姛鑳斤紝璇︾粏淇℃伅璇锋煡闃呭畼缃戞枃妗c https://6.666666.host:66/docs/modules/web#%E9%82%AE%E4%BB%B6%E5%8F%91%E9%80%81 +4. 鍏跺畠浼樺寲 + +2024-11-03 v2.13.5 +1. 淇浜 DDNS 鍦ㄤ釜鍒儏鍐典笅 IP 鍦板潃鍙樺姩鍚庢湭鑳藉強鏃舵洿鏂扮殑闂銆 +2. 淇浜嗗湪鐗瑰畾鏋舵瀯涓嬪彲鑳藉鑷 UDP 绔彛杞彂宕╂簝鐨 bug銆 +3. 缃戠粶鍞ら啋鍔熻兘澧炲己锛岀偣鐏钩鍙版柊澧炵粍浠剁粦瀹氭敮鎸併傜粦瀹氱粍浠跺悗锛屽彲鍦ㄧ偣鐏 APP 涓煡璇㈠苟鎺у埗寮鍏虫満鐘舵併 +4. 鍏朵粬浼樺寲 + +### 2.13.4 (2024-11-25) + +2024-10-24 v2.13.4 +1. 鏇存柊 quic-go锛屼慨澶嶄笂涓増鏈腑 HTTP/3 瀵艰嚧鐨勫穿婧冮棶棰樸 +2. 淇 filebrowser 妯″潡閮ㄥ垎璁剧疆鍦ㄩ噸鍚悗浼氶噸缃殑 bug銆 +3. 鍏朵粬浼樺寲銆 + +2024-10-19 v2.13.3 +1. 淇宸茬煡bug +2. Web鏈嶅姟鍩烘湰璁よ瘉鐩稿叧鏃ュ織璁板綍澧炲姞IP鍦板潃淇℃伅 +3. Web鏈嶅姟 鏂板杩炴帴绠$悊锛屾敮鎸佹墜鍔ㄦ柇寮杩炴帴锛屼竴閿媺榛戯紙鏈紑鏀 + +2024-10-14 v2.13.2 Beta1 +1. 澧炲姞涓缁勫鐢 DNS 璁剧疆銆 +2. 榛樿璁剧疆 DNS 鍏ㄩ儴浣跨敤鍏叡 DoH 鏈嶅姟銆 +3. 浼樺寲 DNS 鍒囨崲绛栫暐銆 +4. 璁板綍褰撳墠姝e父浣跨敤鐨 DNS 鏈嶅姟鍣紝涓嬩竴娆″惎鍔ㄦ椂灏嗕紭鍏堜娇鐢ㄣ + +```json + +2024-10-13 v2.13.1 Beta1 + 1. Lucky搴曞眰DNS瑙f瀽鏂板瀵笵oH3銆丏oQ銆丏oH鍜孌oT鐨勬敮鎸併 鏍煎紡鍙傝冿細 + doh@https://doh.opendns.com/dns-query + doh@doh.opendns.com + doh3@223.5.5.5 + dot@223.5.5.5 + doq@dns.adguard.com + 2. IP鍦板潃搴撴柊澧炲lkdb鏍煎紡鐨勬敮鎸併 + 3. Web鏈嶅姟杩炵画404閿欒娆℃暟缁熻涓拷鐣ュfavicon.ico鐨勮褰曘 + 4. 淇宸茬煡Bug銆 + 5. 杩涜缁嗚妭浼樺寲銆 + +2024-10-04 v2.13.0 Beta1 + 1. 鏂板妯″潡 鈥 IP鍦板潃搴 + 1.1 鑷姩瀵圭浉鍏虫棩蹇椾俊鎭腑鐨処P鍦板潃鏁版嵁杩涜瀵屽寲锛堟樉绀篒P鍦板潃淇℃伅锛 + 1.2 Web鏈嶅姟鏂囨湰杈撳嚭绫诲瀷鏀寔鏌ヨIP淇℃伅 + 1.3 閽堝IP鍦板潃淇℃伅鐨勫叧閿瘝杩涜IP杩囨护锛堟湭寮鏀撅級 + 璇︾粏浠嬬粛鍜屼娇鐢ㄦ柟娉曪細璇峰弬鑰冨畼缃戞枃妗 + 2. 淇Web鏈嶅姟涓 proxy_set_header host 鏃犳晥鐨勯棶棰 + 3. 淇绉诲姩绔祻瑙堝櫒澶嶅埗鍩熷悕澶辫触鐨勯棶棰 + 4. 浼樺寲UDP杞彂鎬ц兘 + 5. FileBrowser鍚屾鑷虫渶鏂版簮鐮 + 6. Web鏈嶅姟鏂囨湰杈撳嚭鏂板鍙橀噺 ClientIPInfo 鍜 RemoteIPInfo锛屾敮鎸佹煡璇P鍦板潃淇℃伅 + 7. IP杩囨护澧炲姞瀛愯鍒欑被鍨 鈥 IP鍦板潃淇℃伅鍏抽敭瀛楀尮閰嶏紝榛戝悕鍗曪紙鏈紑鏀撅級 + 8. Web鏈嶅姟搴曞眰杩炴帴澧炲姞鍏ㄥ眬榛戝悕鍗曡繃婊ゅ鐞 + 9. IP杩囨护鍏ㄥ眬榛戝悕鍗曞奖鍝嶈寖鍥磋鐩朏TP銆乄ebDAV鍙奆ileBrowser妯″潡 + 10. 浼樺寲杩炴帴鏁伴檺鍒剁瓥鐣 + 11. 淇缃戠粶瀛樺偍涓坊鍔燱ebDAV瀛樺偍鏃跺鑷寸殑闃诲Bug + 12. 淇宸茬煡Bug + +``` + +### 2.10.8 (2024-07-15) + +1. DDNS鍜孉CME妯″潡 鏂板鏀寔deSEC銆丯ameSilo鍜屽笣鎭╃埍鏂-DNSLA鐨勩 +2. 淇浜哤ebhook涓湭鐭ュ彉閲忚鏇挎崲涓虹┖鐨勯棶棰樸 +3. 淇浜咲DNS妯″潡涓婁竴鐗堟湰鍙兘鏈兘鍙婃椂鏇存柊璁板綍鐨勯棶棰樸 + +### 2.10.5 (2024-06-26) + +1. DDNS銆丄CME鏂板鏀寔DnsPod.COM锛堝浗闄呯増锛夈佺伀灞卞紩鎿庛乂ercel銆丏ynadot +2. Web鏈嶅姟鏂板鈥滃叧闂繛鎺モ濈被鍨 +3. DDNS鍒楄〃鏀瑰杽鑾峰彇鍏綉IP閿欒鏃剁殑鎻愮ず +4. DDNS鐜板湪鏀寔璇嗗埆鐢ㄦ埛璁剧疆鐨勮嚜瀹氫箟澶氱骇鍩熷悕鍚庣紑 +5. 璇佷功妯″潡鍓嶅悗绔紭鍖 +6. 淇宸茬煡bug鍜屽叾瀹冪粏鑺備紭鍖栥 +7. 鏂板浜嗛傜敤浜 FreeBSD 绯荤粺鐨勭増鏈 + +### 2.9.0 (2024-05-17) + +- 鐗堟湰鍗囩骇 + +### 2.8.2 (2024-03-28) + +- 鐗堟湰鍗囩骇 + +### v2.8.0 (2024-03-23) + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/lucky/DOCS.md b/lucky/DOCS.md new file mode 100644 index 0000000..8e58498 --- /dev/null +++ b/lucky/DOCS.md @@ -0,0 +1,6 @@ +# Lucky(涓囧悏) +## 閰嶇疆璇存槑 +### 鏇存敼姝や富鏈轰笂鐢卞姞杞介」寮鏀剧殑绔彛 +- 榛樿绔彛鍙16601 + +瀹樻柟浣跨敤璇存槑锛歔浣跨敤鎸囧崡](https://lucky666.cn/docs/intro) \ No newline at end of file diff --git a/lucky/README.md b/lucky/README.md new file mode 100644 index 0000000..39c0016 --- /dev/null +++ b/lucky/README.md @@ -0,0 +1,25 @@ +# 鍐摐鐢勯塧ddons: Lucky(涓囧悏) +## 鍏充簬 +Lucky鏈鍒濇槸浣滀负涓涓皬宸ュ叿锛岀敱寮鍙戣呬负鑷繁鐨勪釜浜轰娇鐢ㄨ屽紑鍙戯紝鐢ㄤ簬鏇夸唬socat锛屽湪灏忕背璺敱AX6000瀹樻柟绯荤粺涓婂疄鐜板叕缃慖Pv6杞唴缃慖Pv4鐨勫姛鑳姐侺ucky鐨勮璁″缁堣嚧鍔涗簬璁╂洿澶氱殑Linux宓屽叆寮忚澶囪繍琛岋紝浠ュ疄鐜版垨闆嗘垚涓汉鐢ㄦ埛甯哥敤鍔熻兘锛岄檷浣庣敤鎴风殑纭欢鍜岃蒋浠舵搷浣滃涔犳垚鏈紝鍚屾椂寮曞浣跨敤鑰呮敞鎰忕綉缁滃畨鍏ㄣ傞殢鐫鐗堟湰鏇存柊鍜岀綉鍙嬪弽棣堬紝Lucky涓嶆柇杩唬鏀硅繘锛屾嫢鏈夋洿澶氬姛鑳藉拰鏇村ソ鐨勬ц兘锛屾垚涓虹敤鎴峰煎緱淇¤禆鐨勫伐鍏枫 + +Lucky 鐨勬牳蹇冪▼搴忓畬鍏ㄩ噰鐢 Golang 瀹炵幇锛屽叿鏈夐珮鏁堛佺ǔ瀹氥佽法骞冲彴绛変紭鐐广傚叾鍚庡彴鍓嶇鍒欓噰鐢 Vue3.2 鎶鏈繘琛屽紑鍙戯紝鍏锋湁鑹ソ鐨勭敤鎴蜂綋楠屽拰鍝嶅簲閫熷害銆傛澶栵紝Lucky 鐨勭鐞嗗悗鍙伴噰鐢ㄥ墠鍚庣鍒嗙鐨勬灦鏋勶紝绗笁鏂瑰紑鍙戣呬篃鍙互鑷敱浣跨敤OpenToken杞绘澗璋冪敤Lucky鐨勫悇绉嶅姛鑳芥帴鍙c + +## 鍔熻兘 +- 绔彛杞彂 + +- 鍔ㄦ佸煙鍚(DDNS) + +- Web鏈嶅姟 + +- Stun鍐呯綉绌块 + +- 缃戠粶鍞ら啋 + +- 璁″垝浠诲姟 + +- ACME鑷姩璇佷功 + +- 缃戠粶瀛樺偍 + +## 鏉ユ簮 +https://github.com/gdy666/lucky diff --git a/lucky/config.yaml b/lucky/config.yaml new file mode 100644 index 0000000..b95b014 --- /dev/null +++ b/lucky/config.yaml @@ -0,0 +1,19 @@ +name: Lucky(涓囧悏) +version: 2.19.5 +slug: lucky +codenotary: wghaos@163.com +description: '鏇夸唬socat,IPv6 tcp/udp 杞彂鍐呯綉IPv4,鍔ㄦ佸煙鍚嶆湇鍔' +url: https://gitcode.com/waxgourd/addons +image: r.hassbus.com/wghaos/lucky +init: false +boot: manual +arch: + - aarch64 + - amd64 +#webui: "[PROTO:http]://[HOST]:[PORT:16601]" +ports: + 16601/tcp: 16601 +ingress: true +ingress_port: 16601 +panel_icon: 'mdi:server-network' +host_network: true \ No newline at end of file diff --git a/lucky/icon.png b/lucky/icon.png new file mode 100644 index 0000000..aebfc74 Binary files /dev/null and b/lucky/icon.png differ diff --git a/lucky/logo.png b/lucky/logo.png new file mode 100644 index 0000000..aebfc74 Binary files /dev/null and b/lucky/logo.png differ diff --git a/mi-scale/CHANGELOG.md b/mi-scale/CHANGELOG.md new file mode 100644 index 0000000..ede479d --- /dev/null +++ b/mi-scale/CHANGELOG.md @@ -0,0 +1,7 @@ +### 0.3.6-1锛2024-07-30锛 + +- 鐗堟湰鍗囩骇 + +### 0.3.6锛2022-10-10锛 + +- 棣栨鎻愪氦 diff --git a/mi-scale/DOCS.md b/mi-scale/DOCS.md new file mode 100644 index 0000000..601cb05 --- /dev/null +++ b/mi-scale/DOCS.md @@ -0,0 +1,72 @@ +# 灏忕背浣撹剛绉 + +## 鏀寔鐨勭數瀛愮Г + +鏀寔绫诲瀷: +Name | Model | Picture +--- | --- | --- +[Mi Smart Scale 2](https://www.mi.com/global/scale)                                                                                               | XMTZC04HM | Mi Scale_2 +[Mi Body Composition Scale](https://www.mi.com/global/mi-body-composition-scale/) | XMTZC02HM | Mi Scale +[Mi Body Composition Scale 2](https://c.mi.com/thread-2289389-1-0.html) | XMTZC05HM | Mi Body Composition Scale 2 + +## 閰嶇疆璇存槑 +閰嶇疆椤 | 绫诲瀷 | 蹇呭~椤 | 璇存槑 +--- | --- | --- | --- +HCI_DEV | string | 鍚 | 钃濈墮鍦板潃銆傞粯璁や负 `hci0` +BLUEPY_PASSIVE_SCAN | bool | 鍚 | 濡傛灉鍍忓湪 Raspberry Pi 涓婂嚭鐜伴敊璇 `Bluetooth connection error: Failed to execute management command 鈥榣e on鈥檂 锛岃灏濊瘯璁剧疆涓 true銆傞粯璁や负 `false` +MISCALE_MAC | string | 鏄 | 绉ょ殑 MAC 鍦板潃 +MQTT_PREFIX | string | 鍚 | MQTT 涓婚鍓嶇紑锛岄粯璁や负`miscale` +MQTT_HOST | string | 鏄 | MQTT 鏈嶅姟鍣紝榛樿涓篳127.0.0.1` +MQTT_USERNAME | string | 鍚 | MQTT 鏈嶅姟鍣ㄧ殑鐢ㄦ埛鍚嶏紙濡傛灉涓嶉渶瑕侊紝鍒欐敞閲婃帀锛 +MQTT_PASSWORD | string | 鍚 | MQTT 鏈嶅姟鍣ㄧ殑瀵嗙爜锛堝鏋滀笉闇瑕侊紝鍒欐敞閲婃帀锛 +MQTT_PORT | int | 鍚 | MQTT 鏈嶅姟鍣ㄧ殑绔彛锛岄粯璁や负 1883 +MQTT_DISCOVERY | bool | 鍚 | 鏄惁瑕 Home Assistant 鐨 MQTT 鍙戠幇锛岄粯璁や负 `true` +MQTT_DISCOVERY_PREFIX | string | 鍚 | Home Assistant 鐨 MQTT 鍙戠幇鍓嶇紑锛岄粯璁や负 `homeassistant` +DEBUG_LEVEL | string | 鍚 | 鏃ュ織璁板綍绾у埆銆傚彲鑳界殑鍊硷細`CRITICAL`銆乣ERROR`銆乣WARNING`銆乣INFO`銆乣DEBUG`锛岄粯璁や负`INFO` +USERS | List | 鏄 | 瑕佹坊鍔犵殑鐢ㄦ埛鍒楄〃锛岃鍙傝涓嬫枃 + + +鑷姩鎬у埆閫夋嫨/閰嶇疆锛氱敤浜庡垱寤鸿绠楋紝渚嬪 BMI銆佹按/楠ㄩ噺绛夈備互涓嬫槸鐢ㄤ簬涓虹敤鎴峰垎閰嶆祴閲忔潈閲嶇殑閫昏緫锛 +- 濡傛灉鏉冮噸鍦ㄧ敤鎴峰畾涔夌殑 GT 鍜 LT 鍊艰寖鍥村唴锛屽垯浼氬皢鍏跺垎閰嶏紙鍙戝竷锛夌粰璇ョ敤鎴枫 +- 濡傛灉鏉冮噸涓庝袱涓崟鐙殑鐢ㄦ埛鑼冨洿鍖归厤锛屽垯鍙細灏嗗叾鍒嗛厤缁欏尮閰嶇殑绗竴涓敤鎴枫傛墍浠ヤ笉瑕佸垱寤洪噸鍙犵殑鑼冨洿锛 + +鐢ㄦ埛閫夐」 | 绫诲瀷 | 蹇呭~椤 | 璇存槑 +--- | --- | --- | --- +GT | int | 鏄 | 澶т簬 - 鏉冮噸蹇呴』澶т簬姝ゅ;杩欏皢鏄敤鎴蜂綋閲嶈寖鍥寸殑涓嬮檺 +LT | int | 鏄 | 灏忎簬 - 閲嶉噺蹇呴』灏忎簬姝ゅ;杩欏皢鏄敤鎴蜂綋閲嶈寖鍥寸殑涓婇檺 +SEX | string | 鏄 | 鐢ㄦ埛鐨勬у埆锛堢敺/濂筹級 +NAME | string | 鏄 | 鐢ㄦ埛鍚嶇О +HEIGHT | int | 鏄 | 鐢ㄦ埛鐨勮韩楂橈紙鍘樼背锛 +DOB | string | 鏄 | 鐢ㄦ埛鐨勫嚭鐢熸棩鏈燂紙鏍煎紡 yyyy-mm-dd 锛 + +娉ㄦ剰锛氶噸閲忓畾涔夊繀椤讳笌浣撻噸绉ょ殑鍗曚綅鐩稿悓锛坘g銆丩bs 鎴 jin锛夈 + + +## configuration.yaml閰嶇疆 +鍦ㄥ潡涓 `mqtt:` 锛岃緭鍏ヤ笌鐜鍙橀噺涓厤缃殑鐢ㄦ埛鏁颁竴鏍峰鐨勫潡銆傚鏋滄偍宸茬粡鏈変竴涓 `mqtt:` and/or `sensor:` 鍧楋紝璇蜂笉瑕佸垱寤哄彟涓涓潡锛岃屽彧闇鍦ㄧ浉鍏冲潡澶翠笅娣诲姞鈥滅己澶扁濅綅銆傛敞鎰忥細鍙湁鏉冮噸瀹炰綋鎵嶄細閫氳繃 MQTT 鍙戠幇鑷姩娣诲姞銆 + + +```yaml +mqtt: + sensor: + - name: "Example Name Weight" + state_topic: "miscale/USER_NAME/weight" + value_template: "{{ value_json['weight'] }}" + unit_of_measurement: "kg" + json_attributes_topic: "miscale/USER_NAME/weight" + icon: mdi:scale-bathroom + # Below lines only needed if long term statistics are required + state_class: "measurement" + + - name: "Example Name BMI" + state_topic: "miscale/USER_NAME/weight" + value_template: "{{ value_json['bmi'] }}" + icon: mdi:human-pregnant + unit_of_measurement: "kg/m2" + # Below lines only needed if long term statistics are required + state_class: "measurement" +``` + +Example of the Lovelace card in HA + +Example of the details of the Lovelace card in HA \ No newline at end of file diff --git a/mi-scale/README.md b/mi-scale/README.md new file mode 100644 index 0000000..c41d03c --- /dev/null +++ b/mi-scale/README.md @@ -0,0 +1,15 @@ +# 鍐摐鐢勯塧ddons锛氬皬绫充綋鑴傜О + +## 鍏充簬 + +灏忕背浣撹剛绉版眽鍖栫増锛岄氳繃浣庡姛鑰楄摑鐗欙紙BLE锛夎繛鎺ュ埌灏忕背浣撹剛绉わ紝浠庤澶囪鍙栦綋閲嶆祴閲忓硷紝鍖呮嫭浣撻噸鎸囨暟锛圔MI锛夈佸熀纭浠h阿銆佸唴鑴忚剛鑲佺槮浣撻噸銆佷綋鑴傘佹按閲忋侀閲忋佽倢鑲夐噺銆佽泲鐧借川鍚噺銆佷綋鍨嬨佷綋閲嶇被鍒拰浠h阿骞撮緞銆 + +## 鏉ユ簮 + +姹夊寲鍊熼壌 + +https://github.com/5high/hassio-addons/tree/master/mi-scale + +鍘熺増寮曠敤 + +https://github.com/lolouk44/hassio-addons diff --git a/mi-scale/apparmor.txt b/mi-scale/apparmor.txt new file mode 100644 index 0000000..5d8afb7 --- /dev/null +++ b/mi-scale/apparmor.txt @@ -0,0 +1,96 @@ +#include + +profile xiaomi_mi_scale flags=(attach_disconnected,mediate_deleted) { + #include + + # Capabilities + network, + capability, + file, + + # ### + # included from https://github.com/edgexfoundry-holding/device-bluetooth-c/blob/main/docker-ble-policy + # ### + dbus (send, receive) bus=system peer=(name=org.bluez, label=unconfined), + dbus (send, receive) bus=system interface=org.freedesktop.DBus peer=(label=unconfined), + + # ### + # included from https://github.com/jdstrand/snapd/blob/4befc00e3318a3231e96b38b575bf6e637ddad6c/interfaces/builtin/bluez.go + # ### + dbus (receive, send) + bus=system + interface=org.bluez.* + peer=(label=unconfined), + dbus (receive, send) + bus=system + path=/org/bluez{,/**} + interface=org.freedesktop.DBus.* + peer=(label=unconfined), + dbus (receive, send) + bus=system + path=/ + interface=org.freedesktop.DBus.* + peer=(label=unconfined), + + + # ### + # included from https://developers.home-assistant.io/docs/add-ons/presentation#apparmor + # ### + signal (send) set=(kill,term,int,hup,cont), + + # Receive signals from S6-Overlay + signal (send,receive) peer=*_xiaomi_mi_scale, + + # S6-Overlay + /init ix, + /bin/** ix, + /usr/bin/** ix, + /run/{s6,s6-rc*,service}/** ix, + /package/** ix, + /command/** ix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /run/{,**} rwk, + /dev/tty rw, + + # Bashio + /usr/lib/bashio/** ix, + /tmp/** rwk, + + # Access to options.json and other files within your addon + /data/** rw, + + # Access to mapped volumes specified in config.json + /share/** rw, + + + # ### + # included from https://gist.github.com/disconnect3d/d578af68b09ab56db657854ec03879aa + # (docker-default profile which would usually be used for this container) + # ### + signal (receive) peer=unconfined, + signal (send,receive) peer=docker-default, + + deny @{PROC}/* w, # deny write for all files directly in /proc (not in a subdir) + # deny write to files not in /proc//** or /proc/sys/** + deny @{PROC}/{[^1-9],[^1-9][^0-9],[^1-9s][^0-9y][^0-9s],[^1-9][^0-9][^0-9][^0-9]*}/** w, + deny @{PROC}/sys/[^k]** w, # deny /proc/sys except /proc/sys/k* (effectively /proc/sys/kernel) + deny @{PROC}/sys/kernel/{?,??,[^s][^h][^m]**} w, # deny everything except shm* in /proc/sys/kernel/ + deny @{PROC}/sysrq-trigger rwklx, + deny @{PROC}/kcore rwklx, + + deny mount, + + deny /sys/[^f]*/** wklx, + deny /sys/f[^s]*/** wklx, + deny /sys/fs/[^c]*/** wklx, + deny /sys/fs/c[^g]*/** wklx, + deny /sys/fs/cg[^r]*/** wklx, + deny /sys/firmware/** rwklx, + deny /sys/kernel/security/** rwklx, + + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, +} \ No newline at end of file diff --git a/mi-scale/config.json b/mi-scale/config.json new file mode 100644 index 0000000..6dd5b3f --- /dev/null +++ b/mi-scale/config.json @@ -0,0 +1,96 @@ +{ + "name": "Xiaomi Mi Scale", + "version": "0.3.6-1", + "slug": "xiaomi_mi_scale", + "description": "閫氳繃钃濈墮锛圔LE锛夎鍙栧皬绫充綋鑴傜Г鐨勬祴閲忓", + "url": "https://gitcode.com/waxgourd/addons", + "image": "r.hassbus.com/wghaos/mi-scale", + "arch": ["aarch64","amd64"], + "startup": "application", + "boot": "manual", + "host_dbus": true, + "panel_admin": false, + "host_network": true, + "apparmor": true, + "privileged": ["NET_ADMIN", "SYS_ADMIN"], + + "options": { + "HCI_DEV": "hci0", + "BLUEPY_PASSIVE_SCAN": false, + "MISCALE_MAC": "00:00:00:00:00:00", + "MQTT_PREFIX": "miscale", + "MQTT_HOST": "127.0.0.1", + "MQTT_USERNAME": "user", + "MQTT_PASSWORD": "passwd", + "MQTT_PORT": 1883, + "MQTT_RETAIN": true, + "MQTT_DISCOVERY": true, + "MQTT_DISCOVERY_PREFIX": "homeassistant", + "MQTT_TLS_CACERTS": "Path to CA Cert File", + "MQTT_TLS_INSECURE": false, + "DEBUG_LEVEL": "error", + + "USERS": [ + { + "NAME": "Bob", + "SEX": "male", + "GT": 60, + "LT": 80, + "HEIGHT": 180, + "DOB": "1980-01-01" + }, + { + "NAME": "Mary", + "SEX": "female", + "GT": 40, + "LT": 60, + "HEIGHT": 160, + "DOB": "1990-01-01" + }, + { + "NAME": "Timmy", + "SEX": "male", + "GT": 20, + "LT": 40, + "HEIGHT": 120, + "DOB": "2010-01-01" + }, + { + "NAME": "Baby Sally", + "SEX": "female", + "GT": 1, + "LT": 20, + "HEIGHT": 50, + "DOB": "2020-01-01" + } + ] + + }, + "schema": { + "HCI_DEV": "str?", + "BLUEPY_PASSIVE_SCAN": "bool?", + "MISCALE_MAC": "str", + "MQTT_PREFIX": "str?", + "MQTT_HOST": "str", + "MQTT_USERNAME": "str?", + "MQTT_PASSWORD": "str?", + "MQTT_PORT": "int?", + "MQTT_RETAIN": "bool?", + "MQTT_DISCOVERY": "bool?", + "MQTT_DISCOVERY_PREFIX": "str?", + "MQTT_TLS_CACERTS": "str?", + "MQTT_TLS_INSECURE": "bool?", + "DEBUG_LEVEL": "str?", + + "USERS": [ + { + "NAME": "str", + "SEX": "str", + "GT": "int", + "LT": "int", + "HEIGHT": "int", + "DOB": "str" + } + ] + } +} diff --git a/mi-scale/icon.png b/mi-scale/icon.png new file mode 100644 index 0000000..0a115a0 Binary files /dev/null and b/mi-scale/icon.png differ diff --git a/mi-scale/logo.png b/mi-scale/logo.png new file mode 100644 index 0000000..2e9e697 Binary files /dev/null and b/mi-scale/logo.png differ diff --git a/mpd/CHANGELOG.md b/mpd/CHANGELOG.md new file mode 100644 index 0000000..6ecd979 --- /dev/null +++ b/mpd/CHANGELOG.md @@ -0,0 +1,17 @@ +### 1.8.2锛2025-09-16锛 +- 鐗堟湰鍗囩骇 +### 1.8.1锛2025-07-01锛 +- 鐗堟湰鍗囩骇 +### 1.8.0锛2025-04-27锛 +- 鐗堟湰鍗囩骇 +### 1.7.5锛2025-02-07锛 + +- 鐗堟湰鍗囩骇 + +### 1.7.3锛2023-10-15锛 + +- 鐗堟湰鍗囩骇 + +### 1.7.2锛2023-12-29锛 + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/mpd/DOCS.md b/mpd/DOCS.md new file mode 100644 index 0000000..f10ce4a --- /dev/null +++ b/mpd/DOCS.md @@ -0,0 +1,67 @@ +# MPD + +## 閰嶇疆璇存槑锛 + +- 涓嬮潰鏄彃浠朵綔鑰呯殑寤鸿锛 + +```yaml +media_folder: /media/mpd/media +playlist_folder: /media/mpd/playlists +volume_normalization: false +httpd_output: false +``` + +### 闊抽噺鏍囧噯鍖 + +- 鍚敤鍐呯疆鐨勯煶閲忔爣鍑嗗寲鍔熻兘銆 + +### httpd杈撳嚭 + +- 鍚敤 httpd 闊抽杈撳嚭銆 + +### 濯掍綋鏂囦欢澶 + +- 姝ら夐」鍏佽浣犳寚瀹氳嚜瀹氫箟濯掍綋鏂囦欢澶广 + +### 鎾斁鍒楄〃鏂囦欢澶 + +- 姝ら夐」鍏佽浣犳寚瀹氳嚜瀹氫箟鎾斁鍒楄〃鏂囦欢澶广 + +### 璇︾粏 (鍙夐」) + +- `MPD` 璇︾粏鏃ュ織鍙傛暟銆 + +### 鑷畾涔夐厤缃 (鍙夐」) + +**濡傛灉鎸囧畾姝ら夐」锛屽垯蹇界暐鎵鏈夊叾浠栭夐」銆** + +- 姝ら夐」鍏佽浣犱负 MPD 鎸囧畾鑷畾涔夐厤缃枃浠躲 +- 涓轰簡灏嗘墍鏈 MPD 鏂囦欢淇濆瓨鍦ㄤ竴涓綅缃紝宸卞皢璺緞鍓嶇紑闄愬埗涓衡/share/MPD 鈥濄 +- 璇蜂娇鐢ㄦ彃浠剁殑榛樿 [MPD.conf](https://github.com/poeschl/hassio-addons/blob/main/mpd/root/etc/mpd.conf )浣滀负鍙傝冦 +- 濡傛灉浣犵殑閰嶇疆鏈夐棶棰橈紝璇锋煡闃呭畼鏂规枃妗MPD Docs](https://www.musicpd.org/doc/html/user.html#configuration)锛屾壘瑙e喅鏂规硶銆 + +## 鏁呴殰鎺掗櫎 + +``` +RTIOThread could not get realtime scheduling, continuing anyway: sched_setscheduler +``` + +A锛氭閿欒鏄剧ず鍦ㄤ换浣曢潪 glibc 绯荤粺锛堝 Alpine Linux锛変笂銆侻PD 搴旇鍦ㄦ病鏈夊畠鐨勬儏鍐典笅宸ヤ綔銆 +鏇村璇风湅杩欓噷锛 [MPD Issue](https://github.com/MusicPlayerDaemon/MPD/issues/218) + +``` +Failed to open '/data/database/mpd.db': No such file or directory +``` + +A锛氬綋鏁版嵁搴撲笉瀛樺湪鏃讹紝姝ら敊璇湪绗竴娆″惎鍔ㄦ椂鏄剧ず銆傚畠灏嗗湪绗簩娆¤繍琛屾椂鍑虹幇銆 + +## 浣滆呮彁閱 + +瑕佷粠HA杩炴帴锛岃浣跨敤浠ヤ笅閰嶇疆锛 + +```yaml +media_player: + - platform: mpd + host: 243ffc37-mpd + port: 6600 +``` diff --git a/mpd/README.md b/mpd/README.md new file mode 100644 index 0000000..209b549 --- /dev/null +++ b/mpd/README.md @@ -0,0 +1,9 @@ +# 鍐摐鐢勯塧ddons锛歁PD + +## 鍏充簬 + +[MPD](https://www.musicpd.org)鏄竴娆惧厤璐圭殑寮婧愰煶涔愭挱鏀惧櫒銆傚畠鍙互鎾斁闊抽鏂囦欢銆佺粍缁囨挱鏀惧垪琛ㄥ苟缁存姢闊充箰鏁版嵁搴撱傛湰鎻掍欢涓寘鍚湁绠鏄撶殑WEB鍓嶇[YMPD](https://ympd.org/)銆 + +## 鏉ユ簮 + +https://github.com/Poeschl-HomeAssistant-Addons/mpd \ No newline at end of file diff --git a/mpd/config.yaml b/mpd/config.yaml new file mode 100644 index 0000000..848a3bd --- /dev/null +++ b/mpd/config.yaml @@ -0,0 +1,41 @@ +name: MPD +version: 1.8.2 +slug: mpd +panel_icon: mdi:music-circle +description: >- + 闊充箰鎾斁鍣ㄥ畧鎶よ繘绋嬫槸涓涓厤璐瑰拰寮婧愮殑闊充箰鎾斁鍣ㄣ傚畠鎾斁闊抽鏂囦欢锛岀粍缁囨挱鏀惧垪琛ㄥ拰缁存姢闊充箰鏁版嵁搴 +url: https://gitcode.com/waxgourd/addons +ingress: true +ingress_port: 6680 +arch: + - aarch64 + - amd64 +image: r.hassbus.com/poeschl-homeassistant-addons/mpd-{arch} +init: false +audio: true +devices: + - /dev/snd +map: + - share:rw + - media:rw +ports: + 6680/tcp: null + 6600/tcp: 6600 + 8000/tcp: null +ports_description: + 6680/tcp: Web Frontend (Not needed with ingress feature) + 6600/tcp: MDP Connection + 8000/tcp: HTTPd Connection (if enabled) +options: + media_folder: /media/mpd/media + playlist_folder: /media/mpd/playlists + volume_normalization: false + httpd_output: false +schema: + media_folder: match(/share/.+|/media/.+|(smb|nfs)://.+) + playlist_folder: match(/share/.+|/media/.+|(smb|nfs)://.+) + volume_normalization: bool + httpd_output: bool + verbose: bool? + custom_config: match(/share/mpd/.+)? +boot: manual diff --git a/mpd/icon.png b/mpd/icon.png new file mode 100644 index 0000000..0063045 Binary files /dev/null and b/mpd/icon.png differ diff --git a/mpd/logo.png b/mpd/logo.png new file mode 100644 index 0000000..fd42286 Binary files /dev/null and b/mpd/logo.png differ diff --git a/mpd/translations/en.yaml b/mpd/translations/en.yaml new file mode 100644 index 0000000..2983bd8 --- /dev/null +++ b/mpd/translations/en.yaml @@ -0,0 +1,14 @@ +--- +configuration: + media_folder: + name: media_folder + playlist_folder: + name: playlist_folder + volume_normalization: + name: volume_normalization + httpd_output: + name: httpd_output + verbose: + name: verbose + custom_config: + name: custom_config \ No newline at end of file diff --git a/mpd/translations/zh-Hans.yaml b/mpd/translations/zh-Hans.yaml new file mode 100644 index 0000000..b6ec2da --- /dev/null +++ b/mpd/translations/zh-Hans.yaml @@ -0,0 +1,14 @@ +--- +configuration: + media_folder: + name: 濯掍綋鏂囦欢澶 + playlist_folder: + name: 鎾斁鍒楄〃鏂囦欢澶 + volume_normalization: + name: 闊抽噺鏍囧噯鍖 + httpd_output: + name: httpd杈撳嚭 + verbose: + name: 璇︾粏鏃ュ織杈撳嚭 + custom_config: + name: 鑷畾涔夐厤缃 \ No newline at end of file diff --git a/netdata/CHANGELOG.md b/netdata/CHANGELOG.md new file mode 100644 index 0000000..d579544 --- /dev/null +++ b/netdata/CHANGELOG.md @@ -0,0 +1,83 @@ +### 2.7.3 (2025-11-03) +- 鐗堟湰鍗囩骇 +### 2.7.2 (2025-10-16) +- 鐗堟湰鍗囩骇 +### 2.6.3 (2025-08-25) +- 鐗堟湰鍗囩骇 +### 2.5.4 (2025-07-01) +- 鐗堟湰鍗囩骇 +### 2.5.3 (2025-06-19) +- 鐗堟湰鍗囩骇 +### 2.5.1 (2025-05-16) +- 鐗堟湰鍗囩骇 +### 2.4.0 (2025-04-27) +- 鐗堟湰鍗囩骇 +### 2.3.2-1 (2025-04-10) +- 鐗堟湰鍗囩骇 +### 2.3.2 (2025-04-09) +- 鐗堟湰鍗囩骇 +### 2.3.1 (2025-04-10) +- 鐗堟湰鍗囩骇 +### 2.2.6 (2025-03-03) +- 鐗堟湰鍗囩骇 +### 2.2.5 (2025-03-03) +- 鐗堟湰鍗囩骇 +### 2.2.4 (2025-02-07) + +- 鐗堟湰鍗囩骇 + +### 2 (2024-11-25) + +- 鐗堟湰鍗囩骇 + + +### 1.47.4 (2024-10-14) + +- 鐗堟湰鍗囩骇 + +### 1.47.0 (2024-08-23) + +- 鐗堟湰鍗囩骇 + +### 1.46.3 (2024-07-30) + +- 鐗堟湰鍗囩骇 + +### 1.46.2 (2024-07-12) + +Netdata v1.46.2 鏄竴涓ˉ涓佺増鏈紝鐢ㄤ簬瑙e喅鑷 v1.46.1 浠ユ潵鍙戠幇鐨勯棶棰樸 + +姝や慨琛ョ▼搴忕増鏈彁渚涗簡浠ヤ笅閿欒淇鍜屾洿鏂帮細 + + - 灏 uid/gid/egid 璁剧疆涓 0 浠ユ彁楂樹笌 root 鎵闇鍛戒护 锛坣dsudo锛 鐨勫吋瀹规с + - 鏀硅繘浜 ksm/swap/cma/zswap 鎸囨爣鐨勬敹闆嗭細鐜板湪浠呭湪鍚敤璇ュ姛鑳芥椂鏀堕泦锛坧roc/vmstat銆乸roc/meminfo锛夈 + - 灏 netdata.spec 涓殑 Golang 鐗堟湰涓 go.mod 瀵归綈銆 + - 娣诲姞浜嗗 go.d.plugin lm_sensors 鐨勫急渚濊禆 锛坣etdata.spec/plugin-go锛夈 + - 淇浜 Prometheus鈥減rometheus_all_hosts鈥濆鍑烘牸寮忥紝鍦ㄢ渋nstance鈥濇爣绛惧墠娣诲姞缂哄皯閫楀彿銆 + - 閫氳繃鍒囨崲鍒板井绉 锛坧roc/diskstats锛 鎻愰珮浜嗗钩鍧 IO 鎿嶄綔鏃堕棿鎸囨爣鐨勫噯纭с + - 淇浜嗗湪 Docker 瀹瑰櫒 锛坉iskspace.plugin锛 涓繍琛 Netdata 鏃跺涓绘満鎸傝浇鐐圭殑鐩戞帶 銆 + - 鏈満杞欢鍖呭畨瑁咃紙deb銆乺pm锛夌幇鍦ㄥ寘鎷 netdata-updater 鏈嶅姟鍜岃鏃跺櫒锛岀敤浜庡湪娌℃湁 cron 鐨勭郴缁熶笂鑷姩鏇存柊銆 + - 璀︽姤鍘熷瀷锛氫负娓呮璧疯锛岃绠椾腑鐨勯粯璁も渁fter鈥濆艰缃负 -600锛10 鍒嗛挓锛夈 + - 閫氳繃澶勭悊 HTTP/1.0 200 杩炴帴寤虹珛鍝嶅簲锛屼慨澶嶄簡閫氳繃浠g悊鐨勪簯杩炴帴銆 + - 閫氳繃寮哄埗鎵ц渚涘簲鍟嗗寘鎷帓搴忔潵纭繚姝g‘鐨勫簱浣跨敤锛屼粠鑰屾敼杩涗簡鏋勫缓銆 + - 鐢变簬缂轰箯鏀寔锛屽湪鎵撳寘杩囩▼涓粯璁ょ鐢ㄤ簡 logsmanagement 鎻掍欢銆 + - 灏嗗埌鏈熻鍛婂墠鐨勯粯璁ゅぉ鏁颁笌鏂囨。涓鑷 锛30/15锛 锛坓o.d/whoisquery锛夈 + - 杩囨湡鏃堕棿鐜板湪浠ュぉ鑰屼笉鏄涓哄崟浣嶆樉绀猴紙whoisquery 鍜 x509check 璀︽姤锛夈 + - 閫氳繃閬靛畧 DOCKER_HOST 鐜鍙橀噺 锛坓o.d.plugin锛 鏀硅繘浜 Docker 瀹瑰櫒涓殑鍔熻兘銆 + - 鏀硅繘浜唒ing_host_reachable璀︽姤璁$畻浠ユ彁楂樺彲闈犳 銆 + +### 1.46.1 (2024-06-26) + +- 鐗堟湰鍗囩骇 + +### 1.45.4 (2024-05-17) + +- 鐗堟湰鍗囩骇 + +### 1.45 (2024-03-25) + +- 鐗堟湰鍗囩骇 + +### 1.44.1 (2024-01-02) + +- 棣栨鎺ㄥ嚭 diff --git a/netdata/DOCS.md b/netdata/DOCS.md new file mode 100644 index 0000000..f982781 --- /dev/null +++ b/netdata/DOCS.md @@ -0,0 +1,13 @@ +# Netdata + +## 閰嶇疆璇存槑 + + +### 鏇存敼姝や富鏈轰笂鐢卞姞杞介」寮鏀剧殑绔彛锛 + +- 榛樿绔彛鍙凤細19999锛屽彲鍦ㄩ厤缃腑鑷淇敼 + +- 鍙互閫氳繃娴忚鍣ㄩ〉闈㈣闂 锛堢鍙e彿榛樿19999锛 + +- 璇︾粏浣跨敤鎸囧崡锛岃杩涘叆锛歨ttps://learn.netdata.cloud/ + diff --git a/netdata/README.md b/netdata/README.md new file mode 100644 index 0000000..7533cd4 --- /dev/null +++ b/netdata/README.md @@ -0,0 +1,35 @@ +# 鍐摐鐢勯塧ddons锛歂etdata + +## 鍏充簬 + +Netdata姣忕鏀堕泦鎸囨爣锛屽苟灏嗗叾鏄剧ず鍦ㄦ紓浜殑浣庡欢杩熶华琛ㄦ澘涓 + +## 鐗圭偣 + +馃挜 浠 800+ 闆嗘垚 +涓敹闆嗘寚鏍囷細鎿嶄綔绯荤粺鎸囨爣銆佸鍣ㄦ寚鏍囥佽櫄鎷熸満銆佺‖浠朵紶鎰熷櫒銆佸簲鐢ㄧ▼搴忔寚鏍囥丱penMetrics 瀵煎嚭鍣ㄣ丼tatsD 鍜屾棩蹇椼 + +馃挭 瀹炴椂銆佷綆寤惰繜銆侀珮鍒嗚鲸鐜 +鎵鏈夋寚鏍囧潎鎸夌鏀堕泦锛屽苟鍦ㄦ暟鎹敹闆嗗悗绔嬪嵆鏄剧ず鍦ㄤ华琛ㄦ澘涓娿侼etdata 鏃ㄥ湪蹇熻繍琛屻 + +馃樁 馃尗锔 鏃犵洃鐫e紓甯告娴 +锛氫负鏀堕泦鐨勬瘡涓寚鏍囪缁冨涓満鍣ㄥ涔 锛圡L锛 妯″瀷锛屽苟鏍规嵁姣忎釜鎸囨爣鐨勮繃鍘昏涓哄崟鐙娴嬪紓甯搞 + +馃敟 寮哄ぇ鐨勫彲瑙嗗寲 娓呮櫚绮剧‘鐨勫彲瑙嗗寲 +锛屼娇鎮ㄥ彲浠ュ揩閫熺悊瑙d换浣曟暟鎹泦锛岃繕鍙互鐩存帴鍦ㄤ华琛ㄦ澘涓婂鏁版嵁杩涜杩囨护銆佸垏鐗囧拰鍒囧潡锛岃屾棤闇瀛︿範浠讳綍鏌ヨ璇█銆 + +馃敂 寮绠卞嵆鐢ㄧ殑璀︽姤 甯︽湁鏁扮櫨涓紑绠卞嵆鐢ㄧ殑璀︽姤 +锛岀敤浜庢娴嬪父瑙侀棶棰樺拰闄烽槺锛屾彮绀哄鏄撹蹇借鐨勯棶棰樸傚畠鏀寔澶氱閫氱煡鏂规硶锛岃鎮ㄧ煡閬撲綍鏃堕渶瑕佹敞鎰忋 + +馃摉 systemd 鏃ュ織璧勬簮绠$悊鍣 鎻愪緵鏃ュ織鏃ュ織璧勬簮绠$悊鍣 +锛岄氳繃鐩存帴璁块棶鍗曚釜涓绘満鍜屽熀纭鏋舵瀯鑼冨洿鐨勬棩蹇楅泦涓寲鏈嶅姟鍣ㄤ笂鐨勬棩蹇楁枃浠舵潵鏌ョ湅銆佽繃婊ゅ拰鍒嗘瀽绯荤粺鍜屽簲鐢ㄧ▼搴忔棩蹇椼俿ystemdsystemd + +馃槑 浣庣淮鎶 +鍦ㄥ悇涓柟闈㈤兘瀹屽叏鑷姩鍖栵細鑷姩鍖栦华琛ㄦ澘銆佸紑绠卞嵆鐢ㄧ殑璀︽姤銆佹寚鏍囩殑鑷姩妫娴嬪拰鑷姩鍙戠幇銆侀浂鎺ヨЕ鏈哄櫒瀛︿範銆佽交鏉剧殑鍙墿灞曟у拰楂樺彲鐢ㄦт互鍙 CI/CD 鍙嬪ソ銆 + +猸 寮鏀惧拰鍙 +鎵╁睍鐨凬etdata鏄竴涓ā鍧楀寲骞冲彴锛屽彲浠ヤ互鍚勭鍙兘鐨勬柟寮忚繘琛屾墿灞曪紝骞朵笖杩樺彲浠ヤ笌鍏朵粬鐩戞帶瑙e喅鏂规寰堝ソ鍦伴泦鎴愩 + +## 鏉ユ簮 + +https://github.com/netdata/netdata \ No newline at end of file diff --git a/netdata/config.yaml b/netdata/config.yaml new file mode 100644 index 0000000..3f27a39 --- /dev/null +++ b/netdata/config.yaml @@ -0,0 +1,24 @@ +name: Netdata +version: 2.7.3 +slug: netdata +codenotary: wghaos@163.com +description: 'Netdata姣忕鏀堕泦鎸囨爣锛屽苟灏嗗叾鏄剧ず鍦ㄦ紓浜殑浣庡欢杩熶华琛ㄦ澘涓' +url: https://gitcode.com/waxgourd/addons +image: r.hassbus.com/wghaos/netdata +init: false +arch: + - aarch64 + - amd64 +privileged: + - SYS_ADMIN + - SYS_PTRACE +panel_icon: mdi:chart-bell-curve +panel_title: Netdata +ingress: true +ingress_port: 19999 +ingress_stream: true +ports: + 19999/tcp: 19999 +ports_description: + 19999/tcp: Web interface +boot: manual diff --git a/netdata/icon.png b/netdata/icon.png new file mode 100644 index 0000000..086e419 Binary files /dev/null and b/netdata/icon.png differ diff --git a/netdata/logo.png b/netdata/logo.png new file mode 100644 index 0000000..086e419 Binary files /dev/null and b/netdata/logo.png differ diff --git a/nextcloud/CHANGELOG.md b/nextcloud/CHANGELOG.md new file mode 100644 index 0000000..5262859 --- /dev/null +++ b/nextcloud/CHANGELOG.md @@ -0,0 +1,106 @@ +## 32.0.0 (14-10-2025) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 (changelog : https://github.com/linuxserver/docker-nextcloud/releases) +## 31.0.9 (19-09-2025) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 (changelog : https://github.com/linuxserver/docker-nextcloud/releases) +## 31.0.8-2 (09-09-2025) +- Removed pdfannotate +## 31.0.8 (18-08-2025) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 (changelog : https://github.com/linuxserver/docker-nextcloud/releases) +## 31.0.7 (29-07-2025) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 (changelog : https://github.com/linuxserver/docker-nextcloud/releases) +## 31.0.6-2 (11-07-2025) +- 灏嗚秴鏃舵椂闂村鍔犲埌600绉掋 +## 31.0.6 (19-06-2025) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 (鏃ュ織 : https://github.com/linuxserver/docker-nextcloud/releases) +## 31.0.5 (22-05-2025) +- 淇浜嗗皬閿欒 +## 31.0.4-3 (15-05-2025) +- 淇浜嗗皬閿欒 +## 31.0.4-2 (15-05-2025) +- 绂佺敤鏂囦欢涓婁紶闄愬埗 +## 31.0.4 (19-04-2025) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 (鏃ュ織 : https://github.com/linuxserver/docker-nextcloud/releases) +## 31.0.2-2 (01-04-2025) +- 淇鏉冮檺妫鏌 +## 31.0.0 (01-03-2025) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 +## 30.0.6 (15-02-2025) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 +## 30.0.5 (07-02-2025) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 +## 30.0.4 (14-12-2024) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 +## 30.0.3 (07-12-2024) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 +- 瀵筩onfig.yaml鍜宯extcloud-ocr.sh浣跨敤/addon_configs灏嗗叾澶囦唤鍒皀extcloud +- 浣跨敤/config/data浣滀负榛樿鏂囦欢澶癸紝鑰屼笉鏄/config/data杩涜鍒濆璁剧疆 +## 30.0.2 (09-11-2024) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 +## 30.0.1 (21-10-2024) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 +## 30.0.0 (28-09-2024) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 +## 29.0.7 (14-09-2024) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 +## 29.0.6 (07-09-2024) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 +## 29.0.5 (24-08-2024) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 +## 29.0.4-4 (23-08-2024) +- 淇浜嗗凡鐭ラ敊璇 +## 29.0.4-3 (22-08-2024) +- 淇浜嗗凡鐭ラ敊璇 +## 29.0.4-2 (21-08-2024) +- 淇浜嗗凡鐭ラ敊璇 + +## 29.0.4 (27-07-2024) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 + +## 29.0.3 (01-07-2024) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 +## 29.0.2-3 (26-06-2024) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 +## 29.0.1 (01-06-2024) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 +## 29.0.0 (27-04-2024) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 +- 涓 BMP GIF HEIC JPEG Krita PNG XBitmap 娣诲姞棰勮鏀寔 +- 妫鏌ユ槸鍚﹁缃簡缁存姢绐楀彛鍚姩锛坢aintenance_window_start锛夛紝鎴栦娇鐢 1 浣滀负榛樿鍊硷紝瀵瑰簲浜庡噷鏅 1-5 鐐 +## 28.0.4 (30-03-2024) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 +## 28.0.3 (02-03-2024) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 +## 28.0.2 (02-02-2024) +- 鍗囩骇鍒發inuxserver/docker-nextcloud鏈鏂扮増鏈 + +### 28.0.1-6锛14-01-2024锛 + +- 淇浜嗕竴浜涘皬bug + +### 28.0.1-5锛14-01-2024锛 + +- 淇浜嗕竴浜涘皬bug + +### 28.0.1-4锛12-01-2024锛 + +- 淇 : https://github.com/alexbelgium/hassio-addons/issues/1170 https://github.com/alexbelgium/hassio-addons/issues/1171 + +### 28.0.1-3锛10-01-2024锛 + +- 鍒濇淇 : https://github.com/alexbelgium/hassio-addons/issues/1170 + +### 28.0.1-2锛07-01-2024锛 + +- 鍗囩骇鏈鍚庣殑鐗堟湰浠巐inuxserver/docker-nextcloud + +### 28.0.1锛30-12-2023锛 + +- 鍗囩骇鏈鍚庣殑鐗堟湰浠巐inuxserver/docker-nextcloud + +### 28.0.0锛16-12-2023锛 + +- 鍗囩骇鏈鍚庣殑鐗堟湰浠巐inuxserver/docker-nextcloud + +### 27.1.4-6锛07-12-2023锛 + +- 棣栨鎻愪氦 diff --git a/nextcloud/DOCS.md b/nextcloud/DOCS.md new file mode 100644 index 0000000..f88c17b --- /dev/null +++ b/nextcloud/DOCS.md @@ -0,0 +1,93 @@ +# Nextcloud + +## 閰嶇疆璇存槑 + +### 鍏ㄦ枃绱㈠紩 + +### OCR + +- 璁剧疆涓簍rue浠ュ畨瑁卼esseract-ocr鍔熻兘銆 + +### OCR璇█ + +- 浠讳綍璇█閮藉彲浠ヤ粠杩欎釜椤甸潰璁剧疆(鎬绘槸涓変釜瀛楁瘝) [鏌ヨ鐐瑰嚮杩欓噷](https://tesseract-ocr.github.io/tessdoc/Data-Files#data-files-for-version-400-november-29-2016) + +### PGID + +- 鍏佽璁剧疆鐢ㄦ埛銆 + +### PUID + +- 鍏佽璁剧疆鐢ㄦ埛銆 + +### TZ + +- 鏃跺尯 + +### 闄勫姞搴旂敤绋嬪簭 + +- 鎸囧畾瑕佸畨瑁呯殑鍏朵粬apk鏂囦欢;鐢ㄩ楀彿鍒嗛殧銆 + +### 璇佷功 + +- ssl璇佷功锛屽繀椤讳綅浜庢湰鍦皊sl + +### cifs鍩 + +- cifs鍩 + +### cifs瀵嗙爜 + +- 鍙夐」锛 smb瀵嗙爜锛屼笌smb shares瀵嗙爜鐩稿悓 + +### cifs鐢ㄦ埛鍚 + +- 鍙夐」锛 smb鐢ㄦ埛鍚嶏紝涓巗mb shares鐢ㄦ埛鍚嶇浉鍚 + +### 榛樿鐢佃瘽鍖哄煙 + +- 瀹氫箟榛樿鐢佃瘽鍖哄煙 https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements + +### 绂佺敤鏇存柊 + +- 闃叉鎻掍欢鑷姩鏇存柊搴旂敤绋嬪簭銆 + +### elasticsearch鏈嶅姟鍣 + +- elasticsearch鏈嶅姟鍣╱rl + +### 鍚敤缂╃暐鍥 + +- 涓哄獟浣撴枃浠跺惎鐢ㄥ嚑浠g缉鐣ュ浘(鍦ㄦ棫绯荤粺涓鐢)銆 + +### env_memory_limit + +- nextcloud鍙敤鍐呭瓨闄愬埗(榛樿涓512M)銆 + +### env_post_max_size + +- nextcloud post鏂囦欢澶у皬 (榛樿涓512M)銆 + +### env_upload_max_filesize + +- nextcloud涓婁紶澶у皬(榛樿涓512M)銆 + +### 瀵嗛挜 + +- ssl瀵嗛挜锛屽繀椤讳綅浜庢湰鍦扮殑ssl銆 + +### 鏈湴纾佺洏 + +- 鐢ㄩ楀彿鍒嗛殧瑕佹寕杞界殑椹卞姩鍣ㄧ殑纭欢鍚嶇О鎴栧叾鏍囩銆備緥濡俿da1, sdb1, MYNAS鈥 + +### 缃戠粶纾佺洏 + +- 鍙夛紝瑕佹寕杞界殑smbv2/v3鏈嶅姟鍣ㄥ垪琛紝浠ラ楀彿鍒嗛殧 + +### 淇′换鍩 + +- 鍏佽閫夋嫨淇′换鍩熴備笉鍦ㄦ鍒楄〃涓殑鍩熷皢琚垹闄わ紝闄や簡鍒濆閰嶇疆涓娇鐢ㄧ殑绗竴涓煙銆 + +### 浣跨敤鑷繁鐨勮瘉涔 + +- 濡傛灉涓簍rue锛屽垯浣跨敤鎸囧畾鐨刢ertfile鍜宬eyfile銆 \ No newline at end of file diff --git a/nextcloud/README.md b/nextcloud/README.md new file mode 100644 index 0000000..6ae244a --- /dev/null +++ b/nextcloud/README.md @@ -0,0 +1,40 @@ +# 鍐摐鐢勯塧ddons锛歂extcloud + +## 鍏充簬 + +nextcloud涓汉涓撳睘鎴栧洟闃熷叡浜殑绉佹湁浜戝悓姝ョ綉鐩橈紝璇ョ増鏈湪鍘熺増nextcloud涓鍔犱簡Home assistant鐨勪紭鍖栬皟鏁村拰閰嶇疆閫夐」銆 + +### 浣跨敤mariadb 浣滀负涓昏鐨勬暟鎹簱 (鎰熻阿@amaciuc) + +濡傛灉浣犲湪绗竴娆¤繍琛寃ebui鏃,娉ㄦ剰浠ヤ笅璀﹀憡: + +```bash +Performance warning +You chose SQLite as database. +SQLite should only be used for minimal and development instances. For production we recommend a different database backend. +If you use clients for file syncing, the use of SQLite is highly discouraged. +``` + +瑙e喅杩欎釜闂锛岃閬靛惊浠ヤ笅姝ラ: + +- 1銆佸畨瑁 `mariadb` 锛岄殢鏈哄~鍐欎俊鎭厤缃劧鍚庡惎鍔ㄣ備负浜嗗湪缃戠粶涓兘澶熻鈥渘extcloud鈥濇壘鍒帮紝鎴愬姛鍚姩瀹冨緢閲嶈銆 + +- 2銆佸畨瑁' nextcloud '鎻掍欢(鎴栬呭鏋滀綘宸茬粡瀹夎浜嗭紝閲嶆柊鍚姩瀹)锛岃瀵熸棩蹇楋紝鐩村埌浣犱細娉ㄦ剰鍒颁互涓'璀﹀憡': + + ```bash + WARNING: MariaDB addon was found! It can't be configured automatically due to the way Nextcloud works, but you can configure it manually when running the web UI for the first time using those values : + Database user : service + Database password : Eangohyuchae6aif7saich2nies8xaivaejaNgaev6gi3yohy8ha2aexaetei6oh + Database name : nextcloud + Host-name : core-mariadb:3306 + ``` + +- 3銆佸洖鍒扳渕ariadb鈥濋檮鍔犵粍浠讹紝鐢ㄤ笂闈㈢殑鍑嵁閰嶇疆瀹冨苟閲嶆柊鍚姩瀹冦傜‘淇濇彃浠舵鍦ㄥ垱寤衡渘etxcloud鈥濇暟鎹簱銆 + +- 4銆佽繘鍏eb骞跺~鍐欐墍鏈夊繀闇鐨勪俊鎭備笅闈㈡槸涓涓緥瀛: + +![image](https://raw.gitcode.com/waxgourd/addons/files/master/nextcloud/images/nextcloud-1.png) +## 鏉ユ簮 + +鍘熷鐗堟潵婧愶細https://github.com/haberda/hassio_addons +鍔犺浇椤瑰熀浜庯細https://github.com/linuxserver/docker-nextcloud diff --git a/nextcloud/apparmor.txt b/nextcloud/apparmor.txt new file mode 100644 index 0000000..f8073a4 --- /dev/null +++ b/nextcloud/apparmor.txt @@ -0,0 +1,66 @@ +#include + +profile nextcloud_ocr flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + signal, + mount, + umount, + remount, + network udp, + network tcp, + network dgram, + network stream, + network inet, + network inet6, + network netlink raw, + network unix dgram, + + capability setgid, + capability setuid, + capability sys_admin, + capability dac_read_search, + # capability dac_override, + # capability sys_rawio, + +# S6-Overlay + /init ix, + /run/{s6,s6-rc*,service}/** ix, + /package/** ix, + /command/** ix, + /run/{,**} rwk, + /dev/tty rw, + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /dev/i2c-1 mrwkl, + # Files required + /dev/fuse mrwkl, + /dev/sda1 mrwkl, + /dev/sdb1 mrwkl, + /dev/nvme0 mrwkl, + /dev/nvme1 mrwkl, + /dev/mmcblk0p1 mrwkl, + /dev/* mrwkl, + /tmp/** mrkwl, + + # Data access + /data/** rw, + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} diff --git a/nextcloud/config.json b/nextcloud/config.json new file mode 100644 index 0000000..b143f37 --- /dev/null +++ b/nextcloud/config.json @@ -0,0 +1,165 @@ +{ + "arch": [ + "aarch64", + "amd64" + ], + "codenotary": "alexandrep.github@gmail.com", + "description": "Nextcloud涓汉涓撳睘鎴栧洟闃熷叡浜殑绉佹湁浜戝悓姝ョ綉鐩", + "devices": [ + "/dev/dri", + "/dev/dri/card0", + "/dev/dri/card1", + "/dev/dri/renderD128", + "/dev/vchiq", + "/dev/video10", + "/dev/video11", + "/dev/video12", + "/dev/video13", + "/dev/video14", + "/dev/video15", + "/dev/video16", + "/dev/ttyUSB0", + "/dev/dri", + "/dev/dri/card0", + "/dev/dri/card1", + "/dev/dri/renderD128", + "/dev/sda", + "/dev/sdb", + "/dev/sdc", + "/dev/sdd", + "/dev/sde", + "/dev/sdf", + "/dev/sdg", + "/dev/nvme", + "/dev/nvme0", + "/dev/nvme0n1", + "/dev/nvme0n1p1", + "/dev/nvme0n1p2", + "/dev/nvme0n1p3", + "/dev/nvme1n1", + "/dev/nvme1n1p1", + "/dev/nvme1n1p2", + "/dev/nvme1n1p3", + "/dev/nvme2n1", + "/dev/nvme2n1p1", + "/dev/nvme2n1p2", + "/dev/nvme2n3p3", + "/dev/nvme0n1p3", + "/dev/nvme1n1", + "/dev/nvme1n1p1", + "/dev/nvme1n1p2", + "/dev/nvme1n1p3", + "/dev/nvme2n1", + "/dev/nvme2n1p1", + "/dev/nvme2n1p2", + "/dev/nvme2n3p3", + "/dev/mmcblk", + "/dev/fuse", + "/dev/sda1", + "/dev/sdb1", + "/dev/sdc1", + "/dev/sdd1", + "/dev/sde1", + "/dev/sdf1", + "/dev/sdg1", + "/dev/sda2", + "/dev/sdb2", + "/dev/sdc2", + "/dev/sdd2", + "/dev/sde2", + "/dev/sdf2", + "/dev/sdg2", + "/dev/sda3", + "/dev/sdb3", + "/dev/sda4", + "/dev/sdb4", + "/dev/sda5", + "/dev/sda6", + "/dev/sda7", + "/dev/sda8", + "/dev/nvme0", + "/dev/nvme1", + "/dev/nvme2" + ], + "environment": { + "NEXTCLOUD_PATH": "/data/config/www/nextcloud", + "SKIP_DATA_DIRECTORY_PERMISSION_CHECK": "yes", + "TRUSTED_PROXIES": "**" + }, + "hassio_api": true, + "image": "r.hassbus.com/alexbelgium/nextcloud_ocr-{arch}", + "ingress_port": 0, + "init": false, + "map": [ + "addon_config:rw", + "homeassistant_config:rw", + "share:rw", + "media:rw", + "ssl:rw" + ], + "name": "Nextcloud", + "options": { + "Full_Text_Search": false, + "OCR": false, + "OCRLANG": "fra", + "PGID": 1000, + "PUID": 1000, + "additional_apps": "inotify-tools", + "certfile": "fullchain.pem", + "elasticsearch_server": "", + "enable_thumbnails": true, + "keyfile": "privkey.pem", + "trusted_domains": "your-domain, your-domain2", + "use_own_certs": false + }, + "panel_admin": false, + "panel_icon": "mdi:cloud", + "ports": { + "443/tcp": 8099, + "80/tcp": null + }, + "ports_description": { + "443/tcp": "Https Web Interface", + "80/tcp": "Web interface" + }, + "privileged": [ + "SYS_ADMIN", + "DAC_READ_SEARCH" + ], + "schema": { + "Full_Text_Search": "bool?", + "OCR": "bool?", + "OCRLANG": "str?", + "PGID": "int", + "PUID": "int", + "TZ": "str?", + "additional_apps": "str?", + "certfile": "str", + "cifsdomain": "str?", + "cifspassword": "str?", + "cifsusername": "str?", + "default_phone_region": "match(^[A-Z]{2}$)?", + "disable_updates": "bool?", + "elasticsearch_server": "str?", + "enable_thumbnails": "bool", + "env_memory_limit": "str?", + "env_post_max_size": "str?", + "env_upload_max_filesize": "str?", + "keyfile": "str", + "localdisks": "str?", + "networkdisks": "str?", + "skip_permissions_check": "bool?", + "trusted_domains": "str?", + "use_own_certs": "bool" + }, + "services": [ + "mysql:want" + ], + "slug": "nextcloud_ocr", + "uart": true, + "udev": true, + "url": "https://gitcode.com/waxgourd/addons", + "version": "32.0.0", + "webui": "https://[HOST]:[PORT:443]", + "boot": "manual" +} diff --git a/nextcloud/icon.png b/nextcloud/icon.png new file mode 100644 index 0000000..e39902e Binary files /dev/null and b/nextcloud/icon.png differ diff --git a/nextcloud/images/nextcloud-1.png b/nextcloud/images/nextcloud-1.png new file mode 100644 index 0000000..d48d06f Binary files /dev/null and b/nextcloud/images/nextcloud-1.png differ diff --git a/nextcloud/logo.png b/nextcloud/logo.png new file mode 100644 index 0000000..e39902e Binary files /dev/null and b/nextcloud/logo.png differ diff --git a/nextcloud/translations/en.yaml b/nextcloud/translations/en.yaml new file mode 100644 index 0000000..55373a0 --- /dev/null +++ b/nextcloud/translations/en.yaml @@ -0,0 +1,94 @@ +--- +configuration: + Full_Text_Search: + name: Full_Text_Search + description: >- + + OCR: + name: OCR + description: >- + set to true to install tesseract-ocr capability. + OCRLANG: + name: OCRLANG + description: >- + Any language can be set from this page (always three letters) [here](https://tesseract-ocr.github.io/tessdoc/Data-Files#data-files-for-version-400-november-29-2016). + PGID: + name: PGID + description: >- + allows setting user. + PUID: + name: PUID + description: >- + allows setting user. + TZ: + name: TZ + description: >- + + additional_apps: + name: additional_apps + description: >- + specify additional apk files to install ; separated by commas + certfile: + name: certfile + description: >- + ssl certificate, must be located in /ssl + cifsdomain: + name: cifsdomain + description: >- + + cifspassword: + name: cifspassword + description: >- + optional, smb password, same for all smb shares) + cifsusername: + name: cifsusername + description: >- + optional, smb username, same for all smb shares + default_phone_region: + name: default_phone_region + description: >- + Define the default phone region according to https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements + disable_updates: + name: disable_updates + description: >- + prevent automatic apps updating along addon + elasticsearch_server: + name: elasticsearch_server + description: >- + + enable_thumbnails: + name: enable_thumbnails + description: >- + enable generations of thumbnails for media file (to disable for older systems) + env_memory_limit: + name: env_memory_limit + description: >- + nextcloud usable memory limit (default is 512M) + env_post_max_size: + name: env_post_max_size + description: >- + nextcloud post size (default is 512M) + env_upload_max_filesize: + name: env_upload_max_filesize + description: >- + nextcloud upload size (default is 512M) + keyfile: + name: keyfile + description: >- + sslkeyfile, must be located in /ssl + localdisks: + name: localdisks + description: >- + put the hardware name of your drive to mount separated by commas, or its label. ex. sda1, sdb1, MYNAS... + networkdisks: + name: networkdisks + description: >- + optional, list of smbv2/3 servers to mount, separated by commas + trusted_domains: + name: trusted_domains + description: >- + allows to select the trusted domains. Domains not in this lis will be removed, except for the first one used in the initial configuration. + use_own_certs: + name: use_own_certs + description: >- + if true, use the certfile and keyfile specified \ No newline at end of file diff --git a/nextcloud/translations/zh-Hans.yaml b/nextcloud/translations/zh-Hans.yaml new file mode 100644 index 0000000..641f155 --- /dev/null +++ b/nextcloud/translations/zh-Hans.yaml @@ -0,0 +1,94 @@ +--- +configuration: + Full_Text_Search: + name: 鍏ㄦ枃绱㈠紩 + description: >- + + OCR: + name: OCR + description: >- + 璁剧疆涓簍rue浠ュ畨瑁卼esseract-ocr鍔熻兘銆 + OCRLANG: + name: OCR璇█ + description: >- + 浠讳綍璇█閮藉彲浠ヤ粠杩欎釜椤甸潰璁剧疆(鎬绘槸涓変釜瀛楁瘝)锛岀浉鍏虫煡璇㈣閰嶇疆鏂囨。銆 + PGID: + name: PGID + description: >- + 鍏佽璁剧疆鐢ㄦ埛銆 + PUID: + name: PUID + description: >- + 鍏佽璁剧疆鐢ㄦ埛銆 + TZ: + name: TZ + description: >- + 鏃跺尯璁剧疆銆 + additional_apps: + name: 闄勫姞搴旂敤绋嬪簭 + description: >- + 鎸囧畾瑕佸畨瑁呯殑鍏朵粬apk鏂囦欢;鐢ㄩ楀彿鍒嗛殧銆 + certfile: + name: 璇佷功 + description: >- + ssl璇佷功锛屽繀椤讳綅浜庢湰鍦皊sl銆 + cifsdomain: + name: cifs鍩 + description: >- + + cifspassword: + name: cifs瀵嗙爜 + description: >- + 鍙夐」锛 smb瀵嗙爜锛屼笌smb shares瀵嗙爜鐩稿悓銆 + cifsusername: + name: cifs鐢ㄦ埛鍚 + description: >- + 鍙夐」锛 smb鐢ㄦ埛鍚嶏紝涓巗mb shares鐢ㄦ埛鍚嶇浉鍚屻 + default_phone_region: + name: 榛樿鐢佃瘽鍖哄煙 + description: >- + 瀹氫箟榛樿鐢佃瘽鍖哄煙 https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements + disable_updates: + name: 绂佺敤鏇存柊 + description: >- + 闃叉鎻掍欢鑷姩鏇存柊搴旂敤绋嬪簭銆 + elasticsearch_server: + name: elasticsearch鏈嶅姟鍣 + description: >- + + enable_thumbnails: + name: 鍚敤缂╃暐鍥 + description: >- + 涓哄獟浣撴枃浠跺惎鐢ㄥ嚑浠g缉鐣ュ浘(鍦ㄦ棫绯荤粺涓鐢)銆 + env_memory_limit: + name: 鐜鍐呭瓨闄愬埗 + description: >- + nextcloud鍙敤鍐呭瓨闄愬埗(榛樿涓512M)銆 + env_post_max_size: + name: env_post_max_size + description: >- + nextcloud post鏂囦欢澶у皬(榛樿涓512M)銆 + env_upload_max_filesize: + name: env_upload_max_filesize + description: >- + nextcloud涓婁紶澶у皬(榛樿涓512M)銆 + keyfile: + name: 瀵嗛挜 + description: >- + ssl瀵嗛挜锛屽繀椤讳綅浜庢湰鍦扮殑ssl銆 + localdisks: + name: 鏈湴纾佺洏 + description: >- + 鐢ㄩ楀彿鍒嗛殧瑕佹寕杞界殑椹卞姩鍣ㄧ殑纭欢鍚嶇О鎴栧叾鏍囩銆備緥濡俿da1, sdb1, MYNAS鈥 + networkdisks: + name: 缃戠粶纾佺洏 + description: >- + 鍙夛紝瑕佹寕杞界殑smbv2/v3鏈嶅姟鍣ㄥ垪琛紝浠ラ楀彿鍒嗛殧 + trusted_domains: + name: 淇′换鍩 + description: >- + 鍏佽閫夋嫨淇′换鍩熴備笉鍦ㄦ鍒楄〃涓殑鍩熷皢琚垹闄わ紝闄や簡鍒濆閰嶇疆涓娇鐢ㄧ殑绗竴涓煙銆 + use_own_certs: + name: 浣跨敤鑷繁鐨勮瘉涔 + description: >- + 濡傛灉涓簍rue锛屽垯浣跨敤鎸囧畾鐨刢ertfile鍜宬eyfile銆 \ No newline at end of file diff --git a/onelist/CHANGELOG.md b/onelist/CHANGELOG.md new file mode 100644 index 0000000..8bbc0da --- /dev/null +++ b/onelist/CHANGELOG.md @@ -0,0 +1,13 @@ +### 2.0.5锛2024-03-23锛 + +- 閰嶇疆椤筧rch鏀寔armv7 + +### v2.0.5锛2024-03-06锛 + +- 鐗堟湰鏇存柊 +- 鏂板onelist瀹㈡埛绔紝鍖呮嫭瀹夊崜鎵嬫満鐗堬紝瀹夊崜鐢佃TV鐗堬紝Windows鐗 +- 淇璋冪敤澶栭儴鎾斁鍣ㄦ湭缂栫爜閾炬帴瀵艰嚧閿欒 + +### 2.0.4锛2024-01-12锛 + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/onelist/DOCS.md b/onelist/DOCS.md new file mode 100644 index 0000000..e61c907 --- /dev/null +++ b/onelist/DOCS.md @@ -0,0 +1,15 @@ +# onelist + +## 閰嶇疆璇存槑 + +### 鏇存敼姝や富鏈轰笂鐢卞姞杞介」寮鏀剧殑绔彛锛 + +- 榛樿绔彛鍙凤細5245锛屽彲鑷淇敼 + +- 鍙互閫氳繃娴忚鍣ㄩ〉闈㈣闂 锛堢鍙e彿榛樿5245锛 + +- 璇︾粏浣跨敤鎸囧崡锛岃杩涘叆锛歨ttps://www.bilibili.com/video/BV15M41177LN + +- 绠$悊鍛: [admin@qq.com](mailto:admin@qq.com) + +- 瀵嗙爜: admin diff --git a/onelist/README.md b/onelist/README.md new file mode 100644 index 0000000..1bc2346 --- /dev/null +++ b/onelist/README.md @@ -0,0 +1,25 @@ +# 鍐摐鐢勯塧ddons锛歄nelist + +## 鍏充簬 + +涓涓被浼糴mby鐨勪笓娉ㄤ簬鍒墛alist鑱氬悎缃戠洏褰㈡垚褰辫濯掍綋搴撶殑绋嬪簭銆 + +### 涓昏瑙e喅浠ヤ笅鐥涚偣锛 + +- alist鎸傝浇浜戠洏鍚庤兘鍦ㄧ綉椤电鐪嬭棰戯紝鍗存病鏈夊垎绫伙紝娌℃湁娴锋姤澧 + +- 浣跨敤webdav鎸傝浇鏈湴鍚庯紝鐢╦ellyfin鎴栬卐mby鍒墛浼氫笅杞借棰戞埅鍙栧皝闈㈠鑷村皝鍙 + +- 鐢╦ellyfin鎴栬卐mby涔嬬被锛屾病鏈夊ぇ甯﹀鍏綉ip锛屽湪澶栭毦浠ヨ闂 + +### 娣诲姞濯掍綋搴 + +1.瀵瑰簲杈撳叆濯掍綋搴撳悕瀛楋紝姣斿鐢靛奖锛岀被鍨嬮夋嫨movie + +2.灏侀潰鍥剧墖鍙互鏆傛椂涓嶅~ + +3.濉啓alist鐩稿叧淇℃伅锛岃繖涓富瑕佺敤浜庣▼搴忔煡璇綘alist涓枃浠讹紝鏍规嵁鏂囦欢鍚嶈繘琛屽埉鍓 + +## 鏉ユ簮 + +https://github.com/msterzhang/onelist/ \ No newline at end of file diff --git a/onelist/apparmor.txt b/onelist/apparmor.txt new file mode 100644 index 0000000..fc0beab --- /dev/null +++ b/onelist/apparmor.txt @@ -0,0 +1,66 @@ +#include + +profile onelist flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + signal, + mount, + umount, + remount, + network udp, + network tcp, + network dgram, + network stream, + network inet, + network inet6, + network netlink raw, + network unix dgram, + + capability setgid, + capability setuid, + capability sys_admin, + capability dac_read_search, + # capability dac_override, + # capability sys_rawio, + +# S6-Overlay + /init ix, + /run/{s6,s6-rc*,service}/** ix, + /package/** ix, + /command/** ix, + /run/{,**} rwk, + /dev/tty rw, + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /dev/i2c-1 mrwkl, + # Files required + /dev/fuse mrwkl, + /dev/sda1 mrwkl, + /dev/sdb1 mrwkl, + /dev/nvme0 mrwkl, + /dev/nvme1 mrwkl, + /dev/ttyUSB0 mrwkl, + /dev/* mrwkl, + /tmp/** mrkwl, + + # Data access + /data/** rw, + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} diff --git a/onelist/config.yaml b/onelist/config.yaml new file mode 100644 index 0000000..c100ba5 --- /dev/null +++ b/onelist/config.yaml @@ -0,0 +1,75 @@ +name: Onelist +slug: onelist +version: 2.0.5 +description: '涓撴敞浜庡埉鍓奱list鑱氬悎缃戠洏褰㈡垚褰辫濯掍綋搴撶殑绋嬪簭' +url: https://gitcode.com/waxgourd/addons +codenotary: wghaos@163.com +image: r.hassbus.com/wghaos/onelist +arch: + - aarch64 + - amd64 +backup_exclude: + - '*/data/' +devices: + - /dev/dri + - /dev/dri/card0 + - /dev/dri/card1 + - /dev/dri/renderD128 + - /dev/vchiq + - /dev/ttyUSB0 + - /dev/sda + - /dev/sdb + - /dev/nvme + - /dev/nvme0n1p1 + - /dev/nvme0n1p2 + - /dev/mmcblk + - /dev/fuse + - /dev/net/tun +apparmor: true +init: false +boot: manual +startup: application +privileged: + - SYS_ADMIN + - DAC_READ_SEARCH +ports: + '5245': 5245 +ports_description: + '5245': web port +webui: "http://[HOST]:[PORT:5245]/" +options: + env: Release + title: onelist + user: + user_email: admin@qq.com + user_password: admin + db: + db_driver: sqlite + db_user: root + db_name: onelist + db_password_debug: "123456" + db_password_release: "123456" + api_secret: zaWs5gGUrYr8czqwlkqVJzDrzMplCzNp + faviconico_url: https://wework.qpic.cn/wwpic/818353_fizV30xbQCGPQRP_1677394564/0 + download_image: 鏄 + img_url: https://image.tmdb.org + video_types: https://image.tmdb.org + key_db: 22f10ca52f109158ac7fe064ebbcf697 +schema: + env: list(Release|Debug) + title: str + user: + user_email: str + user_password: str + db: + db_driver: str + db_user: str + db_name: str + db_password_debug: str + db_password_release: str + api_secret: str + faviconico_url: str + download_image: str + img_url: str + video_types: str + key_db: str diff --git a/onelist/icon.png b/onelist/icon.png new file mode 100644 index 0000000..9238761 Binary files /dev/null and b/onelist/icon.png differ diff --git a/onelist/logo.png b/onelist/logo.png new file mode 100644 index 0000000..9238761 Binary files /dev/null and b/onelist/logo.png differ diff --git a/onelist/translations/en.yaml b/onelist/translations/en.yaml new file mode 100644 index 0000000..8810fab --- /dev/null +++ b/onelist/translations/en.yaml @@ -0,0 +1,71 @@ +--- +configuration: + env: + name: env + description: >- + env + title: + name: title + description: >- + title + user: + name: user + description: >- + user + user_email: + name: user_email + description: >- + user_email + user_password: + name: user_password + description: >- + user_password + db: + name: db + description: >- + db + db_driver: + name: db_driver + description: >- + db_driver + db_user: + name: db_user + description: >- + db_user + db_name: + name: db_name + description: >- + db_name + db_password_debug: + name: db_password_debug + description: >- + db_password_debug + db_password_release: + name: db_password_release + description: >- + db_password_release + api_secret: + name: api_secret + description: >- + api_secret + faviconico_url: + name: faviconico_url + description: >- + faviconico_url + download_image: + name: download_image + description: >- + download_image + img_url: + name: img_url + description: >- + img_url + video_types: + name: video_types + description: >- + video_types + key_db: + name: key_db + description: >- + key_db + diff --git a/onelist/translations/zh-Hans.yaml b/onelist/translations/zh-Hans.yaml new file mode 100644 index 0000000..da386d9 --- /dev/null +++ b/onelist/translations/zh-Hans.yaml @@ -0,0 +1,71 @@ +--- +configuration: + env: + name: 鐜 + description: >- + 杩欓噷閫夋嫨杩愯鐨勭幆澧 + title: + name: 鏍囬 + description: >- + 杩欓噷濉啓鏍囬 + user: + name: 鐢ㄦ埛閰嶇疆 + description: >- + 杩欓噷濉啓鐢ㄦ埛鐨勪俊鎭 + user_email: + name: 閭 + description: >- + 杩欓噷濉啓閭鍦板潃 + user_password: + name: 瀵嗙爜 + description: >- + 杩欓噷濉啓鐢ㄦ埛瀵嗙爜 + db: + name: 鏁版嵁搴撻厤缃 + description: >- + 杩欓噷濉啓鏁版嵁搴撶殑閰嶇疆椤 + db_driver: + name: db_driver + description: >- + db_driver + db_user: + name: db_user + description: >- + db_user + db_name: + name: db_name + description: >- + db_name + db_password_debug: + name: db_password_debug + description: >- + db_password_debug + db_password_release: + name: db_password_release + description: >- + db_password_release + api_secret: + name: API瀵嗛挜 + description: >- + 杩欓噷濉啓API瀵嗛挜 + faviconico_url: + name: 鏀惰棌鐨剈rl + description: >- + 杩欓噷鏄敹钘忕殑url鍦板潃 + download_image: + name: 涓嬭浇鍥剧墖 + description: >- + 杩欓噷閰嶇疆鏄惁涓嬭浇鍥剧墖 + img_url: + name: 鍥剧墖鍦板潃 + description: >- + 杩欓噷濉啓鍥剧墖鍦板潃 + video_types: + name: 瑙嗛绫诲瀷 + description: >- + 杩欓噷濉啓瑙嗛绫诲瀷 + key_db: + name: 鏁版嵁搴撻敭 + description: >- + 杩欓噷濉啓鏁版嵁搴撶殑閿 + diff --git a/onenav/CHANGELOG.md b/onenav/CHANGELOG.md new file mode 100644 index 0000000..d3ccafd --- /dev/null +++ b/onenav/CHANGELOG.md @@ -0,0 +1,71 @@ +### 1.2.2 锛19-09-2025锛 + +1. 鏂板锛氳闃呯敤鎴蜂笓灞炰富棰楤ookNest +1. 浼樺寲锛歞efault2涓婚鏀寔鍚庡彴璁剧疆姣忎釜鍒嗙被瑕佸睍绀虹殑鏁伴噺 +1. 浼樺寲锛氬鍑烘墍鏈夐摼鎺ユ敮鎸佷簩绾у垎绫 +1. 浼樺寲锛氭敮鎸佸垹闄ゅ垎绫诲浘鏍 +1. 淇锛氬垹闄ょ┖鐧界殑default3涓婚 +1. 鍏跺畠浼樺寲鍜孊UG淇 +### 1.2.1 锛25-08-2025锛 + +1. 淇浜哾efault2涓婚js鍔犺浇寮傚父鐨凚UG + +### 1.1.4 锛07-29-2025锛 + +1. 鏂板锛氬彲浠ュ崟鐙缃甈C鍜屾墜鏈轰富棰 +1. 浼樺寲锛氶摼鎺ヨ瘑鍒繘涓姝ヤ紭鍖栵紝鎻愰珮鎴愬姛鐜 +1. 浼樺寲锛氬幓鎺夊悗鍙板け鏁堣彍鍗 +1. 淇锛氳鏄庢枃浠朵腑鐨勯敊鍒瓧 +1. 鍏朵粬浼樺寲鍜孊UG淇 + +### 1.1.3 锛05-16-2025锛 + +1. 鏂板锛歞efault2鏀寔鏆楄壊妯″紡 +1. 鏂板锛氥愬悗鍙 - 鍒嗙被鍒楄〃銆戯紝鏀寔蹇嵎娣诲姞鍒嗙被 +1. 鏂板锛氥愬悗鍙 - 鍒嗙被鍒楄〃銆戯紝鏀寔鎵归噺鍒犻櫎閫変腑鍒嗙被 +1. 鏂板锛氥愬悗鍙 - 鎴戠殑閾炬帴銆戯紝鏀寔蹇熸坊鍔犲垎绫诲拰娣诲姞閾炬帴 +1. 璋冩暣锛歞efault2鏀逛负鍥炶溅閿Е鍙戞悳绱㈠紩鎿 +1. 浼樺寲锛氬垹闄ゅ垎绫绘椂妫娴嬫槸鍚﹀瓨鍦ㄥ瓙鍒嗙被 +1. 浼樺寲锛氬垹闄ocker闀滃儚涓殑.git鐩綍锛岃繘涓姝ヤ紭鍖栭暅鍍忎綋绉 +1. 淇锛歞efault2涓婚鎵嬫満椤甸潰鏄剧ず寮傚父闂 + +### 1.1.2 锛03-17-2025锛 +1. 淇1.1.1寮曡捣鐨勪竴涓狟UG锛屽缓璁墍鏈夌敤鎴锋洿鏂 +1. 鏂板缂撳瓨鍑芥暟 +1. default2涓婚鎼滅储鏀寔Ctrl + Enter蹇嵎閿彁浜 +1. 鐗堟湰妫娴嬫敼涓哄悗绔幏鍙 + +### 1.1.0 锛12-25-2024锛 +1. [鏂板] AI妫绱㈠姛鑳斤紝瀵瑰簲鎺ュ彛ai_search锛屽弬鑰冿細https://doc.xiaoz.top/web/#/13/149 +1. [鏂板] 鍏戞崲鐮佸姛鑳 +1. [鏂板] 鑾峰彇鍙傛暟鎺ュ彛get_option_base +1. [浼樺寲] 浼樺寲绂佹浜岀骇鐩綍瀹夎妫娴 +1. [淇] 淇default2涓婚缂栬緫閾炬帴瀵艰嚧澶囩敤閾炬帴涓㈠け闂 +1. 鍏朵粬浼樺寲鍜孊UG淇 + +### 1.0.0 锛12-18-2024锛 + +1. [鏂板] 瀹樼綉閲嶆瀯鍙戝竷锛歨ttps://www.onenav.top/ +1. [鏂板] 閾炬帴鎵归噺妫娴嬶紝瀵瑰簲鎺ュ彛涓篵atch_check_links +1. [鏂板] 鍏ㄦ柊鐨勮繃娓¢〉闈 +1. [淇敼] 瀵嗙爜鍔犲瘑澶勭悊锛岄渶瑕佸垹闄ata/config.php閲嶆柊鍒濆鍖栵紝姝ゆ搷浣滀笉浼氬鑷存暟鎹涪澶 +1. [淇敼] 鍒濆鍖栨暟鎹慨鏀 +1. [淇敼] 鍘绘帀杩囨浮椤佃缃殑鑷畾涔夎彍鍗 +1. [淇敼] 鏂囨。杩佺Щ鑷冲浗鍐呮湇鍔″櫒锛歨ttps://doc.xiaoz.top/web/#/13/128 +1. [浼樺寲] Docker鐢ㄦ埛鍙互灏 favicon.ico 鏀剧疆鍦ㄦ寕杞界洰褰曚笅锛屼粠鑰岄伩鍏嶄簡缃戠珯鍥炬爣琚鐩栭棶棰 +1. [浼樺寲] 鍒濆鍖栨娴嬫柊澧烇細openssl/zlib/curl鎵╁睍妫娴 +1. [浼樺寲] 榛樿涓婚鍜屽悗鍙扮増鏈簳閮ㄨ嚜鍔ㄨ瘑鍒勾浠 +1. [浼樺寲] 浼樺寲閾炬帴鍥炬爣涓婁紶锛岄伩鍏嶅浘鏍囬噸澶嶉棶棰 +1. [浼樺寲] 浼樺寲鍒濆鍖栫晫闈㈡牱寮忥紝骞舵柊澧炰簡閭瀛楁 +1. [浼樺寲] 浼樺寲API鏂规硶锛岀幇鍦ㄥ彲鑷姩璋冪敤 Api.php 涓殑瀵硅薄鏂规硶 +1. [淇] 淇缂栬緫閾炬帴涓嶆敮鎸両PV6鐨勯棶棰 +1. [淇敼] 淇敼PHP鐗堟湰妫娴嬶紝涓嶅啀鏀寔PHP 5.6 + + +### 0.9.35锛05-17-2024锛 + +- 鐗堟湰鍗囩骇 + +### 0.9.34锛2024-01-18锛 + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/onenav/DOCS.md b/onenav/DOCS.md new file mode 100644 index 0000000..b5ee949 --- /dev/null +++ b/onenav/DOCS.md @@ -0,0 +1,11 @@ +# OneNav + +## 閰嶇疆璇存槑 + +### 鏇存敼姝や富鏈轰笂鐢卞姞杞介」寮鏀剧殑绔彛锛 + +- 榛樿绔彛鍙凤細8880锛屽彲鑷淇敼 + +- 鍙互閫氳繃娴忚鍣ㄩ〉闈㈣闂 锛堢鍙e彿榛樿8880锛 + +- 璇︾粏浣跨敤鎸囧崡锛岃杩涘叆锛歨ttps://doc.xiaoz.org/books/onenav \ No newline at end of file diff --git a/onenav/README.md b/onenav/README.md new file mode 100644 index 0000000..404ddc7 --- /dev/null +++ b/onenav/README.md @@ -0,0 +1,9 @@ +# 鍐摐鐢勯塧ddons锛歄neNav + +## 鍏充簬 + +OneNav鏄竴娆惧紑婧愬厤璐圭殑涔︾锛堝鑸級绠$悊绋嬪簭锛屼娇鐢ㄤ娇鐢≒HP + SQLite 3寮鍙戯紝鐣岄潰绠娲侊紝瀹夎绠鍗曪紝浣跨敤鏂逛究銆 + +## 鏉ユ簮 + +https://github.com/helloxz/onenav \ No newline at end of file diff --git a/onenav/apparmor.txt b/onenav/apparmor.txt new file mode 100644 index 0000000..9ab45eb --- /dev/null +++ b/onenav/apparmor.txt @@ -0,0 +1,66 @@ +#include + +profile onenav flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + signal, + mount, + umount, + remount, + network udp, + network tcp, + network dgram, + network stream, + network inet, + network inet6, + network netlink raw, + network unix dgram, + + capability setgid, + capability setuid, + capability sys_admin, + capability dac_read_search, + # capability dac_override, + # capability sys_rawio, + +# S6-Overlay + /init ix, + /run/{s6,s6-rc*,service}/** ix, + /package/** ix, + /command/** ix, + /run/{,**} rwk, + /dev/tty rw, + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /dev/i2c-1 mrwkl, + # Files required + /dev/fuse mrwkl, + /dev/sda1 mrwkl, + /dev/sdb1 mrwkl, + /dev/nvme0 mrwkl, + /dev/nvme1 mrwkl, + /dev/ttyUSB0 mrwkl, + /dev/* mrwkl, + /tmp/** mrkwl, + + # Data access + /data/** rw, + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} diff --git a/onenav/config.yaml b/onenav/config.yaml new file mode 100644 index 0000000..82328fd --- /dev/null +++ b/onenav/config.yaml @@ -0,0 +1,40 @@ +name: OneNav +version: 1.2.2 +slug: onenav +codenotary: wghaos@163.com +description: '鍙府鍔╀綘灏嗘祻瑙堝櫒涔︾闆嗕腑寮忕鐞' +url: https://gitcode.com/waxgourd/addons +image: r.hassbus.com/wghaos/onenav +init: false +arch: + - aarch64 + - amd64 +webui: "http://[HOST]:[PORT:8880]/" +ports: + '80': 8880 +backup_exclude: + - '*/data/' +devices: + - /dev/dri + - /dev/dri/card0 + - /dev/dri/card1 + - /dev/dri/renderD128 + - /dev/vchiq + - /dev/ttyUSB0 + - /dev/sda + - /dev/sdb + - /dev/nvme + - /dev/nvme0n1p1 + - /dev/nvme0n1p2 + - /dev/mmcblk + - /dev/fuse + - /dev/net/tun +ingress: false +ingress_stream: false +panel_icon: mdi:network +privileged: + - SYS_ADMIN + - DAC_READ_SEARCH +startup: services +boot: manual +apparmor: true diff --git a/onenav/icon.png b/onenav/icon.png new file mode 100644 index 0000000..835c121 Binary files /dev/null and b/onenav/icon.png differ diff --git a/onenav/logo.png b/onenav/logo.png new file mode 100644 index 0000000..835c121 Binary files /dev/null and b/onenav/logo.png differ diff --git a/openlist/CHANGELOG.md b/openlist/CHANGELOG.md new file mode 100644 index 0000000..e7f3a09 --- /dev/null +++ b/openlist/CHANGELOG.md @@ -0,0 +1,17 @@ +### 4.1.6 锛2025-11-03锛 +- 鐗堟湰鍗囩骇 +### 4.1.5 锛2025-10-28锛 +- 鐗堟湰鍗囩骇 +### 4.1.4 锛2025-10-16锛 +- 鐗堟湰鍗囩骇 +### 4.1.2 锛2025-09-19锛 +- 鐗堟湰鍗囩骇 +### 4.1.1 锛2025-08-25锛 +- 鐗堟湰鍗囩骇 +### 4.1.0 锛2025-08-08锛 +- 鐗堟湰鍗囩骇 +### 4.0.9 锛2025-07-29锛 +- 鐗堟湰鍗囩骇 +### 4.0.8 锛2025-07-08锛 + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/openlist/DOCS.md b/openlist/DOCS.md new file mode 100644 index 0000000..681dad2 --- /dev/null +++ b/openlist/DOCS.md @@ -0,0 +1,13 @@ +# Openlist + +## 閰嶇疆璇存槑 + +### 鏇存敼姝や富鏈轰笂鐢卞姞杞介」寮鏀剧殑绔彛锛 + +- 榛樿绔彛鍙凤細5244锛屽彲鑷淇敼 + +- 鍙互閫氳繃娴忚鍣ㄩ〉闈㈣闂 锛堢鍙e彿榛樿5244锛 + +- 榛樿鐢ㄦ埛鍚: admin 瀵嗙爜璇峰湪鏃ュ織涓煡鐪嬨 + +- 璇︾粏浣跨敤鎸囧崡锛岃杩涘叆锛歨ttps://docs.openlist.team/ 鏌ョ湅 \ No newline at end of file diff --git a/openlist/README.md b/openlist/README.md new file mode 100644 index 0000000..8b94bf2 --- /dev/null +++ b/openlist/README.md @@ -0,0 +1,9 @@ +# 鍐摐鐢勯塧ddons锛歄penList + +## 鍏充簬 + +OpenList 鏄竴涓湁闊фс侀暱鏈熸不鐞嗐佺ぞ鍖洪┍鍔ㄧ殑 AList 鍒嗘敮锛屾棬鍦ㄩ槻寰″熀浜庝俊浠荤殑寮婧愭敾鍑汇 + +## 鏉ユ簮 + +https://github.com/OpenListTeam/OpenList/tree/main \ No newline at end of file diff --git a/openlist/apparmor.txt b/openlist/apparmor.txt new file mode 100644 index 0000000..0f30b63 --- /dev/null +++ b/openlist/apparmor.txt @@ -0,0 +1,66 @@ +#include + +profile openlist flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + signal, + mount, + umount, + remount, + network udp, + network tcp, + network dgram, + network stream, + network inet, + network inet6, + network netlink raw, + network unix dgram, + + capability setgid, + capability setuid, + capability sys_admin, + capability dac_read_search, + # capability dac_override, + # capability sys_rawio, + +# S6-Overlay + /init ix, + /run/{s6,s6-rc*,service}/** ix, + /package/** ix, + /command/** ix, + /run/{,**} rwk, + /dev/tty rw, + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /dev/i2c-1 mrwkl, + # Files required + /dev/fuse mrwkl, + /dev/sda1 mrwkl, + /dev/sdb1 mrwkl, + /dev/nvme0 mrwkl, + /dev/nvme1 mrwkl, + /dev/ttyUSB0 mrwkl, + /dev/* mrwkl, + /tmp/** mrkwl, + + # Data access + /data/** rw, + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} diff --git a/openlist/config.yaml b/openlist/config.yaml new file mode 100644 index 0000000..294c3ea --- /dev/null +++ b/openlist/config.yaml @@ -0,0 +1,39 @@ +name: Openlist +slug: openlist +description: 'OpenList 鏄竴涓湁闊фс侀暱鏈熸不鐞嗐佺ぞ鍖洪┍鍔ㄧ殑 AList 鍒嗘敮锛屾棬鍦ㄩ槻寰″熀浜庝俊浠荤殑寮婧愭敾鍑' +url: https://gitcode.com/waxgourd/addons +version: 4.1.6 +image: r.hassbus.com/wghaos/addons-wghaos-openlist +codenotary: wghaos@163.com +arch: + - aarch64 + - amd64 +apparmor: true +backup_exclude: + - '*/data/' +devices: + - /dev/dri + - /dev/dri/card0 + - /dev/dri/card1 + - /dev/dri/renderD128 + - /dev/vchiq + - /dev/ttyUSB0 + - /dev/sda + - /dev/sdb + - /dev/nvme + - /dev/nvme0n1p1 + - /dev/nvme0n1p2 + - /dev/mmcblk + - /dev/fuse + - /dev/net/tun +webui: "[PROTO:http]://[HOST]:[PORT:5244]" +privileged: + - SYS_ADMIN + - DAC_READ_SEARCH +init: false +ports: + 5244/tcp: 5244 +ports_description: + '5244': web port +startup: application +boot: manual diff --git a/openlist/icon.png b/openlist/icon.png new file mode 100644 index 0000000..b8b72b3 Binary files /dev/null and b/openlist/icon.png differ diff --git a/openlist/logo.png b/openlist/logo.png new file mode 100644 index 0000000..b8b72b3 Binary files /dev/null and b/openlist/logo.png differ diff --git a/portainer-zh-wg/CHANGELOG.md b/portainer-zh-wg/CHANGELOG.md new file mode 100644 index 0000000..c99b422 --- /dev/null +++ b/portainer-zh-wg/CHANGELOG.md @@ -0,0 +1,15 @@ +### 2.33.1-2 (2025-09-28) + +- 鐗堟湰鍗囩骇 + +### 2.33.1 (2025-09-02) + +- 鐗堟湰鍗囩骇 + +### 2.26.1 (2024-02-14) + +- 鐗堟湰鍗囩骇 + +### 2.21.0 (2024-10-12) + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/portainer-zh-wg/DOCS.md b/portainer-zh-wg/DOCS.md new file mode 100644 index 0000000..b53f299 --- /dev/null +++ b/portainer-zh-wg/DOCS.md @@ -0,0 +1,13 @@ +# Portainer鍐摐姹夊寲鐗 + +## 浣跨敤鏂规硶 + +- 榛樿鐢ㄦ埛鍚嶏細admin锛岄粯璁ゅ瘑鐮侊細homeassistant銆 + +- 濡傛兂鑷畾涔夌櫥褰曞瘑鐮侀渶瑕佽繘鍏ラ厤缃〉闈腑鐨勫瘑鐮侀」涓缃竴涓嬨 + +- 鍚姩鍓嶅繀椤诲湪淇℃伅椤典腑锛屽叧闂滀繚鎶ゆā寮忊濓紝鍚﹀垯鏃犳硶鍚姩銆 + +- 鐐瑰嚮鍚姩锛屽苟鏌ョ湅鏃ュ織鏄剧ず鈥渟tarting services鈥濆垯琛ㄧず鍚姩瀹屾垚銆 + +- 鍥炲埌淇℃伅椤电偣鍑烩滄墦寮 WEB UI鈥濊繘鍏ャ diff --git a/portainer-zh-wg/README.md b/portainer-zh-wg/README.md new file mode 100644 index 0000000..60ea66d --- /dev/null +++ b/portainer-zh-wg/README.md @@ -0,0 +1,11 @@ +# 鍐摐鐢勯塧ddons锛歅ortainer鍐摐姹夊寲鐗 + +## 鍏充簬 + +杩欐槸涓涓緢鏈夊悕鐨刣ocker鍙鍖栫晫闈㈢殑绠$悊宸ュ叿銆傛鐗堟湰涓哄啲鐡滄眽鍖栫増銆 + +## 婧 + +https://github.com/alexbelgium/hassio-addons/tree/master/portainer + +https://hub.docker.com/r/portainer/portainer-ce \ No newline at end of file diff --git a/portainer-zh-wg/apparmor.txt b/portainer-zh-wg/apparmor.txt new file mode 100644 index 0000000..e008314 --- /dev/null +++ b/portainer-zh-wg/apparmor.txt @@ -0,0 +1,59 @@ +#include + +profile portainer-zh-wg flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + signal, + mount, + umount, + remount, + network udp, + network tcp, + network dgram, + network stream, + network inet, + network inet6, + network netlink raw, + network unix dgram, + capability setgid, + capability setuid, + + +# S6-Overlay + /init ix, + /run/{s6,s6-rc*,service}/** ix, + /package/** ix, + /command/** ix, + /run/{,**} rwk, + /dev/tty rw, + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /dev/i2c-1 mrwkl, + /dev/fuse mrwkl, + /dev/sda1 mrwkl, + /dev/sdb1 mrwkl, + /dev/nvme0 mrwkl, + /dev/nvme1 mrwkl, + /dev/mmcblk0p1 mrwkl, + + # Data access + /data/** rw, + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} diff --git a/portainer-zh-wg/config.json b/portainer-zh-wg/config.json new file mode 100644 index 0000000..4786e79 --- /dev/null +++ b/portainer-zh-wg/config.json @@ -0,0 +1,51 @@ +{ + "arch": [ + "aarch64", + "amd64" + ], + "backup_exclude": [ + "backups", + "docker_config/cli-plugins" + ], + "codenotary": "wghaos@163.com", + "description": "杞绘澗绠$悊鎮ㄧ殑Docker鐜", + "docker_api": true, + "hassio_api": true, + "image": "r.hassbus.com/wghaos/portainer-ce", + "ingress": true, + "ingress_port": 1337, + "ingress_stream": true, + "init": false, + "boot": "manual", + "map": [ + "share:rw", + "ssl" + ], + "name": "Portainer鍐摐姹夊寲鐗", + "options": { + "certfile": "fullchain.pem", + "keyfile": "privkey.pem", + "password": "homeassistant", + "ssl": false + }, + "panel_admin": false, + "panel_icon": "mdi:docker", + "ports": { + "8000/tcp": null, + "9099/tcp": 9000 + }, + "ports_description": { + "8000/tcp": "Edge Agent Api (Enable when managing remote edge agents)", + "9099/tcp": "Web UI port" + }, + "schema": { + "certfile": "str", + "keyfile": "str", + "password": "str?", + "ssl": "bool" + }, + "slug": "portainer-zh-wg", + "udev": true, + "url": "https://gitcode.com/waxgourd/addons", + "version": "2.33.1-2" +} diff --git a/portainer-zh-wg/icon.png b/portainer-zh-wg/icon.png new file mode 100644 index 0000000..3e7635b Binary files /dev/null and b/portainer-zh-wg/icon.png differ diff --git a/portainer-zh-wg/logo.png b/portainer-zh-wg/logo.png new file mode 100644 index 0000000..3e7635b Binary files /dev/null and b/portainer-zh-wg/logo.png differ diff --git a/portainer-zh-wg/translations/en.yaml b/portainer-zh-wg/translations/en.yaml new file mode 100644 index 0000000..383947d --- /dev/null +++ b/portainer-zh-wg/translations/en.yaml @@ -0,0 +1,16 @@ +--- +configuration: + certfile: + name: certfile + description: >- + ssl certificate, must be located in /ssl. + password: + name: password + description: >- + define admin password. If kept blank, will allow manual restore of previous backup. At least 12 characters. + keyfile: + name: keyfile + description: >- + sslkeyfile, must be located in /ssl. + ssl: + name: ssl \ No newline at end of file diff --git a/portainer-zh-wg/translations/zh-Hans.yaml b/portainer-zh-wg/translations/zh-Hans.yaml new file mode 100644 index 0000000..a39a73c --- /dev/null +++ b/portainer-zh-wg/translations/zh-Hans.yaml @@ -0,0 +1,16 @@ +--- +configuration: + certfile: + name: 璇佷功鏂囦欢 + description: >- + SSL璇佷功锛屽繀椤讳綅浜/ SSL鐩綍涓嬨 + password: + name: 瀵嗙爜 + description: >- + 瀹氫箟admin瀵嗙爜銆傚鏋滀繚鎸佺┖鐧斤紝灏嗗厑璁告墜鍔ㄦ仮澶嶄互鍓嶇殑澶囦唤銆傝嚦灏12涓瓧绗︺ + keyfile: + name: 瀵嗛挜 + description: >- + ssl瀵嗛挜锛屽繀椤讳綅浜/SSL鐩綍涓嬨 + ssl: + name: ssl \ No newline at end of file diff --git a/portainer-zh/CHANGELOG.md b/portainer-zh/CHANGELOG.md new file mode 100644 index 0000000..828f4f2 --- /dev/null +++ b/portainer-zh/CHANGELOG.md @@ -0,0 +1,3 @@ +### 2.19.1锛2024-02-22锛 + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/portainer-zh/DOCS.md b/portainer-zh/DOCS.md new file mode 100644 index 0000000..cbe562b --- /dev/null +++ b/portainer-zh/DOCS.md @@ -0,0 +1,13 @@ +# Portainer姹夊寲鐗 + +## 浣跨敤鏂规硶 + +- 榛樿鐢ㄦ埛鍚嶏細admin锛岄粯璁ゅ瘑鐮侊細homeassistant銆 + +- 濡傛兂鑷畾涔夌櫥褰曞瘑鐮侀渶瑕佽繘鍏ラ厤缃〉闈腑鐨勫瘑鐮侀」涓缃竴涓嬨 + +- 鍚姩鍓嶅繀椤诲湪淇℃伅椤典腑锛屽叧闂滀繚鎶ゆā寮忊濓紝鍚﹀垯鏃犳硶鍚姩銆 + +- 鐐瑰嚮鍚姩锛屽苟鏌ョ湅鏃ュ織鏄剧ず鈥渟tarting services鈥濆垯琛ㄧず鍚姩瀹屾垚銆 + +- 鍥炲埌淇℃伅椤电偣鍑烩滄墦寮 WEB UI鈥濊繘鍏ャ diff --git a/portainer-zh/README.md b/portainer-zh/README.md new file mode 100644 index 0000000..93b705b --- /dev/null +++ b/portainer-zh/README.md @@ -0,0 +1,11 @@ +# 鍐摐鐢勯塧ddons锛歅ortainer姹夊寲鐗 + +## 鍏充簬 + +杩欐槸涓涓緢鏈夊悕鐨刣ocker鍙鍖栫晫闈㈢殑绠$悊宸ュ叿銆傛鐗堟湰涓烘眽鍖栫増銆 + +## 鏉ユ簮 + +https://github.com/alexbelgium/hassio-addons/tree/master/portainer + +https://github.com/eysp/portainer-ce \ No newline at end of file diff --git a/portainer-zh/apparmor.txt b/portainer-zh/apparmor.txt new file mode 100644 index 0000000..2d3f4c0 --- /dev/null +++ b/portainer-zh/apparmor.txt @@ -0,0 +1,59 @@ +#include + +profile portainerZH flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + signal, + mount, + umount, + remount, + network udp, + network tcp, + network dgram, + network stream, + network inet, + network inet6, + network netlink raw, + network unix dgram, + capability setgid, + capability setuid, + + +# S6-Overlay + /init ix, + /run/{s6,s6-rc*,service}/** ix, + /package/** ix, + /command/** ix, + /run/{,**} rwk, + /dev/tty rw, + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /dev/i2c-1 mrwkl, + /dev/fuse mrwkl, + /dev/sda1 mrwkl, + /dev/sdb1 mrwkl, + /dev/nvme0 mrwkl, + /dev/nvme1 mrwkl, + /dev/mmcblk0p1 mrwkl, + + # Data access + /data/** rw, + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} diff --git a/portainer-zh/config.yaml b/portainer-zh/config.yaml new file mode 100644 index 0000000..4143d40 --- /dev/null +++ b/portainer-zh/config.yaml @@ -0,0 +1,48 @@ +name: Portainer姹夊寲鐗 +version: 2.19.1 +slug: portainerZH +description: 杞绘澗绠$悊鎮ㄧ殑Docker鐜 +codenotary: wghaos@163.com +url: 'https://gitcode.com/waxgourd/addons' +image: r.hassbus.com/wghaos/portainer-zh +arch: + - aarch64 + - amd64 +backup_exclude: + - backups + - docker_config/cli-plugins +startup: system +boot: manual +host_network: true +docker_api: true +hassio_api: true +ingress: true +ingress_port: 1337 +ingress_stream: true +init: false +map: + - 'share:rw' + - ssl +privileged: + - SYS_ADMIN + - DAC_READ_SEARCH +full_access: true +hassio_role: admin +udev: true +panel_icon: 'mdi:docker' +ports: + 8000/tcp: null + 9099/tcp: 9000 +ports_description: + 8000/tcp: 'Edge Agent Api (Enable when managing remote edge agents)' + 9099/tcp: 'Web UI port' +options: + certfile: fullchain.pem + keyfile: privkey.pem + password: homeassistant + ssl: false +schema: + certfile: str + keyfile: str + password: 'str?' + ssl: bool diff --git a/portainer-zh/icon.png b/portainer-zh/icon.png new file mode 100644 index 0000000..3e7635b Binary files /dev/null and b/portainer-zh/icon.png differ diff --git a/portainer-zh/logo.png b/portainer-zh/logo.png new file mode 100644 index 0000000..3e7635b Binary files /dev/null and b/portainer-zh/logo.png differ diff --git a/portainer-zh/translations/en.yaml b/portainer-zh/translations/en.yaml new file mode 100644 index 0000000..383947d --- /dev/null +++ b/portainer-zh/translations/en.yaml @@ -0,0 +1,16 @@ +--- +configuration: + certfile: + name: certfile + description: >- + ssl certificate, must be located in /ssl. + password: + name: password + description: >- + define admin password. If kept blank, will allow manual restore of previous backup. At least 12 characters. + keyfile: + name: keyfile + description: >- + sslkeyfile, must be located in /ssl. + ssl: + name: ssl \ No newline at end of file diff --git a/portainer-zh/translations/zh-Hans.yaml b/portainer-zh/translations/zh-Hans.yaml new file mode 100644 index 0000000..a39a73c --- /dev/null +++ b/portainer-zh/translations/zh-Hans.yaml @@ -0,0 +1,16 @@ +--- +configuration: + certfile: + name: 璇佷功鏂囦欢 + description: >- + SSL璇佷功锛屽繀椤讳綅浜/ SSL鐩綍涓嬨 + password: + name: 瀵嗙爜 + description: >- + 瀹氫箟admin瀵嗙爜銆傚鏋滀繚鎸佺┖鐧斤紝灏嗗厑璁告墜鍔ㄦ仮澶嶄互鍓嶇殑澶囦唤銆傝嚦灏12涓瓧绗︺ + keyfile: + name: 瀵嗛挜 + description: >- + ssl瀵嗛挜锛屽繀椤讳綅浜/SSL鐩綍涓嬨 + ssl: + name: ssl \ No newline at end of file diff --git a/portainer/CHANGELOG.md b/portainer/CHANGELOG.md new file mode 100644 index 0000000..7b43368 --- /dev/null +++ b/portainer/CHANGELOG.md @@ -0,0 +1,119 @@ +## 2.35.0 (24-10-2025) +- 浠巔ortainer/portainer鏇存柊鍒版渶鏂扮増鏈 (鏇存敼鏃ュ織 : https://github.com/portainer/portainer/releases) +## 2.34.0 (26-09-2025) +- 浠巔ortainer/portainer鏇存柊鍒版渶鏂扮増鏈 (鏇存敼鏃ュ織 : https://github.com/portainer/portainer/releases) +## 2.33.1 (30-08-2025) +- 浠巔ortainer/portainer鏇存柊鍒版渶鏂扮増鏈 (鏇存敼鏃ュ織 : https://github.com/portainer/portainer/releases) +### 2.33-0 (25-08-2025) +- 鐗堟湰鍗囩骇 +### 2.32.0-7 (15-08-2025) +- 閫氳繃娓呴櫎鍐茬獊鐨勫畨鍏ㄥご淇℃伅鏉ヤ慨澶嶅叆鍙i棶棰樸 +### 2.32.0-6 (25-07-2025) +- 浠巔ortainer/portainer鏇存柊鍒版渶鏂扮増鏈 (鏇存敼鏃ュ織 : https://github.com/portainer/portainer/releases) +### 2.31.3 (11-07-2025) +- 浠巔ortainer/portainer鏇存柊鍒版渶鏂扮増鏈 (鏇存敼鏃ュ織 : https://github.com/portainer/portainer/releases) +### 2.31.2-5 (01-07-2025) +- 淇浜嗗皬閿欒 +### 2.31.1 (23-06-2025) +- 浠巔ortainer/portainer鏇存柊鍒版渶鏂扮増鏈 (鏇存敼鏃ュ織 : https://github.com/portainer/portainer/releases) +### 2.31.0 (18-06-2025) +- 浠巔ortainer/portainer鏇存柊鍒版渶鏂扮増鏈 (鏇存敼鏃ュ織 : https://github.com/portainer/portainer/releases) +### 2.30.1-2 (30-05-2025) +- 鏄犲皠鍐呴儴/config浠ュ厑璁歌嚜瀹氫箟鑴氭湰鎵ц鍜屽彉閲 +- 淇鏃犳晥鐨勬潵婧 +### 2.30.1 (24-05-2025) +- 浠巔ortainer/portainer鏇存柊鍒版渶鏂扮増鏈 (鏇存敼鏃ュ織锛歨ttps://github.com/portainer/portainer/releases) +### 2.30.0 (17-05-2025) +- 浠巔ortainer/portainer鏇存柊鍒版渶鏂扮増鏈 (鏇存敼鏃ュ織锛歨ttps://github.com/portainer/portainer/releases) +### 2.29.2 (27-04-2025) +- 宸茬煡闂 + - Podman鏀寔鐨勫凡鐭ラ棶棰 + 1. Podman鐜涓嶅彈鑷姩鍏ヨ亴鑴氭湰鐨勬敮鎸 + 1. 鍦―ocker涓婅繍琛孭ortainer鏈嶅姟鍣ㄦ椂锛屾棤娉曢氳繃socket娣诲姞Podman鐜锛堝弽涔嬩害鐒讹級 + 1. 浠呮敮鎸丆entOS 9锛孭odman 5 rootful +- 鍙樺寲 +1. 鎾ら攢浜唃ithub.com/gorilla/csrf搴撶殑鐗堟湰鍗囩骇 + + + +### 2.29.0 (19-04-2025) +- 浠巔ortainer/portainer鏇存柊鍒版渶鏂扮増鏈 (鏇存敼鏃ュ織锛歨ttps://github.com/portainer/portainer/releases) +### 2.28.1 (22-03-2025) +- 宸茬煡闂 +1. Podman鏀寔鐨勫凡鐭ラ棶棰 +1. Podman鐜涓嶅彈鑷姩鍏ヨ亴鑴氭湰鐨勬敮鎸 +1. 鍦―ocker涓婅繍琛孭ortainer鏈嶅姟鍣ㄦ椂锛屾棤娉曢氳繃socket娣诲姞Podman鐜锛堝弽涔嬩害鐒讹級 +1. 浠呮敮鎸丆entOS 9锛孭odman 5 rootful +- 鍙樺寲 +1. 淇浜嗕娇鐢–A绛惧悕鐨凾LS璇佷功鍦↘ubernetes鐜涓彲瑙佺殑鈥滄棤娉曟绱㈠懡鍚嶇┖闂粹濋敊璇 +- 寮冪敤鍜屽垹闄ょ殑鍔熻兘锛 +1. 寮冪敤鐨勫姛鑳 娌℃湁 +1. 宸插垹闄ゅ姛鑳 娌℃湁 +### 2.27.1 (03-03-2025) +- 宸茬煡闂 +
+ + - Docker鏀寔鐨勫凡鐭ラ棶棰 + + 1. 鍦―ocker涓婇娆′粠Git閮ㄧ讲鍫嗘爤鏃讹紝GitOps鏇存柊閫夐」涓嶅彲瑙侊紙浣嗗彲浠ュ湪閮ㄧ讲鍫嗘爤鍚庤繘琛岄厤缃級 + + - Podman鏀寔鐨勫凡鐭ラ棶棰 + + 1. Podman鐜涓嶅彈鑷姩鍏ヨ亴鑴氭湰鐨勬敮鎸 + 1. 鍦―ocker涓婅繍琛孭ortainer鏈嶅姟鍣ㄦ椂锛屾棤娉曢氳繃socket娣诲姞Podman鐜锛堝弽涔嬩害鐒讹級 + 1. 浠呮敮鎸丆entOS 9锛孭odman 5 rootful + +- 鍙樺寲 +
+ + 1. 瀹夊叏锛氬凡瑙e喅CVE-2024-50338 + + 1. 淇浜嗘湭浣跨敤.env鎻掑叆Compose鏂囦欢鐨勯棶棰 + + + +### 2.27.0 (24-02-2025) + +- 浠巔ortainer/portainer鏇存柊鍒版渶鏂扮増鏈 (鏇存敼鏃ュ織锛歨ttps://github.com/portainer/portainer/releases) + +### 2.26.1 (07-02-2025) + +- 浠巔ortainer/portainer鏇存柊鍒版渶鏂扮増鏈 (鏇存敼鏃ュ織锛歨ttps://github.com/portainer/portainer/releases) + +### 2.25.1 (08-01-2025) +- 浠巔ortainer/portainer鏇存柊鍒版渶鏂扮増鏈 (鏇存敼鏃ュ織锛歨ttps://github.com/portainer/portainer/releases) + +### 2.24.1 (07-12-2024) +- 浠巔ortainer/portainer鏇存柊鍒版渶鏂扮増鏈 (鏇存敼鏃ュ織锛歨ttps://github.com/portainer/portainer/releases) + +### 2.24.0 (21-11-2024) +- 浠巔ortainer/portainer鏇存柊鍒版渶鏂扮増鏈 (鏇存敼鏃ュ織锛歨ttps://github.com/portainer/portainer/releases) + +### 2.23.0 (21-10-2024) +- 浠巔ortainer/portainer鏇存柊鍒版渶鏂扮増鏈 (鏇存敼鏃ュ織锛歨ttps://github.com/portainer/portainer/releases) + +### 2.22.0-3 (06-10-2024) +- 璀﹀憡锛氭柊瀹夎鐨勯昏緫鏇存敼銆傚湪鎻掍欢鐨勫瘑鐮佷腑閿叆鈥滅┖鈥濅互閲嶇疆鏁版嵁搴撳苟杩涜骞插噣鐨勫垵濮嬭缃備緥濡傦紝鐢ㄤ簬杩樺師澶囦唤 + +### 2.22.0 (05-10-2024) +- 浠巔ortainer/portainer鏇存柊鍒版渶鏂扮増鏈 (鏇存敼鏃ュ織锛歨ttps://github.com/portainer/portainer/releases) + +### 2.21.2 (28-09-2024) +- 浠巔ortainer/portainer鏇存柊鍒版渶鏂扮増鏈 (鏇存敼鏃ュ織锛歨ttps://github.com/portainer/portainer/releases) + +### 2.21.1 (26-09-2024) +- 浠巔ortainer/portainer鏇存柊鍒版渶鏂扮増鏈 (鏇存敼鏃ュ織锛歨ttps://github.com/portainer/portainer/releases) + +### 2.21.0 (02-09-2024) +- 浠巔ortainer/portainer鏇存柊鍒版渶鏂扮増鏈 (鏇存敼鏃ュ織锛歨ttps://github.com/portainer/portainer/releases) + +### 2.20.1 (13-04-2024) +- 浠巔ortainer/portainer鏇存柊鍒版渶鏂扮増鏈 (鏇存敼鏃ュ織锛歨ttps://github.com/portainer/portainer/releases) + +### 2.20.0 (2024-03-25) + +- 浠 portainer/portainer 鏇存柊鍒版渶鏂扮増鏈 + +### 2.19.4-3 (2023-11-12) + +- 棣栨鎺ㄥ嚭 diff --git a/portainer/DOCS.md b/portainer/DOCS.md new file mode 100644 index 0000000..7a584db --- /dev/null +++ b/portainer/DOCS.md @@ -0,0 +1,15 @@ +# Portainer + +## 浣跨敤鏂规硶 + +- 榛樿鐢ㄦ埛鍚嶏細admin锛岄粯璁ゅ瘑鐮侊細homeassistant銆 + +- 濡傛兂鑷畾涔夌櫥褰曞瘑鐮侀渶瑕佽繘鍏ラ厤缃〉闈腑鐨勫瘑鐮侀」涓缃竴涓嬨 + +- 鍚姩鍓嶅繀椤诲湪淇℃伅椤典腑锛屽叧闂滀繚鎶ゆā寮忊濓紝鍚﹀垯鏃犳硶鍚姩銆 + +- 鐐瑰嚮鍚姩锛屽苟鏌ョ湅鏃ュ織鏄剧ず鈥渟tarting services鈥濆垯琛ㄧず鍚姩瀹屾垚銆 + +- 鍥炲埌淇℃伅椤电偣鍑烩滄墦寮 WEB UI鈥濊繘鍏ャ + +**鐢变簬HomeAssistantOS绯荤粺鏈哄埗闂锛屽畨瑁呭ソ姹夊寲琛ヤ竵鍚庨噸鍚張浼氬彉涓鸿嫳鏂囩増銆傛眽鍖栧悗鐨凱ortainer鏁鏈熷緟锛侊紒锛侌煒** \ No newline at end of file diff --git a/portainer/README.md b/portainer/README.md new file mode 100644 index 0000000..0e235d7 --- /dev/null +++ b/portainer/README.md @@ -0,0 +1,11 @@ +# 鍐摐鐢勯塧ddons锛歅ortainer + +## 鍏充簬 + +杩欐槸涓涓緢鏈夊悕鐨刣ocker鍙鍖栫晫闈㈢殑绠$悊宸ュ叿銆傛鐗堟湰涓哄師濮嬭嫳鏂囩増锛岀洿鎺ュ悓姝ユ渶鏂扮増鏈 + +濡傚姹夊寲鐗堟湁鍏磋叮锛岃浣跨敤鍙︿竴涓眽鍖栫増鏈殑銆 + +## 鏉ユ簮 + +https://github.com/alexbelgium/hassio-addons/tree/master/portainer diff --git a/portainer/apparmor.txt b/portainer/apparmor.txt new file mode 100644 index 0000000..0a03da2 --- /dev/null +++ b/portainer/apparmor.txt @@ -0,0 +1,59 @@ +#include + +profile portainer flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + signal, + mount, + umount, + remount, + network udp, + network tcp, + network dgram, + network stream, + network inet, + network inet6, + network netlink raw, + network unix dgram, + capability setgid, + capability setuid, + + +# S6-Overlay + /init ix, + /run/{s6,s6-rc*,service}/** ix, + /package/** ix, + /command/** ix, + /run/{,**} rwk, + /dev/tty rw, + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /dev/i2c-1 mrwkl, + /dev/fuse mrwkl, + /dev/sda1 mrwkl, + /dev/sdb1 mrwkl, + /dev/nvme0 mrwkl, + /dev/nvme1 mrwkl, + /dev/mmcblk0p1 mrwkl, + + # Data access + /data/** rw, + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} diff --git a/portainer/config.json b/portainer/config.json new file mode 100644 index 0000000..b32e86c --- /dev/null +++ b/portainer/config.json @@ -0,0 +1,53 @@ +{ + "arch": [ + "aarch64", + "amd64", + "armv7" + ], + "backup_exclude": [ + "backups", + "docker_config/cli-plugins" + ], + "codenotary": "wghaos@163.com", + "description": "杞绘澗绠$悊鎮ㄧ殑Docker鐜", + "docker_api": true, + "hassio_api": true, + "image": "r.hassbus.com/alexbelgium/portainer-{arch}", + "ingress": true, + "ingress_port": 1337, + "ingress_stream": true, + "init": false, + "map": [ + "addon_config:rw", + "share:rw", + "ssl" + ], + "name": "Portainer", + "options": { + "certfile": "fullchain.pem", + "keyfile": "privkey.pem", + "password": "homeassistant", + "ssl": false + }, + "panel_admin": false, + "panel_icon": "mdi:docker", + "ports": { + "8000/tcp": null, + "9099/tcp": 9000 + }, + "ports_description": { + "8000/tcp": "Edge Agent Api (Enable when managing remote edge agents)", + "9099/tcp": "Web UI port" + }, + "schema": { + "certfile": "str", + "keyfile": "str", + "password": "str?", + "ssl": "bool" + }, + "slug": "portainer", + "udev": true, + "url": "https://gitcode.com/waxgourd/addons", + "version": "2.35.0", + "boot": "manual" +} diff --git a/portainer/icon.png b/portainer/icon.png new file mode 100644 index 0000000..3e7635b Binary files /dev/null and b/portainer/icon.png differ diff --git a/portainer/logo.png b/portainer/logo.png new file mode 100644 index 0000000..3e7635b Binary files /dev/null and b/portainer/logo.png differ diff --git a/portainer/translations/en.yaml b/portainer/translations/en.yaml new file mode 100644 index 0000000..383947d --- /dev/null +++ b/portainer/translations/en.yaml @@ -0,0 +1,16 @@ +--- +configuration: + certfile: + name: certfile + description: >- + ssl certificate, must be located in /ssl. + password: + name: password + description: >- + define admin password. If kept blank, will allow manual restore of previous backup. At least 12 characters. + keyfile: + name: keyfile + description: >- + sslkeyfile, must be located in /ssl. + ssl: + name: ssl \ No newline at end of file diff --git a/portainer/translations/zh-Hans.yaml b/portainer/translations/zh-Hans.yaml new file mode 100644 index 0000000..a39a73c --- /dev/null +++ b/portainer/translations/zh-Hans.yaml @@ -0,0 +1,16 @@ +--- +configuration: + certfile: + name: 璇佷功鏂囦欢 + description: >- + SSL璇佷功锛屽繀椤讳綅浜/ SSL鐩綍涓嬨 + password: + name: 瀵嗙爜 + description: >- + 瀹氫箟admin瀵嗙爜銆傚鏋滀繚鎸佺┖鐧斤紝灏嗗厑璁告墜鍔ㄦ仮澶嶄互鍓嶇殑澶囦唤銆傝嚦灏12涓瓧绗︺ + keyfile: + name: 瀵嗛挜 + description: >- + ssl瀵嗛挜锛屽繀椤讳綅浜/SSL鐩綍涓嬨 + ssl: + name: ssl \ No newline at end of file diff --git a/qinglong/CHANGELOG.md b/qinglong/CHANGELOG.md new file mode 100644 index 0000000..95ae1fe --- /dev/null +++ b/qinglong/CHANGELOG.md @@ -0,0 +1,115 @@ +### 2.19.2 (2025-07-01) + +1. 澶囦唤鏁版嵁鏀寔閫夋嫨妯″潡锛屾敮鎸佹竻闄や緷璧栫紦瀛 +2. QLAPI 鍜 openapi 鐨 systemNotify 鏀寔鑷畾涔夐氱煡绫诲瀷鍜屽弬鏁 +3. ntfy 澧炲姞鍙夌殑璁よ瘉涓庣敤鎴峰姩浣滐紝鎰熻阿 https://github.com/liheji +4. 淇鍙栨秷瀹夎渚濊禆 +5. 淇鐜鍙橀噺杩囧ぇ瑙f瀽鎶ラ敊 +6. 淇敼鏈嶅姟鍚姩鏂瑰紡 + +### 2.19.1 (2025-06-19) + +1. 淇渚濊禆鏄惁瀹夎妫鏌ラ昏緫More actions +2. 淇鏂囦欢涓嬭浇 path 鍙傛暟 +3. 淇 python 鏌ヨ閫昏緫 +4. 淇浠诲姟瑙嗗浘鐘舵佺瓫閫 +5. 淇鍒涘缓鑴氭湰鍙兘澶辫触 +6. 淇閲嶇疆鐢ㄦ埛鍚嶅け璐 +7. 淇鏃犳硶璇嗗埆 python 渚濊禆瀹夎鐨勫懡浠ore actions +8. 鍏朵粬缂洪櫡淇 + +### 2.19.0 (2025-05-16) + +1. 缂撳瓨 node 鍜 python 渚濊禆锛宭inux 渚濊禆闇瑕佸鍔犳槧灏勭洰褰 +2. 鍑忓皯鍚姩鏈嶅姟鏁帮紝鑺傜害鍚姩鍐呭瓨绾 50% +3. 閭閫氱煡鏀寔澶氫釜鏀朵欢浜 +4. boot 浠诲姟鏀逛负鍦ㄤ緷璧栧畨瑁呭畬鎴愬悗鎵ц +5. 淇鑴氭湰绠$悊鏌ヨ瀛愮洰褰曢昏緫 +6. 淇鑴氭湰绠$悊澧炲姞鏂囦欢澶 +7. 淇 QLAPI 淇鐜鍙橀噺 remarks +8. 淇 mjs 渚濊禆鏌ヤ笉鍒 +9. 淇鏃犳硶鍒犻櫎鏃ュ織鏂囦欢 + +### 2.18.3 (2025-03-17) + +- 鑴氭湰绠$悊鍜屾棩蹇楃鐞嗘敮鎸佷笅杞借剼鏈拰鏃ュ織 +- 淇 gRPC client 杩炴帴瓒呮椂 +- 鑴氭湰绠$悊澧炲姞寮哄埗鎵撳紑鏂囦欢 + +### 2.18.2 (2025-03-03) + +- 瀹氭椂浠诲姟鏀寔 寮鏈鸿繍琛孈boot 鍜 鎵嬪姩杩愯@once 浠诲姟 +- 鑴氭湰绠$悊澧炲姞鍙瑙堟鏌ワ紝閬垮厤鏃犳硶棰勮鏂囦欢琚噸澶嶄繚瀛 +- 绯荤粺璁剧疆澧炲姞鏃跺尯璁剧疆 +- 淇鐧诲綍澶辫触娌℃湁鎻愮ず +- 澧炲姞閲嶇疆瀵嗙爜鍛戒护 ql resetpwd +- 淇缇ゆ櫀閫氱煡鍙傛暟锛屼换鍔¤鍥句笉灞炰簬绛涢 + +### 2.18.1 (2025-01-15) + +- 鍐呯疆 QLAPI 澧炲姞鐜鍙橀噺鍜岀郴缁熼氱煡 api +- 绉婚櫎 nedb 鍜 sentry锛屼笉鍐嶆敮鎸 2.10.x 鐗堟湰鑷姩杩佺Щ +- 淇澶氳瑷缈昏瘧 + +### 2.18.0 (2025-01-15) + +- 鐢变簬瀹夊叏闂锛屼慨鏀硅璇佷俊鎭瓨鍌ㄦ柟寮忥紝涓嶅啀浣跨敤 auth.json 瀛樺偍 +- 淇鍒濆鍖 SystemConfig 鏁版嵁 +- 淇敼閫氱煡鏂囦欢鏈缃椂鎻愮ず +- 淇閰嶇疆鏂囦欢鏇存柊鍙兘寮傚父 + +### 2.17.12 (2024-11-08) + +- 瀹氭椂浠诲姟鏀寔澶嶅埗 +- 澧炲姞 ntfy 閫氱煡 +- 閫傞厤Server閰盇PP鍒嗘敮锛圫erver閰甭筹級锛岀Щ闄ゅ凡搴熷純鐨勬棫鐗坅pi鍏ュ彛 +- 淇浠诲姟鍛戒护甯︽湁 -m 鍙傛暟鏃讹紝鏃ュ織鐩綍鐢熸垚寮傚父 +- 淇鐧诲綍鏃ュ織鏃犳硶鑷姩淇濆瓨 +- 绉婚櫎浠诲姟鎵ц鍓嶅悗鐨勮剼鏈弬鏁 +- 瀹氭椂浠诲姟澶栨紡瑙嗗浘鏀逛负 10 涓 + +### 2.17.11 (2024-10-14) + +- 淇鏃犳硶鑾峰彇璁剧疆鐨勭幆澧冨彉閲 PYTHONPATH 鍜 NODE_OPTIONS +- 淇瀹氭椂浠诲姟瑙嗗浘杩囧鏃讹紝鏃犳硶鐪嬪埌瑙嗗浘绠$悊 +- 淇鑷畾涔夐氱煡 json 瑙f瀽 +- 淇鍙兘浜х敓鐩綍閬嶅巻鏀诲嚮 API + +### 2.17.9 (2024-07-30) + +- Javascript 鍜 Python 澧炲姞鍐呯疆API QLAPI.notify锛屼娇鐢ㄥ弬鑰 +- 閰嶇疆绠$悊澧炲姞 task_before.js 鍜 task_before.py 鏂囦欢锛屽湪鎵ц浠诲姟鍓嶆墽琛岋紝閬垮厤鐜鍙橀噺杩囧ぇ鎶ラ敊 +- 淇鎵ц JavaScript 鍜 Python 浠诲姟鍓嶆湭鎵ц task_before.sh + +### 2.17.4锛2024-05-17锛 + +- 澧炲姞绀轰緥鑴氭湰 +- 淇涓婁紶鑴氭湰鏂囦欢鍚嶄贡鐮 +- 淇椋炰功閫氱煡缁撴灉鏍¢獙 +- 淇鍒犻櫎鏃ュ織鎻愮ず +- 淇鑷畾涔夐氱煡 text/plain 绫诲瀷 +- 淇鑴氭湰鍜屾棩蹇楀垪琛ㄨ蒋杩炴帴寰幆鎶ラ敊 +- 淇 python 閫氱煡鏂囦欢鑷畾涔 send + +### 2.17.2锛2024-03-23锛 + +- 鐗堟湰鍗囩骇 + +### 2.17.2锛2024-03-06锛 + +- 鍗囩骇鍒板畼鏂2.17.2鐗堟湰 +- 渚濊禆绠$悊鏀寔闃熷垪涓緷璧栧彇娑堝畨瑁咃紝鏀寔鐘舵佺瓫閫 +- 淇 webhook 閫氱煡 body 鎷嗗垎閫昏緫 +- 浼佷笟寰俊鏈夐暱搴﹂檺鍒讹紝瓒呴暱鐨勮繘琛屽垎娈垫彁浜 https://github.com/pharaoh2012 + +### 2.17.1锛2024-02-07锛 + +- 鍗囩骇鍒板畼鏂2.17.1鐗堟湰 + +### 2.17.0锛2024-02-05锛 + +- 鍗囩骇鍒板畼鏂2.17.0鐗堟湰 + +### 1.0.0锛2024-01-11锛 + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/qinglong/DOCS.md b/qinglong/DOCS.md new file mode 100644 index 0000000..e18ba2b --- /dev/null +++ b/qinglong/DOCS.md @@ -0,0 +1,7 @@ +# 闈掗緳闈㈡澘 for HA + +## 閰嶇疆璇存槑 + +### 鏇存敼姝や富鏈轰笂鐢卞姞杞介」寮鏀剧殑绔彛 + +- 榛樿绔彛鍙5700 diff --git a/qinglong/README.md b/qinglong/README.md new file mode 100644 index 0000000..b91d974 --- /dev/null +++ b/qinglong/README.md @@ -0,0 +1,25 @@ +# 鍐摐鐢勯塧ddons锛氶潚榫欓潰鏉 for HA + +## 鍏充簬 + +鏀寔 Python3銆丣avaScript銆丼hell銆乀ypescript 鐨勫畾鏃朵换鍔$鐞嗗钩鍙 + +### 鍔熻兘 + +- 鏀寔澶氱鑴氭湰璇█锛坧ython3銆乯avaScript銆乻hell銆乼ypescript锛 + +- 鏀寔鍦ㄧ嚎绠$悊鑴氭湰銆佺幆澧冨彉閲忋侀厤缃枃浠 + +- 鏀寔鍦ㄧ嚎鏌ョ湅浠诲姟鏃ュ織 + +- 鏀寔绉掔骇浠诲姟璁剧疆 + +- 鏀寔绯荤粺绾ч氱煡 + +- 鏀寔鏆楅粦妯″紡 + +- 鏀寔鎵嬫満绔搷浣 + +## 鏉ユ簮 + +https://github.com/whyour/qinglong diff --git a/qinglong/config.yaml b/qinglong/config.yaml new file mode 100644 index 0000000..1872fa5 --- /dev/null +++ b/qinglong/config.yaml @@ -0,0 +1,22 @@ +--- +name: 闈掗緳闈㈡澘 for HA +version: 2.19.2 +slug: qinglong +description: "鏀寔 Python3銆丣avaScript銆丼hell銆乀ypescript 鐨勫畾鏃朵换鍔$鐞嗗钩鍙" +url: https://gitcode.com/waxgourd/addons +init: false +codenotary: wghaos@163.com +map: + - share:rw +arch: + - aarch64 + - amd64 +webui: "http://[HOST]:[PORT:5700]/" +ports_description: + 5700/tcp: 'Web UI port' +ports: + 5700/tcp: 5700 +image: r.hassbus.com/wghaos/qinglong +environment: + QL_DIR: /data/qinglong +boot: manual diff --git a/qinglong/icon.png b/qinglong/icon.png new file mode 100644 index 0000000..6d73cc2 Binary files /dev/null and b/qinglong/icon.png differ diff --git a/qinglong/logo.png b/qinglong/logo.png new file mode 100644 index 0000000..6d73cc2 Binary files /dev/null and b/qinglong/logo.png differ diff --git a/redis-server/CHANGELOG.md b/redis-server/CHANGELOG.md new file mode 100644 index 0000000..1765902 --- /dev/null +++ b/redis-server/CHANGELOG.md @@ -0,0 +1,3 @@ +### 7.2.7锛2025-04-24锛 + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/redis-server/DOCS.md b/redis-server/DOCS.md new file mode 100644 index 0000000..5d3af57 --- /dev/null +++ b/redis-server/DOCS.md @@ -0,0 +1,107 @@ +# Redis Server + +Redis 鏄竴涓紑婧愮殑鍐呭瓨鏁版嵁搴擄紝鍙互鐢ㄤ綔缂撳瓨銆佹秷鎭唬鐞嗗拰鏁版嵁瀛樺偍銆傛鎻掍欢涓烘偍鐨 Home Assistant 瀹夎 Redis 鏈嶅姟鍣ㄣ + +## 瀹夎 + +1. 鍦 Home Assistant 涓坊鍔犳瀛樺偍搴 URL 鍒版偍鐨勬彃浠跺晢搴 +2. 瀹夎 Redis 鏈嶅姟鍣ㄦ彃浠 +3. 鍚姩 Redis 鏈嶅姟鍣ㄦ彃浠 + +## 濡備綍浣跨敤 + +瀹夎鍚庯紝Redis 鏈嶅姟鍣ㄥ皢鍦ㄩ粯璁ょ鍙o紙6379锛変笂杩愯锛屽苟鍙互閫氳繃 Home Assistant 鎴栬呯綉缁滀腑鐨勫叾浠栬澶囪繛鎺ュ畠锛 + +``` +redis-cli -h -p 6379 +``` + +濡傛灉鎮ㄨ缃簡瀵嗙爜锛屽彲浠ラ氳繃浠ヤ笅鏂瑰紡杩炴帴锛 + +``` +redis-cli -h -p 6379 -a +``` + +### 閰嶇疆 + +浠ヤ笅閫夐」鍙湪鎻掍欢閰嶇疆椤甸潰涓婅缃細 + +```yaml +# 绀轰緥閰嶇疆 +port: 6379 #鏈嶅姟鍣ㄧ洃鍚鍙o紙榛樿锛6379锛 +databases: 4 #鏁版嵁搴撴暟閲忥紙榛樿锛4锛 +password: mypassword # 寮虹儓寤鸿璁剧疆瀵嗙爜 +appendonly: true #鍚敤鎸佷箙鍖栧瓨鍌紙榛樿锛氬紑鍚級 +``` + +#### 閫夐」 `port` + +Redis 鏈嶅姟鍣ㄧ殑鐩戝惉绔彛銆傞粯璁ゆ槸 6379銆 + +#### 閫夐」 `databases` + +Redis 瀹炰緥涓殑鏁版嵁搴撴暟閲忋傞粯璁ゆ槸 4銆 + +#### 閫夐」 `password` + +鍙夌殑 Redis 璁よ瘉瀵嗙爜銆備负浜嗗畨鍏ㄨ捣瑙侊紝寮虹儓寤鸿璁剧疆姝ら夐」銆 + +#### 閫夐」 `appendonly` + +榛樿鎯呭喌涓嬶紝Redis 鏁版嵁灏嗕繚瀛樺湪`/data`鐩綍涓傚惎鐢/绂佺敤 AOF锛圓ppend Only File锛夋寔涔呭寲銆傛閫夐」榛樿涓哄惎鐢紝纭繚鍦ㄩ噸鍚悗鏁版嵁浠嶇劧鍙敤銆 + +## 楂樼骇閰嶇疆 + +鏈彃浠舵敮鎸佷娇鐢ㄥ畬鏁寸殑 Redis 閰嶇疆鏂囦欢杩涜楂樼骇閰嶇疆銆傛彃浠堕娆″惎鍔ㄦ椂锛屼細鍦╜/config/redis/redis.conf`鍒涘缓涓涓粯璁ょ殑 Redis 閰嶇疆鏂囦欢锛屽苟閫氳繃杞摼鎺ヨ繛鎺ュ埌`/etc/redis.conf`銆 + +鎮ㄥ彲浠ラ氳繃鐩存帴缂栬緫`/config/redis/redis.conf`鏂囦欢鏉ヨ嚜瀹氫箟 Redis 鐨勬墍鏈夎缃傝繖浜涙洿鏀瑰皢鍦ㄦ彃浠朵笅娆¢噸鍚椂鐢熸晥銆 + +### 閰嶇疆鏂囦欢璺緞 + +- 涓婚厤缃枃浠讹細`/config/redis/redis.conf` +- 杞摼鎺ヤ綅缃細`/etc/redis.conf` + +### 甯哥敤楂樼骇閰嶇疆閫夐」 + +浠ヤ笅鏄竴浜涙偍鍙兘闇瑕佸湪閰嶇疆鏂囦欢涓皟鏁寸殑甯哥敤楂樼骇閫夐」锛 + +``` +# 鍐呭瓨闄愬埗 +maxmemory 100mb +maxmemory-policy allkeys-lru + +# 蹇収閰嶇疆 +save 900 1 +save 300 10 +save 60 10000 + +# 杩炴帴闄愬埗 +maxclients 1000 + +# 鏃ュ織绾у埆 +loglevel notice +``` + +鍏充簬鎵鏈夊彲鐢ㄩ厤缃夐」鐨勮缁嗚鏄庯紝璇峰弬鑰僛Redis 瀹樻柟鏂囨。](https://redis.io/topics/config)銆 + +### 娉ㄦ剰 + +- 濡傛灉鎮ㄥ湪閰嶇疆鏂囦欢涓慨鏀逛簡鍩烘湰璁剧疆锛堝绔彛鍙凤級锛岃纭繚鍚屾椂鏇存柊鎻掍欢鐨勯厤缃夐」锛屼互淇濇寔涓鑷存с +- 寤鸿鍦ㄤ慨鏀归厤缃枃浠跺墠鍏堝垱寤哄浠姐 +- 涓嶅綋鐨勯厤缃洿鏀瑰彲鑳藉鑷 Redis 鏈嶅姟鏃犳硶鍚姩銆 + +## 浣跨敤妗堜緥 + +Redis 鏈嶅姟鍣ㄥ彲浠ョ敤浜庡绉嶅満鏅細 + +1. 楂橀熺紦瀛 +2. 鐢ㄤ簬 Home Assistant 鑷姩鍖栬鍒欑殑娑堟伅浠g悊 +3. 涓存椂鏁版嵁瀛樺偍 +4. 璺ㄨ澶/鏈嶅姟鐨勫叡浜姸鎬佸瓨鍌 + + +## 娉ㄦ剰浜嬮」 + +- 榛樿鎯呭喌涓嬶紝Redis 浠呯洃鍚湰鍦扮綉缁溿 +- 寤鸿涓烘偍鐨 Redis 瀹炰緥璁剧疆瀵嗙爜浠ュ寮哄畨鍏ㄦс +- 濡傛灉鎮ㄤ慨鏀逛簡閰嶇疆鏂囦欢涓殑鍩烘湰璁剧疆锛堝绔彛锛夛紝璇风‘淇濆悓鏃舵洿鏂版彃浠剁殑閰嶇疆閫夐」锛屼互淇濇寔涓鑷存с diff --git a/redis-server/README.md b/redis-server/README.md new file mode 100644 index 0000000..b663cf9 --- /dev/null +++ b/redis-server/README.md @@ -0,0 +1,9 @@ +# 鍐摐鐢勯塧ddons锛歊edis Server + +## 鍏充簬 +杩欎釜鎻掍欢涓 Home Assistant 鎻愪緵浜嗕竴涓 Redis 鏈嶅姟鍣ㄣ俁edis 鏄竴涓紑婧愮殑鍐呭瓨鏁版嵁搴擄紝鍙互鐢ㄤ綔缂撳瓨銆佹秷鎭唬鐞嗗拰鏁版嵁瀛樺偍銆 + +## 鏉ユ簮 +Github锛歨ttps://github.com/redis/redis + + diff --git a/redis-server/config.yaml b/redis-server/config.yaml new file mode 100644 index 0000000..14a3a71 --- /dev/null +++ b/redis-server/config.yaml @@ -0,0 +1,30 @@ +name: "Redis Server" +version: "7.2.7" +slug: "redis-server" +description: "Redis鏁版嵁搴撴湇鍔″櫒鎻掍欢锛屼负鎮ㄧ殑Home Assistant鎻愪緵楂樻ц兘缂撳瓨鍜屾暟鎹瓨鍌ㄦ湇鍔" +url: https://gitcode.com/waxgourd/addons +codenotary: wghaos@163.com +startup: services +boot: manual +init: false +host_network: false +ingress: false +arch: + - aarch64 + - amd64 +map: + - config:rw +ports: + 6379/tcp: 6379 +ports_description: + 6379/tcp: "Redis鏈嶅姟鍣ㄧ鍙" +schema: + port: "int(1025,65535)?" + databases: "int(1,16)?" + password: "str?" + appendonly: "bool?" +options: + port: 6379 + databases: 4 + appendonly: true +image: "r.hassbus.com/wghaos/redis-server" diff --git a/redis-server/icon.png b/redis-server/icon.png new file mode 100644 index 0000000..14f1219 Binary files /dev/null and b/redis-server/icon.png differ diff --git a/redis-server/logo.png b/redis-server/logo.png new file mode 100644 index 0000000..7be8b87 Binary files /dev/null and b/redis-server/logo.png differ diff --git a/repository.yaml b/repository.yaml index f11026b..587b919 100644 --- a/repository.yaml +++ b/repository.yaml @@ -1,4 +1,4 @@ -name: 'Add-ons by HaDB.cn' +name: 'HaDB Add-ons' udev: true url: 'https://hadb.cn/addons' maintainer: Hadb diff --git a/samba-easy-nas/CHANGELOG.md b/samba-easy-nas/CHANGELOG.md new file mode 100644 index 0000000..14313e9 --- /dev/null +++ b/samba-easy-nas/CHANGELOG.md @@ -0,0 +1,16 @@ +### 12.4.0.0锛2025-09-01锛 + +- 鐗堟湰鍗囩骇 + +### 12.3.0.0-2锛2025-05-19锛 + +- 鐗堟湰鍗囩骇 + +### 12.3.0.0锛2024-12-02锛 + +- 澧炲姞瀵筺tfs鏍煎紡鐨勬敮鎸 +- 澧炲姞瀵筫xfat鏍煎紡鐨勬敮鎸 + +### 12.2.0.0锛2023-12-06锛 + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/samba-easy-nas/DOCS.md b/samba-easy-nas/DOCS.md new file mode 100644 index 0000000..5ff9689 --- /dev/null +++ b/samba-easy-nas/DOCS.md @@ -0,0 +1,35 @@ +# 杞婚噺鍖朣amba NAS + +## 閰嶇疆璇存槑 + +### 鐢ㄦ埛鍚: + +- 榛樿'homeassistant'锛屽彲鏍规嵁涓汉闇姹傛洿鏀广 + +### 瀵嗙爜: + +- 榛樿'123'锛屽彲鏍规嵁涓汉闇姹傛洿鏀广 + +### 宸ヤ綔缁: + +- 榛樿'WORKGROUP'锛屾牴鎹綘寤虹珛鐨勫伐浣滆屽~鍐欙紝榛樿涓衡淲ORKGROUP鈥濓紝闈炵壒娈婇渶姹傚彲涓嶅仛淇敼銆 + +### 鍏煎妯″紡锛 + +- 榛樿鍏抽棴锛岄潪鐗规畩闇姹傚彲涓嶅仛淇敼銆 + +### 闅愯棌鏂囦欢锛 + +- 鑷畾涔夐殣钘忔枃浠讹紝闈炵壒娈婇渶姹傚彲涓嶅仛淇敼銆 + +### 鍏佽璁块棶锛 + +- 鍏佽閭d簺IP鍦板潃鎴朓P娈靛彲浠ヨ闂湰鏈嶅姟銆傞潪鐗规畩闇姹傚彲涓嶅仛淇敼銆 + +### 缃戠粶閫傞厤鍣細 + +- 杩欓噷濉啓samba浣跨敤鐨勭綉缁滈傞厤鍣紝x86涓鑸负enp2s1锛屽叾浠栫殑end0锛屾渶濂絥et info鍛戒护鏌ョ湅涓涓嬨 + +### 鏈湴瀛樺偍鍣細 + +- 鎸傝浇鐨勬湰鍦板瓨鍌ㄥ櫒(濉啓sda1鎴杝db1)锛屾煡鐪媓ost涓绘満涓寕杞界殑鐩樹綅浜/dev銆 鏀寔鏂囦欢绯荤粺鈥滷AT32銆丗AT16銆丒XT3銆丒XT4鈥滅瓑銆 \ No newline at end of file diff --git a/samba-easy-nas/README.md b/samba-easy-nas/README.md new file mode 100644 index 0000000..bcbee99 --- /dev/null +++ b/samba-easy-nas/README.md @@ -0,0 +1,9 @@ +# 鍐摐鐢勯塧ddons锛氳交閲忓寲Samba NAS + +## 鍏充簬 + +杞婚噺鍖栫殑鏈湴缃戠粶瀛樺偍锛屽彲閫夐厤缃戝崱锛屽彲鎸傝浇纭洏锛岃交鏉惧叡浜枃浠躲 + +## 鏉ユ簮 + +鍐摐鐢勯夊嚭鍝 \ No newline at end of file diff --git a/samba-easy-nas/apparmor.txt b/samba-easy-nas/apparmor.txt new file mode 100644 index 0000000..67febb0 --- /dev/null +++ b/samba-easy-nas/apparmor.txt @@ -0,0 +1,66 @@ +#include + +profile sambaeasynas flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + signal, + mount, + umount, + remount, + network udp, + network tcp, + network dgram, + network stream, + network inet, + network inet6, + network netlink raw, + network unix dgram, + + capability setgid, + capability setuid, + capability sys_admin, + capability dac_read_search, + # capability dac_override, + # capability sys_rawio, + +# S6-Overlay + /init ix, + /run/{s6,s6-rc*,service}/** ix, + /package/** ix, + /command/** ix, + /run/{,**} rwk, + /dev/tty rw, + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /dev/i2c-1 mrwkl, + # Files required + /dev/fuse mrwkl, + /dev/sda1 mrwkl, + /dev/sdb1 mrwkl, + /dev/nvme0 mrwkl, + /dev/nvme1 mrwkl, + /dev/mmcblk0p1 mrwkl, + /dev/* mrwkl, + /tmp/** mrkwl, + + # Data access + /data/** rw, + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} \ No newline at end of file diff --git a/samba-easy-nas/config.yaml b/samba-easy-nas/config.yaml new file mode 100644 index 0000000..c716dd4 --- /dev/null +++ b/samba-easy-nas/config.yaml @@ -0,0 +1,144 @@ +--- +version: 12.4.0.0 +slug: sambaeasynas +name: Samba Easy NAS +description: 杞婚噺绾х殑Samba NAS +url: https://gitcode.com/waxgourd/addons +codenotary: wghaos@163.com +arch: + - aarch64 + - amd64 +devices: + - /dev/sda + - /dev/sdb + - /dev/sdc + - /dev/sdd + - /dev/sde + - /dev/sdf + - /dev/sdg + - /dev/nvme + - /dev/nvme0n1p1 + - /dev/nvme0n1p2 + - /dev/mmcblk + - /dev/fuse + - /dev/sda1 + - /dev/sdb1 + - /dev/sdc1 + - /dev/sdd1 + - /dev/sde1 + - /dev/sdf1 + - /dev/sdg1 + - /dev/sda2 + - /dev/sdb2 + - /dev/sdc2 + - /dev/sdd2 + - /dev/sde2 + - /dev/sdf2 + - /dev/sdg2 + - /dev/sda3 + - /dev/sdb3 + - /dev/sdc3 + - /dev/sdd3 + - /dev/sde3 + - /dev/sdf3 + - /dev/sdg3 + - /dev/sda4 + - /dev/sdb4 + - /dev/sdc4 + - /dev/sdd4 + - /dev/sde4 + - /dev/sdf4 + - /dev/sdg4 + - /dev/sda5 + - /dev/sdb5 + - /dev/sdc5 + - /dev/sdd5 + - /dev/sde5 + - /dev/sdf5 + - /dev/sdg5 + - /dev/sda6 + - /dev/sdb6 + - /dev/sdc6 + - /dev/sdd6 + - /dev/sde6 + - /dev/sdf6 + - /dev/sdg6 + - /dev/sda7 + - /dev/sdb7 + - /dev/sdc7 + - /dev/sdd7 + - /dev/sde7 + - /dev/sdf7 + - /dev/sdg7 + - /dev/sda8 + - /dev/sdb8 + - /dev/sdc8 + - /dev/sdd8 + - /dev/sde8 + - /dev/sdf8 + - /dev/sdg8 + - /dev/sda9 + - /dev/sdb9 + - /dev/sdc9 + - /dev/sdd9 + - /dev/sde9 + - /dev/sdf9 + - /dev/sdg9 + - /dev/nvme0 + - /dev/nvme1 + - /dev/nvme2 +hassio_api: true +host_network: true +image: r.hassbus.com/wghaos/samba-easy-nas +init: false +map: + - addons:rw + - all_addon_configs:rw + - backup:rw + - homeassistant_config:rw + - media:rw + - share:rw + - backup:rw + - ssl:rw +udev: true +privileged: + - SYS_ADMIN + - DAC_READ_SEARCH +apparmor: true +#full_access: true +devicetree: false +options: + username: homeassistant + password: "123" + workgroup: WORKGROUP + compatibility_mode: false + veto_files: + - ._* + - .DS_Store + - Thumbs.db + - icon? + - .Trashes + allow_hosts: + - 10.0.0.0/8 + - 172.16.0.0/12 + - 192.168.0.0/16 + - 169.254.0.0/16 + - fe80::/10 + - fc00::/7 + interfaces: + - end0 + - enp2s1 + - eth0 +schema: + username: str + password: password + workgroup: str + compatibility_mode: bool + veto_files: + - str + allow_hosts: + - str + interfaces: + - str + localdisks: str? +startup: services diff --git a/samba-easy-nas/icon.png b/samba-easy-nas/icon.png new file mode 100644 index 0000000..852981b Binary files /dev/null and b/samba-easy-nas/icon.png differ diff --git a/samba-easy-nas/logo.png b/samba-easy-nas/logo.png new file mode 100644 index 0000000..1c82ba8 Binary files /dev/null and b/samba-easy-nas/logo.png differ diff --git a/samba-easy-nas/translations/en.yaml b/samba-easy-nas/translations/en.yaml new file mode 100644 index 0000000..759d7ca --- /dev/null +++ b/samba-easy-nas/translations/en.yaml @@ -0,0 +1,27 @@ +--- +configuration: + username: + name: Username + description: >- + The username you would like to use to authenticate with the Samba server. + password: + name: Password + description: >- + The password that goes with the username configured for authentication. + workgroup: + name: Workgroup + description: Change WORKGROUP to reflect your network needs. + compatibility_mode: + name: Enable Compatibility Mode + description: >- + Enable this to use old legacy Samba protocols on the Samba add-on. + veto_files: + name: Veto Files + description: List of files that are neither visible nor accessible. + allow_hosts: + name: Allowed Hosts + description: List of hosts/networks allowed to access the shared folders. + interfaces: + name: Interfaces + description: >- + The network interfaces Samba should listen on for incoming connections. diff --git a/samba-easy-nas/translations/zh-Hans.yaml b/samba-easy-nas/translations/zh-Hans.yaml new file mode 100644 index 0000000..65d0bf2 --- /dev/null +++ b/samba-easy-nas/translations/zh-Hans.yaml @@ -0,0 +1,34 @@ +--- +configuration: + username: + name: 鐢ㄦ埛鍚 + description: >- + 姝ょ敤鎴峰悕鐢ㄤ簬鐧诲綍Samba鏈嶅姟鍣ㄩ獙璇. + password: + name: 瀵嗙爜 + description: >- + 姝ゅ瘑鐮佺敤浜庣浉搴旂敤鎴风殑鐧诲綍. + workgroup: + name: 宸ヤ綔缁 + description: >- + 鏇存敼鎮ㄦ墍鍦ㄧ殑宸ヤ綔缁勶紝涓鑸粯璁ゅ煎氨鏄疻ORKGROUP. + compatibility_mode: + name: 鍏煎妯″紡 + description: >- + 鍚敤璇ュ姛鑳斤紝灏卞彲浠ュ湪璇ラ泦鎴愪笂浣跨敤宸叉湁鐨凷amba鍗忚. + veto_files: + name: 闅愯棌鏂囦欢 + description: >- + 涓嶆樉绀哄凡闅愯棌鐨勬枃浠. + allow_hosts: + name: 鍏佽璁块棶 + description: >- + 鍏佽璁块棶鍏变韩鏂囦欢澶圭殑涓绘満/缃戠粶鍒楄〃. + interfaces: + name: 缃戠粶閫傞厤鍣 + description: >- + 杩欓噷濉啓samba浣跨敤鐨勭綉缁滈傞厤鍣,x86涓鑸负enp2s1,鍏朵粬鐨別nd0,鏈濂絥et info鍛戒护鏌ョ湅涓涓. + localdisks: + name: 鏈湴瀛樺偍鍣 + description: >- + 鎸傝浇鐨勬湰鍦板瓨鍌ㄥ櫒(濉啓sda1鎴杝db1)锛屾煡鐪媓ost涓绘満涓寕杞界殑鐩樹綅浜/dev. \ No newline at end of file diff --git a/sun-panel/CHANGELOG.md b/sun-panel/CHANGELOG.md new file mode 100644 index 0000000..88ddd60 --- /dev/null +++ b/sun-panel/CHANGELOG.md @@ -0,0 +1,182 @@ +### 1.8.0 (2025-11-03) + +**鎼滅储鏍忕粍浠** + +- 鎼滅储寮曟搸鏀寔鎺掑簭 + +**椤圭洰鍥炬爣鍗$墖** + +- [鏂板] 鍙抽敭鑿滃崟鏄剧ず鎵鏈夊凡濉叆鐨勫湴鍧锛堢洰鍓嶄负锛氶粯璁ゅ湴鍧/鍐呯綉鍦板潃锛屽悗鏈熷彲鑳藉鍔犳洿澶氳嚜瀹氫箟绫诲瀷鐨勫湴鍧锛夛紝骞朵笖鏀寔浠ヤ笉鍚屽舰鎬佷竴閿墦寮锛堟柊绐楀彛鎵撳紑銆佸綋鍓嶉〉闈㈠皬绐楀彛鎵撳紑銆佸綋鍓嶉〉闈㈢洿鎺ユ墦寮锛 +- [鍒犻櫎] 鍙抽敭鑿滃崟鏄剧ず褰撳墠缃戠粶鐜鐩稿弽鐨勫湴鍧鎵撳紑鍔熻兘 + +**杩佺Щ銆佸浠 PRO** + +- 绠$悊璐﹀彿鍙互澶囦唤鏁翠釜椤圭洰鐨勯噸瑕佹暟鎹寘鍚墍鏈夎处鍙蜂笂浼犵殑鍥炬爣涓庡绾搞佽处鍙烽厤缃佹暟鎹簱銆佽嚜瀹氫箟鏍峰紡鐩綍锛堜笉鍚崟鐙娇鐢ㄤ簡mysql鏁版嵁搴撶殑鏁版嵁锛 鏇村鍙婇噸瑕佽鏄 + +**鍥惧簱銆佸叕鍏卞浘搴** + +**鍥惧簱锛堝師涓婁紶鏂囦欢绠$悊锛** +- 鏋佽嚧浼樺寲锛屾彁鍗囨暣浣撳浘鐗囧垪琛ㄧ殑鍔犺浇閫熷害锛屾敮鎸佹寜鍒嗙被锛堝浘鏍囷紝澹佺焊锛夋煡鐪 +- 涓婁紶鍥剧墖锛屽苟鏀寔鎵归噺鎸夊浘鐗囧垎绫伙紙鍥炬爣锛屽绾革級涓婁紶 +- 绠鏄撳浘搴婏紝鍙鍒堕摼鎺ュ埌澶栭儴浣跨敤 +- 蹇嵎閫夋嫨锛屾墍鏈夊彲浠ヤ笂浼犲浘鏍囥佸绾稿鏀寔浠庡浘搴撲腑閫夋嫨鍥剧墖 + +**鏀寔鍏叡鍥惧簱 PRO** + +- 鍙疄鐜板浘搴撶殑鎵鏈夌殑鍔熻兘 +- 浠呯鐞嗚处鍙峰彲涓婁紶鍥剧墖锛屾彁渚涚粰鎵鏈夎处鍙峰湪鎵闇澶勯夋嫨浣跨敤 + +**缃戠粶鐜鍒囨崲缁勪欢** + +- 鐢变簬寮鍚嚜鍔ㄩ夋嫨鍔熻兘锛屼細鍑虹幇涓浜涘凡鐭ラ棶棰橈紝濡傛灉鍚庢湡娌℃湁濂界殑瑙e喅鏂规锛屽皢鍙栨秷鑷姩閫夋嫨鍗$墖鍦板潃鎵撳紑鍔熻兘 [宸茬煡闂璇存槑] + +- [浼樺寲] 寮鍚嚜鍔ㄩ夋嫨鍔熻兘鍚庯紝澧炲姞涓浜涚幇鏈夐棶棰樼殑鎻愮ず + +**鍏朵粬** + +- [澧炲姞] 鍏充簬椤甸潰蹇熺偣鍑 logo 5娆★紝鍦ㄦ祻瑙堝櫒鎺у埗鍙帮紙蹇嵎閿 F12锛夋墦鍗拌繍琛屼俊鎭紙鍙互鐪嬪埌浜岃繘鍒跺彲鎵ц鏂囦欢淇℃伅绛夛紝浠呴檺绠$悊璐﹀彿鐐瑰嚮鏈夋晥锛 +- [浼樺寲] 鍒嗙粍鎺掑簭鏍峰紡鏁堟灉 +- [浼樺寲] 閮ㄥ垎绯荤粺鍐呯疆搴旂敤鍙婂姛鑳界殑鎻愮ず +- [浼樺寲] 璐﹀彿闀垮害闄愬埗鏀逛负鑷冲皯涓や釜瀛楃 +- [淇] 纭洏鍜屽唴瀛樺崱鐗囩殑绌洪棽鏁版嵁锛屽皬鏁扮偣绮惧害涓嶅噯鐨勯棶棰 +- [淇] 鍚姩鍚庡懡浠よ鍜屾棩蹇楀湪娌℃湁閿欒锛屼絾鏄骇鐢熶竴涓姤閿欑殑BUG +- [淇] 鍒犻櫎鍞竴绠$悊璐﹀彿鏃舵嫤鎴け璐ョ殑BUG + +### 1.7.0 (2025-04-09) + +**绯荤粺鐘舵佺粍浠** + +1. [澧炲姞] 鍗曞嚮鍗$墖鍐呭鏌ョ湅璇︾粏淇℃伅(濡傦細CPU锛岀‖鐩橈紝鍐呭瓨浣跨敤淇℃伅)锛屽師鐐瑰嚮缂栬緫鍔熻兘绉诲姩鍒板彸閿彍鍗曚腑 +1. [浼樺寲] CPU 鐘舵佸彇鍊硷紝鏀逛负鍙栨墍鏈 CPU 鐨勫钩鍧囧 +1. [淇] 缂栬緫绐楀彛鍦ㄥ皬灞忓箷浼氳秴鍑哄彲瑙嗗尯鍩熷睍绀轰笉鍙嬪ソ鐨勯棶棰 +1. [淇] 璇︽儏妯″紡鍦ㄩ儴鍒嗗昂瀵稿睆骞曚笅锛岃繘搴︽潯鎬婚暱搴︽病鏈100%鏄剧ず鐨勯棶棰橈紝浠ュ強鏌愪簺鎯呭喌涓嬪洜鏂囧瓧杩囧瀵艰嚧杩涘害鏉″彉褰㈤棶棰 + +**涓у寲璁剧疆** + +1. [鏂板] 澧炲姞瀵艰埅椤祃ogo銆佹椂閽熸槸鍚︽樉绀虹殑寮鍏筹紝鍦ㄢ滀釜鎬у寲璁剧疆鈥濇搷浣 + +**鍥炬爣椤圭洰鍗$墖** + +1. [鏂板] 褰撴坊鍔犵殑缃戠珯鑾峰彇鍒板涓浘鏍囨椂锛屾敮鎸佽鐢ㄦ埛閫夋嫨 +1. [鏂板] 鏅鸿兘閫夋嫨鍐呯綉鍦板潃鍜岄粯璁ゅ湴鍧鎵撳紑 BETA +1. [浼樺寲] 绠鍖栨搷浣滈昏緫锛岀偣鍑绘坊鍔犳椂榛樿涓烘櫘閫氬崱鐗囷紝閮ㄥ垎涓嶅父鐢ㄥ姛鑳借繘琛岄殣钘忥紝鍙互鐐瑰嚮鏇村閫夐」缂栬緫闅愯棌椤 +1. [浼樺寲] 鏀寔鍦ㄥ唴缃簲鐢ㄥ惎鍔ㄥ櫒鍜宒ocker绠$悊鍣ㄤ腑蹇熷垱寤哄唴缃簲鐢ㄥ崱鐗囧拰docker瀹瑰櫒鍗$墖 +1. [浼樺寲] 鍗$墖缂栬緫鏁翠綋鏍峰紡璋冩暣 +1. [淇] 鍐呯疆搴旂敤鍗$墖鎺掑簭浜掓崲浣嶇疆涔嬪悗锛屽洜缂撳瓨锛屾墦寮浠嶆槸鎹綅缃箣鍓嶇殑鍐呯疆寮曠敤鐨勯棶棰 + +**docker绠$悊銆乨ocker瀹瑰櫒鍗$墖銆乨ocker鏉冮檺** + +1. [鏂板] 涓嶅啀瀵硅处鍙疯鑹蹭负鈥樻櫘閫氣 鐨勮处鍙峰紑鏀撅紝鏅氳处鍙锋棤娉曟煡鐪嬪鍣ㄥ垪琛ㄥ拰绠$悊瀹瑰櫒 +1. [鏂板] 璐﹀彿瑙掕壊涓衡樻櫘閫氣欑殑璐﹀彿锛屼笉鍐嶆敮鎸佹柊娣诲姞 docker 绫诲瀷鐨勫崱鐗囷紝宸茬粡娣诲姞鐨 docker 鍗$墖浠嶆敮鎸佺姸鎬佹樉绀猴紝涓嶆敮鎸佸紑鍏冲鍣 +1. [浼樺寲] docker 鍗$墖鍦ㄦ病鏈夊~鍏ヤ换浣曞湴鍧鐨勬椂鍊欙紝鐐瑰嚮灏嗕笉璺宠浆椤甸潰 + +**鍘熺敓https鏀寔** + +https 榛樿绔彛涓猴細3003锛屽闇淇敼鍦ㄩ」鐩厤缃枃浠(conf/conf.ini) 涓厤缃紝璇佷功閰嶇疆椤筟cert]锛屾棫鐗堟湰鍗囩骇鍒版鐗堟湰锛屽弬鑰 鍚敤HTTPS + +**鍏ㄥ眬绔欑偣璁剧疆** + +1. [浼樺寲] 淇敼绔欑偣鏍囬鍜宨co鍥炬爣淇濆瓨鍚庡埛鏂板強鏃剁敓鏁堬紝骞朵笖鏍囬涓嶅啀闂儊Sun-Panel瀛楁牱 + +**OpenAPI寮鏀炬帴鍙** + +1. [鏂板] 鍗$墖鍒嗙粍鐩稿叧鎺ュ彛锛氬垱寤哄垎缁勬帴鍙c佽幏鍙栧垎缁勫垪琛ㄦ帴鍙c佽幏鍙栧垎缁勮鎯呮帴鍙 +1. [鏂板] 娣诲姞椤圭洰鍗$墖鏀寔鍙傛暟鏀寔锛氫繚瀛樺浘鐗囧埌椤圭洰鏈湴銆佺粦瀹氬垎缁処D鎴栧敮涓鍚嶅瓧锛圫un-Panel BE 娴忚鍣ㄦ墿灞曞凡缁忚窡杩涙 API 鏀寔锛 +1. [鏂板] 鑾峰彇褰撳墠鑷墭绠$殑 Sun-Panel 鐗堟湰鍙凤紙涓鑸敤浜庤繛閫氭祴璇曪級 +1. [浼樺寲] 淇敼椤圭洰鍗$墖淇℃伅涓嶄慨鏀圭殑鍙傛暟鍙互涓嶄紶 + +**鍏朵粬** + +1. [鏂板] 涓婁紶鍥炬爣/鍥剧墖浼氳嚜鍔ㄦ牴鎹笂浼犵殑浣嶇疆杩涜鍒嗙被锛岄」鐩浘鏍囥佸绾哥瓑锛屼负浠ュ悗寮鍙戝浘鐗囬夋嫨鍣ㄥ仛鍑嗗 +1. [鏂板] web鏍圭洰褰曟敮鎸佸瓨鏀惧叾浠栨枃浠舵垨鑰呮枃浠跺す鏀寔璁块棶锛屼緥濡傦細robots.txt绛夋枃浠讹紝瀛樻斁鍚庨渶瑕侀噸鍚」鐩敓鏁 (寤鸿鏉ヨ嚜锛#151) +1. [浼樺寲] 鐧诲綍楠岃瘉鐮佷负涓枃杈撳叆娉曠殑鏃跺欏洖杞︾洿鎺ヨ烦杞殑闂 +1. [浼樺寲] 鐧诲綍椤靛綋宸茬粡涓虹櫥褰曠姸鎬佽繘鍏ョ櫥褰曢〉闈㈢洿鎺ヨ烦杞埌棣栭〉 +1. [浼樺寲] 涓浜涙彁绀轰俊鎭 +1. [浼樺寲] 鏇存柊鏃ュ織鏀寔鍖哄垎 beta 涓庢寮忕増鏈 +1. [淇] 鏌愪簺鎯呭喌涓嬮〉闈㈣秴鍑哄彲瑙嗚寖鍥 (鎰熻阿Q缇わ細Mr.Huang鎻愬嚭骞跺府鍔╄皟璇) + +### 1.6.1 (2024-12-25) + +1. [浼樺寲] 鍥犵綉缁滃師鍥犮佸浘鏍囧崱鐗囪繃澶氬鑷村崱鐗囬娆″姞杞藉欢杩熺殑闂 + +### 1.6.0 (2024-11-11) + +1. [澧炲姞] 澶氳处鍙峰垏鎹㈠姛鑳 (搴旂敤鍚姩鍣 - 鎴戠殑淇℃伅 - 宸茬櫥褰曡处鍙 - 娣诲姞鍏朵粬璐﹀彿锛屽綋宸茬櫥褰曡处鍙峰ぇ浜庝竴涓殑鏃跺欙紝瀵艰埅椤靛彸涓婅浼氭樉绀 鈥樺垏鎹㈡寜閽 ) +1. [澧炲姞] 閲嶆瀯鍐呯疆寮圭獥椤甸潰-鏀寔鎷栨嫿绉诲姩銆佹敼鍙樺昂瀵革紝澶氱獥鍙f樉绀猴紝绉诲姩绔叏灞忔樉绀 +1. [澧炲姞] 鐧诲綍楠岃瘉鐮佸姛鑳 PRO +1. [澧炲姞] 瀵艰埅椤甸潰鎸変笅閿洏 鈥/鈥 閿彲浠ュ揩閫熻仛鐒﹀埌鎼滅储鏍 +1. [澧炲姞] docker绠$悊鍣ㄦ敮鎸佹寜'鐘舵'鍒楁帓搴 +1. [浼樺寲] 搴旂敤鍚姩鍣-搴旂敤鍔犺浇澶辫触椤甸潰澧炲姞 '杩斿洖鍒扮櫥褰曢〉闈' 鎸夐挳 +1. [浼樺寲] 鍏紑妯″紡涓嬮殣钘忔悳绱㈠紩鎿庣殑 '璁剧疆' 鎸夐挳 +1. [淇] 閲嶇疆閰嶇疆鏂囦欢寮傚父鐨勯棶棰 +1. **docker鍗$墖** + + 1. [浼樺寲] 鍘焞oading灞備粎鍦ㄦ搷浣滐紙鍚姩銆佸叧闂級瀹瑰櫒鐨勬椂鍊欐樉绀 + + 1. [淇] 缂栬緫鍗$墖涔嬪悗鎵鏈夌殑淇敼鏈強鏃剁敓鏁 + +1. **寮鍙戠浉鍏** + + 1. [浼樺寲] 椤圭洰鍗$墖 澧炲姞鍞竴id灞炴 鍛藉悕瑙勫垯涓 item-card-name-xx 锛坸x 涓哄崱鐗囪缃腑鐨勫敮涓鏍囪瘑锛 + +### 1.5.3 (2024-10-14) + +1. [淇] Docker绠$悊鍣 鍒嗛〉涓嬪紑鍚叧闂鍣ㄦ帶鍒朵覆椤点佸紓甯哥殑闂 +1. [浼樺寲] Docker绠$悊鍣 瀹瑰櫒鍚姩澶辫触閿欒鍘熷洜鎻愰啋 +1. [浼樺寲] Docker绠$悊鍣 鍙栨秷鍒嗛〉骞舵敮鎸佹寜瀹瑰櫒鍚嶇О鎺掑簭 +1. [浼樺寲] Docker绠$悊鍣 椤甸潰浼樺寲 + +### 1.5.2 (2024-09-02) + +1. [澧炲己] 鑷畾涔夐〉鑴氭敮鎸 script js鐨勪唬鐮佸拰寮曠敤澶栭儴js鏂囦欢 +1. [澧炲己] docker 瀹瑰櫒鍒楄〃鍦ㄩ儴鍒嗚澶囦笂鍔犺浇閫熷害 +1. [澧炲己] 椤圭洰鍗$墖鏁版嵁鏀寔鏈湴缂撳瓨锛屾彁鍗囧姞杞借繃绋 +1. [澧炲己] 鍏紑妯″紡涓嬪彲浠ュ垏鎹㈡悳绱㈠紩鎿庯紙浠呴檺褰撴璁块棶鏈夋晥锛岄〉闈㈠埛鏂板悗鎭㈠鍘熸悳绱㈠紩鎿庯級 +1. [浼樺寲] 鍦 iframe 妗嗘灦涓湰椤垫墦寮鏃讹紝灏嗕娇鐢ㄧ埗绐楀彛鎵撳紑 +1. [浼樺寲] docker 绠$悊鍣ㄦ牱寮忋佺Щ鍔ㄧ鏄剧ず鏁堟灉 +1. [浼樺寲] docker 鍗$墖缁戝畾鐨勫鍣ㄥ湪鏇存柊鍚庝細鑷姩鍖归厤鏇存柊鍚屽悕瀹瑰櫒锛堜负瀹夊叏鑰冭檻锛屼粎鍦ㄧ櫥褰曠姸鎬佷笅鐢熸晥锛 +1. [浼樺寲] 涓浜涚粏鑺傛洿鏂 +1. [淇] 鎼滅储鏍忓湪 Mac OS 涓 Safari 娴忚鍣ㄤ腑鏂囪緭鍏ュ吋瀹规ч棶棰 +1. [JS鎻掍欢] 渚ф爮鐩綍鎻掍欢 锛堥渶鑷瀹夎锛 + +### 1.5.1 (2024-07-12) + +1. v1.5.0 鎵鏈夊姛鑳 +1. [淇] 鏅氬浘鏍囧崱鐗囧洜榧犳爣涓敭鏂扮獥鎵撳紑鍦板潃瀵艰嚧鏃犳硶鎷栧姩鎺掑簭 +1. [淇] 椋庢牸璁剧疆鎼滅储鏍忕粍浠堕粯璁ゆ枃瀛楅鑹蹭负绌虹殑闂 + +### 1.5.0 (2024-05-14) + +1. docker鐗堟湰浠巚1.3.0鍙婁箣鍓嶅崌绾у埌姝ょ増鏈墠璇峰姟蹇呭厛闃呰鏇存柊璇存槑 + +1. 濡傛灉瑕佸湪瀹瑰櫒涓煡鐪媎ocker鐘舵侊紝鎸傝浇鏃堕渶鍔狅細-v /var/run/docker.sock:/var/run/docker.sock + +1. [淇] v1.5.0-beta24-05-10 绯荤粺鐘舵佹坊鍔犵鐩橀」鏃犳晥鐨勯棶棰 + +### v1.5.0-beta24-05-10 beta (2024-05-10) + +1. docker鐗堟湰浠巚1.3.0鍙婁箣鍓嶅崌绾у埌姝ょ増鏈墠璇峰姟蹇呭厛闃呰鏇存柊璇存槑 +1. 濡傛灉瑕佸湪瀹瑰櫒涓煡鐪媎ocker鐘舵侊紝鎸傝浇鏃堕渶鍔狅細-v /var/run/docker.sock:/var/run/docker.sock +1. [鏂板] 绠鍗曠殑docker绠$悊鍣紙闈濸RO鍙煡鐪嬬姸鎬侊紝涓嶆敮鎸佸紑鍚拰鍏抽棴瀹瑰櫒锛 +1. [鏂板] 閲嶆瀯鍥炬爣鍗$墖锛屽鍔燿ocker搴旂敤鍜屽唴缃簲鐢ㄥ浘鏍囧崱鐗 +1. [浼樺寲] 鍒嗙粍椋庢牸鏀寔鐙珛璁剧疆锛屽苟鍙互璁剧疆鍏紑妯″紡闅愯棌 +1. [浼樺寲] 澧炲姞鍙厤缃殑鐧诲綍杩囨湡鏃堕暱锛堝苟灏嗗師72灏忔椂杩囨湡鏀逛负168灏忔椂锛屼粛寤剁画鑷姩缁湡鏈哄埗锛 +1. [浼樺寲] 鍐呯疆搴旂敤鍚姩鍣ㄧ瓑鎸夐挳绉昏嚦鍙充笂瑙 + +### 1.4.0 (2024-04-26) + +1. [鏂板] OpenAPI寮鏀炬帴鍙eta鍔熻兘锛屽紑鍙戣呭彲浠ラ氳繃璋冪敤API鎺ュ彛鏉ュ疄鐜颁竴浜涘姛鑳 +1. [鏂板] 鍏ㄥ眬绔欑偣璁剧疆锛氳嚜瀹氫箟绔欑偣鏍囬 PRO銆佽嚜瀹氫箟绔欑偣鍥炬爣 PRO銆佽嚜瀹氫箟鐧诲綍椤甸潰鑳屾櫙鍥 +1. [鏂板] 鍦ㄧ嚎缂栬緫鍏ㄥ眬鑷畾涔 index.js 鍜 index.css 鏂囦欢 PRO锛堥潪PRO鐢ㄦ埛渚濇棫鍙互浠庣▼搴忓畨瑁呯洰褰曚腑淇敼锛 +1. [鏂板] 鑳屾櫙鍥炬敮鎸乭eic銆乤vif鏍煎紡涓婁紶 [ #77 ]锛堜粎瀵筧vif杩涜娴嬭瘯浜嗭級 +1. [淇] v1.4.0-beta24-04-12 鏃х増鐢ㄦ埛鍗囩骇涓嶅吋瀹瑰湪绾跨紪杈慾s銆乧ss鐨勯棶棰 +1. [浼樺寲] 绂佺敤referrer 銆傝В鍐抽儴鍒嗙綉绔欒烦杞悗锛堜緥锛歲Bittorrent锛夋棤娉曟墦寮 +1. [浼樺寲] 鑾峰彇涓夋柟缃戠珯鍥炬爣 +1. [浼樺寲] 缂栬緫椤圭洰鏃剁綉鍧妫娴嬫湭浠 http/https 寮澶村苟杩涜鎻愰啋 +1. [浼樺寲] 淇敼绯荤粺鐘舵乕璇︽儏鍥炬爣]鏄剧ず鏍煎紡锛屽寘鍚‖鐩樺拰鍐呭瓨鐨勪俊鎭牸寮廩宸蹭娇鐢ㄩ噺/鎬婚噺] +1. [鍏朵粬] docker鐗堟湰绮剧畝鎸傝浇鐩綍涓轰竴涓 ./conf 鍏蜂綋鍙傝 [锛堣鏄庯級](https://github.com/hslr-s/sun-panel/discussions/98) +1. [鍏朵粬] 鏇村鍙互鍙傝冧箣鍓 v1.4.0-beta* 鐗堟湰鏇存柊鏃ュ織 + +### 1.3.0 (2024-03-23) + +- 棣栨鎺ㄥ嚭 diff --git a/sun-panel/DOCS.md b/sun-panel/DOCS.md new file mode 100644 index 0000000..639c4cf --- /dev/null +++ b/sun-panel/DOCS.md @@ -0,0 +1,18 @@ +# Sun Panel + +## 閰嶇疆璇存槑 + +### 榛樿璐﹀彿瀵嗙爜 + +璐﹀彿锛歛dmin@sun.cc + +瀵嗙爜锛12345678 + +### 鏇存敼姝や富鏈轰笂鐢卞姞杞介」寮鏀剧殑绔彛锛 + +- 榛樿绔彛鍙凤細3002锛屽彲鍦ㄩ厤缃腑鑷淇敼 + +- 鍙互閫氳繃娴忚鍣ㄩ〉闈㈣闂 锛堢鍙e彿榛樿3002锛 + +- 璇︾粏浣跨敤鎸囧崡锛岃杩涘叆锛歨ttps://sun-panel-doc.enianteam.com/ + diff --git a/sun-panel/README.md b/sun-panel/README.md new file mode 100644 index 0000000..ee25be8 --- /dev/null +++ b/sun-panel/README.md @@ -0,0 +1,9 @@ +# 鍐摐鐢勯塧ddons锛歋un Panel + +## 鍏充簬 + +涓涓湇鍔″櫒銆丯AS瀵艰埅闈㈡澘銆丠omepage銆佹祻瑙堝櫒棣栭〉 + +## 鏉ユ簮 + +https://github.com/hslr-s/sun-panel \ No newline at end of file diff --git a/sun-panel/config.yaml b/sun-panel/config.yaml new file mode 100644 index 0000000..2fe9b05 --- /dev/null +++ b/sun-panel/config.yaml @@ -0,0 +1,16 @@ +name: "Sun Panel" +version: 1.8.0 +slug: sun-panel +codenotary: wghaos@163.com +description: '涓涓湇鍔″櫒銆丯AS瀵艰埅闈㈡澘銆丠omepage銆佹祻瑙堝櫒棣栭〉' +url: https://gitcode.com/waxgourd/addons +image: r.hassbus.com/wghaos/sun-panel +init: false +arch: + - aarch64 + - amd64 +webui: "[PROTO:http]://[HOST]:[PORT:3002]" +ports: + 3002/tcp: 3002 +boot: manual +docker_api: true \ No newline at end of file diff --git a/sun-panel/icon.png b/sun-panel/icon.png new file mode 100644 index 0000000..a3aac61 Binary files /dev/null and b/sun-panel/icon.png differ diff --git a/sun-panel/logo.png b/sun-panel/logo.png new file mode 100644 index 0000000..a3aac61 Binary files /dev/null and b/sun-panel/logo.png differ diff --git a/webtunnel/CHANGELOG.md b/webtunnel/CHANGELOG.md new file mode 100644 index 0000000..0dc2b48 --- /dev/null +++ b/webtunnel/CHANGELOG.md @@ -0,0 +1,2 @@ +### 20250808 (2025-08-08) +- 棣栨鎺ㄥ嚭 diff --git a/webtunnel/DOCS.md b/webtunnel/DOCS.md new file mode 100644 index 0000000..48a41bc --- /dev/null +++ b/webtunnel/DOCS.md @@ -0,0 +1,8 @@ +# WebTunnel + +## 閰嶇疆璇存槑 + +### 鏇存敼姝や富鏈轰笂鐢卞姞杞介」寮鏀剧殑绔彛 + +- 榛樿绔彛鍙9600 + diff --git a/webtunnel/README.md b/webtunnel/README.md new file mode 100644 index 0000000..026727e --- /dev/null +++ b/webtunnel/README.md @@ -0,0 +1,9 @@ +# 鍐摐鐢勯塧ddons锛歐ebTunnel + +## 鍏充簬 + +瀹夊叏濂界敤鐨勫唴缃戠┛閫忚蒋浠讹紝浜戠鍚屾锛屽畨鍏ㄤ簰鑱 + +## 鏉ユ簮 + +https://www.webtunnel.cn/index.html#home \ No newline at end of file diff --git a/webtunnel/config.yaml b/webtunnel/config.yaml new file mode 100644 index 0000000..4e22ddb --- /dev/null +++ b/webtunnel/config.yaml @@ -0,0 +1,25 @@ +name: WebTunnel +version: 20250808 +slug: webtunnel +codenotary: wghaos@163.com +description: "瀹夊叏濂界敤鐨勫唴缃戠┛閫忚蒋浠讹紝浜戠鍚屾锛屽畨鍏ㄤ簰鑱" +url: https://gitcode.com/waxgourd/addons +image: r.hassbus.com/wghaos/webtunnel-{arch} +init: false +map: + - share:rw +arch: + - aarch64 + - amd64 +privileged: + - SYS_ADMIN + - NET_ADMIN + - BPF +devices: + - /dev/net/tun +apparmor: false +host_network: true +webui: "[PROTO:http]://[HOST]:[PORT:9600]" +ports: + 9600/tcp: 9600 + diff --git a/webtunnel/icon.png b/webtunnel/icon.png new file mode 100644 index 0000000..5970c2c Binary files /dev/null and b/webtunnel/icon.png differ diff --git a/webtunnel/logo.png b/webtunnel/logo.png new file mode 100644 index 0000000..cab8f4c Binary files /dev/null and b/webtunnel/logo.png differ diff --git a/wg-mate/CHANGELOG.md b/wg-mate/CHANGELOG.md new file mode 100644 index 0000000..3be543c --- /dev/null +++ b/wg-mate/CHANGELOG.md @@ -0,0 +1,6 @@ +### 1.0.3 (2025-06-03) +- 鐗堟湰鍗囩骇 +### 1.0.2 (2025-05-26) +- 鐗堟湰鍗囩骇 +### 1.0.0 (2024-05-23) +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/wg-mate/DOCS.md b/wg-mate/DOCS.md new file mode 100644 index 0000000..91b375e --- /dev/null +++ b/wg-mate/DOCS.md @@ -0,0 +1,11 @@ +# 鍐摐浼翠荆浠g悊 + +## 瀹夎 + +杩欎釜鎻掍欢鐨勫畨瑁呴潪甯哥畝鍗曘 + +1. Home Assistant -> **璁剧疆** -> **鍔犺浇椤** -> 缃戦〉鍙充笅瑙 **鍔犺浇椤瑰晢搴** -> **鍐摐浼翠荆浠g悊**銆 + +1. 鐐瑰嚮 **鍐摐浼翠荆浠g悊** 杩涘叆锛 **瀹夎**銆 + +1. **鎵撳紑缃戦〉鐣岄潰** 杩涘叆鍐摐浼翠荆鐣岄潰銆 diff --git a/wg-mate/README.md b/wg-mate/README.md new file mode 100644 index 0000000..f1fab6d --- /dev/null +++ b/wg-mate/README.md @@ -0,0 +1,11 @@ +# 鍐摐鐢勯塧ddons锛氬啲鐡滀即渚d唬鐞 + +## 鍏充簬 +鎮ㄥ彲浠ラ氳繃鍔犺浇椤规潵浠g悊鍐摐浼翠荆绠$悊椤甸潰銆 + +鍐摐浼翠荆鏄负鍐摐HAOS绯荤粺寮鍙戠殑鍥惧舰鍖栫鐞嗗簲鐢紝閫氳繃鍙鍖栫晫闈㈣В鍐崇郴缁熺洃鎺с佸崌绾с佺淮鎶ょ瓑闂銆 + +## 閲嶈鎻愮ず +鍐摐浼翠荆瑕佹眰HAOS鐗堟湰涓嶄綆浜15.2.1 锛屾棤闇閰嶇疆锛屽綋浣跨敤杩滅▼璁块棶鏃讹紝鍙互鏀寔https椤甸潰娴忚銆 + +瀹冧笌榛樿渚ц竟鏍忚〃鐜版晥鏋滅被浼硷紝鎶鏈疄鐜版柟娉曚笉鍚屻 diff --git a/wg-mate/config.yaml b/wg-mate/config.yaml new file mode 100644 index 0000000..a669891 --- /dev/null +++ b/wg-mate/config.yaml @@ -0,0 +1,20 @@ +name: '鍐摐浼翠荆浠g悊' +version: '1.0.3' +slug: 'wghaos-mate' +codenotary: 'wghaos@163.com' +description: "涓撻棬涓鸿繙绋嬭闂啲鐡滀即渚e埗浣滅殑浠g悊" +url: https://gitcode.com/waxgourd/addons +image: r.hassbus.com/wghaos/addons-wghaos-meta +init: false +arch: + - aarch64 + - amd64 +ingress: true +ingress_port: 8124 +ingress_entry: "home/#/dashboard" +panel_icon: 'mdi:application-variable' +host_network: true +boot: manual +environment: + TZ: "Asia/Shanghai" +hassio_api: true \ No newline at end of file diff --git a/wg-mate/icon.png b/wg-mate/icon.png new file mode 100644 index 0000000..8172075 Binary files /dev/null and b/wg-mate/icon.png differ diff --git a/wg-mate/logo.png b/wg-mate/logo.png new file mode 100644 index 0000000..8172075 Binary files /dev/null and b/wg-mate/logo.png differ diff --git a/wg-ttyd/CHANGELOG.md b/wg-ttyd/CHANGELOG.md new file mode 100644 index 0000000..0ec2b08 --- /dev/null +++ b/wg-ttyd/CHANGELOG.md @@ -0,0 +1,3 @@ +### 0.1.0 锛2024-04-10锛 + +- 棣栨鎺ㄥ嚭 diff --git a/wg-ttyd/DOCS.md b/wg-ttyd/DOCS.md new file mode 100644 index 0000000..7fe8597 --- /dev/null +++ b/wg-ttyd/DOCS.md @@ -0,0 +1,19 @@ +# 鍐摐HAOS-ttyd + +## 浣跨敤鏂规硶 + +- 瀹夎璇ュ姞杞介」銆 + +- 妫鏌ヨ鍔犺浇椤圭殑鏃ュ織锛屾鏌ユ槸鍚︽姤閿欍 + +- 鎵撳紑webUI鍗冲彲浣跨敤銆 + + + + + +**娉ㄦ剰锛氬鏋渢tyd鏇存敼绔彛鍙峰悗锛岃鍔犺浇椤逛笉鑳芥甯歌闂紒锛侊紒** + +**娉ㄦ剰锛氬鏋渢tyd鏇存敼绔彛鍙峰悗锛岃鍔犺浇椤逛笉鑳芥甯歌闂紒锛侊紒** + +**娉ㄦ剰锛氬鏋渢tyd鏇存敼绔彛鍙峰悗锛岃鍔犺浇椤逛笉鑳芥甯歌闂紒锛侊紒** \ No newline at end of file diff --git a/wg-ttyd/README.md b/wg-ttyd/README.md new file mode 100644 index 0000000..84c871e --- /dev/null +++ b/wg-ttyd/README.md @@ -0,0 +1,4 @@ +# 鍐摐鐢勯塧ddons锛氬啲鐡淗AOS-ttyd + +## 鍏充簬 +鍙互灏唗tyd鍦℉A鍐呭祵鐨勬柟寮忔墦寮锛屾柟渚垮ぇ瀹惰繙绋嬫椂鎿嶄綔銆 diff --git a/wg-ttyd/config.yaml b/wg-ttyd/config.yaml new file mode 100644 index 0000000..473a9b6 --- /dev/null +++ b/wg-ttyd/config.yaml @@ -0,0 +1,16 @@ +name: '鍐摐HAOS-ttyd' +version: '0.1.0' +slug: 'wghaos-ttyd' +codenotary: 'wghaos@163.com' +description: "鍙互灏唗tyd鍦℉A鍐呭祵鐨勬柟寮忔墦寮锛屾柟渚垮ぇ瀹惰繙绋嬫椂鎿嶄綔" +url: https://gitcode.com/waxgourd/addons +image: r.hassbus.com/wghaos/addons-wghaos-ttyd +init: false +arch: + - aarch64 + - amd64 +ingress: true +ingress_port: 7681 +panel_icon: 'mdi:application-variable' +host_network: true +boot: manual diff --git a/wg-ttyd/icon.png b/wg-ttyd/icon.png new file mode 100644 index 0000000..de1baf7 Binary files /dev/null and b/wg-ttyd/icon.png differ diff --git a/wg-ttyd/logo.png b/wg-ttyd/logo.png new file mode 100644 index 0000000..cabc324 Binary files /dev/null and b/wg-ttyd/logo.png differ diff --git a/wghaosssh/CHANGELOG.md b/wghaosssh/CHANGELOG.md new file mode 100644 index 0000000..73b4cf0 --- /dev/null +++ b/wghaosssh/CHANGELOG.md @@ -0,0 +1,27 @@ +### 0.2.4 锛2024-09-05锛 + +- 璋冩暣閮ㄥ垎閫昏緫 + +### 0.2.3 锛2024-05-08锛 + +- 娣诲姞鍋ュ悍妫娴嬪姛鑳 + +### 0.2.2 锛2024-05-06锛 + +- 璋冩暣閮ㄥ垎閫昏緫 + +### 0.2.1 锛2024-05-06锛 + +- 璋冩暣閮ㄥ垎閫昏緫 + +### 0.2.0 锛2024-04-30锛 + +- 淇浜哹ug + +### 0.1.1-30 锛2024-04-26锛 + +- 鍓嶇鍘婚櫎淇濆瓨閲嶅惎鐩掑瓙鎻愮ず锛岀偣鍑诲簲鐢ㄥ嵆鍙敓鏁 + +### 0.1.1-29 锛2024-04-22锛 + +- 棣栨鎺ㄥ嚭 diff --git a/wghaosssh/DOCS.md b/wghaosssh/DOCS.md new file mode 100644 index 0000000..137e84f --- /dev/null +++ b/wghaosssh/DOCS.md @@ -0,0 +1,20 @@ +# WGHAOS SSH 閰嶇疆鍣 + +## 浣跨敤鏂规硶 + +- 鍚姩鍓嶈鍏抽棴淇濇姢妯″紡锛屽惎鍔ㄥ悗鍙氳繃鏌ョ湅鏃ュ織鏉ユ鏌ユ槸鍚︽甯稿惎鍔ㄣ + +- 鐐瑰嚮鈥滄墦寮WebUI鈥濊繘琛屾搷浣溿 + +- 灏嗚嚜宸辩殑鍏挜绮樿创鍒板鏂囨湰鏍忎腑锛屼繚瀛樺苟搴旂敤鍗冲彲绔嬪嵆鐢熸晥銆 + + 娉細鎵ц淇濆瓨銆佸垹闄ゃ佹仮澶嶅嚭鍘傝缃寜閽悗锛岄渶瑕佺偣鍑烩滃簲鐢ㄢ濇寜閽悗鎵嶅彲鐢熸晥 + +- 鍏挜绀轰緥锛 + +``` +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDGTlRAfhm9BIV6l6sOubRgeCY0wRhYQVfB3QBWFl2ELpeAnTHwRYY+4pSP1Nu7FuZqAzDyZkssmFkbXHJGqi6EAnAkRLsKhzvDKo5WSXfEQdl2kSN5bgU/e37GfwqG4ChEfY56gwu+tdHtt4eIrplcLjBB9Y43SFjth/Ouke+DVGaBO2LYNc8U0S4EiHT6KdRXS4iIwYjXMw6SEsT7eP9IWQObQ4ZgyG0cHO/6ArxJ0fyOcAI29sLzM9466ID0mTaJWHriTRf6Lxhpdd/S30VTG0JMTdo/Fj root@HLAB-A17 + +``` + + 娉細鍐摐涓轰簡鏂逛究寮鍙戣皟璇曪紝榛樿浜嗕袱涓獁ghaos鐨勬祴璇曠閽ワ紝浣跨敤鏃跺彲浠ヨ嚜琛屽垹闄ゃ \ No newline at end of file diff --git a/wghaosssh/README.md b/wghaosssh/README.md new file mode 100644 index 0000000..c1c9d2b --- /dev/null +++ b/wghaosssh/README.md @@ -0,0 +1,10 @@ +# 鍐摐鐢勯塧ddons锛歐GHAOS SSH 閰嶇疆鍣 + +## 鍏充簬 + +杩欎釜haos鐨勮瘉涔﹂厤缃櫒銆傚彲浠ョ畝鍗曟柟渚块厤缃富鏈虹殑SSH璇佷功锛堢鍙22222锛夈 + +- 閫傜敤浜庡畼鏂笻AOS鍙婂啲鐡淗AOS銆 +- 鏈湴鍏挜娣诲姞鍚庯紝鐐瑰嚮<搴旂敤>鍚庢墠浼氭洿鏂板埌涓绘満銆 +- 鍙鍖栫閽ュ垪琛ㄣ佹敮鎸佸瀵嗛挜娣诲姞銆佸垹闄ゃ +- 娉細榛樿鐨勪袱涓槸鍐摐haos娴嬭瘯绉橀挜锛屼粙鎰忚鍒犻櫎鍗冲彲銆 \ No newline at end of file diff --git a/wghaosssh/apparmor.txt b/wghaosssh/apparmor.txt new file mode 100644 index 0000000..539b92b --- /dev/null +++ b/wghaosssh/apparmor.txt @@ -0,0 +1,49 @@ +#include + +profile wghaosssh flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + mount, + umount, + remount, + + capability setgid, + capability setuid, + capability dac_override, + + # S6-Overlay + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /proc/self/attr/** mrwkl, + # Files required + /dev/sda1 mrwkl, + /dev/sda7 mrwkl, + /dev/sda8 mrwkl, + /dev/sdb1 mrwkl, + /dev/mmcblk0p1 mrwkl, + /dev/* mrwkl, + /tmp/** mrkwl, + + # Data access + /data/** rw, + /addon_configs/** rw, + + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} diff --git a/wghaosssh/config.yaml b/wghaosssh/config.yaml new file mode 100644 index 0000000..59b69cf --- /dev/null +++ b/wghaosssh/config.yaml @@ -0,0 +1,27 @@ +name: "WGHAOS SSH 閰嶇疆鍣" +version: '0.2.4' +slug: 'wghaosssh' +codenotary: wghaos@163.com +description: '杩欏皢鍚敤绔彛22222涓婄殑SSH WGHassOS鎺у埗鍙般備粎閫傜敤浜嶩ome Assistant鎿嶄綔绯荤粺' +image: r.hassbus.com/wghaos/addons-wghaos-ssh +url: https://gitcode.com/waxgourd/addons +init: false +arch: + - aarch64 + - amd64 +backup_exclude: + - '*/data/' +ingress: true +ingress_port: 9876 +panel_icon: 'mdi:flower' +boot: manual +privileged: + - SYS_ADMIN +full_access: true +map: + - all_addon_configs:rw + - backup:rw +apparmor: true +docker_api: true +startup: services + diff --git a/wghaosssh/icon.png b/wghaosssh/icon.png new file mode 100644 index 0000000..7adf19e Binary files /dev/null and b/wghaosssh/icon.png differ diff --git a/wghaosssh/logo.png b/wghaosssh/logo.png new file mode 100644 index 0000000..7adf19e Binary files /dev/null and b/wghaosssh/logo.png differ diff --git a/wxedge/CHANGELOG.md b/wxedge/CHANGELOG.md new file mode 100644 index 0000000..662c157 --- /dev/null +++ b/wxedge/CHANGELOG.md @@ -0,0 +1,11 @@ +## 3.5.1-2 锛2025-08-25锛 + +- 鐗堟湰鍗囩骇 + +## 3.5.1-1 锛2025-08-07锛 + +- 鐗堟湰鍗囩骇 + +## 3.5.1锛2025-07-29锛 + +- 棣栨鎺ㄥ嚭 diff --git a/wxedge/DOCS.md b/wxedge/DOCS.md new file mode 100644 index 0000000..68ca891 --- /dev/null +++ b/wxedge/DOCS.md @@ -0,0 +1,17 @@ +# 缃戝績浜戝鍣ㄩ瓟鏂 + +**姝ょ増鏈负HA涓嬩笓鐢紝寤鸿浣跨敤閫夋嫨楂橀烾SB 3.0浣滀负瀛樺偍銆傛墦寮閫夐」锛岄夋嫨鐩稿簲鐨勫垎鍖** + +瀹樻柟浠嬬粛锛 + +> 瀹瑰櫒榄旀柟灏嗛棽缃祫婧愬啀鍒╃敤锛屾瘡鏈堣嚦楂樺彲璧氥屽崈鍏冦嶏紝鎸傛満鎵樼鑷姩璧氱背锛屾嬁鍒版墜杞紒 +> 鐜板湪涓婄嚎绉掗銆30澶20%鏀剁泭鍔犳垚銆嶏紝鏂颁汉棣栨缁戝畾杩樺彲浜4.5鍏冪鍒﹡ + + +榛樿浣跨敤鍐呴儴瀛樺偍锛屼絾灏忎簬30G鐨勭┖闂存椂寤鸿澶栨寕楂橀烾SB瀛樺偍璁惧鍦║SB3.0鎺ュ彛涓娿 + +濡傛灉浣跨敤楂橀烾鐩樼殑璇濓紝寤鸿璇婚熻秴杩200M锛屽啓鍏ラ熷害鍦100M浠ヤ笂銆 + +灏忔妧宸э細寤鸿浣跨敤Disk Genius绛夎蒋浠讹紝鎶奤鐩樻牸寮忓寲鎴恊xt4浼氭洿绋冲畾銆 + + diff --git a/wxedge/README.md b/wxedge/README.md new file mode 100644 index 0000000..ee86a70 --- /dev/null +++ b/wxedge/README.md @@ -0,0 +1,9 @@ +# 鍐摐鐢勯塧ddons锛氱綉蹇冧簯瀹瑰櫒榄旀柟 + +## 鍏充簬 + +缃戝績浜戝鍣ㄩ瓟鏂圭殑 Home Assistant 鎻掍欢 + +## 鏉ユ簮 + +鏂囨。锛歨ttps://help.onethingcloud.com/ diff --git a/wxedge/config.yaml b/wxedge/config.yaml new file mode 100644 index 0000000..c5305d2 --- /dev/null +++ b/wxedge/config.yaml @@ -0,0 +1,38 @@ +name: 缃戝績浜戝鍣ㄩ瓟鏂 +version: 3.5.1-2 +slug: wxedge +codenotary: wghaos@163.com +description: "闂茬疆璧勬簮鍐嶅埄鐢紝姣忔湀鑷抽珮璧氬崈鍏冿紝涓婄嚎鍗充韩30澶20%鍔犳垚" +url: https://gitcode.com/waxgourd/addons +image: r.hassbus.com/wghaos/wxedge +init: false +map: + - share:rw +arch: + - aarch64 + - amd64 +privileged: + - SYS_ADMIN + - NET_ADMIN + - BPF +devices: + - /dev +apparmor: false +host_network: true +# full_access: true +tmpfs: true +webui: "[PROTO:http]://[HOST]:[PORT:18888]" +ports: + 18888/tcp: 18888 +ingress: false +ingress_port: 18888 +panel_icon: mdi:cloud +panel_title: 缃戝績浜戝鍣ㄩ瓟鏂 +schema: + device: "device?" + log_level: "list(debug|info)" +options: + log_level: "info" +environment: + PLACE: CTDG + diff --git a/wxedge/icon.png b/wxedge/icon.png new file mode 100644 index 0000000..2f886ff Binary files /dev/null and b/wxedge/icon.png differ diff --git a/wxedge/logo.png b/wxedge/logo.png new file mode 100644 index 0000000..2f886ff Binary files /dev/null and b/wxedge/logo.png differ diff --git a/wxedge/translations/en.yaml b/wxedge/translations/en.yaml new file mode 100644 index 0000000..00d3a80 --- /dev/null +++ b/wxedge/translations/en.yaml @@ -0,0 +1,8 @@ +--- +configuration: + device: + name: device + description: >- + Please select the device to use + log_level: + name: logLevel diff --git a/wxedge/translations/zh-Hans.yaml b/wxedge/translations/zh-Hans.yaml new file mode 100644 index 0000000..f82263c --- /dev/null +++ b/wxedge/translations/zh-Hans.yaml @@ -0,0 +1,8 @@ +--- +configuration: + device: + name: USB璁惧 + description: >- + 璇烽夋嫨浣跨敤鐨勮澶 + log_level: + name: 鏃ュ織绾у埆 diff --git a/xiaomusic/CHANGELOG.md b/xiaomusic/CHANGELOG.md new file mode 100644 index 0000000..7545555 --- /dev/null +++ b/xiaomusic/CHANGELOG.md @@ -0,0 +1,39 @@ +### 0.3.99 (2025-11-03) + +- 鐗堟湰鍗囩骇 + +### 0.3.96 (2025-10-29) + +- 鐗堟湰鍗囩骇 + +### 0.3.90 (2025-10-24) + +- 鐗堟湰鍗囩骇 + +### 0.3.88 (2025-09-19) + +- 鐗堟湰鍗囩骇 + +### 0.3.85 (2025-08-08) + +- 鐗堟湰鍗囩骇 + +### 0.3.83 (2025-06-23) + +- 鐗堟湰鍗囩骇 + +### 0.3.80 (2025-05-20) + +- 鐗堟湰鍗囩骇 + +### 0.3.79 (2025-05-16) + +- 鐗堟湰鍗囩骇 + +### 0.3.77 (2025-03-13) + +- 鐗堟湰鍗囩骇 + +### 0.3.75 (2025-03-06) + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/xiaomusic/DOCS.md b/xiaomusic/DOCS.md new file mode 100644 index 0000000..f1ea24d --- /dev/null +++ b/xiaomusic/DOCS.md @@ -0,0 +1,73 @@ +# XiaoMusic鏃犻檺鍚瓕锛岃В鏀惧皬鐖遍煶绠 + +## 馃憢 閰嶇疆璇存槑 + +```yaml +song_media: music2 #<閫>Media鍙瓨鏀鹃煶涔愮洰褰/media涓,璇锋墜鍔ㄥ~鍐欒嚜瀹氫箟鐩綍 +song_share: music3 #<閫>Share鍙瓨鏀鹃煶涔愮洰褰/share涓,璇锋墜鍔ㄥ~鍐欒嚜瀹氫箟鐩綍 +song_download: download #<閫>Download涓嬭浇闊充箰鐩綍/media涓,璇锋墜鍔ㄥ~鍐欒嚜瀹氫箟鐩綍 +``` + +## 馃敥 瀹夎璇存槑 + +鍔犺浇椤逛竴閿畨瑁呭拰鏇存柊 + +> 绔彛锛58090 # 8090/tcp: 58090 +> +> 璁块棶锛歔PROTO:http]://[HOST]:[PORT:58090]/ 渚嬪锛192.168.68.123:58090/ + + +## 馃洜锔 宸叉祴璇曟敮鎸佺殑璁惧 + +| 鍨嬪彿 | 鍚嶇О | +| ---- | ---------------------------------------------------------------------------------------------- | +| L06A | [灏忕埍闊崇](https://home.mi.com/baike/index.html#/detail?model=xiaomi.wifispeaker.l06a) | +| L07A | [Redmi灏忕埍闊崇 Play](https://home.mi.com/webapp/content/baike/product/index.html?model=xiaomi.wifispeaker.l7a) | +| S12/S12A/MDZ-25-DA | [灏忕背AI闊崇](https://home.mi.com/baike/index.html#/detail?model=xiaomi.wifispeaker.s12) | +| LX5A | [灏忕埍闊崇 涓囪兘閬ユ帶鐗圿(https://home.mi.com/baike/index.html#/detail?model=xiaomi.wifispeaker.lx5a) | +| LX05 | [灏忕埍闊崇Play锛2019娆撅級](https://home.mi.com/baike/index.html#/detail?model=xiaomi.wifispeaker.lx05) | +| L15A | [灏忕背AI闊崇锛堢浜屼唬锛塢(https://home.mi.com/webapp/content/baike/product/index.html?model=xiaomi.wifispeaker.l15a#/) | +| L16A | [Xiaomi Sound](https://home.mi.com/baike/index.html#/detail?model=xiaomi.wifispeaker.l16a) | +| L17A | [Xiaomi Sound Pro](https://home.mi.com/baike/index.html#/detail?model=xiaomi.wifispeaker.l17a) | +| LX06 | [灏忕埍闊崇Pro](https://home.mi.com/baike/index.html#/detail?model=xiaomi.wifispeaker.lx06) | +| LX01 | [灏忕埍闊崇mini](https://home.mi.com/baike/index.html#/detail?model=xiaomi.wifispeaker.lx01) | +| L05B | [灏忕埍闊崇Play](https://home.mi.com/baike/index.html#/detail?model=xiaomi.wifispeaker.l05b) | +| L05C | [灏忕背灏忕埍闊崇Play 澧炲己鐗圿(https://home.mi.com/baike/index.html#/detail?model=xiaomi.wifispeaker.l05c) | +| L09A | [灏忕背闊崇Art](https://home.mi.com/webapp/content/baike/product/index.html?model=xiaomi.wifispeaker.l09a) | +| LX04 X10A X08A | 宸茬粡鏀寔鐨勮Е灞忕増 | +| X08C X08E X8F | 闇瑕佽缃愬瀷鍙峰吋瀹规ā寮忋戦夐」涓 true | +| M01/XMYX01JY | 灏忕背灏忕埍闊崇HD 闇瑕佽缃愮壒娈婂瀷鍙疯幏鍙栧璇濊褰曘戦夐」涓 true 鎵嶈兘璇煶鎾斁| + +鍨嬪彿涓庝骇鍝佸悕绉板鐓у彲浠ュ湪杩欓噷鏌ヨ + +> 濡傛灉浣犵殑璁惧鏀寔鎾斁锛岃鍙嶉缁欐垜娣诲姞鍒版敮鎸佸垪琛ㄩ噷锛岃阿璋€ +> 鐩墠搴旇鎵鏈夎澶囩被鍨嬮兘宸茬粡鏀寔鎾斁锛屾湁闂闅忔椂鍙嶉銆 +> 鍏朵粬瑙﹀睆鐗堜笉鑳芥挱鏀惧彲浠ヨ缃愬瀷鍙峰吋瀹规ā寮忋戦夐」涓 true 璇曡瘯銆 + +## 馃幍 鏀寔闊充箰鏍煎紡 +
+ + - mp3 + - flac + - wav + - ape + - ogg + - m4a + +> 鏈湴闊充箰浼氭悳绱㈢洰褰曚笅涓婇潰鏍煎紡鐨勬枃浠讹紝涓嬭浇鐨勬瓕鏇叉槸 mp3 鏍煎紡鐨勩 +> 宸茬煡 L05B L05C LX06 L16A 涓嶆敮鎸 flac 鏍煎紡銆 +> 濡傛灉鏍煎紡涓嶈兘鎾斁鍙互鎵撳紑銆愯浆鎹负MP3銆戝拰銆愬瀷鍙峰吋瀹规ā寮忋戦夐」銆 + +## 馃審 缃戠粶姝屽崟鍔熻兘 + + 鍙互閰嶇疆涓涓 json 鏍煎紡鐨勬瓕鍗曪紝鏀寔鐢靛彴鍜屾瓕鏇诧紝涔熷彲浠ョ洿鎺ョ敤鍒汉鍒嗕韩鐨勯摼鎺ワ紝鍚屾椂閰嶅浜 m3u 鏂囦欢鏍煎紡杞崲宸ュ叿锛屽彲浠ュ緢鏂逛究鐨勬妸 m3u 鐢靛彴鏂囦欢杞崲鎴愮綉缁滄瓕鍗曟牸寮忕殑 json 鏂囦欢锛屽叿浣撶敤娉曡 + + +## 鈿狅笍 瀹夊叏鎻愰啋 + +1. 濡傛灉閰嶇疆浜嗗叕缃戣闂 xiaomusic 锛岃涓瀹氳寮鍚瘑鐮佺櫥闄嗭紝骞惰缃鏉傜殑瀵嗙爜銆備笖涓嶈鍦ㄥ叕鍏卞満鎵鐨 WiFi 鐜涓嬩娇鐢紝鍚﹀垯鍙兘閫犳垚灏忕背璐﹀彿瀵嗙爜娉勯湶銆 +1. 寮虹儓涓嶅缓璁皢灏忕埍闊崇鐨勫皬绫宠处鍙风粦瀹氭憚鍍忓ご锛屼唬鐮侀毦鍏嶄細鏈 bug 锛屼竴鏃﹀皬绫宠处鍙峰瘑鐮佹硠闇诧紝鍙兘鐩戞帶褰曞儚涔熶細娉勯湶銆 + +## 馃 楂樼骇绡 +- 鑷畾涔夊彛浠ゅ姛鑳 [105](https://github.com/hanxi/xiaomusic/issues/105) +- 缂哄皯涓绡囨暀绋 濡備綍鍐欒嚜瀹氫箟鎻掍欢[濡備綍鍐欒嚜瀹氫箟鎻掍欢](https://github.com/hanxi/xiaomusic/issues/105) \ No newline at end of file diff --git a/xiaomusic/README.md b/xiaomusic/README.md new file mode 100644 index 0000000..1bca74d --- /dev/null +++ b/xiaomusic/README.md @@ -0,0 +1,13 @@ +# 鍐摐鐢勯堿ddons锛歑iaoMusic + +## 鍏充簬 + +浣跨敤灏忕埍闊崇鎾斁闊充箰锛岄煶涔愪娇鐢 yt-dlp 涓嬭浇銆 + +## 婧愬湴鍧 + +> [椤圭洰 :](https://github.com/hanxi/xiaomusic) https://github.com/hanxi/xiaomusic +> +> [鏂囨。 :](https://xdocs.hanxi.cc) https://xdocs.hanxi.cc +> +> [docker hub :](https://hub.docker.com/r/hanxi/xiaomusic) https://hub.docker.com/r/hanxi/xiaomusic diff --git a/xiaomusic/apparmor.txt b/xiaomusic/apparmor.txt new file mode 100644 index 0000000..bebbb52 --- /dev/null +++ b/xiaomusic/apparmor.txt @@ -0,0 +1,66 @@ +#include + +profile xiaomusic flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + signal, + mount, + umount, + remount, + network udp, + network tcp, + network dgram, + network stream, + network inet, + network inet6, + network netlink raw, + network unix dgram, + + capability setgid, + capability setuid, + capability sys_admin, + capability dac_read_search, + # capability dac_override, + # capability sys_rawio, + +# S6-Overlay + /init ix, + /run/{s6,s6-rc*,service}/** ix, + /package/** ix, + /command/** ix, + /run/{,**} rwk, + /dev/tty rw, + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /dev/i2c-1 mrwkl, + # Files required + /dev/fuse mrwkl, + /dev/sda1 mrwkl, + /dev/sdb1 mrwkl, + /dev/nvme0 mrwkl, + /dev/nvme1 mrwkl, + /dev/ttyUSB0 mrwkl, + /dev/* mrwkl, + /tmp/** mrkwl, + + # Data access + /data/** rw, + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} diff --git a/xiaomusic/config.yaml b/xiaomusic/config.yaml new file mode 100644 index 0000000..54f0e17 --- /dev/null +++ b/xiaomusic/config.yaml @@ -0,0 +1,39 @@ +name: "XiaoMusic" +version: "0.3.99" +slug: "xiaomusic" +panel_icon: "mdi:music-box" +description: "Xiaomusic for Home Assistant Addons" +url: https://gitcode.com/waxgourd/addons +image: r.hassbus.com/wghaos/addon-wghaos-xiaomusic +init: false +arch: + - amd64 + - aarch64 +startup: "services" +boot: "manual" +apparmor: false +#ingress: true +#ingress_port: 8090 +#host_dbus: true +map: + - config:rw + - media:rw + - ssl:ro + - share:rw +webui: "[PROTO:http]://[HOST]:[PORT:8090]/" +ports: + 8090/tcp: 58090 +ports_description: + 8090/tcp: Server port +environment: + XIAOMUSIC_PUBLIC_PORT: "58090" +devices: + - /dev/fuse +options: + song_media: "" + song_share: "" + song_download: "" +schema: + song_media: "str?" + song_share: "str?" + song_download: "str?" \ No newline at end of file diff --git a/xiaomusic/icon.png b/xiaomusic/icon.png new file mode 100644 index 0000000..f3d0b83 Binary files /dev/null and b/xiaomusic/icon.png differ diff --git a/xiaomusic/logo.png b/xiaomusic/logo.png new file mode 100644 index 0000000..f3d0b83 Binary files /dev/null and b/xiaomusic/logo.png differ diff --git a/xiaomusic/translations/en.yaml b/xiaomusic/translations/en.yaml new file mode 100644 index 0000000..ed02440 --- /dev/null +++ b/xiaomusic/translations/en.yaml @@ -0,0 +1,14 @@ +--- +configuration: + song_media: + name: song_media + description: >- + Media Song Catalog. + song_share: + name: song_share + description: >- + Share Song Catalog. + song_download: + name: song_download + description: >- + Song Download Catalog. \ No newline at end of file diff --git a/xiaomusic/translations/zh-Hans.yaml b/xiaomusic/translations/zh-Hans.yaml new file mode 100644 index 0000000..9955a46 --- /dev/null +++ b/xiaomusic/translations/zh-Hans.yaml @@ -0,0 +1,14 @@ +--- +configuration: + song_media: + name: song media + description: >- + Media鍙瓨鏀鹃煶涔愮洰褰/media涓,璇锋墜鍔ㄥ~鍐欒嚜瀹氫箟鐩綍 + song_share: + name: song share + description: >- + Share鍙瓨鏀鹃煶涔愮洰褰/share涓,璇锋墜鍔ㄥ~鍐欒嚜瀹氫箟鐩綍 + song_download: + name: song download + description: >- + Download涓嬭浇闊充箰鐩綍/media涓,璇锋墜鍔ㄥ~鍐欒嚜瀹氫箟鐩綍 \ No newline at end of file diff --git a/xiaoya-alist/CHANGELOG.md b/xiaoya-alist/CHANGELOG.md new file mode 100644 index 0000000..6bb24af --- /dev/null +++ b/xiaoya-alist/CHANGELOG.md @@ -0,0 +1,155 @@ +### hostmode-2025103009 (2025-10-30) + +- 鐗堟湰鍗囩骇 + +### hostmode-2025093009 (2025-10-16) + +- 鐗堟湰鍗囩骇 + +### hostmode-2025092109 (2025-09-22) + +- 鐗堟湰鍗囩骇 + +### hostmode-2025082409 (2025-09-01) + +- 鐗堟湰鍗囩骇 + +### hostmode-2025052809 (2025-05-28) + +- 鐗堟湰鍗囩骇 + +### hostmode-2025052709 (2025-05-27) + +- 鐗堟湰鍗囩骇 + +### hostmode-2025052609 (2025-05-26) + +- 鐗堟湰鍗囩骇 + +### hostmode-2025042309 (2025-04-23) + +-鐗堟湰鍗囩骇 + +### hostmode-2025041109 (2025-04-14) + +-鐗堟湰鍗囩骇 + +### hostmode-2025040309 (2024-04-03) + +- 鐗堟湰鍗囩骇 + +### hostmode-2025032609 (2025-04-01) + +- 鐗堟湰鍗囩骇 + +### hostmode-2025032509 (2025-03-25) + +-鐗堟湰鍗囩骇 + +### hostmode-2025030409 (2025-03-04) + +- 鐗堟湰鍗囩骇 + +### hostmode-2025030209 (2025-03-03) + +- 鐗堟湰鍗囩骇 + +### hostmode-2025022309 (2025-02-24) + +- 鐗堟湰鍗囩骇 + +### hostmode-2025021209 (2025-02-13) + +- 鐗堟湰鍗囩骇 + +### hostmode-2025012709 (2025-02-07) + +- 鐗堟湰鍗囩骇 + +### hostmode-2025011509 (2025-01-15) + +- 鐗堟湰鍗囩骇 + +### hostmode-2025011409 (2025-01-14) + +- 鐗堟湰鍗囩骇 + +### hostmode-2025011309 (2025-01-13) + +- 鐗堟湰鍗囩骇 + +### hostmode-2025010909 (2025-01-09) + +- 鐗堟湰鍗囩骇 + +### hostmode-2025010309 (2025-01-03) + +- 鐗堟湰鍗囩骇 + +### hostmode-2024122109 (2024-12-24) + +- 鐗堟湰鍗囩骇 + +### hostmode-2024120809 (2024-12-09) + +- 鐗堟湰鍗囩骇 + +### hostmode-2024112309 (2024-11-25) + +- 鐗堟湰鍗囩骇 + +### hostmode-2024112009 (2024-11-20) + +- 鐗堟湰鍗囩骇 + +### hostmode-2024110709 (2024-11-07) + +- 鐗堟湰鍗囩骇 + +### hostmode-2024110109 (2024-11-01) + +- 鐗堟湰鍗囩骇 + +### hostmode-2024102009 (2024-10-12) + +- 鐗堟湰鍗囩骇 + +### hostmode-2024101109 (2024-10-12) + +- 鐗堟湰鍗囩骇 + +### hostmode-2024092309 (2024092309) + +- 鐗堟湰鍗囩骇 + +### hostmode-8-beta (2024-07-01) + +- 鐗堟湰鍗囩骇 + +### hostmode-7-beta (2024-06-28) + +- 鐗堟湰鍗囩骇 + +### hostmode-6-beta (2024-06-28) + +- 鐗堟湰鍗囩骇 + +### hostmode-5-beta (2024-06-28) + +- 鐗堟湰鍗囩骇 + +### hostmode-4 (2024-06-21) + +- 鐗堟湰鍗囩骇 + +### hostmode-2 (2024-05-08) + +- 澧炲姞瀹氭椂娓呯悊闃块噷浜戠洏鍜岀鍒板姛鑳 + +### hostmode-1 (2024-04-28) + +- 鐗堟湰鏇存柊 + +### hostmode (2024-03-23) + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/xiaoya-alist/DOCS.md b/xiaoya-alist/DOCS.md new file mode 100644 index 0000000..3a4799a --- /dev/null +++ b/xiaoya-alist/DOCS.md @@ -0,0 +1,39 @@ +# 灏忛泤Alist + +## 閰嶇疆璇存槑 + +1. 杞矾鐢辩洅瀛愮被浼 n1 绛夛紝鍏锋湁 openwrt鐜 锛堝彲浠ョ粓绔笂涓閿厤缃級 +2. NAS 绛夊叿鏈塪ocker鎻掍欢 锛堟棤娉曟垨寰堥毦鐧诲叆缁堢锛岄渶瑕佸浘褰㈠寲鑷閰嶇疆锛 +3. 浜戞湇鍔″櫒涔熷氨鏄織绉扮殑 vps 锛堝彲浠ョ粓绔笂涓閿厤缃級 + +### 娉細 + 1. 鍦ㄩ厤缃腑銆愬畾鏃舵竻鐞嗚缃戯紝姝ゅ鐨勮缃『搴忥細鍒 鏃 澶 鏈 鍛紱 榛樿璁剧疆鐨勬槸锛20 05 * * *锛夋澶勪唬琛ㄦ槸姣忓ぉ鍑屾櫒5:20 + 2. 涓嶆竻鐞嗚缃渶灏嗘澶勯敭鍏ョ┖鏍硷紝鐒跺悗淇濆瓨锛屽苟閲嶅惎 鍗冲彲 + + +## 瀹夎璇存槑 + +鍔犺浇椤逛竴閿畨瑁呭拰鏇存柊 + +绔彛锛5678 +璁块棶锛 http://xxxxx:5678/ 锛坸xxx 涓轰綘alist鎵鍦ㄨ澶囩殑 IP锛 + +浣跨敤webdav杩炴帴鏂瑰紡锛 +鍦板潃锛歨ttp://xxxxx:5678/dav +webdav 璐﹀彿瀵嗙爜 +鐢ㄦ埛: guest 瀵嗙爜: guest_Api789 + +閲嶅惎灏变細鑷姩鏇存柊鏁版嵁搴撳強鎼滅储绱㈠紩鏂囦欢 +鎺ㄨ崘鎵撳紑鑷姩鏇存柊锛屼繚璇佽嚜鍔ㄥ悓姝ワ紝闃叉鍒楄〃鑾峰彇澶辨晥 + +--- + +鑾峰彇闃块噷浜戠洏淇℃伅鏂瑰紡锛 + +token: [https://alist.nn.ci/zh/guide/drivers/aliyundrive.html#%E5%88%B7%E6%96%B0%E4%BB%A4%E7%89%8C](https://alist.nn.ci/zh/guide/drivers/aliyundrive.html#%E5%88%B7%E6%96%B0%E4%BB%A4%E7%89%8C) + +鍒锋柊token: [https://alist.nn.ci/zh/guide/drivers/aliyundrive_open.html#%E5%88%B7%E6%96%B0%E4%BB%A4%E7%89%8C](https://alist.nn.ci/zh/guide/drivers/aliyundrive_open.html#%E5%88%B7%E6%96%B0%E4%BB%A4%E7%89%8C) + +鏂囦欢澶筰d锛 +杞瓨 [https://www.aliyundrive.com/s/rP9gP3h9asE](https://www.aliyundrive.com/s/rP9gP3h9asE) 鍒拌嚜宸辩綉鐩橈紙閫夋嫨璧勬簮鐩橈級锛岀劧鍚庢祻瑙堝櫒鎵撳紑杞瓨鍚庣殑鐩綍锛屾祻瑙堝櫒鐨剈rl +https://www.aliyundrive.com/drive/file/resource/640xxxxxxxxxxxxxxxxxxxca8a 鏈鍚庝竴涓插氨鏄紝璁板緱杩欎釜鐩綍涓嶈鍒狅紝閲岄潰鐨勫唴瀹瑰彲浠ュ畾鏈熷垹闄 diff --git a/xiaoya-alist/README.md b/xiaoya-alist/README.md new file mode 100644 index 0000000..7c364c7 --- /dev/null +++ b/xiaoya-alist/README.md @@ -0,0 +1,8 @@ +# 鍐摐鐢勯塧ddons: 灏忛泤Alist + +## 鍏充簬 +涓涓彛纰戠骇鐨刟list搴旂敤 + +## 鏉ユ簮 +- 闀滃儚锛歨ttps://hub.docker.com/r/xiaoyaliu/alist +- 鏂囨。锛歨ttps://xiaoyaliu.notion.site/xiaoya-docker-69404af849504fa5bcf9f2dd5ecaa75f diff --git a/xiaoya-alist/config.yaml b/xiaoya-alist/config.yaml new file mode 100644 index 0000000..b520cf8 --- /dev/null +++ b/xiaoya-alist/config.yaml @@ -0,0 +1,38 @@ +name: 灏忛泤Alist +version: hostmode-2025103009 +slug: xiaoya-alist +codenotary: wghaos@163.com +description: '涓涓彛纰戠骇鐨刟list搴旂敤' +url: https://gitcode.com/waxgourd/addons +image: r.hassbus.com/wghaos/xiaoya-alist +init: false +host_network: true +arch: + - aarch64 + - amd64 +webui: "[PROTO:http]://[HOST]:[PORT:5678]" +ports: + 5678/tcp: 5678 + 2345/tcp: 2345 + 2346/tcp: 2346 +environment: + no_proxy: "*.aliyundrive.com" +boot: manual +options: + alipan_token: "" + alipan_refresh_token: "" + alipan_folder_id: "" + cron: "20 05 * * *" + pikpak_email: "" + pikpak_mobile: "" + docker_address_ext: "" + proxy: "" +schema: + alipan_token: str + alipan_refresh_token: str + alipan_folder_id: str + cron: str? + pikpak_email: str? + pikpak_mobile: str? + docker_address_ext: str? + proxy: str? diff --git a/xiaoya-alist/icon.png b/xiaoya-alist/icon.png new file mode 100644 index 0000000..61ce42b Binary files /dev/null and b/xiaoya-alist/icon.png differ diff --git a/xiaoya-alist/logo.png b/xiaoya-alist/logo.png new file mode 100644 index 0000000..61ce42b Binary files /dev/null and b/xiaoya-alist/logo.png differ diff --git a/xiaoya-alist/translations/en.yaml b/xiaoya-alist/translations/en.yaml new file mode 100644 index 0000000..309a777 --- /dev/null +++ b/xiaoya-alist/translations/en.yaml @@ -0,0 +1,34 @@ +--- +configuration: + alipan_token: + name: alipan_token + description: >- + alipan token. + alipan_folder_id: + name: alipan_folder_id + description: >- + alipan folder id. + alipan_refresh_token: + name: alipan_refresh_token + description: >- + alipan refresh token. + pikpak_email: + name: pikpak_email + description: >- + pikpak_email. + pikpak_mobile: + name: pikpak_mobile + description: >- + pikpak mobile. + docker_address_ext: + name: docker_address_ext + description: >- + docker address ext. + proxy: + name: proxy + description: >- + proxy. + cron: + name: Timed cleaning settings + description: >- + Time division, day, month, week: If you do not understand the cron format, please do not modify it!!! Default daily cache cleaning and check-in at 5:20 am銆係et to empty, do not start scheduled cleaning diff --git a/xiaoya-alist/translations/zh-Hans.yaml b/xiaoya-alist/translations/zh-Hans.yaml new file mode 100644 index 0000000..b416b25 --- /dev/null +++ b/xiaoya-alist/translations/zh-Hans.yaml @@ -0,0 +1,34 @@ +--- +configuration: + alipan_token: + name: 闃块噷浜戠洏token + description: >- + 闃块噷浜戠洏token銆 + alipan_folder_id: + name: 闃块噷浜戠洏folderid + description: >- + 闃块噷浜戠洏folderid銆 + alipan_refresh_token: + name: 闃块噷浜戠洏鍒锋柊浠ょ墝 + description: >- + 闃块噷浜戠洏鍒锋柊浠ょ墝銆 + pikpak_email: + name: pikpak閭 + description: >- + pikpak 閭鍦板潃銆 + pikpak_mobile: + name: pikpak鎵嬫満鍙风爜 + description: >- + pikpak 鎵嬫満鍙风爜銆 + docker_address_ext: + name: docker鍦板潃鏂囨湰 + description: >- + docker 鍦板潃鏂囨湰銆 + proxy: + name: 浠g悊 + description: >- + 浠g悊銆 + cron: + name: 瀹氭椂娓呯悊璁剧疆 + description: >- + 鍒 鏃 澶 鏈 鍛細濡傛灉涓嶆噦cron鏍煎紡锛岃鍕夸慨鏀癸紒锛侊紒榛樿姣忓ぉ5鐐20娓呯悊缂撳瓨鍜岀鍒帮紝璁剧疆涓虹┖锛屽垯涓嶅惎鍔ㄥ畾鏃舵竻鐞 diff --git a/xiaoya-tvbox/CHANGELOG.md b/xiaoya-tvbox/CHANGELOG.md new file mode 100644 index 0000000..92c7977 --- /dev/null +++ b/xiaoya-tvbox/CHANGELOG.md @@ -0,0 +1,201 @@ +### latest-2025103109 (2025-10-31) +- 鐗堟湰鍗囩骇 +### latest-2025102809 (2025-10-28) +- 鐗堟湰鍗囩骇 +### latest-2025101009 (2025-10-16) +- 鐗堟湰鍗囩骇 +### latest-2025092809 (2025-09-28) +- 鐗堟湰鍗囩骇 +### latest-2025091809 (2025-09-18) +- 鐗堟湰鍗囩骇 +### latest-2025091609 (2025-09-16) +- 鐗堟湰鍗囩骇 +### latest-2025082509 (2025-08-25) +- 鐗堟湰鍗囩骇 +### latest-2025060609 (2025-06-06) +- 鐗堟湰鍗囩骇 +### latest-2025060409 (2025-06-04) +- 鐗堟湰鍗囩骇 +### latest-2025060509 (2025-06-05) +- 鐗堟湰鍗囩骇 +### latest-2025060409 (2025-06-04) +- 鐗堟湰鍗囩骇 +### latest-2025053009 (2025-05-30) +- 鐗堟湰鍗囩骇 +### latest-2025052909 (2025-05-29) +- 鐗堟湰鍗囩骇 +### latest-2025052609 (2025-05-26) +- 鐗堟湰鍗囩骇 +### latest-2025052309 (2025-05-23) +- 鐗堟湰鍗囩骇 +### latest-2025052109 (2025-05-22) +- 鐗堟湰鍗囩骇 +### latest-2025051609 (2025-05-16) +- 鐗堟湰鍗囩骇 +### latest-2025050709 (2025-05-07) +- 鐗堟湰鍗囩骇 +### latest-2025042809 (2025-04-28) +- 鐗堟湰鍗囩骇 +### latest-2025042709 (2025-04-27) + +- 鐗堟湰鍗囩骇 + +### latest-2025042509 (2025-04-25) + +- 鐗堟湰鍗囩骇 + +### latest-2025042309 (2025-04-23) + +- 鐗堟湰鍗囩骇 + +### latest-2025042009 (2025-04-22) + +- 鐗堟湰鍗囩骇 + +### latest-2025041709 (2025-04-17) + +- 鐗堟湰鍗囩骇 + +### latest-2025041509 (2025-04-15) + +- 鐗堟湰鍗囩骇 + +### latest-2025041409 (2025-04-14) + +- 鐗堟湰鍗囩骇 + +### latest-2025041009 (2025-04-10) + +- 鐗堟湰鍗囩骇 + +### latest-2025040809 (2025-04-08) + +- 鐗堟湰鍗囩骇 + +### latest-2025040209 (2025-04-02) + +- 鐗堟湰鍗囩骇 + +### latest-2025040109 (2025-04-01) + +- 鐗堟湰鍗囩骇 + +### latest-2025031709 (2025-03-17) + +- 鐗堟湰鍗囩骇 + +### latest-2025030309 (2025-03-03) + +- 鐗堟湰鍗囩骇 + +### latest-2025022309 (2025-02-24) + +-- 鐗堟湰鍗囩骇 + +### latest-2025022109 (2025-02-21) + +- 鐗堟湰鍗囩骇 + +### latest-2025021809 (2025-02-18) + +- 鐗堟湰鍗囩骇 + +### latest-2025021709 (2025-02-17) + +- 鐗堟湰鍗囩骇 + +### latest-2025012809 (2025-02-07) + +- 鐗堟湰鍗囩骇 + +### latest-2025012009 (2025-01-21) + +- 鐗堟湰鍗囩骇 + +### latest-2025011109 (2025-01-13) + +- 鐗堟湰鍗囩骇 + +### latest-2025010609 (2025-01-09) + +- 鐗堟湰鍗囩骇 + +### latest-2024121815 (2024-12-18) + +- 鐗堟湰鍗囩骇 + +### latest-2024121109 (2024-12-11) + +- 鐗堟湰鍗囩骇 + +### latest-2024121009 (2024-12-10) + +- 鐗堟湰鍗囩骇 + +### latest-2024120709 (2024-12-09) + +- 鐗堟湰鍗囩骇 + +### latest-2024120109 (2024-12-03) + +- 鐗堟湰鍗囩骇 + +### latest-2024112609 (2024-11-26) + +- 鐗堟湰鍗囩骇 + +### latest-2024112509 (2024-11-25) + +- 鐗堟湰鍗囩骇 + +### latest-2024111309 (2024-11-13) + +- 鐗堟湰鍗囩骇 + +### latest-2024111009 (2024-11-11) + +- 鐗堟湰鍗囩骇 + +### latest-2024110509 (2024-11-05) + +- 鐗堟湰鍗囩骇 + +### latest-2024110109 (2024-11-01) + +- 鐗堟湰鍗囩骇 + +### latest-2024102709 (2024-10-27) + +- 鐗堟湰鍗囩骇 + +### latest-2024102509 (2024-10-25) + +- 鐗堟湰鍗囩骇 + +### latest-2024102009 (2024-10-20) + +- 鐗堟湰鍗囩骇 + +### latest-2024101809 (2024-10-18) + +- 鐗堟湰鍗囩骇 + +### latest-2024101509 (2024-10-15) + +- 鐗堟湰鍗囩骇 + +### latest-2024101109 (2024-10-12) + +- 鐗堟湰鍗囩骇 + +### latest-2024092309 (2024-09-23) + +- 鐗堟湰鍗囩骇 + +### 1.1 (2024-09-06) + +- 鐗堟湰鍗囩骇 + +### latest (2024-03-23) + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/xiaoya-tvbox/DOCS.md b/xiaoya-tvbox/DOCS.md new file mode 100644 index 0000000..f27a719 --- /dev/null +++ b/xiaoya-tvbox/DOCS.md @@ -0,0 +1,18 @@ +# 灏忛泤-TvBox鐗 + +## 浣跨敤璇存槑 + +灏忛泤addons鐗 +1. 鍔犺浇椤逛竴閿畨瑁呭拰鏇存柊 +1. 鎵撳紑WEB UI锛歨ttp://your-ip:4567/#/accounts 榛樿鐢ㄦ埛鍚嶏細admin 瀵嗙爜锛歛dmin +1. 璐﹀彿/娣诲姞璐﹀彿锛岃幏鍙栧苟濉啓闃块噷token銆佸紑鏀総oken +1. 灏嗚闃呭湴鍧http://your-ip:4567/sub/0 杈撳叆鍒癟vBox閰嶇疆 + + +浣跨敤webdav杩炴帴鏂瑰紡锛 +1. 鍦板潃锛歨ttp://xxxxx:4567/dav +1. webdav 璐﹀彿瀵嗙爜 +1. 鐢ㄦ埛: guest 瀵嗙爜: guest_Api789 + + + diff --git a/xiaoya-tvbox/README.md b/xiaoya-tvbox/README.md new file mode 100644 index 0000000..ea34286 --- /dev/null +++ b/xiaoya-tvbox/README.md @@ -0,0 +1,7 @@ +# 鍐摐鐢勯堿ddons锛氬皬闆-TvBox鐗 + +## 鍏充簬 +鐭ュ悕鐨勫皬闆匱VBox鐗堟湰锛岀洿鎺ョ鐞嗙晫闈㈤厤缃紝鏂逛究瀹炵敤銆 + +## 鏉ユ簮 +- 鏂囨。锛歨ttps://github.com/power721/alist-tvbox/blob/master/doc/README_zh.md \ No newline at end of file diff --git a/xiaoya-tvbox/config.yaml b/xiaoya-tvbox/config.yaml new file mode 100644 index 0000000..260d8ac --- /dev/null +++ b/xiaoya-tvbox/config.yaml @@ -0,0 +1,20 @@ +name: "灏忛泤-TvBox" +description: "AList浠g悊锛屾敮鎸亁iaoya鐗圓List鐣岄潰绠$悊" +version: "latest-2025103109" +slug: "xiaoya-tvbox" +url: https://gitcode.com/waxgourd/addons +image: r.hassbus.com/wghaos/xiaoya-tvbox +init: false +arch: + - aarch64 + - amd64 +webui: "[PROTO:http]://[HOST]:[PORT:4567]" +ports: + 4567/tcp: 4567 + 80/tcp: 5344 +environment: + no_proxy: "*.aliyundrive.com" + ALIST_PORT: "5344" + INSTALL: "xiaoya" + MEM_OPT: "-Xmx512M" +boot: manual \ No newline at end of file diff --git a/xiaoya-tvbox/icon.png b/xiaoya-tvbox/icon.png new file mode 100644 index 0000000..7afefeb Binary files /dev/null and b/xiaoya-tvbox/icon.png differ diff --git a/xiaoya-tvbox/logo.png b/xiaoya-tvbox/logo.png new file mode 100644 index 0000000..51c0dde Binary files /dev/null and b/xiaoya-tvbox/logo.png differ diff --git a/xiaozhi-esp32-server-java/CHANGELOG.md b/xiaozhi-esp32-server-java/CHANGELOG.md new file mode 100644 index 0000000..a56fb95 --- /dev/null +++ b/xiaozhi-esp32-server-java/CHANGELOG.md @@ -0,0 +1,8 @@ +### 2.7.42 锛2025-05-09锛 +- 鐗堟湰鍗囩骇 +### 2.7.40 锛2025-05-08锛 +- 鐗堟湰鍗囩骇 +### 2.7.22 锛2025-04-27锛 +- 鐗堟湰鍗囩骇 +### 1.0.0-32 (2025-04-25) +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/xiaozhi-esp32-server-java/DOCS.md b/xiaozhi-esp32-server-java/DOCS.md new file mode 100644 index 0000000..892fcd1 --- /dev/null +++ b/xiaozhi-esp32-server-java/DOCS.md @@ -0,0 +1,182 @@ +# 灏忔櫤 ESP32 璇煶鍔╂墜 + +杩欐槸涓涓熀浜 ESP32 鐨勮闊充氦浜掑姪鎵嬬郴缁燂紝鏀寔涓枃璇煶璇嗗埆鍜屾挱鏀惧姛鑳斤紝閫傜敤浜庢櫤鑳藉灞呮帶鍒躲備綔涓 Home Assistant 鐨勫姞杞介」锛屾彁渚涗究鎹风殑瀹夎鍜岀鐞嗕綋楠屻 + +## 浣跨敤鎸囧崡 + +### 瀹夎鍓嶅噯澶 + +1. Home Assistant OS銆丼upervised 鎴 Container 瀹夎鏂瑰紡 +2. MariaDB 鍔犺浇椤瑰凡瀹夎锛堟垨澶栭儴 MySQL/MariaDB 鏁版嵁搴擄級 +3. 鍏锋湁杈冨ソ缃戠粶杩炴帴鐨勭幆澧 +4. 瓒冲鐨勫瓨鍌ㄧ┖闂达紙鑷冲皯 500MB锛 + +### 閰嶇疆閫夐」璇存槑 + +| 閫夐」 | 鎻忚堪 | +| ---------------- | ------------------------------------------------------ | +| `mysql_host` | 鏁版嵁搴撲富鏈哄湴鍧锛岄粯璁や娇鐢 MariaDB 鎻掍欢涓 `core-mariadb` | +| `mysql_port` | 鏁版嵁搴撶鍙o紝榛樿涓 `3306` | +| `mysql_database` | 鏁版嵁搴撳悕绉帮紝榛樿涓 `xiaozhi` | +| `mysql_user` | 鏁版嵁搴撶敤鎴峰悕锛岄粯璁や负 `xiaozhi` | +| `mysql_password` | 鏁版嵁搴撳瘑鐮侊紝榛樿涓 `123456` | +| `java_memory` | Java 搴旂敤鍐呭瓨鍒嗛厤锛屽 `512m`銆乣1g`銆乣1.5g` | + +### 鏁版嵁搴撹缃 + +**鑷姩閰嶇疆鏂瑰紡**锛 +鎻掍欢浼氬皾璇曡嚜鍔ㄥ垱寤烘暟鎹簱鍜屾墍闇琛ㄧ粨鏋勶紝鎮ㄥ彧闇鍦ㄩ厤缃腑鎻愪緵鏈夋晥鐨勬暟鎹簱杩炴帴淇℃伅銆 + +**鎵嬪姩閰嶇疆鏂瑰紡**锛 +濡傛灉鎮ㄥ笇鏈涙墜鍔ㄨ缃暟鎹簱锛屽彲浠ユ墽琛屼互涓嬫楠わ細 + +```sql +CREATE DATABASE xiaozhi CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; +CREATE USER 'xiaozhi'@'%' IDENTIFIED BY '浣犵殑瀹夊叏瀵嗙爜'; +GRANT ALL PRIVILEGES ON xiaozhi.* TO 'xiaozhi'@'%'; +FLUSH PRIVILEGES; +``` + +### 鍐呭瓨绠$悊 + +鍙互閫氳繃閰嶇疆椤 `java_memory` 鎺у埗鍒嗛厤缁 Java 搴旂敤鐨勫爢鍐呭瓨澶у皬锛屾牸寮忕ず渚嬶細 + +- `512m`锛512 鍏嗗瓧鑺傦紝閫傚悎澶у鏁颁娇鐢ㄥ満鏅級 +- `1g`锛1 鍚夊瓧鑺傦紝閫傚悎澶ч噺璁惧鍜岄绻佷氦浜掑満鏅級 +- `1.5g`鎴栨洿楂橈紙閫傚悎楂樿礋杞藉満鏅級 + +**鍐呭瓨绠$悊寤鸿**锛 + +- 榛樿鍐呭瓨鍒嗛厤锛512MB锛夎冻澶熸櫘閫氫娇鐢 +- 瀵逛簬澶氳澶囧満鏅紝寤鸿鍒嗛厤 1GB 鎴栨洿澶氬唴瀛 +- 濡傞亣鍐呭瓨涓嶈冻闂锛屽鍔犲垎閰嶈嚦 1GB 鎴栨洿楂 + +**浼樺寲璧勬簮浣跨敤**锛 + +- **鍏抽棴鍏朵粬涓嶅繀瑕佺殑鍔犺浇椤归噴鏀捐祫婧**锛欻ome Assistant 涓婂彲鑳藉悓鏃惰繍琛屽涓姞杞介」锛屾瘡涓姞杞介」閮戒細娑堣楃郴缁熻祫婧愩傚缓璁复鏃跺仠鐢ㄤ笉甯哥敤鐨勫姞杞介」锛岀壒鍒槸璧勬簮瀵嗛泦鍨嬬殑鍔犺浇椤癸紙濡 Node-RED銆乂S Code 绛夛級锛屼互閲婃斁鏇村鍐呭瓨缁欒闊宠瘑鍒湇鍔° + +- **鐩戞帶璧勬簮浣跨敤**锛氶氳繃 Home Assistant 鐨勭郴缁熺洃鎺у姞杞介」锛屽畾鏈熸鏌ョ郴缁熻祫婧愪娇鐢ㄦ儏鍐碉紝纭繚鏈夎冻澶熺殑鍙敤鍐呭瓨銆 + +- **浼樺寲杩愯鏃跺弬鏁**锛氬浜庢ц兘鏈夐檺鐨勮澶囷紙濡傛煇浜 Raspberry Pi 鍨嬪彿锛夛紝纭繚绯荤粺鏈夎冻澶熺殑浜ゆ崲绌洪棿(swap)銆 + +- **瀹氭湡閲嶅惎**锛氬鏋滃彂鐜板唴瀛樹娇鐢ㄧ巼鎸佺画鍗囬珮锛屽缓璁畾鏈熼噸鍚姞杞介」锛屼互閲婃斁绱Н鐨勫唴瀛樺崰鐢ㄣ傚彲浠ュ湪 Home Assistant 涓缃嚜鍔ㄥ寲锛屽畾鏈熼噸鍚鍔犺浇椤广 + +### 绔彛璇存槑 + +鏈姞杞介」浣跨敤浠ヤ笅绔彛锛 + +- **8091**锛欰PI 鏈嶅姟绔彛锛圗SP32 璁惧閫氳繃 WebSocket 杩炴帴姝ょ鍙o級 +- **8084**锛歐eb 绠$悊鐣岄潰绔彛锛堝彲閫氳繃 Home Assistant 杈规爮璁块棶锛 + +## Web 鐣岄潰鍔熻兘 + +閫氳繃 Home Assistant 鐨勮竟鏍忓浘鏍囨垨鐩存帴璁块棶`http://浣犵殑HA鍦板潃:8084`杩涘叆 Web 绠$悊鐣岄潰銆 +榛樿璐﹀彿锛歛dmin +榛樿瀵嗙爜锛123456 + +### 璁惧绠$悊 + +鍙互娣诲姞銆佺紪杈戝拰鍒犻櫎 ESP32 璁惧锛屼富瑕佸姛鑳斤細 + +- 璁惧鍒楄〃鏌ョ湅 +- 璁惧鐘舵佺洃鎺э紙鍦ㄧ嚎/绂荤嚎锛 +- 璁惧淇℃伅缂栬緫 + +### 闊宠壊閰嶇疆 + +鏀寔涓 ESP32 璁惧閰嶇疆涓嶅悓鐨勮闊冲悎鎴愰煶鑹诧細 + +- 棰勮澶氱涓枃闊宠壊 +- 闊宠壊棰勮鍔熻兘 +- 涓轰笉鍚岃澶囧垎閰嶄笉鍚岄煶鑹 + +### 瑙掕壊璁剧疆 + +鍙互閫夋嫨涓嶅悓鐨 AI 鍔╂墜瑙掕壊锛 + +- AI 鍔╂墜 +- 鏅鸿兘瀹跺眳鍔╂墜 +- 鍏朵粬棰勮瑙掕壊 + +### 瀵硅瘽绠$悊 + +鏌ョ湅涓 ESP32 璁惧鐨勫巻鍙插璇濓細 + +- 鎸夋椂闂存煡鐪嬪巻鍙叉秷鎭 +- 鎸夊叧閿瘝鎼滅储瀵硅瘽鍐呭 +- 娑堟伅绠$悊鍔熻兘 + +## ESP32 璁惧閰嶇疆 + +1. 鑾峰彇骞剁儳褰 ESP32 鍥轰欢锛堜粠[鍘熷椤圭洰](https://github.com/78/xiaozhi-esp32)鑾峰彇锛 +2. 灏 ESP32 璁惧杩炴帴鍒颁笌 Home Assistant 鐩稿悓鐨勭綉缁 +3. 鍦 ESP32 鍥轰欢閰嶇疆涓缃湇鍔″櫒鍦板潃锛 + ``` + ws://浣犵殑HA鍦板潃:8091/ws/xiaozhi/v1/ + ``` +4. 鍦 Web 绠$悊鐣岄潰涓坊鍔犲搴旂殑璁惧淇℃伅 + +## 楂樼骇鍔熻兘 + +### 鎸佷箙鍖栧璇 + +绯荤粺鏀寔鎸佷箙鍖栧璇濊褰曪紝鍙互璁颁綇涓庣敤鎴风殑瀵硅瘽涓婁笅鏂囷細 + +- 鑷姩淇濆瓨瀵硅瘽鍘嗗彶 +- 鏍规嵁鍘嗗彶瀵硅瘽杩涜涓婁笅鏂囩悊瑙 +- 鎻愪緵鏇磋嚜鐒剁殑瀵硅瘽浣撻獙 + +### 鑷畾涔夊敜閱掕瘝锛堥渶 ESP32 鍥轰欢鏀寔锛 + +濡傛灉 ESP32 鍥轰欢鏀寔锛屽彲浠ラ氳繃鎺ュ彛璁剧疆鑷畾涔夊敜閱掕瘝銆 + +## 鏁呴殰鎺掓煡 + +### 鍔犺浇椤规棤娉曞惎鍔 + +- 妫鏌 MariaDB 鏈嶅姟鏄惁姝e父杩愯 +- 楠岃瘉鏁版嵁搴撹繛鎺ヤ俊鎭紙涓绘満銆佺鍙c佺敤鎴峰悕銆佸瘑鐮侊級 +- 鏌ョ湅 Home Assistant 鏃ュ織鏄惁鏈夐敊璇俊鎭 +- 纭繚鍒嗛厤浜嗚冻澶熺殑鍐呭瓨缁欏姞杞介」 + +### 璇煶妯″瀷闂 + +- 妫鏌 `/config/models/vosk-model` 鐩綍鏄惁瀛樺湪妯″瀷鏂囦欢 +- 濡傛灉妯″瀷涓嶅瓨鍦紝璇锋墜鍔ㄤ笅杞藉苟瑙e帇鍒拌鐩綍 +- 纭繚瀛樺偍绌洪棿瓒冲锛堣嚦灏戦渶瑕 100MB 绌洪棽绌洪棿锛 +- 纭繚涓嬭浇鐨勬槸涓枃璇煶妯″瀷 + +### ESP32 璁惧鏃犳硶杩炴帴 + +- 楠岃瘉 ESP32 鍜 Home Assistant 鍦ㄥ悓涓缃戠粶鐜 +- 妫鏌 WebSocket 鍦板潃鏍煎紡鏄惁姝g‘锛坵s://ip:8091/ws/xiaozhi/v1/锛 +- 纭 ESP32 鍥轰欢鏄惁姝g‘閰嶇疆 +- 妫鏌ラ槻鐏鏄惁闃绘浜 WebSocket 杩炴帴 + +### 鍐呭瓨涓嶈冻閿欒 + +- **澧炲姞`java_memory`閰嶇疆**锛氭牴鎹澶囨ц兘閫傚綋澧炲姞锛屽浠 512m 鏀逛负 1g +- **鍏抽棴鍏朵粬涓嶅繀瑕佺殑鍔犺浇椤归噴鏀捐祫婧**锛 + - 鍦 Home Assistant 鐨勫姞杞介」椤甸潰锛屾殏鏃跺仠鐢ㄤ笉甯哥敤鐨勮祫婧愬瘑闆嗗瀷鍔犺浇椤 + - 鐗瑰埆鍏虫敞鏁版嵁搴撱佸濯掍綋鐩稿叧鍔犺浇椤癸紝瀹冧滑閫氬父娑堣楄緝澶氳祫婧 + - 鑰冭檻浣跨敤 Home Assistant 鐨"绯荤粺璇婃柇"鍔熻兘锛屾鏌ュ摢浜涘姞杞介」鍗犵敤杈冨璧勬簮 + - 濡傛灉浣跨敤鐨勬槸浣庨厤缃澶囷紙濡 Raspberry Pi 3 鎴栨洿浣庯級锛屽彲鑳介渶瑕侀檺鍒跺悓鏃惰繍琛岀殑鍔犺浇椤规暟閲 +- **浼樺寲绯荤粺閰嶇疆**锛 + - 澧炲姞绯荤粺浜ゆ崲绌洪棿锛堝湪鏍戣帗娲剧瓑璁惧涓婂挨涓洪噸瑕侊級 + - 鑰冭檻浣跨敤鎬ц兘鏇村己鐨勮澶囪繍琛 Home Assistant + - 纭繚璁惧鏈夎冻澶熺殑鏁g儹锛岄伩鍏嶅洜杩囩儹瀵艰嚧鐨勬ц兘闄嶄綆 + +## 鎶鏈灦鏋 + +鏈姞杞介」鍩轰簬浠ヤ笅鎶鏈瀯寤猴細 + +- **瀹瑰櫒鎶鏈**锛欴ocker + S6 Overlay锛堣繘绋嬬鐞嗭級 +- **鍓嶇**锛歏ue.js + Ant Design锛圵eb 绠$悊鐣岄潰锛 +- **鍚庣**锛欽ava Spring Boot锛圧ESTful API 鍜 WebSocket 鏈嶅姟锛 +- **璇煶澶勭悊**锛歏OSK锛堣闊宠瘑鍒級+ ONNX Runtime锛堟ā鍨嬫帹鐞嗭級 +- **鏁版嵁瀛樺偍**锛歁ySQL/MariaDB锛堝璇濆巻鍙插拰閰嶇疆锛 + +## 鏀寔涓庤础鐚 + +濡傛湁闂鎴栧缓璁紝璇疯闂甗椤圭洰 GitHub 椤甸潰](https://github.com/joey-zhou/xiaozhi-esp32-server-java)銆 +娆㈣繋鎻愪氦闂鎶ュ憡銆佸姛鑳借姹傛垨浠g爜璐$尞銆 diff --git a/xiaozhi-esp32-server-java/README.md b/xiaozhi-esp32-server-java/README.md new file mode 100644 index 0000000..6c5ebfe --- /dev/null +++ b/xiaozhi-esp32-server-java/README.md @@ -0,0 +1,149 @@ +# 鍐摐鐢勯塧ddons锛氬皬鏅篍SP32璇煶鍔╂墜JAVA鐗 + +杩欐槸涓涓熀浜 ESP32 鐨勮闊充氦浜掑姪鎵嬬郴缁燂紝鏀寔璇煶璇嗗埆鍜屾挱鏀惧姛鑳斤紝閫傜敤浜庢櫤鑳藉灞呮帶鍒躲傛鎻掍欢灏嗗皬鏅 ESP32 鏈嶅姟鍣ㄦ暣鍚堜负 Home Assistant 鍔犺浇椤癸紝鎻愪緵鏇寸畝渚跨殑閮ㄧ讲鍜岀鐞嗘柟寮忋 + +## 鍔熻兘鐗圭偣 + +- **涓枃璇煶璇嗗埆**锛氬熀浜 VOSK 璇煶璇嗗埆寮曟搸锛屾敮鎸佸噯纭殑涓枃璇煶璇嗗埆 +- **涓 Home Assistant 闆嗘垚**锛氬畬鍏ㄩ泦鎴愬埌 Home Assistant 鐣岄潰涓紝涓閿畨瑁呭拰閰嶇疆 +- **Web 绠$悊鐣岄潰**锛氭彁渚涚洿瑙傜殑 Web 鐣岄潰绠$悊 ESP32 璁惧 +- **鍐呯疆涓枃璇煶妯″瀷**锛氶瑁呬腑鏂囪闊宠瘑鍒ā鍨嬶紝寮绠卞嵆鐢 +- **鏁版嵁搴撹嚜鍔ㄥ寲**锛氳嚜鍔ㄥ垱寤哄苟鍒濆鍖栧繀瑕佺殑鏁版嵁搴撹〃缁撴瀯 +- **璧勬簮鍗犵敤浼樺寲**锛氬彲鑷畾涔 Java 鍐呭瓨鍒嗛厤锛岄傚簲涓嶅悓鎬ц兘鐨勮澶 + +## 瀹夎鏂规硶 + +### 鍓嶇疆瑕佹眰 + +- Home Assistant OS 鎴 Supervised 鐜锛堟渶浣庣増鏈 2023.3锛 +- MariaDB 鎻掍欢锛堟垨澶栭儴 MySQL/MariaDB 鏁版嵁搴擄級 +- 缃戠粶杩炴帴锛堢敤浜庡垵濮嬪寲锛 + +### 瀹夎姝ラ + +1. 鍦 Home Assistant 涓紝杩涘叆**璁剧疆** -> **鍔犺浇椤** -> **鍔犺浇椤瑰晢搴** +2. 鐐瑰嚮鍙充笂瑙掔殑鑿滃崟鎸夐挳锛岄夋嫨**瀛樺偍搴** +3. 娣诲姞姝や粨搴撳湴鍧: `` +4. 鐐瑰嚮**娣诲姞**锛岀劧鍚庡叧闂瓨鍌ㄥ簱瀵硅瘽妗 +5. 鍦ㄥ姞杞介」鍟嗗簵涓壘鍒**灏忔櫤 ESP32 璇煶鍔╂墜**骞跺畨瑁 + +## 閰嶇疆閫夐」 + +| 閰嶇疆椤 | 榛樿鍊 | 鎻忚堪 | +| -------------- | ------------ | ---------------------------------------------- | +| mysql_host | core-mariadb | MySQL 鏁版嵁搴撲富鏈哄湴鍧 | +| mysql_port | 3306 | MySQL 鏁版嵁搴撶鍙 | +| mysql_database | xiaozhi | 鏁版嵁搴撳悕绉 | +| mysql_user | xiaozhi | 鏁版嵁搴撶敤鎴峰悕 | +| mysql_password | 123456 | 鏁版嵁搴撳瘑鐮 | +| java_memory | 512m | Java 搴旂敤鍐呭瓨鍒嗛厤锛屾牸寮忎负 XmXg锛屽 512m銆1g 绛 | + +## 浣跨敤璇存槑 + +### 棣栨鍚姩 + +1. 瀹夎骞堕厤缃 MariaDB 鍔犺浇椤癸紙濡傛灉浣跨敤澶栭儴鏁版嵁搴撳垯璺宠繃姝ゆ楠わ級 +2. 鍦ㄥ皬鏅 ESP32 璇煶鍔╂墜鐨勯厤缃〉闈紝璁剧疆鏁版嵁搴撹繛鎺ヤ俊鎭 +3. 濡傞渶璋冩暣 Java 搴旂敤鍐呭瓨锛屽彲淇敼 java_memory 鍙傛暟锛堥粯璁 512m锛 +4. 鐐瑰嚮**淇濆瓨**锛岀劧鍚庡惎鍔ㄥ姞杞介」 + +### 璁块棶 Web 鐣岄潰 + +鍚姩鍔犺浇椤瑰悗锛屾湁涓ょ鏂瑰紡璁块棶 Web 绠$悊鐣岄潰锛 + +1. 閫氳繃 Home Assistant 杈规爮涓殑**灏忔櫤 ESP32**鍥炬爣鐩存帴璁块棶 +2. 鎴栬闂甡http://浣犵殑HomeAssistant鍦板潃:8084` + +### 璁惧杩炴帴 + +鍦 Web 绠$悊鐣岄潰涓紝鎮ㄥ彲浠ユ坊鍔犲拰绠$悊 ESP32 璁惧锛 + +1. 杩涘叆**璁惧绠$悊**椤甸潰 +2. 鐐瑰嚮**娣诲姞璁惧** +3. 杈撳叆璁惧鍚嶇О銆両P 鍦板潃绛変俊鎭 +4. 鍦 ESP32 璁惧涓婅缃 WebSocket 鏈嶅姟鍣ㄥ湴鍧涓猴細`ws://浣犵殑HomeAssistant鍦板潃:8091/ws/xiaozhi/v1/` + +## 鏁版嵁搴撹鏄 + +棣栨鍚姩鏃讹紝鎻掍欢浼氳嚜鍔細 + +1. 杩炴帴鍒伴厤缃殑 MySQL/MariaDB 鏁版嵁搴 +2. 濡傛灉鎸囧畾鏁版嵁搴撲笉瀛樺湪锛屽垯鍒涘缓鏁版嵁搴 +3. 鎵ц蹇呰鐨 SQL 鑴氭湰鍒濆鍖栬〃缁撴瀯 + +濡傛灉鎮ㄥ笇鏈涙墜鍔ㄥ垵濮嬪寲鏁版嵁搴擄紝鍙互锛 + +1. 浣跨敤 MySQL 瀹㈡埛绔繛鎺ュ埌鏁版嵁搴撴湇鍔″櫒 +2. 鍒涘缓鍚嶄负"xiaozhi"锛堟垨鎮ㄦ寚瀹氱殑鍚嶇О锛夌殑鏁版嵁搴 +3. 瀵煎叆`/app/db/`鐩綍涓嬬殑 SQL 鏂囦欢 + +## 鍐呭瓨绠$悊 + +閫氳繃閰嶇疆椤 `java_memory` 鎺у埗鍒嗛厤缁 Java 搴旂敤鐨勫爢鍐呭瓨澶у皬锛屾牸寮忕ず渚嬶細 + +- `512m`锛512 鍏嗗瓧鑺傦紝閫傚悎澶у鏁颁娇鐢ㄥ満鏅級 +- `1g`锛1 鍚夊瓧鑺傦紝閫傚悎澶ч噺璁惧鍜岄绻佷氦浜掑満鏅級 +- `1.5g`鎴栨洿楂橈紙閫傚悎楂樿礋杞藉満鏅級 + +**鍐呭瓨绠$悊寤鸿**锛 + +- 榛樿鍐呭瓨鍒嗛厤锛512MB锛夎冻澶熸櫘閫氫娇鐢 +- 瀵逛簬澶氳澶囧満鏅紝寤鸿鍒嗛厤 1GB 鎴栨洿澶氬唴瀛 +- 濡傞亣鍐呭瓨涓嶈冻闂锛屽鍔犲垎閰嶈嚦 1GB 鎴栨洿楂 + +## 鏁呴殰鎺掓煡 + +濡傛灉閬囧埌闂锛岃灏濊瘯浠ヤ笅鏂规硶锛 + +1. **鏃犳硶鍚姩**锛 + + - 妫鏌 MariaDB 鏈嶅姟鏄惁姝e父杩愯 + - 纭鏁版嵁搴撹繛鎺ヤ俊鎭纭 + - 鏌ョ湅 Home Assistant 鏃ュ織涓槸鍚︽湁閿欒淇℃伅 + +2. **Web 鐣岄潰鏃犳硶璁块棶**锛 + + - 纭绔彛 8084 鍜 8091 鏈鍗犵敤 + - 妫鏌 Home Assistant 鐨勭綉缁滆缃紝纭繚杩欎簺绔彛鍙互璁块棶 + +3. **璇煶妯″瀷闂**锛 + + - 妫鏌 `/config/models/vosk-model` 鐩綍鏄惁瀛樺湪妯″瀷鏂囦欢 + - 濡傛灉妯″瀷涓嶅瓨鍦紝璇锋墜鍔ㄤ笅杞藉苟涓婁紶鍒拌鐩綍 + - 纭繚瀛樺偍绌洪棿瓒冲锛堣嚦灏戦渶瑕 100MB 绌洪棽绌洪棿锛 + +4. **鍐呭瓨涓嶈冻**锛 + - 澧炲姞 java_memory 鍙傛暟锛屽垎閰嶆洿澶氬唴瀛橈紙濡備粠 512m 鏀逛负 1g锛 + - 鍏抽棴鍏朵粬涓嶅繀瑕佺殑鍔犺浇椤归噴鏀捐祫婧 + - 鑰冭檻浣跨敤鎬ц兘鏇村己鐨勮澶囪繍琛 Home Assistant + +## 鎶鏈灦鏋 + +鏈彃浠堕噰鐢ㄤ互涓嬫妧鏈爤锛 + +- **鍓嶇**锛歏ue.js + Ant Design +- **鍚庣**锛欽ava Spring Boot +- **璇煶璇嗗埆**锛歏OSK + ONNX Runtime +- **鏁版嵁搴**锛歁ySQL/MariaDB +- **瀹瑰櫒鍖**锛欴ocker + S6 Overlay + +## S6 鍒濆鍖栫郴缁 + +鎻掍欢浣跨敤 S6 Overlay 浣滀负瀹瑰櫒鍒濆鍖栫郴缁燂紝涓昏鍒濆鍖栨祦绋嬶細 + +1. **鐜鍙橀噺璁剧疆**锛氳鍙 Home Assistant 閰嶇疆锛岃缃暟鎹簱杩炴帴淇℃伅绛 +2. **鏁版嵁搴撳垵濮嬪寲**锛氱瓑寰 MySQL 鍙敤锛屽垱寤哄苟鍒濆鍖栨暟鎹簱 +3. **妯″瀷妫鏌**锛氭鏌ヨ闊虫ā鍨嬫槸鍚﹀瓨鍦ㄥ苟鍙敤 +4. **Java 搴旂敤鍚姩**锛氬惎鍔 Spring Boot 搴旂敤 +5. **Nginx 鏈嶅姟**锛氭彁渚涢潤鎬佽祫婧愭湇鍔★紝鍙嶅悜浠g悊 API 璇锋眰 + +## 鐗堟潈鍜岃鍙 + +鏈」鐩熀浜嶽xiaozhi-esp32-server-java](https://github.com/joey-zhou/xiaozhi-esp32-server-java)寮鍙戯紝閲囩敤 MIT 璁稿彲璇併 + +## 鍙傝冭祫婧 + +- [灏忔櫤 ESP32 鏈嶅姟鍣 Java 鐗圿(https://github.com/joey-zhou/xiaozhi-esp32-server-java) +- [VOSK 璇煶璇嗗埆绯荤粺](https://alphacephei.com/vosk/) +- [Home Assistant 寮鍙戣呮枃妗(https://developers.home-assistant.io/) +- [S6 Overlay](https://github.com/just-containers/s6-overlay) diff --git a/xiaozhi-esp32-server-java/config.yaml b/xiaozhi-esp32-server-java/config.yaml new file mode 100644 index 0000000..523dc37 --- /dev/null +++ b/xiaozhi-esp32-server-java/config.yaml @@ -0,0 +1,36 @@ +name: "灏忔櫤ESP32璇煶鍔╂墜JAVA鐗" +version: "2.7.42" +slug: "xiaozhi_esp32_server_java" +description: "鍩轰簬ESP32鐨勮闊充氦浜掑姪鎵嬶紝鏀寔璇煶璇嗗埆鍜屾挱鏀惧姛鑳" +url: "https://gitcode.com/waxgourd/addons" +arch: + - aarch64 + - amd64 +startup: application +boot: manual +init: false +host_network: false +map: + - config:rw +options: + mysql_host: "core-mariadb" + mysql_port: 3306 + mysql_database: "xiaozhi" + mysql_user: "homeassistant" + mysql_password: "homeassistant" + java_memory: "512m" +schema: + mysql_host: str + mysql_port: port + mysql_database: str + mysql_user: str + mysql_password: password + java_memory: str +ports: + 8091/tcp: 8091 + 8084/tcp: 8084 +ports_description: + 8091/tcp: "API/WS鏈嶅姟绔彛" + 8084/tcp: "Web绠$悊鐣岄潰" +webui: "http://[HOST]:[PORT:8084]" +image: r.hassbus.com/wghaos/xiaozhi-esp32-server-java-{arch} diff --git a/xiaozhi-esp32-server-java/icon.png b/xiaozhi-esp32-server-java/icon.png new file mode 100644 index 0000000..5ab7a63 Binary files /dev/null and b/xiaozhi-esp32-server-java/icon.png differ diff --git a/xiaozhi-esp32-server-java/logo.png b/xiaozhi-esp32-server-java/logo.png new file mode 100644 index 0000000..a093406 Binary files /dev/null and b/xiaozhi-esp32-server-java/logo.png differ diff --git a/xiaozhi-esp32-server-java/translations/en.yaml b/xiaozhi-esp32-server-java/translations/en.yaml new file mode 100644 index 0000000..3b46430 --- /dev/null +++ b/xiaozhi-esp32-server-java/translations/en.yaml @@ -0,0 +1,30 @@ +configuration: + mysql_host: + name: MySQL Host + description: MySQL database host address + mysql_port: + name: MySQL Port + description: MySQL database port + mysql_database: + name: Database Name + description: Database name, default is xiaozhi + mysql_user: + name: Database Username + description: Username for database connection + mysql_password: + name: Database Password + description: Password for database connection + java_memory: + name: Java Memory Size + description: Memory allocation for Java application in format like XmXg, e.g. 512m, 1g + +addon: + start: Starting Xiaozhi ESP32 Voice Assistant... + stop: Stopping Xiaozhi ESP32 Voice Assistant... + configure: After configuration, click Save and restart the add-on to apply changes + logs: + starting: Starting service... + started: Service started + stopping: Stopping service... + stopped: Service stopped + error: Service failed to start, please check logs diff --git a/xiaozhi-esp32-server-java/translations/zh-Hans.yaml b/xiaozhi-esp32-server-java/translations/zh-Hans.yaml new file mode 100644 index 0000000..7ad2428 --- /dev/null +++ b/xiaozhi-esp32-server-java/translations/zh-Hans.yaml @@ -0,0 +1,30 @@ +configuration: + mysql_host: + name: MySQL涓绘満 + description: MySQL鏁版嵁搴撲富鏈哄湴鍧 + mysql_port: + name: MySQL绔彛 + description: MySQL鏁版嵁搴撶鍙 + mysql_database: + name: 鏁版嵁搴撳悕绉 + description: 鏁版嵁搴撳悕绉帮紝榛樿涓簒iaozhi + mysql_user: + name: 鏁版嵁搴撶敤鎴峰悕 + description: 鐢ㄤ簬杩炴帴鏁版嵁搴撶殑鐢ㄦ埛鍚 + mysql_password: + name: 鏁版嵁搴撳瘑鐮 + description: 鐢ㄤ簬杩炴帴鏁版嵁搴撶殑瀵嗙爜 + java_memory: + name: Java鍐呭瓨澶у皬 + description: 鍒嗛厤缁橨ava搴旂敤鐨勫唴瀛樺ぇ灏忥紝鏍煎紡涓 XmXg 绛夛紝渚嬪锛512m, 1g + +addon: + start: 姝e湪鍚姩灏忔櫤ESP32璇煶鍔╂墜... + stop: 姝e湪鍋滄灏忔櫤ESP32璇煶鍔╂墜... + configure: 瀹屾垚閰嶇疆鍚庯紝鐐瑰嚮淇濆瓨骞堕噸鍚姞杞介」浣块厤缃敓鏁 + logs: + starting: 姝e湪鍚姩鏈嶅姟... + started: 鏈嶅姟宸插惎鍔 + stopping: 姝e湪鍋滄鏈嶅姟... + stopped: 鏈嶅姟宸插仠姝 + error: 鏈嶅姟鍚姩澶辫触锛岃妫鏌ユ棩蹇 diff --git a/xiaozhi-esp32-server-mini/CHANGELOG.md b/xiaozhi-esp32-server-mini/CHANGELOG.md new file mode 100644 index 0000000..1a54731 --- /dev/null +++ b/xiaozhi-esp32-server-mini/CHANGELOG.md @@ -0,0 +1,46 @@ +## 0.8.5 (2025-10-23) +- 鐗堟湰鍗囩骇 +## 0.8.2 (2025-09-23) +- 鐗堟湰鍗囩骇 +## 0.8.1 (2025-09-18) +- 鐗堟湰鍗囩骇 +## 0.7.6 (2025-09-10) +- 鐗堟湰鍗囩骇 +## 0.7.4 (2025-08-11) +- 鐗堟湰鍗囩骇 +## 0.7.2 (2025-07-31) +- 鐗堟湰鍗囩骇 +## 0.6.3 (2025-07-11) +- 鐗堟湰鍗囩骇 +## 0.5.7 (2025-06-18) +- 鐗堟湰鍗囩骇 +## 0.5.5 (2025-06-09) +- 鐗堟湰鍗囩骇 +## 0.5.4 (2025-06-05) +- 鐗堟湰鍗囩骇 +## 0.5.3 (2025-06-03) +- 澧炲姞瑙嗚澶фā鍨嬩緵搴斿櫒鍜岄厤缃 +- 鏀寔openai绫诲瀷鎺ュ彛鐨勮瑙夋ā鍨嬭皟鐢(榛樿鏄櫤璋卞厤璐圭増瑙嗚妯″瀷) +- 鍏煎铏惧摜1.6.6鐗堟湰璋冪敤mcp鎷嶇収璇嗗浘鍔熻兘 +- 灏忔櫤瀹瑰櫒绔彛8003锛屼富鏈虹鍙8002锛屾棤闇鏇存敼缃戠粶閰嶇疆 +## 0.5.1 (2025-05-29) +- 鐗堟湰鍗囩骇 +## 0.4.4 (2025-05-23) +- 鐗堟湰鍗囩骇 +## 0.4.3 (2025-05-16) +- 鐗堟湰鍗囩骇 +## 0.4.2 (2025-05-13) +- 鐗堟湰鍗囩骇 +## 0.4.1 (2025-05-08) +- 鐗堟湰鍗囩骇 +## 0.3.13 (2025-05-07) +- 鐗堟湰鍗囩骇 +## 0.3.12 (2025-04-28) + +- 澧炲姞鏀寔 OTA 鎺ュ彛 +- 鏀寔涓嬪彂 WebSocket 鎺ュ彛鍦板潃 + +## 0.3.11 (2025-04-27) +- 鐗堟湰鍗囩骇 +## 0.3.4 (2025-04-25) +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/xiaozhi-esp32-server-mini/DOCS.md b/xiaozhi-esp32-server-mini/DOCS.md new file mode 100644 index 0000000..89ebed5 --- /dev/null +++ b/xiaozhi-esp32-server-mini/DOCS.md @@ -0,0 +1,52 @@ +# 灏忔櫤 AI Server 鏋侀熺増 + +鏈姞杞介」鎻愪緵铏惧摜灏忔櫤AI闊崇鐨凥A鏈湴鏈嶅姟鍣ㄥ姛鑳斤紝璁╁ぇ瀹剁畝鍗曠帺杞珹I璇煶璁惧鎺у埗銆 + +## 瀹夎 + +1. 瀹夎"灏忔櫤 AI Server 鏋侀熺増"鍔犺浇椤 +3. 閰嶇疆鍔犺浇椤 + +## 浣跨敤璇存槑锛堝揩閫熷叆闂級 + +浣跨敤涔嬪墠鍏堝仛濡備笅鐨勫噯澶囷細 + +1. 鏇存崲鎴愬皬鏅篈I闊崇锛圚A涓撶敤鍥轰欢锛 + + 锛1锛夌儳褰曚笓鐢ㄥ浐浠讹紝鍥轰欢鐑у綍鍦板潃锛歨ttps://xzfw.wghaos.com/ + + 锛2锛夐厤缃綉缁 + +2. 鐏北寮曟搸 + + 锛1锛夋敞鍐屽苟璁よ瘉鐏北寮曟搸锛歨ttps://www.volcengine.com/ + + 锛2锛塋LM锛堝ぇ璇█妯″瀷鏈嶅姟锛夋ā鍨嬪悕绉板強API瀵嗛挜鐨勮幏鍙栵細 + + - 鎵撳紑浠ヤ笅缃戝潃锛屽紑閫氱殑鏈嶅姟鎼滅储Doubao-pro-32k锛屽紑閫氬畠 + + 寮閫氭敼鍦板潃锛歨ttps://console.volcengine.com/ark/region:ark+cn-beijing/openManagement?LLM=%7B%7D&OpenTokenDrawer=false + + - 鍏嶈垂棰濆害500000token + + - 寮閫氬悗锛岃繘鍏ヨ繖閲岃幏鍙栧瘑閽ワ細https://console.volcengine.com/ark/region:ark+cn-beijing/apiKey?apikey=%7B%7D + + 锛3锛塗TS锛堟枃鏈浆璇煶锛夊拰璇煶璇嗗埆妯″瀷锛圓SR锛夌殑璇煶璇嗗埆APPID鍜岃闊冲悎鎴愪护鐗岀殑鑾峰彇锛 + + 娉細TTS鍜孉SR鍙互浣跨敤鍚屼竴涓 + + - 鍦ㄥ悗闈㈤摼鎺ョ敵璇风浉鍏矺ey绛変俊鎭紝https://console.volcengine.com/speech/app + - 濉啓鐩稿簲鐨刟ppid鍜宎ccess_token + - 璇煶鍚堟垚闊宠壊锛屽彲浠ュ~"BV001_streaming" + +3. 濉啓homeassistant浠ょ墝 + + 鐐瑰嚮宸︿笅瑙掔殑鐢ㄦ埛澶村儚锛岄夋嫨**瀹夊叏**锛屽悜涓嬫粴鍔ㄥ埌闀挎湡璁块棶浠ょ墝閮ㄥ垎锛岀偣鍑诲垱寤轰护鐗岋紝鐢熸垚鍚庡鍒跺苟淇濆瓨锛堝叧闂悗鏃犳硶鍐嶆鏌ョ湅锛 + +4. 鍚姩浣撻獙 + + + +### 鏀寔 + +璇︾粏閿欏仛璇存槑锛岃鏌ョ湅www.wghaos.com鎴栬卙ttps://bbs.hassbian.com鏌ョ湅 diff --git a/xiaozhi-esp32-server-mini/README.md b/xiaozhi-esp32-server-mini/README.md new file mode 100644 index 0000000..7d177ad --- /dev/null +++ b/xiaozhi-esp32-server-mini/README.md @@ -0,0 +1,23 @@ +# 鍐摐鐢勯塧ddons锛氬皬鏅 AI Server 鏋侀熺増 + +灏忔櫤 AI Server鏄痟ome assistant涓笓鐢ㄧ殑灏忔櫤AI鏈嶅姟鍣紝鍏嶆惌寤鸿灏忔櫤蹇熷湪HA涓娇鐢ㄣ + + + +## 鍏充簬 + +姝ょ郴鍒楀叡鏈変笁涓増鏈紝鏃ㄥ湪婊¤冻涓嶅悓闇姹傜殑鐢ㄦ埛蹇熺帺杞皬鏅篈I + +- 灏忔櫤 AI Server 鏋侀熺増锛氬湪addons閰嶇疆杩涜浼樺寲锛屼粙缁嶄互璞嗗寘骞冲彴涓轰富锛屽彲浠ュ湪10鍒嗛挓鍐呭缓濂藉皬鏅篈I鎺у埗銆 +- 灏忔櫤 AI Server 绠鍖栫増锛氬師姹佸師鍛冲畼鏂圭畝鍖栫増锛屽彲鏂逛究瀵圭収缃戜笂鏁欑▼璋冩暣閰嶇疆銆 +- 灏忔櫤 AI OTA绠$悊: 瀹樻柟鐨勫叏妯″潡鐗堬紝涓昏鏄疧TA绠$悊锛屽彲鐮旂┒閫氳鏂瑰紡绛夈 + +鍙︽彁渚涘皬鏅篈I鐨勫浐浠跺湪绾垮埛鏈猴紝鏀寔鍏嶆縺娲荤増銆 + +閾炬帴锛歨ttps://xzfw.wghaos.com + + + +## 鏀寔涓庡弽棣 + +鏈」鐩熀浜嶽xinnan-tech/xiaozhi-esp32-server](https://github.com/xinnan-tech/xiaozhi-esp32-server) 寮鍙戙 diff --git a/xiaozhi-esp32-server-mini/config.yaml b/xiaozhi-esp32-server-mini/config.yaml new file mode 100644 index 0000000..f10ec4b --- /dev/null +++ b/xiaozhi-esp32-server-mini/config.yaml @@ -0,0 +1,73 @@ +name: "灏忔櫤 AI Server 鏋侀熺増" +version: "0.8.5" +slug: "xiaozhi_esp32_server_mini" +description: "灏忔櫤 AI Server 鏋侀熺増 - 鎻愪緵璇煶璇嗗埆銆佸璇濆拰鎺у埗鍔熻兘锛屾敮鎸佷笌ESP32璁惧閫氫俊" +url: "https://gitcode.com/waxgourd/addons" +arch: + - aarch64 + - amd64 +startup: application +boot: manual +translations: true +ports: + 8000/tcp: 8000 + 8003/tcp: 8002 +ports_description: + 8000/tcp: "WebSocket鏈嶅姟绔彛" + 8003/tcp: "http鏈嶅姟鐨勭鍙o紝鐢ㄤ簬绠鍗昈TA鎺ュ彛(鍗曟湇鍔¢儴缃)锛屼互鍙婅瑙夊垎鏋愭帴鍙" +map: + - addon_config:rw +host_network: false +init: false +watchdog: "tcp://[HOST]:[PORT:8000]" +# webui: "http://[HOST]:[PORT:8002]" +journald: true +hassio_api: true +options: + plugins.home_assistant.base_url: http://homeassistant.local:8123 + plugins.home_assistant.api_key: "" + plugins.home_assistant.devices: [] + llm.type: DoubaoLLM + model_name: "doubao-1-5-pro-32k-250115" + llm.api_key: "" + tts.type: DoubaoTTS + tts.appid: "" + tts.access_token: "" + tts.voice: "" + asr.type: DoubaoASR + asr.appid: "" + asr.access_token: "" + asr.secret_key: "" + vllm.type: ChatGLMVLLM + vllm.model_name: "glm-4v-flash" + vllm.api_key: "" + plugins.get_weather.api_key: a861d0d5e7bf4ee1a83d9a9e4f96d4da + plugins.get_weather.default_location: 骞垮窞 + log_level: INFO + timezone: Asia/Shanghai + host_ip: "homeassistant.local" +schema: + plugins.home_assistant.base_url: url + plugins.home_assistant.api_key: str + plugins.home_assistant.devices: + - str + llm.type: list(DoubaoLLM|ChatGLMLLM|DeepSeekLLM) + model_name: str + llm.api_key: str + tts.type: list(DoubaoTTS|EdgeTTS) + tts.appid: str? + tts.access_token: str? + tts.voice: str? + asr.type: list(DoubaoASR|TencentASR|FunASR) + asr.appid: str? + asr.access_token: str? + asr.secret_key: str? + vllm.type: list(ChatGLMVLLM|QwenVLVLLM) + vllm.model_name: str? + vllm.api_key: str? + plugins.get_weather.api_key: str + plugins.get_weather.default_location: str + log_level: list(INFO|DEBUG) + timezone: str + host_ip: str? +image: r.hassbus.com/wghaos/xiaozhi-esp32-server-mini-{arch} diff --git a/xiaozhi-esp32-server-mini/icon.png b/xiaozhi-esp32-server-mini/icon.png new file mode 100644 index 0000000..0d8f03c Binary files /dev/null and b/xiaozhi-esp32-server-mini/icon.png differ diff --git a/xiaozhi-esp32-server-mini/logo.png b/xiaozhi-esp32-server-mini/logo.png new file mode 100644 index 0000000..3f1b2de Binary files /dev/null and b/xiaozhi-esp32-server-mini/logo.png differ diff --git a/xiaozhi-esp32-server-mini/translations/en.yaml b/xiaozhi-esp32-server-mini/translations/en.yaml new file mode 100644 index 0000000..ff19024 --- /dev/null +++ b/xiaozhi-esp32-server-mini/translations/en.yaml @@ -0,0 +1,62 @@ +--- +configuration: + timezone: + name: "Timezone" + description: "Set the server timezone" + host_ip: + name: "Host IP Address" + description: "IP address for WebSocket connection, leave empty to auto-detect LAN IP" + log_level: + name: "Log Level" + description: "Set the verbosity of logs" + llm.type: + name: "LLM Type" + description: "Choose which Large Language Model service to use" + model_name: + name: "LLM Model Name" + description: "Specific model name for the LLM" + llm.api_key: + name: "LLM API Key" + description: "API key for the selected Large Language Model service" + tts.type: + name: "TTS Type" + description: "Choose which Text-to-Speech service to use" + tts.appid: + name: "TTS AppID" + description: "Application ID for text-to-speech service (required for DoubaoTTS only)" + tts.access_token: + name: "TTS Access Token" + description: "Access token for text-to-speech service (required for DoubaoTTS only)" + tts.voice: + name: "TTS Voice" + description: "Voice setting for text-to-speech service (optional, defaults to BV001_streaming)" + asr.type: + name: "Speech Recognition Model" + description: "Choose which speech recognition model to use, different models support different languages" + asr.appid: + name: "Speech Recognition AppID" + description: "Application ID for speech recognition service (required for online services only)" + asr.access_token: + name: "Speech Recognition Token/Secret ID" + description: "Access token or secret ID for speech recognition service (required for online services only)" + asr.secret_key: + name: "Speech Recognition Secret Key" + description: "Secret key for speech recognition service (required for Tencent ASR only)" + plugins.get_weather.api_key: + name: "Weather API Key" + description: "QWeather API key" + plugins.get_weather.default_location: + name: "Default Location" + description: "Default location for weather queries" + plugins.home_assistant.base_url: + name: "Home Assistant URL" + description: "URL of your Home Assistant instance" + plugins.home_assistant.api_key: + name: "Home Assistant Token" + description: "Long-lived access token for Home Assistant" + plugins.home_assistant.devices: + name: "Home Assistant Devices" + description: "List of Home Assistant devices to control" + +network: + 8000/tcp: "WebSocket server port for ESP32 device communication" diff --git a/xiaozhi-esp32-server-mini/translations/zh-Hans.yaml b/xiaozhi-esp32-server-mini/translations/zh-Hans.yaml new file mode 100644 index 0000000..4eca806 --- /dev/null +++ b/xiaozhi-esp32-server-mini/translations/zh-Hans.yaml @@ -0,0 +1,62 @@ +--- +configuration: + timezone: + name: "鏃跺尯" + description: "璁剧疆鏈嶅姟鍣ㄦ椂鍖" + host_ip: + name: "涓绘満IP鍦板潃" + description: "鐢ㄤ簬WebSocket杩炴帴鐨処P鍦板潃锛岀暀绌哄皢鑷姩鑾峰彇鍐呯綉IP" + log_level: + name: "鏃ュ織绾у埆" + description: "璁剧疆鏃ュ織璇︾粏绋嬪害" + llm.type: + name: "澶ц瑷妯″瀷锛圠LM锛" + description: "閫夋嫨浣跨敤鍝釜澶ц瑷妯″瀷锛圠LM锛夛紝 DoubaoLLM锛氳眴鍖呭ぇ璇█妯″瀷锛 ChatGLMLLM锛氭櫤璋 AI 澶ц瑷妯″瀷锛 DeepSeekLLM锛欴eepSeek 澶ц瑷妯″瀷" + model_name: + name: "LLM妯″瀷鍚嶇О" + description: "澶ц瑷妯″瀷鐨勫叿浣撴ā鍨嬪悕绉" + llm.api_key: + name: "LLM API瀵嗛挜" + description: "鎵閫夊ぇ璇█妯″瀷鏈嶅姟鐨凙PI瀵嗛挜" + tts.type: + name: "鏂囨湰杞闊筹紙TTS锛" + description: "閫夋嫨浣跨敤鍝釜鏂囨湰杞闊虫湇鍔★紙TTS锛夛紝DoubaoTTS锛氳眴鍖/鐏北寮曟搸 鏂囨湰杞闊筹紝EdgeTTS锛氬井杞 Edge 娴忚鍣 鏂囨湰杞闊" + tts.appid: + name: "璇煶鍚堟垚AppID" + description: "璇煶鍚堟垚鏈嶅姟鐨勫簲鐢↖D锛堜粎DoubaoTTS闇瑕侊級" + tts.access_token: + name: "璇煶鍚堟垚璁块棶浠ょ墝" + description: "璇煶鍚堟垚鏈嶅姟鐨勮闂护鐗岋紙浠匘oubaoTTS闇瑕侊級" + tts.voice: + name: "璇煶鍚堟垚闊宠壊" + description: "璇煶鍚堟垚鏈嶅姟鐨勯煶鑹茶缃紙鍙夛紝榛樿涓築V001_streaming锛" + asr.type: + name: "璇煶璇嗗埆妯″瀷锛圓SR锛" + description: "閫夋嫨浣跨敤鍝璇煶璇嗗埆妯″瀷锛屼笉鍚屾ā鍨嬫敮鎸佷笉鍚岃瑷锛孌oubaoASR锛氳眴鍖呰闊宠瘑鍒紝TencentASR锛氳吘璁簯璇煶璇嗗埆锛孎unASR锛欶un璇煶璇嗗埆" + asr.appid: + name: "璇煶璇嗗埆AppID" + description: "璇煶璇嗗埆鏈嶅姟鐨勫簲鐢↖D锛堜粎鍦ㄧ嚎鏈嶅姟闇瑕侊級" + asr.access_token: + name: "璇煶璇嗗埆Token/Secret ID" + description: "璇煶璇嗗埆鏈嶅姟鐨勮闂护鐗屾垨瀵嗛挜ID锛堜粎鍦ㄧ嚎鏈嶅姟闇瑕侊級" + asr.secret_key: + name: "璇煶璇嗗埆Secret Key" + description: "璇煶璇嗗埆鏈嶅姟鐨勫瘑閽ワ紙浠呰吘璁疉SR闇瑕侊級" + plugins.get_weather.api_key: + name: "澶╂皵API瀵嗛挜" + description: "鍜岄澶╂皵API瀵嗛挜" + plugins.get_weather.default_location: + name: "榛樿浣嶇疆" + description: "澶╂皵鏌ヨ鐨勯粯璁や綅缃" + plugins.home_assistant.base_url: + name: "Home Assistant鍦板潃" + description: "鎮ㄧ殑Home Assistant瀹炰緥鍦板潃" + plugins.home_assistant.api_key: + name: "Home Assistant浠ょ墝" + description: "Home Assistant鐨勯暱鏈熻闂护鐗" + plugins.home_assistant.devices: + name: "Home Assistant璁惧" + description: "瑕佹帶鍒剁殑Home Assistant璁惧鍒楄〃" + +network: + 8000/tcp: "ESP32璁惧閫氫俊鐨刉ebSocket鏈嶅姟鍣ㄧ鍙" diff --git a/xiaozhi-esp32-server/CHANGELOG.md b/xiaozhi-esp32-server/CHANGELOG.md new file mode 100644 index 0000000..47ced92 --- /dev/null +++ b/xiaozhi-esp32-server/CHANGELOG.md @@ -0,0 +1,46 @@ +## 0.8.5 (2025-10-22) +- 鐗堟湰鍗囩骇 +## 0.8.2 (2025-09-23) +- 鐗堟湰鍗囩骇 +## 0.8.1 (2025-09-18) +- 鐗堟湰鍗囩骇 +## 0.7.6 (2025-09-10) +- 鐗堟湰鍗囩骇 +## 0.7.4 (2025-08-11) +- 鐗堟湰鍗囩骇 +## 0.7.2 (2025-07-24) +- 鐗堟湰鍗囩骇 +## 0.6.3 (2025-07-11) +- 鐗堟湰鍗囩骇 +## 0.6.2 (2025-07-03) +- 鐗堟湰鍗囩骇 +## 0.5.7 (2025-06-19) +- 鐗堟湰鍗囩骇 +## 0.5.5 (2025-06-09) +- 鐗堟湰鍗囩骇 +## 0.5.4 (2025-06-06) +- 鐗堟湰鍗囩骇 +## 0.5.3 (2025-06-03) +- 鐗堟湰鍗囩骇 +## 0.5.1 (2025-05-29) +- 鐗堟湰鍗囩骇 +## 0.4.4 (2025-05-23) +- 鐗堟湰鍗囩骇 +## 0.4.3-1 (2025-05-20) +- 鐗堟湰鍗囩骇 +## 0.4.3 (2025-05-16) +- 鐗堟湰鍗囩骇 +## 0.4.2 (2025-05-13) +- 鐗堟湰鍗囩骇 +## 0.4.1 (2025-05-08) +- 鐗堟湰鍗囩骇 +## 0.3.13 (2025-05-07) +- 鐗堟湰鍗囩骇 +## 0.3.12 (2025-04-28) +- 鐗堟湰鍗囩骇 +## 0.3.11 (2025-04-27) +- 鐗堟湰鍗囩骇 +## 0.3.4-20 (2025-04-25) +- 鐗堟湰鍗囩骇 +## 0.3.4 (2025-04-25) +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/xiaozhi-esp32-server/DOCS.md b/xiaozhi-esp32-server/DOCS.md new file mode 100644 index 0000000..7485b76 --- /dev/null +++ b/xiaozhi-esp32-server/DOCS.md @@ -0,0 +1,206 @@ +# 灏忔櫤 AI Server 鏈绠鍖栫増 + +鏈姞杞介」鎻愪緵灏忔櫤 ESP32 璇煶璇嗗埆鏈嶅姟鍣ㄥ姛鑳斤紝鍙笌 ESP32 璁惧閰嶅悎浣跨敤瀹炵幇璇煶璇嗗埆鍔熻兘銆 + +## 瀹夎 +1. 鏇存崲鎴愬皬鏅篈I闊崇锛圚A涓撶敤鍥轰欢锛夛紝鐑у綍鍦板潃锛歨ttps://xzfw.wghaos.com/ 骞堕厤缃綉缁 +1. 鍦 Home Assistant 鐨勫姞杞介」鍟嗗簵涓坊鍔犳浠撳簱鍦板潃鎴栧鍒跺埌鏈湴鍔犺浇椤圭洰褰 +1. 瀹夎"灏忔櫤 AI Server 鏈绠鍖栫増"鍔犺浇椤 +1. 閰嶇疆鍔犺浇椤 + +## 閰嶇疆鍙傛暟 + +| 鍙傛暟 | 鎻忚堪 | +| ------------------------------------ | --------------------------------- | +| timezone | 鏃跺尯璁剧疆 | +| server.auth.enabled | 鏄惁鍚敤璁惧璁よ瘉锛堝彲閫夛級 | +| server.auth.tokens | 璁惧璁よ瘉浠ょ墝鍒楄〃锛堝彲閫夛級 | +| log_level | 鏃ュ織绾у埆 (INFO/DEBUG) | +| llm.type | 澶ц瑷妯″瀷绫诲瀷 | +| model_name | 澶ц瑷妯″瀷鍚嶇О | +| llm.api_key | 澶ц瑷妯″瀷 API 瀵嗛挜 | +| tts.type | 璇煶鍚堟垚鏈嶅姟绫诲瀷 | +| tts.appid | TTS 鏈嶅姟搴旂敤 ID (DoubaoTTS 闇瑕) | +| tts.access_token | TTS 鏈嶅姟璁块棶浠ょ墝 (DoubaoTTS 闇瑕) | +| tts.voice | TTS 闊宠壊 (DoubaoTTS 鍙) | +| asr.type | 璇煶璇嗗埆鏈嶅姟绫诲瀷 | +| asr.appid | ASR 鏈嶅姟搴旂敤 ID锛堝湪绾挎湇鍔¢渶瑕侊級 | +| asr.access_token | ASR 鏈嶅姟璁块棶浠ょ墝锛堝湪绾挎湇鍔¢渶瑕侊級 | +| asr.secret_key | ASR 鏈嶅姟瀵嗛挜锛堣吘璁 ASR 闇瑕侊級 | +| plugins.get_weather.api_key | 鍜岄澶╂皵 API 瀵嗛挜 | +| plugins.get_weather.default_location | 榛樿澶╂皵鏌ヨ浣嶇疆 | +| plugins.home_assistant.base_url | Home Assistant 鍦板潃 | +| plugins.home_assistant.api_key | Home Assistant 闀挎湡璁块棶浠ょ墝 | +| plugins.home_assistant.devices | Home Assistant 璁惧鍒楄〃 | + +## 浣跨敤璇存槑 + +瀹夎骞跺惎鍔ㄥ悗锛屾湇鍔″櫒浼氬湪 8000 绔彛鍚姩 WebSocket 鏈嶅姟銆傛偍鍙互閫氳繃 ESP32 璁惧杩炴帴鍒版鏈嶅姟杩涜璇煶璇嗗埆銆 + +### 閰嶇疆鏂瑰紡璇存槑 + +鏈姞杞介」鏀寔涓ょ閰嶇疆鏂瑰紡锛 + +1. **閫氳繃 Home Assistant 鍔犺浇椤归〉闈㈤厤缃**锛氬湪 Home Assistant -> 璁剧疆 -> 鍔犺浇椤 -> 灏忔櫤 AI Server 鏈绠鍖栫増 涓厤缃熀鏈弬鏁 + + - 杩欎簺閰嶇疆浼氳嚜鍔ㄥ簲鐢ㄥ埌鏈嶅姟鍣ㄧ殑.config.yaml 鏂囦欢涓 + - 姣忔閲嶅惎鍔犺浇椤规椂锛孒ome Assistant 閰嶇疆浼氳嚜鍔ㄨ鐩栫浉搴旂殑.config.yaml 璁剧疆 + +2. **鎵嬪姩缂栬緫閰嶇疆鏂囦欢**锛 + - 閰嶇疆鏂囦欢浣嶄簬: `/config/data/.config.yaml`锛堥氳繃鏂囦欢缂栬緫鍣ㄨ闂級 + - 閫傚悎杩涜楂樼骇閰嶇疆璋冩暣锛屽涓嶅湪鍔犺浇椤归〉闈㈡彁渚涚殑鍙傛暟 + +**娉ㄦ剰**锛氭墍鏈夐渶瑕佺殑 ASR 鍜 LLM 鍙傛暟閮藉簲褰撳湪 Home Assistant 鍔犺浇椤归厤缃〉闈腑璁剧疆锛岃繖鏄帹鑽愮殑閰嶇疆鏂规硶銆備慨鏀瑰悗闇瑕侀噸鍚姞杞介」鎵嶈兘鐢熸晥銆 + +### 鍏蜂綋閰嶇疆璺緞 + +1. **鍔犺浇椤归厤缃〉闈**: + + - Home Assistant 鈫 璁剧疆 鈫 鍔犺浇椤 鈫 灏忔櫤 AI Server 鏋侀熺増 鈫 閰嶇疆 + - 鍦ㄦ椤甸潰鍙互璁剧疆鎵鏈変富瑕佸弬鏁帮紝鍖呮嫭 ASR 绫诲瀷銆乤ppid銆乤ccess_token銆丩LM 绫诲瀷銆乵odel_name 鍜 api_key 绛 + +2. **閫氳繃鏂囦欢缂栬緫鍣**: + - Home Assistant 鈫 璁剧疆 鈫 鍔犺浇椤 鈫 鏂囦欢缂栬緫鍣 + - 瀵艰埅鍒 `/config/data/.config.yaml` (鍔犺浇椤归厤缃枃浠) + - 姝ゆ枃浠跺寘鍚洿璇︾粏鐨勯厤缃紝浣嗘瘡娆¢噸鍚姞杞介」鍚庝細琚姞杞介」閰嶇疆椤甸潰鐨勮缃鐩 + +### 妯″瀷鏂囦欢 + +浣跨敤 FunASR 妯″瀷鏃讹紝闇瑕佷娇鐢 SenseVoiceSmall 妯″瀷鏂囦欢鎵嶈兘姝e父宸ヤ綔銆傜郴缁熶細鑷姩涓嬭浇妯″瀷鏂囦欢骞舵斁缃湪浠ヤ笅浣嶇疆锛 + +``` +/config/models/SenseVoiceSmall/model.pt +``` + +濡傛灉鑷姩涓嬭浇澶辫触锛屾偍闇瑕佹墜鍔ㄤ笅杞藉苟鏀剧疆妯″瀷鏂囦欢銆 + +### 璇煶璇嗗埆鏈嶅姟 (ASR) + +鏈彃浠舵敮鎸佷互涓嬭闊宠瘑鍒湇鍔★細 + +1. **FunASR**锛氭湰鍦拌闊宠瘑鍒ā鍨嬶紝闇瑕佷笅杞芥ā鍨嬫枃浠躲傛棤闇閰嶇疆 API 瀵嗛挜銆 +2. **DoubaoASR**锛氳眴鍖 ASR 鏈嶅姟锛岄渶瑕侀厤缃 appid 鍜 access_token銆 +3. **TencentASR**锛氳吘璁簯 ASR 鏈嶅姟锛岄渶瑕侀厤缃 appid銆乤ccess_token 鍜 secret_key銆 + +**娉ㄦ剰**锛氬鏋滄偍閫夋嫨 DoubaoASR 鎴 TencentASR锛屼絾鏈彁渚涘畬鏁寸殑閰嶇疆淇℃伅锛岀郴缁熷皢鏃犳硶鍚姩鐩稿簲鏈嶅姟銆傝纭繚鎻愪緵鎵鏈夊繀瑕佺殑鍙傛暟銆 + +### 澶ц瑷妯″瀷鏈嶅姟 (LLM) + +鏈彃浠舵敮鎸佷互涓嬪ぇ璇█妯″瀷鏈嶅姟锛 + +1. **DoubaoLLM**锛氳眴鍖呭ぇ璇█妯″瀷鏈嶅姟 +2. **ChatGLMLLM**锛氭櫤璋 AI 澶ц瑷妯″瀷鏈嶅姟 +3. **DeepSeekLLM**锛欴eepSeek 澶ц瑷妯″瀷鏈嶅姟 + +姣忕 LLM 鏈嶅姟閮介渶瑕侀厤缃浉搴旂殑 model_name 鍜 api_key銆 + +### 濡備綍鑾峰彇鍚勬湇鍔$殑閰嶇疆淇℃伅 + +#### DoubaoASR (璞嗗寘璇煶璇嗗埆) + +- **鑾峰彇鍦板潃**: [鐏北寮曟搸璇煶鏈嶅姟](https://console.volcengine.com/speech/app) +- **appid**: 鐢宠寮閫氱伀灞卞紩鎿庤闊冲悎鎴愭湇鍔″悗鑾峰彇鐨 appid +- **access_token**: 寮閫氬悗鑾峰彇鐨勮闂护鐗 + +#### TencentASR (鑵捐浜戣闊宠瘑鍒) + +- **瀵嗛挜鐢宠**: [鑾峰彇瀵嗛挜](https://console.cloud.tencent.com/cam/capi) +- **鍏嶈垂璧勬簮**: [棰嗗彇鍏嶈垂璧勬簮](https://console.cloud.tencent.com/asr/resourcebundle) +- **appid**: 鑵捐浜戣闊宠瘑鍒湇鍔″簲鐢 ID +- **secret_id**: 鑾峰彇鐨勮吘璁簯璇煶璇嗗埆 SecretID +- **secret_key**: 鑾峰彇鐨勮吘璁簯璇煶璇嗗埆 SecretKey + +#### DoubaoLLM (璞嗗寘澶ц瑷妯″瀷) + +- **寮閫氬湴鍧**: [寮閫氭湇鍔(https://console.volcengine.com/ark/region:ark+cn-beijing/openManagement?LLM=%7B%7D&OpenTokenDrawer=false) +- **鑾峰彇瀵嗛挜**: 寮閫氬悗锛岃繘鍏杩欓噷](https://console.volcengine.com/ark/region:ark+cn-beijing/apiKey?apikey=%7B%7D)鑾峰彇 +- **閫傜敤妯″瀷**: 鎺ㄨ崘妯″瀷鍚 `doubao-pro-32k-functioncall-241028` +- **鍏嶈垂棰濆害**: 寮閫氬悗鎻愪緵 500000 token 鐨勫厤璐归搴 + +#### ChatGLMLLM (鏅鸿氨 AI 澶ц瑷妯″瀷) + +- **鑾峰彇瀵嗛挜**: [鏅鸿氨 AI 骞冲彴](https://bigmodel.cn/usercenter/proj-mgmt/apikeys) +- **鎺ㄨ崘妯″瀷**: `glm-4-flash` (鍏嶈垂妯″瀷锛屼絾闇瑕佹敞鍐屽苟濉啓 API 瀵嗛挜) +- **API 璁块棶**: 妯″瀷閫氳繃 `https://open.bigmodel.cn/api/paas/v4/` 鎺ュ彛璁块棶 + +#### DeepSeekLLM (DeepSeek 澶ц瑷妯″瀷) + +- **鑾峰彇瀵嗛挜**: [DeepSeek 骞冲彴](https://platform.deepseek.com/) +- **妯″瀷鍚嶇О**: 濡 `deepseek-chat` +- **璁块棶鍦板潃**: https://api.deepseek.com + +### 璇煶鍚堟垚鏈嶅姟 (TTS) + +鏈彃浠舵敮鎸佸绉嶈闊冲悎鎴愭湇鍔★細 + +#### EdgeTTS (寰蒋 Edge 娴忚鍣 TTS) + +- **鏃犻渶 API 瀵嗛挜**: 鍏嶈垂浣跨敤鐨勬湰鍦 TTS 鏈嶅姟 +- **榛樿璇煶**: `zh-CN-XiaoxiaoNeural`锛屼腑鏂囧コ澹 + +#### DoubaoTTS (璞嗗寘/鐏北寮曟搸 TTS) + +- **閰嶇疆鍙傛暟**: 闇瑕佽缃甡tts.appid`銆乣tts.access_token`鍜宍tts.voice`锛堝彲閫夛級 +- **鑾峰彇鍦板潃**: [鐏北寮曟搸璇煶鍚堟垚](https://console.volcengine.com/speech/service/8) +- **璐拱寤鸿**: 寤鸿璐拱浠樿垂鏈嶅姟锛岃捣姝ヤ环 30 鍏冨彲鑾峰緱 100 骞跺彂锛屽厤璐圭増鏈彧鏈 2 涓苟鍙 +- **鐗硅壊闊宠壊**: 婀炬咕灏忎綍闊宠壊鍙湪[姝ゅ寮閫歖(https://console.volcengine.com/speech/service/10007) +- **闊宠壊璁剧疆**: 榛樿浣跨敤`BV001_streaming`锛屾咕婀惧皬浣曢煶鑹茶缃负`zh_female_wanwanxiaohe_moon_bigtts` +- **寮閫氳鏄**: 璐拱鏈嶅姟鍚庯紝鍙兘闇瑕佺瓑寰呯害鍗婂皬鏃舵墠鑳戒娇鐢 +- **楠岃瘉瑕佹眰**: 绯荤粺浼氬湪鍚姩鏃堕獙璇 appid 鍜 access_token锛屽鏋滅己灏戝皢鏃犳硶鍚姩 + +### FunASR 鎵嶄細浣跨敤涓嬮潰妯″瀷鏂囦欢 + +鎮ㄥ彲浠ラ氳繃浠ヤ笅鏂瑰紡涓嬭浇妯″瀷鏂囦欢锛堟甯告儏鍐典笅浼氳嚜鍔ㄤ笅杞斤級锛 + +1. 绾胯矾涓锛歔闃块噷榄斿涓嬭浇 SenseVoiceSmall](https://www.modelscope.cn/models/iic/SenseVoiceSmall/summary) +2. 绾胯矾浜岋細[鐧惧害缃戠洏涓嬭浇 SenseVoiceSmall](https://pan.baidu.com/s/1HW_UmfLiXhWwMjzS0GIpWg?pwd=qvna) 鎻愬彇鐮侊細`qvna` + +涓嬭浇鍚庯紝璇峰皢妯″瀷鏂囦欢鏀剧疆鍦ㄤ笂杩拌矾寰勪腑锛屾垨閫氳繃鏂囦欢缂栬緫鍣ㄤ笂浼犲埌 addon 閰嶇疆鐩綍鐨 models/SenseVoiceSmall 鏂囦欢澶逛腑銆 + +### 閰嶇疆鏂囦欢 + +閰嶇疆鏂囦欢浣嶄簬鍔犺浇椤归厤缃洰褰曪細 + +``` +/config/data/.config.yaml +``` + +濡傛灉鏈壘鍒伴厤缃枃浠讹紝绯荤粺浼氳嚜鍔ㄥ垱寤洪粯璁ら厤缃枃浠躲傞娆¤繍琛屾椂锛屼細鎻愮ず鎮ㄤ慨鏀归厤缃枃浠朵腑鐨 API 瀵嗛挜绛夐噸瑕佷俊鎭 + +### 鍒濇杩愯 + +棣栨鍚姩鎻掍欢鏃讹紝浼氬嚭鐜颁互涓嬫祦绋嬶細 + +1. 妫鏌ユā鍨嬫枃浠讹紝涓嶅瓨鍦ㄥ垯鑷姩涓嬭浇 +2. 妫鏌ラ厤缃枃浠讹紝涓嶅瓨鍦ㄥ垯鑷姩鍒涘缓 +3. 鎻愮ず鎮ㄤ慨鏀归厤缃枃浠朵腑鐨 API 瀵嗛挜鍜屽叾浠栬缃 +4. 閰嶇疆濂藉悗闇閲嶅惎鎻掍欢搴旂敤鏇存敼 + +杩欎簺鎻愮ず鍙細鍦ㄩ娆¤繍琛屾椂鏄剧ず锛屽悗缁惎鍔ㄤ笉浼氶噸澶嶆彁绀恒 + +## 鎶鏈疄鐜 + +鏈彃浠跺熀浜庝互涓嬫妧鏈疄鐜帮細 + +1. 浣跨敤 Home Assistant 鏍囧噯鍔犺浇椤圭粨鏋 +2. 閲囩敤 S6-Overlay 杩涜鏈嶅姟绠$悊锛屾彁楂樼ǔ瀹氭у拰鍙潬鎬 +3. 浣跨敤 addon_config 鐩綍瀛樺偍閰嶇疆鍜屾ā鍨嬫枃浠讹紝绗﹀悎 Home Assistant 鏈浣冲疄璺 +4. 鑷姩鍚屾 Home Assistant 鍔犺浇椤归厤缃埌鏈嶅姟鍣ㄩ厤缃 + +## 杩炴帴 ESP32 璁惧 + +1. 纭繚 ESP32 璁惧涓 Home Assistant 鍦ㄥ悓涓缃戠粶 +2. WebSocket 鏈嶅姟鍦板潃锛歚ws://<鎮ㄧ殑Home Assistant IP>:8000/xiaozhi/v1/` +3. 灏 ESP32 璁惧閰嶇疆涓鸿繛鎺ヤ笂杩 WebSocket 鍦板潃 + +## 鏁呴殰鎺掗櫎 + +濡傛灉閬囧埌浠ヤ笅闂锛岃鍙傝冨鐞嗘柟娉曪細 + +1. **璇煶璇嗗埆鍑虹幇闊╂枃銆佹棩鏂囥佽嫳鏂**锛氭鏌ユā鍨嬫枃浠舵槸鍚︽纭姞杞 +2. **TTS 浠诲姟鍑洪敊鎴栬秴鏃**锛氭鏌ョ綉缁滆繛鎺ュ拰閰嶇疆鏂囦欢璁剧疆 +3. **杩炴帴闂**锛氱‘淇 ESP32 璁惧涓 Home Assistant 鍦ㄥ悓涓缃戠粶 +4. **鏃犳硶鑷姩涓嬭浇妯″瀷**锛氱綉缁滈棶棰樻垨鏈嶅姟鍣ㄦ晠闅滐紝璇峰皾璇曟墜鍔ㄤ笅杞 +5. **閰嶇疆闂**锛氬鏋滃湪鍔犺浇椤归〉闈慨鏀圭殑閰嶇疆鏈敓鏁堬紝璇烽噸鍚姞杞介」骞舵鏌ユ棩蹇 +6. **ASR 閰嶇疆涓嶅畬鏁撮敊璇**锛氱‘淇濇偍閫夋嫨鐨 ASR 鏈嶅姟锛堝 DoubaoASR 鎴 TencentASR锛夊凡閰嶇疆鎵鏈夊繀瑕佺殑鍙傛暟 +7. **TTS 閰嶇疆涓嶅畬鏁撮敊璇**锛氬綋閫夋嫨 DoubaoTTS 鏃讹紝纭繚宸查厤缃 appid 鍜 access_token diff --git a/xiaozhi-esp32-server/README.md b/xiaozhi-esp32-server/README.md new file mode 100644 index 0000000..e0894b7 --- /dev/null +++ b/xiaozhi-esp32-server/README.md @@ -0,0 +1,24 @@ +# 鍐摐鐢勯塧ddons锛氬皬鏅 AI Server 鏈绠鍖栫増 + +閫傜敤浜 Home Assistant 鐨勫皬鏅 AI Server 鏈绠鍖栫増鍔犺浇椤广 + +## 鍔熻兘鐗圭偣 + +- 鍩轰簬 WebSocket 鐨勮闊宠瘑鍒湇鍔 +- 鏀寔澶氱璇煶璇嗗埆鏈嶅姟锛團unASR 鏈湴妯″瀷銆佽眴鍖 ASR 鍦ㄧ嚎鏈嶅姟銆佽吘璁 ASR 鍦ㄧ嚎鏈嶅姟锛 +- 鏀寔澶ц瑷妯″瀷瀵硅瘽鍔熻兘 +- 鑷姩涓嬭浇妯″瀷鍜岄厤缃 +- 鏀寔甯歌鏋舵瀯锛歛arch64 鍜 amd64 +- 浣跨敤 S6-Overlay 绠$悊鏈嶅姟 + +## 浣跨敤鏂规硶 + +1. 瀹夎鍔犺浇椤 +2. 閰嶇疆璇煶璇嗗埆鏈嶅姟 (ASR) 鍜屽ぇ璇█妯″瀷 (LLM) 鍙傛暟 +3. 鐐瑰嚮鍚姩锛屽苟鏌ョ湅鏃ュ織锛岀瓑寰呭皬鏅哄鎴风鎺ュ叆 + +璇︾粏浣跨敤璇存槑璇峰弬闃 DOCS.md 鏂囨。銆 + +## 鏀寔涓庡弽棣 + +鏈」鐩熀浜嶽xinnan-tech/xiaozhi-esp32-server](https://github.com/xinnan-tech/xiaozhi-esp32-server) 寮鍙戙 diff --git a/xiaozhi-esp32-server/config.yaml b/xiaozhi-esp32-server/config.yaml new file mode 100644 index 0000000..933c86d --- /dev/null +++ b/xiaozhi-esp32-server/config.yaml @@ -0,0 +1,23 @@ +name: "灏忔櫤 AI Server 鏈绠鍖栫増" +version: "0.8.5" +slug: "xiaozhi_esp32_server" +description: "灏忔櫤 AI Server 鏈绠鍖栫増 - 鎻愪緵璇煶璇嗗埆銆佸璇濆拰鎺у埗鍔熻兘锛屾敮鎸佷笌ESP32璁惧閫氫俊" +url: "https://gitcode.com/waxgourd/addons" +arch: + - aarch64 + - amd64 +startup: application +boot: manual +ports: + 8000/tcp: 8000 + 8003/tcp: 8003 +ports_description: + 8000/tcp: "WebSocket鏈嶅姟绔彛" + 8003/tcp: "http鏈嶅姟鐨勭鍙o紝鐢ㄤ簬绠鍗昈TA鎺ュ彛(鍗曟湇鍔¢儴缃)锛屼互鍙婅瑙夊垎鏋愭帴鍙" +map: + - addon_config:rw +host_network: false +init: false +watchdog: "tcp://[HOST]:[PORT:8000]" +journald: true +image: r.hassbus.com/wghaos/xiaozhi-esp32-server-{arch} diff --git a/xiaozhi-esp32-server/icon.png b/xiaozhi-esp32-server/icon.png new file mode 100644 index 0000000..3a9798f Binary files /dev/null and b/xiaozhi-esp32-server/icon.png differ diff --git a/xiaozhi-esp32-server/logo.png b/xiaozhi-esp32-server/logo.png new file mode 100644 index 0000000..a233d94 Binary files /dev/null and b/xiaozhi-esp32-server/logo.png differ diff --git a/xiaozhi-esp32-webui/CHANGELOG.md b/xiaozhi-esp32-webui/CHANGELOG.md new file mode 100644 index 0000000..9c05b12 --- /dev/null +++ b/xiaozhi-esp32-webui/CHANGELOG.md @@ -0,0 +1,40 @@ +## 0.8.5 (2025-10-21) +- 鐗堟湰鍗囩骇 +## 0.8.2 (2025-09-23) +- 鐗堟湰鍗囩骇 +## 0.7.6 (2025-09-10) +- 鐗堟湰鍗囩骇 +## 0.7.4 (2025-08-15) +- 鐗堟湰鍗囩骇 +## 0.7.2 (2025-07-24) +- 鐗堟湰鍗囩骇 +## 0.6.3 (2025-07-11) +- 鐗堟湰鍗囩骇 +## 0.6.2 (2025-07-03) +- 鐗堟湰鍗囩骇 +## 0.5.7 (2025-06-18) +- 鐗堟湰鍗囩骇 +## 0.5.5 (2025-06-09) +- 鐗堟湰鍗囩骇 +## 0.5.4 (2025-06-05) +- 鐗堟湰鍗囩骇 +## 0.5.3 (2025-06-03) +- 鐗堟湰鍗囩骇 +## 0.5.1 (2025-05-29) +- 鐗堟湰鍗囩骇 +## 0.4.4 (2025-05-23) +- 鐗堟湰鍗囩骇 +## 0.4.3 (2025-05-16) +- 鐗堟湰鍗囩骇 +## 0.4.2 (2025-05-13) +- 鐗堟湰鍗囩骇 +## 0.4.1 (2025-05-08) +- 鐗堟湰鍗囩骇 +## 0.3.13 (2025-05-07) +- 鐗堟湰鍗囩骇 +## 0.3.12 (2025-04-28) +- 鐗堟湰鍗囩骇 +## 0.3.11 (2025-04-27) +- 鐗堟湰鍗囩骇 +## 0.3.4 (2025-04-25) +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/xiaozhi-esp32-webui/DOCS.md b/xiaozhi-esp32-webui/DOCS.md new file mode 100644 index 0000000..524ab80 --- /dev/null +++ b/xiaozhi-esp32-webui/DOCS.md @@ -0,0 +1,108 @@ +# 灏忔櫤 AI 鏅烘帶鍙 + +鏈姞杞介」鎻愪緵灏忔櫤 ESP32 鏄櫤鎺у彴鐨刣ocker鏈嶅姟锛岄渶閰嶅悎鍏跺畠addons涓璧蜂娇鐢紝蹇熶綋楠屾湰鍦板寲灏忔櫤鍚庣鏈嶅姟鍏ㄥ姛鑳界増鐨勪箰瓒c + +## 瀹夎鏂规硶涓庢搴 + 1. 鍦ㄥ姞杞介」浠撳簱涓紝鍙﹀瀹夎閰嶅鐨刟ddons + + mariadb锛堝湪core浠撳簱涓紝HA瀹樻柟鑷甫锛 + + redis server锛堝湪鍐摐鐢勯変粨搴撲腑锛 + + 灏忔櫤AI server鏈绠瀹夎鐗堬紙鍦ㄥ啲鐡滅攧閫変粨搴撲腑锛 + + 1. "Redis Server" 鐩存帴鍚姩 + + 鏃犻渶浠讳綍鎿嶄綔 + + 1. 閰嶇疆"MariaDB" 骞跺惎鍔 + + 锛1锛夊湪鈥淒atabases鈥濋噷澧炲姞涓嬮潰鍐呭锛岀劧鍚庡洖杞 + + ``` + xiaozhi_esp32_server + ``` + + 锛2锛夊湪鈥淟ogins鈥濅慨鏀规暟鎹簱瀵嗙爜涓簉oot锛岀渷浜嬪彲鐢ㄤ笅闈竴琛岀洿鎺ユ浛鎹㈢涓琛 + + ``` + - password: root + ``` + + 锛3锛夊湪鈥淩ights鈥濇渶鍚庡鍔犱互涓嬪唴瀹 + + ``` + - database: xiaozhi_esp32_server + username: homeassistant + ``` + + 锛4锛変繚瀛樺悗鍚姩 + + 1. "灏忔櫤 AI 鏅烘帶鍙" 锛堟湰addons锛夌洿鎺ュ惎鍔 + + 鍥犱负鏈枃妗e紑濮嬶紝鐩存帴榛樿璁剧疆浜唌ariadb鐨勫瘑鐮佷负root銆俽edis鐨勬湇鍔″櫒鐩存帴璁剧疆涓衡滃啲鐡滅攧閫変粨搴撯濅腑鐨剅edis鏈嶅姟鍣ㄥ悕銆傛墍浠ョ洿鎺ュ惎鍔ㄥ氨琛屻 + + 锛1锛夎嚜宸辨敞鍐屼竴涓鐞嗗憳骞剁櫥褰 + + 锛2锛夎繘鍏ュ悗锛岀偣鍑讳笂鏂圭殑鈥滃弬鏁扮鐞嗏濓紝澶嶅埗绗竴琛屽紑澶翠负鈥渟erver.secret鈥濋噷鐨勨滃弬鏁板尖濋噷鐨勫瓧绗︿覆 + + 锛3锛夋ā鍨嬮厤缃斺旈厤缃ぇ璇煶妯″瀷锛堝缓璁眴鍖咃級 + + 锛4锛夋ā鍨嬮厤缃斺旈厤缃闊冲悎鎴愶紙寤鸿璞嗗寘锛 + + 锛5锛夋ā鍨嬮厤缃斺旈厤缃闊宠瘑鍒紙寤鸿璞嗗寘锛 + + 锛6锛夋ā鍨嬮厤缃斺旈厤缃剰鍥捐瘑鍒紙闇瑕佹帶鍒禜A鐨勮瘽锛岄夋渶鍚庝竴椤光淚ntent_function_call鈥濓紝璁剧疆涓"榛樿"锛 + + - 鐒跺悗鐐瑰嚮鈥滀慨鏀光濓紝鍦ㄢ滃嚱鏁板垪琛ㄢ濈殑鏈鍚庨潰锛屽姞涓婁互涓嬬殑瀛楃鍚庯紝淇濆瓨銆 + + ``` + ;hass_get_state;hass_set_state + ``` + +1. 閰嶇疆 "灏忔櫤 AI Server鏈绠瀹夎鐗" + + 锛1锛夊厛鍚姩涓娆★紝绛夐粯璁ら厤缃敓鎴愶紝鐒跺悗鍋滄銆 + + 锛2锛変娇鐢╢ilebrowser绛夋柟寮忥紝淇敼鈥滃皬鏅篈I Server鏈绠瀹夎鐗堚濈殑锛屽湪鈥渁ddon_configs鈥濈洰褰曗斺斺7eca76cc_xiaozhi_esp32_server鈥濈洰褰曗斺斺渄ata鈥濈洰褰曗斺旂紪杈戔.config.yaml鈥濇枃浠 + + - 鎶奾ttp://127.0.0.1:8002/xiaozhi閭d竴琛屾浛鎹㈡垚 + + ``` + url: http://homeassistant.local:8002/xiaozhi + ``` + + - 鎶婂垰鎵嶅鍒剁殑鈥渟erver.secret鈥濓紝鏀惧埌鏈鍚庝竴琛屾浛鎹㈡帀锛屾敞鎰忕┖鏍艰鐣欏ソ銆 + + 锛3锛夊惎鍔ㄢ滃皬鏅 AI Server鏈绠瀹夎鐗堚濇湇鍔° + + 1. 閰嶇疆"灏忔櫤 AI 鏅烘帶鍙"鎺ュ彛绛 + + 涓婄画鎿嶄綔绛夛紝宸辩粡鑳芥甯稿惎鍔ㄤ簡銆備絾鏄櫤鎺у彴涓滃弬鏁扮鐞嗏濅腑 + + - server.websocket + + ``` + ws://homeassistant.local:8000/xiaozhi/v1/ + ``` + + + + 鍏抽敭宸辫鏄庯紝鍙互鐩存帴寮濮嬩娇鐢紝缁嗚妭閰嶇疆澶у鐪嬩竴涓嬪畼鏂圭殑璇存槑 +## 澶囩敤鐨勬妧鏈弬鑰冮厤缃紙鍙拷鐣ワ級 + +```yaml +mysql_host: core-mariadb #MySQL/MariaDB鏁版嵁搴撲富鏈哄湴鍧,鏌ョ湅鏂瑰紡锛欻ome Assistant 鈫 璁剧疆 鈫 鍔犺浇椤 鈫 MySQL/MariaDB 鈫 淇℃伅 鈫 瀹夸富鍚 +mysql_port: 3306 #MySQL/MariaDB鏁版嵁搴撶鍙o紙榛樿: 3306锛 +mysql_database: xiaozhi_esp32_server #瑕佷娇鐢ㄧ殑鏁版嵁搴撳悕绉 +mysql_username: homeassistant #鏁版嵁搴撹璇佺敤鎴峰悕 +mysql_password: root #鏁版嵁搴撹璇佸瘑鐮 +redis_host: 0920e2ff-redis-server #Redis鏈嶅姟鍣ㄤ富鏈哄湴鍧锛屾煡鐪嬫柟寮忥細Home Assistant 鈫 璁剧疆 鈫 鍔犺浇椤 鈫 Redis Server 鈫 淇℃伅 鈫 瀹夸富鍚 +redis_port: 6379 #Redis鏈嶅姟鍣ㄧ鍙o紙榛樿: 6379锛 +timezone: Asia/Shanghai #璁剧疆鏈嶅姟鍣ㄦ椂鍖 +``` + +## 浣跨敤璇存槑 + +1. 鍚姩鍚庯紝鐐瑰嚮鈥滄墦寮缃戦〉鐣岄潰鈥濓紝娴忚鍣ㄨ闂 http://homeassistant.local:8002 杩涘叆 Web 绠$悊鐣岄潰 +2. 棣栨璁块棶闇瑕佹敞鍐岀敤鎴 \ No newline at end of file diff --git a/xiaozhi-esp32-webui/README.md b/xiaozhi-esp32-webui/README.md new file mode 100644 index 0000000..22c65d7 --- /dev/null +++ b/xiaozhi-esp32-webui/README.md @@ -0,0 +1,14 @@ +# 鍐摐鐢勯塧ddons锛氬皬鏅 AI 鏅烘帶鍙 + +閫傜敤浜 Home Assistant 鐨 灏忔櫤 AI 鏅烘帶鍙扮殑鍔犺浇椤广傚畠鏄笉鑳藉崟鐙娇鐢ㄧ殑锛岄渶瑕侀厤鍚坢ariadb锛宺edis server鍜屸滃皬鏅篈I Server鏈绠鐗堚濆悓鏃朵娇鐢ㄣ + +## 鐩稿叧璇存槑 + +1. 灏忔櫤鍚庣鏈嶅姟xiaozhi-esp32-server甯冪讲鏈変袱绉嶆柟寮忋傞兘鏄噰鐢ㄧ殑docker compose鐨勫畨瑁呮柟寮忥紝鍏朵腑鏈変竴涓叏妯″潡瀹夎娉曘 +2. 姝ゆ鎹㈢鏂瑰紡锛屾病鏈夊叏濂楁墦鍖咃紝鑰屾槸鍏呭垎浣撶幇灏忓瀷浜戜富鏈虹壒鐐癸紝涓嶅悓鐨刣ocker褰㈡垚涓嶅悓鐨刟ddons锛岀浉浜掗厤鍚堜娇鐢ㄣ + +璇︾粏浣跨敤璇存槑璇峰師椤圭洰鐨勫府鍔╂枃妗e拰缃戜笂鐨勪竴浜涚粡楠屻 + +## 鏀寔涓庡弽棣 + +鏈」鐩熀浜嶽xinnan-tech/xiaozhi-esp32-server](https://github.com/xinnan-tech/xiaozhi-esp32-server) 寮鍙戙 diff --git a/xiaozhi-esp32-webui/config.yaml b/xiaozhi-esp32-webui/config.yaml new file mode 100644 index 0000000..f7b1e17 --- /dev/null +++ b/xiaozhi-esp32-webui/config.yaml @@ -0,0 +1,39 @@ +name: "灏忔櫤 AI 鏅烘帶鍙" +version: "0.8.5" +slug: "xiaozhi_esp32_webui" +description: "灏忔櫤 AI 鏅烘帶鍙 - 鎻愪緵璇煶璇嗗埆銆佸璇濆拰鎺у埗鍔熻兘锛屾敮鎸佷笌ESP32璁惧閫氫俊锛岄泦鎴怶EB绠$悊鐣岄潰" +url: "https://gitcode.com/waxgourd/addons" +arch: + - aarch64 + - amd64 +startup: application +boot: manual +translations: true +ports: + 8002/tcp: 8002 +ports_description: + 8002/tcp: "WEB鏈嶅姟绔彛" +host_network: false +init: false +webui: "http://[HOST]:[PORT:8002]/" +watchdog: "http://[HOST]:[PORT:8002]/" +journald: true +options: + mysql_host: core-mariadb + mysql_port: 3306 + mysql_database: xiaozhi_esp32_server + mysql_username: homeassistant + mysql_password: root + redis_host: 7eca76cc-redis-server + redis_port: 6379 + timezone: Asia/Shanghai +schema: + mysql_host: str + mysql_port: port + mysql_database: str + mysql_username: str + mysql_password: password + redis_host: str + redis_port: port + timezone: str +image: "r.hassbus.com/wghaos/xiaozhi-esp32-webui" diff --git a/xiaozhi-esp32-webui/icon.png b/xiaozhi-esp32-webui/icon.png new file mode 100644 index 0000000..01869ac Binary files /dev/null and b/xiaozhi-esp32-webui/icon.png differ diff --git a/xiaozhi-esp32-webui/logo.png b/xiaozhi-esp32-webui/logo.png new file mode 100644 index 0000000..550b470 Binary files /dev/null and b/xiaozhi-esp32-webui/logo.png differ diff --git a/xiaozhi-esp32-webui/translations/en.yaml b/xiaozhi-esp32-webui/translations/en.yaml new file mode 100644 index 0000000..82502c5 --- /dev/null +++ b/xiaozhi-esp32-webui/translations/en.yaml @@ -0,0 +1,29 @@ +--- +configuration: + mysql_host: + name: "MySQL Host" + description: "MySQL/MariaDB database host address" + mysql_port: + name: "MySQL Port" + description: "MySQL/MariaDB database port (default: 3306)" + mysql_database: + name: "MySQL Database" + description: "Name of the database to use" + mysql_username: + name: "MySQL Username" + description: "Username for database authentication" + mysql_password: + name: "MySQL Password" + description: "Password for database authentication" + redis_host: + name: "Redis Host" + description: "Redis server host address" + redis_port: + name: "Redis Port" + description: "Redis server port (default: 6379)" + timezone: + name: "Timezone" + description: "Set the server timezone" + +network: + 8002/tcp: "Web management interface port" diff --git a/xiaozhi-esp32-webui/translations/zh-Hans.yaml b/xiaozhi-esp32-webui/translations/zh-Hans.yaml new file mode 100644 index 0000000..86aa1ef --- /dev/null +++ b/xiaozhi-esp32-webui/translations/zh-Hans.yaml @@ -0,0 +1,29 @@ +--- +configuration: + mysql_host: + name: "MySQL涓绘満" + description: "MySQL/MariaDB鏁版嵁搴撲富鏈哄湴鍧" + mysql_port: + name: "MySQL绔彛" + description: "MySQL/MariaDB鏁版嵁搴撶鍙o紙榛樿: 3306锛" + mysql_database: + name: "MySQL鏁版嵁搴撳悕" + description: "瑕佷娇鐢ㄧ殑鏁版嵁搴撳悕绉" + mysql_username: + name: "MySQL鐢ㄦ埛鍚" + description: "鏁版嵁搴撹璇佺敤鎴峰悕" + mysql_password: + name: "MySQL瀵嗙爜" + description: "鏁版嵁搴撹璇佸瘑鐮" + redis_host: + name: "Redis涓绘満" + description: "Redis鏈嶅姟鍣ㄤ富鏈哄湴鍧" + redis_port: + name: "Redis绔彛" + description: "Redis鏈嶅姟鍣ㄧ鍙o紙榛樿: 6379锛" + timezone: + name: "鏃跺尯" + description: "璁剧疆鏈嶅姟鍣ㄦ椂鍖" + +network: + 8002/tcp: "Web绠$悊鐣岄潰绔彛" diff --git a/xiaozhi-mcp-server/CHANGELOG.md b/xiaozhi-mcp-server/CHANGELOG.md new file mode 100644 index 0000000..2163763 --- /dev/null +++ b/xiaozhi-mcp-server/CHANGELOG.md @@ -0,0 +1,3 @@ +### 1.0锛2025-05-20锛 + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/xiaozhi-mcp-server/DOCS.md b/xiaozhi-mcp-server/DOCS.md new file mode 100644 index 0000000..63436c6 --- /dev/null +++ b/xiaozhi-mcp-server/DOCS.md @@ -0,0 +1,24 @@ +# 灏忔櫤 Mcp Server + +## 瀹夎 +1. 瀹夎鏈琣ddons +2. 瀹夎Mcp Server 鏈嶅姟鍣ㄦ彃浠 +3. 鐧诲綍灏忔櫤骞冲彴锛岃幏鍙朚cp鎺ュ叆鐐 + +## 浣跨敤璇存槑: +### 鍙傛暟璇存槑 +1. **灏忔櫤 MCP 鎺ュ叆鐐癸細** 鐧诲綍[灏忔櫤瀹樻柟]( https://xiaozhi.me/console/agents )鏈嶅姟鍣ㄥ嵆鍙幏鍙栥 +2. **HA MCP SERVER 鍦板潃锛** 鐩存帴瀹夎MCP Server闆嗘垚銆 + * 鐐瑰嚮姝ら摼鎺ワ細[Home Assistant MCP Server 闆嗘垚](https://my.home-assistant.io/redirect/config_flow_start?domain=mcp_server)鐩磋揪瀹夎 + * 鎴 鍦 Home Assistant 涓紝鍓嶅線 **璁剧疆 > 璁惧鍜屾湇鍔 > 娣诲姞闆嗘垚 > Model Context Protocol Server**銆 + * 榛樿鐩存帴纭鎴栦粠鍒楄〃涓夋嫨鈥**妯″瀷涓婁笅鏂囧崗璁湇鍔″櫒**鈥濓紝骞舵寜鐓у睆骞曚笂鐨勮鏄庡畬鎴愯缃 +3. **HA闀挎晥 API 浠ょ墝锛** 鐢ㄤ簬鎺堟潈璁块棶浣犵殑 Home Assistant 瀹炰緥銆 + * 璁块棶浣犵殑 [Home Assistant 璐︽埛閰嶇疆鏂囦欢璁剧疆](https://my.home-assistant.io/redirect/profile)锛岃繘鍏モ**瀹夊叏**鈥濋夐」鍗° + * 鍒涘缓**闀挎湡璁块棶浠ょ墝**銆 +4. **澶囨敞锛** ha涓殑鏈嶅姟鍣ㄥ湴鍧涓哄煙鍐欐硶锛屽彲浠ヤ笉鐢ㄦ洿鏀广 + + + +鈥斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺斺 + +浣滆呭師甯栵細[灏忔櫤AI鍜孒a鏃犵紳瀵规帴锛氬畼鏂 MCP 鎺ュ叆鐐圭殑鏈浣冲疄璺礭(https://bbs.hassbian.com/thread-29314-1-1.html) \ No newline at end of file diff --git a/xiaozhi-mcp-server/README.md b/xiaozhi-mcp-server/README.md new file mode 100644 index 0000000..7c045b0 --- /dev/null +++ b/xiaozhi-mcp-server/README.md @@ -0,0 +1,14 @@ +# 鍐摐鐢勯堿ddons: 灏忔櫤 Mcp Server + + + +## 鍏充簬 + +鏈琣ddons鐢辩氭濆郊宀歌鍧泂hay鐨刣ocker鐢熸垚銆傚皬鏅哄畼鏂规湇鍔″櫒(铏惧摜)瀵规帴home assistant鐨刴cp server + +## 鍘熺悊 + +鍒╃敤ha鐨刴cp server闆嗘垚涓庡皬鏅哄畼鏂瑰钩鍙扮殑mcp鎺ュ彛杩涜瀵规帴锛屽揩閫熷疄鐜癆I璇煶璁惧鎺у埗 + +## 鏉ユ簮 +Github: https://github.com/shawn996/mcp_ha_xiaozhi \ No newline at end of file diff --git a/xiaozhi-mcp-server/config.yaml b/xiaozhi-mcp-server/config.yaml new file mode 100644 index 0000000..40ffce7 --- /dev/null +++ b/xiaozhi-mcp-server/config.yaml @@ -0,0 +1,25 @@ +name: "灏忔櫤 Mcp Server" +version: "1.0" +slug: "mcp_ha_xiaozhi" +description: "灏忔櫤瀹樻柟鏈嶅姟鍣(铏惧摜)瀵规帴home assistant鐨刴cp server" +url: "https://gitcode.com/waxgourd/addons" +arch: + - aarch64 + - amd64 +startup: application +boot: manual +translations: true +init: false +environment: + XIAOZHI_MCP_ENDPOINT: "wss://api.xiaozhi.me/mcp/?token=" + HA_MCP_ENDPOINT: "http://homeassistant:8123/mcp_server/sse" + API_ACCESS_TOKEN: "" +options: + XIAOZHI_MCP_ENDPOINT: "wss://api.xiaozhi.me/mcp/?token=" + HA_MCP_ENDPOINT: "http://homeassistant:8123/mcp_server/sse" + API_ACCESS_TOKEN: +schema: + XIAOZHI_MCP_ENDPOINT: str + HA_MCP_ENDPOINT: str + API_ACCESS_TOKEN: str +image: "r.hassbus.com/wghaos/xiaozhi-mcp-server" diff --git a/xiaozhi-mcp-server/icon.png b/xiaozhi-mcp-server/icon.png new file mode 100644 index 0000000..4ffe02b Binary files /dev/null and b/xiaozhi-mcp-server/icon.png differ diff --git a/xiaozhi-mcp-server/logo.png b/xiaozhi-mcp-server/logo.png new file mode 100644 index 0000000..4ffe02b Binary files /dev/null and b/xiaozhi-mcp-server/logo.png differ diff --git a/xiaozhi-mcp-server/translations/en.yaml b/xiaozhi-mcp-server/translations/en.yaml new file mode 100644 index 0000000..559c97d --- /dev/null +++ b/xiaozhi-mcp-server/translations/en.yaml @@ -0,0 +1,10 @@ +configuration: + XIAOZHI_MCP_ENDPOINT: + name: XIAOZHI_MCP_ENDPOINT + description: Your XiaoZhi MCP access point + HA_MCP_ENDPOINT: + name: HA_MCP_ENDPOINT + description: Your HA MCP server address + API_ACCESS_TOKEN: + name: API_ACCESS_TOKEN + description: Your HA MCP server address diff --git a/xiaozhi-mcp-server/translations/zh-Hans.yaml b/xiaozhi-mcp-server/translations/zh-Hans.yaml new file mode 100644 index 0000000..7185f1b --- /dev/null +++ b/xiaozhi-mcp-server/translations/zh-Hans.yaml @@ -0,0 +1,10 @@ +configuration: + XIAOZHI_MCP_ENDPOINT: + name: XIAOZHI_MCP_ENDPOINT + description: 浣犵殑灏忔櫤 MCP 鎺ュ叆鐐 + HA_MCP_ENDPOINT: + name: HA_MCP_ENDPOINT + description: 浣犵殑 HA MCP SERVER 鍦板潃 + API_ACCESS_TOKEN: + name: API_ACCESS_TOKEN + description: 浣犵殑闀挎晥 API 浠ょ墝 \ No newline at end of file diff --git a/xunlei-test/CHANGELOG.md b/xunlei-test/CHANGELOG.md new file mode 100644 index 0000000..8f19648 --- /dev/null +++ b/xunlei-test/CHANGELOG.md @@ -0,0 +1,23 @@ +### 3.20.2-4 锛2025-06-24锛 + +- 鐗堟湰鍗囩骇 + +### 3.20.2-3 锛2025-06-24锛 + +- 鐗堟湰鍗囩骇 + +### 3.20.2-2 锛2025-06-20锛 + +- 鐗堟湰鍗囩骇 + +### 3.20.2 锛2024-10-14锛 + +- 鐗堟湰鍗囩骇 + +### 3.20.1 锛2024-08-09锛 + +- 鐗堟湰鍗囩骇 + +### 3.7.1 锛2024-08-08锛 + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/xunlei-test/DOCS.md b/xunlei-test/DOCS.md new file mode 100644 index 0000000..694dcdb --- /dev/null +++ b/xunlei-test/DOCS.md @@ -0,0 +1,17 @@ +# Xunlei(杩呴浄)鍐呮祴鐗 + +## 浣跨敤璇存槑 + +1銆佸湪**閰嶇疆**椤甸潰涓壘鍒**瀛樺偍璺緞**銆 + + - 鏀寔璺緞涓 `/media` 鍜 `/share`銆 + +2銆佽繍琛屽悗鐐瑰嚮**鎵撳紑 WEB UI**浼氭柊寤虹獥鍙f墦寮銆 + +3銆**鎵嬫満鎵弿**鎴栦娇鐢**璐﹀彿瀵嗙爜鐧诲綍**銆 + +4銆佺偣鍑**鏂板缓浠诲姟**鍦**娣诲姞閾炬帴**绮樿创闇瑕佷笅杞界殑鍦板潃銆 + +5銆**涓嬭浇鍒**閫夋嫨闇瑕佷繚瀛樼殑璺緞锛堣繀闆蜂笅杞藉氨鏄痙ownloads鐩綍锛夈 + +6銆佺劧鍚庨氳繃鏂囦欢娴忚鍣紙Filebrowser锛夎繘鍏ュ埌**瀛樺偍璺緞**鍗冲彲鏌ョ湅銆 \ No newline at end of file diff --git a/xunlei-test/README.md b/xunlei-test/README.md new file mode 100644 index 0000000..8b32467 --- /dev/null +++ b/xunlei-test/README.md @@ -0,0 +1,9 @@ +# 鍐摐鐢勯塧ddons锛歑unlei(杩呴浄)鍐呮祴鐗 + +## 鍏充簬 + +鐭ュ悕鐨勫浗鍐呬笅杞藉伐鍏凤紝鐧诲綍鍚庡嵆鍙繙绋嬩笅杞藉埌瀛樺偍鍣ㄤ腑銆 + +## 鏉ユ簮 + +https://github.com/cnk3x/xunlei \ No newline at end of file diff --git a/xunlei-test/apparmor.txt b/xunlei-test/apparmor.txt new file mode 100644 index 0000000..80ce69f --- /dev/null +++ b/xunlei-test/apparmor.txt @@ -0,0 +1,52 @@ +#include + +profile xunlei-test flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + mount, + umount, + remount, + + capability setgid, + capability setuid, + capability dac_override, + + # S6-Overlay + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /proc/self/attr/** mrwkl, + # Files required + /dev/sda1 mrwkl, + /dev/sda7 mrwkl, + /dev/sda8 mrwkl, + /dev/sdb1 mrwkl, + /dev/mmcblk0p1 mrwkl, + /dev/* mrwkl, + /tmp/** mrkwl, + /xunlei/** mrkwl, + /media mrkwl, + /share mrkwl, + + # Data access + /data/** rw, + /addon_configs/** rw, + + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} diff --git a/xunlei-test/config.yaml b/xunlei-test/config.yaml new file mode 100644 index 0000000..5af8cac --- /dev/null +++ b/xunlei-test/config.yaml @@ -0,0 +1,29 @@ +name: Xunlei(杩呴浄)鍐呮祴鐗 +version: 3.20.2-4 +slug: xunlei-test +codenotary: wghaos@163.com +description: 杩呴浄NAS鍐呮祴鐗 +image: r.hassbus.com/wghaos/xunlei +url: https://gitcode.com/waxgourd/addons +init: false +arch: + - aarch64 + - amd64 +boot: manual +ports: + 2345/tcp: 2345 +webui: "http://[HOST]:[PORT:2345]/" +map: + - media:rw + - share:rw +apparmor: true +privileged: + - SYS_ADMIN +options: + download_path: "/share" + user: "" + password: "" +schema: + download_path: str + user: str + password: str diff --git a/xunlei-test/icon.png b/xunlei-test/icon.png new file mode 100644 index 0000000..c601b57 Binary files /dev/null and b/xunlei-test/icon.png differ diff --git a/xunlei-test/logo.png b/xunlei-test/logo.png new file mode 100644 index 0000000..c601b57 Binary files /dev/null and b/xunlei-test/logo.png differ diff --git a/xunlei-test/translations/en.yaml b/xunlei-test/translations/en.yaml new file mode 100644 index 0000000..6a021e8 --- /dev/null +++ b/xunlei-test/translations/en.yaml @@ -0,0 +1,14 @@ +--- +configuration: + download_path: + name: download_path + description: >- + download path + user: + name: user + description: >- + user + password: + name: password + description: >- + password \ No newline at end of file diff --git a/xunlei-test/translations/zh-Hans.yaml b/xunlei-test/translations/zh-Hans.yaml new file mode 100644 index 0000000..1f73f01 --- /dev/null +++ b/xunlei-test/translations/zh-Hans.yaml @@ -0,0 +1,14 @@ +--- +configuration: + download_path: + name: 瀛樺偍璺緞 + description: >- + 闇瑕佷繚瀛樼殑璺緞 + user: + name: 鐢ㄦ埛鍚 + description: >- + 闈炲繀濉」锛岃繘鍏ラ〉闈㈠悗闇瑕佽緭鍏ヨ鐢ㄦ埛鍚 + password: + name: 瀵嗙爜 + description: >- + 闈炲繀濉」锛岃繘鍏ラ〉闈㈠悗闇瑕佽緭鍏ヨ瀵嗙爜 \ No newline at end of file diff --git a/xunlei/CHANGELOG.md b/xunlei/CHANGELOG.md new file mode 100644 index 0000000..3b6783d --- /dev/null +++ b/xunlei/CHANGELOG.md @@ -0,0 +1,11 @@ +### 3.20.2 锛2024-10-14锛 + +- 鐗堟湰鍗囩骇 + +### 3.20.1 锛2024-08-09锛 + +- 鐗堟湰鍗囩骇 + +### 3.7.1 锛2024-08-08锛 + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/xunlei/DOCS.md b/xunlei/DOCS.md new file mode 100644 index 0000000..c506b04 --- /dev/null +++ b/xunlei/DOCS.md @@ -0,0 +1,17 @@ +# Xunlei(杩呴浄) + +## 浣跨敤璇存槑 + +1銆佸湪**閰嶇疆**椤甸潰涓壘鍒**瀛樺偍璺緞**銆 + + - 鏀寔璺緞涓 `/media` 鍜 `/share`銆 + +2銆佽繍琛屽悗鐐瑰嚮**鎵撳紑 WEB UI**浼氭柊寤虹獥鍙f墦寮銆 + +3銆**鎵嬫満鎵弿**鎴栦娇鐢**璐﹀彿瀵嗙爜鐧诲綍**銆 + +4銆佺偣鍑**鏂板缓浠诲姟**鍦**娣诲姞閾炬帴**绮樿创闇瑕佷笅杞界殑鍦板潃銆 + +5銆**涓嬭浇鍒**閫夋嫨闇瑕佷繚瀛樼殑璺緞锛堣繀闆蜂笅杞藉氨鏄痙ownloads鐩綍锛夈 + +6銆佺劧鍚庨氳繃鏂囦欢娴忚鍣紙Filebrowser锛夎繘鍏ュ埌**瀛樺偍璺緞**鍗冲彲鏌ョ湅銆 \ No newline at end of file diff --git a/xunlei/README.md b/xunlei/README.md new file mode 100644 index 0000000..d6dd432 --- /dev/null +++ b/xunlei/README.md @@ -0,0 +1,9 @@ +# 鍐摐鐢勯塧ddons锛歑unlei(杩呴浄) + +## 鍏充簬 + +鐭ュ悕鐨勫浗鍐呬笅杞藉伐鍏凤紝鐧诲綍鍚庡嵆鍙繙绋嬩笅杞藉埌瀛樺偍鍣ㄤ腑銆 + +## 鏉ユ簮 + +https://github.com/cnk3x/xunlei \ No newline at end of file diff --git a/xunlei/apparmor.txt b/xunlei/apparmor.txt new file mode 100644 index 0000000..0d278e4 --- /dev/null +++ b/xunlei/apparmor.txt @@ -0,0 +1,52 @@ +#include + +profile xunlei flags=(attach_disconnected,mediate_deleted) { + #include + + capability, + file, + mount, + umount, + remount, + + capability setgid, + capability setuid, + capability dac_override, + + # S6-Overlay + /bin/** ix, + /usr/bin/** ix, + /usr/lib/bashio/** ix, + /etc/s6/** rix, + /run/s6/** rix, + /etc/services.d/** rwix, + /etc/cont-init.d/** rwix, + /etc/cont-finish.d/** rwix, + /init rix, + /var/run/** mrwkl, + /var/run/ mrwkl, + /proc/self/attr/** mrwkl, + # Files required + /dev/sda1 mrwkl, + /dev/sda7 mrwkl, + /dev/sda8 mrwkl, + /dev/sdb1 mrwkl, + /dev/mmcblk0p1 mrwkl, + /dev/* mrwkl, + /tmp/** mrkwl, + /xunlei/** mrkwl, + /media mrkwl, + /share mrkwl, + + # Data access + /data/** rw, + /addon_configs/** rw, + + + # suppress ptrace denials when using 'docker ps' or using 'ps' inside a container + ptrace (trace,read) peer=docker-default, + + # docker daemon confinement requires explict allow rule for signal + signal (receive) set=(kill,term) peer=/usr/bin/docker, + +} diff --git a/xunlei/config.yaml b/xunlei/config.yaml new file mode 100644 index 0000000..266060d --- /dev/null +++ b/xunlei/config.yaml @@ -0,0 +1,29 @@ +name: Xunlei(杩呴浄) +version: 3.20.2 +slug: xunlei +codenotary: wghaos@163.com +description: 杩呴浄NAS鐗 +image: r.hassbus.com/wghaos/xunlei +url: https://gitcode.com/waxgourd/addons +init: false +arch: + - aarch64 + - amd64 +boot: manual +ports: + 2345/tcp: 2345 +webui: "http://[HOST]:[PORT:2345]/" +map: + - media:rw + - share:rw +apparmor: true +privileged: + - SYS_ADMIN +options: + download_path: "/share" + user: "" + password: "" +schema: + download_path: str + user: str + password: str diff --git a/xunlei/icon.png b/xunlei/icon.png new file mode 100644 index 0000000..c601b57 Binary files /dev/null and b/xunlei/icon.png differ diff --git a/xunlei/logo.png b/xunlei/logo.png new file mode 100644 index 0000000..c601b57 Binary files /dev/null and b/xunlei/logo.png differ diff --git a/xunlei/translations/en.yaml b/xunlei/translations/en.yaml new file mode 100644 index 0000000..6a021e8 --- /dev/null +++ b/xunlei/translations/en.yaml @@ -0,0 +1,14 @@ +--- +configuration: + download_path: + name: download_path + description: >- + download path + user: + name: user + description: >- + user + password: + name: password + description: >- + password \ No newline at end of file diff --git a/xunlei/translations/zh-Hans.yaml b/xunlei/translations/zh-Hans.yaml new file mode 100644 index 0000000..1f73f01 --- /dev/null +++ b/xunlei/translations/zh-Hans.yaml @@ -0,0 +1,14 @@ +--- +configuration: + download_path: + name: 瀛樺偍璺緞 + description: >- + 闇瑕佷繚瀛樼殑璺緞 + user: + name: 鐢ㄦ埛鍚 + description: >- + 闈炲繀濉」锛岃繘鍏ラ〉闈㈠悗闇瑕佽緭鍏ヨ鐢ㄦ埛鍚 + password: + name: 瀵嗙爜 + description: >- + 闈炲繀濉」锛岃繘鍏ラ〉闈㈠悗闇瑕佽緭鍏ヨ瀵嗙爜 \ No newline at end of file diff --git a/zigbee2mqtt/CHANGELOG.md b/zigbee2mqtt/CHANGELOG.md new file mode 100644 index 0000000..a04415a --- /dev/null +++ b/zigbee2mqtt/CHANGELOG.md @@ -0,0 +1,75 @@ +## 2.6.3-1 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈琜2.6.2](https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.6.3) +## 2.6.2-1 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈琜2.6.2](https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.6.2) +## 2.6.1-1 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈琜2.6.1](https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.6.1) +## 2.6.0-1 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈琜2.6.0](https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.6.0) +## 2.5.1-1 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈琜2.5.1](https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.5.1) +## 2.5.0-1 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈琜2.5.0](https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.5.0) +## 2.4.0-1 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈琜2.4.0](https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.4.0) +## 2.3.0-1 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈琜2.3.0](https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.3.0) +## 2.2.1-1 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈琜2.2.1](https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.2.1) +## 2.2.0-1 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈琜2.2.0](https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.2.0) +## 2.1.3-1 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈琜2.1.3](https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.1.3) +## 2.1.2-1 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈琜2.1.2](https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.1.2) +## 2.1.1-1 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈琜2.1.1](https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.1.1) +## 2.0.0-2 +- 淇鏌愪簺绯荤粺锛堝Rpi4锛変笂鎵撳紑涓茶绔彛鏃舵彃浠跺穿婧冪殑闂 +## 2.0.0-1 +- 宸插皢Zigbee2MQTT鏇存柊鍒2.0.0鐗堟湰 +- 娉ㄦ剰绐佺牬鎬х殑鍙樺寲銆 +## 1.42.0-2 +- 灏濊瘯淇 https://github.com/zigbee2mqtt/hassio-zigbee2mqtt/issues/664 +## 1.41.0-1 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈 [`1.41.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.41.0) +- 灏嗘彃浠剁壒瀹氶厤缃寕杞藉埌鎻掍欢瀹瑰櫒 (/addon_config) +## 1.40.2-1 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈 [`1.40.2`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.40.2) +## 1.40.1-1 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈 [`1.40.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.40.1) +## 1.40.0-1 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈 [`1.40.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.40.0) +## 1.39.1-1 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈 [`1.39.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.39.1) +## 1.39.0-1 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈 [`1.39.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.39.0) +## 1.38.0-1 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈 [`1.38.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.38.0) +## 1.37.0-1 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈 [`1.37.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.37.0) + +## 1.36.1-1 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈 [`1.36.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.36.1) + +## 1.36.0-1锛2024-03-23锛 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈 [`1.36.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.36.0) + +## 1.35.3-1 +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈 [`1.35.3`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.35.3) + +## 1.35.2-1锛2024-02-02锛 + +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈 [`1.35.2`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.35.2) + +## 1.35.1-1锛2024-01-07锛 + +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈 [`1.35.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.35.1) + +## 1.35.0-1锛2024-01-01锛 + +- 鍗囩骇Zigbee2MQTT鏈鏂扮増鏈 [`1.35.0`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.35.0) + +## 1.34.0-1锛2023-12-18锛 + +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/zigbee2mqtt/DOCS.md b/zigbee2mqtt/DOCS.md new file mode 100644 index 0000000..bf1d1df --- /dev/null +++ b/zigbee2mqtt/DOCS.md @@ -0,0 +1,177 @@ +# Zigbee2MQTT + +## 閰嶇疆璇存槑 + +### mqtt + +- 濡傛灉涓嶄娇鐢╩osquito to broker鎻掍欢锛岃濉啓MQTT璇︾粏淇℃伅(浣跨敤mosquito to broker鎻掍欢鏃跺彲涓嶅~鍐)銆傛牸寮忓彲鍙傝冧笅闈㈢殑瀹炰緥 + +``` +server: mqtt://localhost:1883 +user: mqtt +password: "123456" +``` + +娉ㄦ剰:濡傛灉瀵嗙爜鍖呭惈鏌愪簺鐗规畩瀛楃(鐢眣aml瑙勮寖淇濈暀)锛屽垯闇瑕佸姞涓婂紩鍙枫傛墍浠ユ垜浠缓璁鏋滄棩蹇楁樉绀哄瘑鐮侀敊璇椂锛屼紭鍏堣冭檻鍔犱笂寮曞彿銆 + +### serial +- 绔彛 + +濉啓涓插彛璇︾粏淇℃伅(渚嬪USB鍗忚皟鍣ㄧ殑绔彛)銆傛牸寮忓彲鍙傝冧笅闈㈢殑瀹炰緥 + +**USB鍗忚皟鍣** + +``` +port: /dev/ttyUSB0 +``` + + 濡傛灉鎮ㄤ笉鐭ラ亾璇︾粏鐨勭鍙o紝骞朵笖鍙湁涓涓猆SB璁惧杩炴帴鍒版偍鐨勬満鍣紝璇峰皾璇/dev/ ttyUSB0銆傚惁鍒欙紝璇锋煡鐪嬧滈厤缃 - 绯荤粺 - 纭欢 - 鍏ㄩ儴纭欢鈥濓紝鍦ㄦ悳绱笂杈撳叆鈥渢ty鈥濇煡鐪嬨 + +**缃戠粶鐗堝崗璋冨櫒**(xzg鍥轰欢绀轰緥) + +``` +port: tcp://xzg.local:6638 +``` + +鏌ョ湅閫傞厤鍣ㄧ殑ip鍦板潃 + + + +**娉ㄦ剰锛侊紒锛** + +浠2.0.0寮濮嬶紝zigbee2mqtt寮曞叆浜嗘柊鐨勯厤缃鍒欙紝瑕佹眰蹇呴』濉啓閫傞厤鍣ㄤ俊鎭 + + + +- 閫傞厤鍣 + +閫傞厤鍣ㄧ殑绫诲瀷閰嶇疆锛屽父瑙佺殑 + +TI鐨勮姱鐗囷紙Texa Instrument锛夛細zstack + + 鑺锛圫ilicon锛夛細ember + +杩樺彲鑳芥槸deconz锛寊igate鎴栬厇boss銆 + + + +- 绀轰緥 + +serial锛 + +``` +port: /dev/ttyUSB0 +adapter: zstack +``` +``` +port: tcp://xzg.local:6638 +adapter: zstack +``` + + +``` +port: /dev/ttyUSB0 +adapter: ember +``` + + + + +璇︾粏淇℃伅锛氬彲鏌ョ湅瀹樼綉锛歨ttps://www.zigbee2mqtt.io/guide/configuration/adapter-settings.html#basic-configuration + + + +## 浣跨敤鏂规硶 + +- 鐐瑰嚮鍚姩锛堝惎鍔ㄦ椂闀垮ぇ绾︿竴鍒嗛挓锛夛紝杩涘叆鏃ュ織椤甸潰涓偣鍑诲埛鏂帮紝鍑虹幇鈥淶igbee2MQTT started!鈥濆垯琛ㄧず鍚姩鎴愬姛銆 + +- 鍚姩瀹屾垚鍚庡彲鍦ㄤ俊鎭〉涓偣鍑"鎵撳紑 缃戦〉鐣岄潰"锛屾垨鐐瑰嚮鈥滃湪渚ц竟鏍忔樉绀衡濓紝鏂逛究浠ュ悗浠庡乏渚ф爮蹇熻闂 + +## 鑷畾涔夎浆鎹㈠櫒 +濡傛灉 Z2M Addons 瀹樻柟鏄剧ず涓嶆敮鎸佷綘鐨勮澶囷紝鍒厡锛屽彲浠ヨ嚜瀹氫箟杞崲鍣紝鎿嶄綔濡備笅锛 +鍏堟墦寮璋冭瘯妯″紡锛岃兘鏌ョ湅鍒版洿澶氳皟璇曚俊鎭細浣跨敤 FileBroswer 鎵撳紑 homeassistant/zigbee2mqtt/configuration.yaml 鏂囦欢锛 +骞舵坊鍔犳垨淇敼log_level: debug + +#### 绗竴姝ワ細鎵撳紑zigbee2mqtt锛岀偣鍑诲紑鍙戞帶鍒跺彴锛屾壘鍒 JS 浠g爜锛屽鍒跺苟淇濆瓨鍒版湰鍦帮紝鍛藉悕涓 **[ 璁惧鍨嬪彿 ].js** 锛堟澶勫皢 **[ 璁惧鍨嬪彿 ]** 鏇挎崲涓轰綘鐪熷疄鐨勮澶囦俊鎭級锛 + +濡傛灉杩欓噷鐨刯s娌℃湁鐢熸垚鏈夋晥鏂囦欢鎴栬呯敓鎴愮殑鏂囦欢鍦ㄨ皟璇曡繃绋嬩腑娌℃湁寰堝ソ鐨勬晥鏋滐紝闇瑕佷粠瀹樻柟宸茬粡瀛樺湪鐨勮浆鎹㈠櫒锛坔ttps://github.com/Koenkk/zigbee-herdsman-converters锛夋煡鎵剧浉鍏宠澶囩被鍨嬬殑浠g爜锛屽娆′慨鏀硅皟璇曢獙璇併 + +#### 绗簩姝ワ細灏 **[ 璁惧鍨嬪彿 ].js** 閫氳繃 FileBroswer 鎷栨嫿涓婁紶鍒扮洰鏍囩洰褰 +```homeassistant/zigbee2mqtt/external_converters``` + +zigbee2mqtt 2.0.0 涔嬪悗鐨勭増鏈枃浠跺瓨鏀句綅缃紙**濡傛灉娌℃湁external_converters 杩欎釜鏂囦欢澶癸紝璇锋墜鍔ㄥ垱寤** 锛 + +绠鍗曞弬鑰冧竴涓猨s锛 +```python3 +const {} = require('zigbee-herdsman-converters/lib/modernExtend'); +const fz = require('zigbee-herdsman-converters/converters/fromZigbee'); +const exposes = require('zigbee-herdsman-converters/lib/exposes'); +const reporting = require('zigbee-herdsman-converters/lib/reporting'); +const e = exposes.presets; +const definition = { + zigbeeModel: ['FNB56-ZRC06FB2.0'], + model: 'NZRC106W-M2', + vendor: 'Feibit', + description: 'Security controller', + extend: [], + fromZigbee: [fz.command_arm, fz.battery], + toZigbee: [], + exposes: [e.battery(), e.action(['panic', 'disarm', 'arm_day_zones', 'arm_all_zones'])], + configure: async (device, coordinatorEndpoint) => { + const endpoint = device.getEndpoint(1); + await reporting.bind(endpoint, coordinatorEndpoint, ['genBasic']); + }, + onEvent: async (_, data) => { + if (data.type === 'commandArm' && data.cluster === 'ssIasAce') { + await data.endpoint.defaultResponse(0, 0, 1281, data.meta.zclTransactionSequenceNumber); + } + }, +}; + +module.exports = definition; +``` + + +#### 绗笁姝ワ細鐐瑰嚮 鈥滃厑璁告坊鍔犳柊璁惧鈥濓紝绛夊緟璁惧杩炴帴瀹屾垚灏卞ソ浜嗭紝鐒跺悗灏辨槸娴嬭瘯鍔熻兘銆 + +楠岃瘉杩囩▼锛 + +- 鏌ョ湅 z2m 鐣岄潰鏂板姞鍏ョ殑璁惧鏄惁宸茬粡涓嶆樉绀 涓嶆敮鎸佷簡锛屽鏋滆繕鏄剧ず锛岃鏄庡尮閰嶅け璐ユ垨 JS 鏂囦欢鏈夐棶棰樸 + +- 閲嶅惎 z2m 鍔犺浇椤癸紝鐐瑰嚮 鏃ュ織锛宑trl+F锛屾悳绱㈡楠や簩涓坊鍔犵殑 JS 鏂囦欢鍚嶏紝鍑虹幇 Load xxx.js 锛屽苟涓嬮潰娌℃湁鍑虹幇 error 鐩稿叧瀛楁牱锛岃〃绀烘垚鍔熷姞杞戒笖 JS 鍐呭姝g‘銆 +鐒跺悗 鍦ㄦ棩蹇椾腑鏌ョ湅 MQ 娑堟伅锛岄獙璇佽澶囧彂閫佸拰鎺ユ敹鐨勬秷鎭殑姝g‘鎬ф槸鍚︾鍚堥鏈熴傚鏋滀笉婊℃剰鏁堟灉锛屽氨闇瑕佽皟鏁 JS 鍐呭骞堕噸鍚 z2m 鍔犺浇椤癸紝鏌ョ湅鏃ュ織锛岄噸澶嶆杩囩▼杈惧埌婊℃剰鍗冲彲銆 + + + +- 濡傛灉纭畾 JS 娌¢棶棰橈紝浣嗚澶囪繕鏄病鏈夋帴鍏ユ垚鍔熸垨鑰呰澶囨寜閽晥鏋滀笉绗﹀悎棰勬湡锛屽彲鑳芥槸璁惧鍥轰欢闇瑕佸崌绾ф垨鑰呭浐浠舵湰韬拰 z2m 鍏煎鎬т笉濂姐傚挩璇㈣澶囧巶鍟嗘垨瀹㈡湇鐑у綍鏈鏂板浐浠讹紝鍐嶆璋冭瘯銆 + +鎺ュ叆瀹屾垚涔嬪悗锛屽叧闂皟璇曪紝鍑忓皯鏃ュ織杈撳嚭鎻愰珮 z2m 鎬ц兘锛宍``log_level: debug``` 鏀逛负 ```log_level: info``` + + +### 鍙傝冿細 + +瀹樻柟鎺ュ叆鑷畾涔夎澶囧弬鑰 + +https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html#_2-3-using-modern-extend + +鍗囩骇鍒 2.0.0+鐨勮鏄 + +https://github.com/Koenkk/zigbee2mqtt/discussions/24198 + +### 濡傛灉闇瑕佽础鐚粰瀹樻柟锛屾楠ゅ涓嬶細 + +- fork 瀹樻柟杞崲鍣ㄤ粨搴擄紝https://github.com/Koenkk/zigbee-herdsman-converters + +- clone 浣 fork 鐨勪粨搴 + +- 鎵惧埌浣犺澶囧搴旂殑鏂囦欢锛屾瘮濡傦細src/devices/feibit.ts + +- 灏嗕綘娴嬭瘯閫氳繃鐨 JS 浠g爜鎸夌収鏍煎紡娣诲姞鍒板畼鏂规枃浠朵腑锛屾牴鎹畼鏂 README 鎸夌収姝ラ鎿嶄綔锛屾彁浜ゅ埌浣 fork 鐨勪粨搴擄紝娉ㄦ剰鎻愪氦鐨 message 鎸夌収濡備笅鏍煎紡锛歠eat(add): xxxx(鏂扮殑璁惧鍨嬪彿)锛屾洿澶氳鍙傝冨畼鏂瑰巻鍙叉彁浜ゆ棩蹇楄褰 + +- 鐒跺悗鎻愪氦 PR锛岀瓑寰呭畼鏂瑰鏍革紝绛夊緟瀹℃牳鍚屾椂鍑嗗濂借澶囩収鐗囷細512*512 鑳屾櫙閫忔槑 + +- 鍚屾牱 fork 瀹樻柟骞冲彴浠撳簱锛歨ttps://github.com/Koenkk/zigbee2mqtt.io + +- clone 浣 fork 鐨勪粨搴 + +- 鍦ㄤ綅缃畃ublic/images/devices娣诲姞浣犵殑璁惧鍥剧墖锛屾彁浜ゅ埌浣 fork 浠撳簱锛屾彁浜 PR锛岀瓑寰呭鏍 \ No newline at end of file diff --git a/zigbee2mqtt/README.md b/zigbee2mqtt/README.md new file mode 100644 index 0000000..610dbfa --- /dev/null +++ b/zigbee2mqtt/README.md @@ -0,0 +1,9 @@ +# 鍐摐鐢勯塧ddons锛歓igbee2MQTT + +## 鍏充簬 + +瀹樻柟Zigbee2MQTT瀹跺涵鍔╃悊鎻掍欢 + +## 鏉ユ簮 + +https://github.com/zigbee2mqtt/hassio-zigbee2mqtt diff --git a/zigbee2mqtt/config.json b/zigbee2mqtt/config.json new file mode 100644 index 0000000..14ec466 --- /dev/null +++ b/zigbee2mqtt/config.json @@ -0,0 +1,90 @@ +{ + "name": "Zigbee2MQTT", + "version": "2.6.3-1", + "slug": "zigbee2mqtt", + "description": "鍙互鑷畾涔塟igBee鐨勬帴鏀惰繛鎺ュ櫒", + "breaking_versions": [ + "2.0.0-1" + ], + "uart": true, + "udev": true, + "url": "https://github.com/zigbee2mqtt/hassio-zigbee2mqtt/tree/master/zigbee2mqtt", + "startup": "application", + "services": [ + "mqtt:need" + ], + "hassio_api": true, + "arch": [ + "aarch64", + "amd64" + ], + "boot": "manual", + "init": false, + "ingress": true, + "timeout": 30, + "panel_icon": "mdi:zigbee", + "map": [ + { + "type": "share", + "read_only": false + }, + { + "type": "homeassistant_config", + "read_only": false, + "path": "/config" + }, + { + "type": "addon_config", + "read_only": false, + "path": "/addon_config" + } + ], + "ports": { + "8485/tcp": 8485, + "8099/tcp": null + }, + "ports_description": { + "8485/tcp": "Socat tcp-listen port", + "8099/tcp": "Frontend tcp-listen port" + }, + "options": { + "data_path": "/config/zigbee2mqtt", + "socat": { + "enabled": false, + "master": "pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777", + "slave": "tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5", + "options": "-d -d", + "log": false + }, + "mqtt": {}, + "serial": {} + }, + "schema": { + "data_path": "str", + "socat": { + "enabled": "bool?", + "master": "str?", + "slave": "str?", + "options": "str?", + "log": "bool?" + }, + "mqtt": { + "server": "str?", + "ca": "str?", + "key": "str?", + "cert": "str?", + "user": "str?", + "password": "str?", + "base_topic": "str?" + }, + "serial": { + "port": "str?", + "adapter": "match(zstack|deconz|zigate|ezsp|ember|zboss)?", + "baudrate": "int?", + "rtscts": "bool?" + }, + "watchdog": "str?", + "force_onboarding": "bool?" + }, + "image": "r.hassbus.com/zigbee2mqtt/zigbee2mqtt-{arch}" +} diff --git a/zigbee2mqtt/icon.png b/zigbee2mqtt/icon.png new file mode 100644 index 0000000..689f0e0 Binary files /dev/null and b/zigbee2mqtt/icon.png differ diff --git a/zigbee2mqtt/logo.png b/zigbee2mqtt/logo.png new file mode 100644 index 0000000..b8338a3 Binary files /dev/null and b/zigbee2mqtt/logo.png differ diff --git a/zigbee2mqtt/translations/en.yaml b/zigbee2mqtt/translations/en.yaml new file mode 100644 index 0000000..1231cb8 --- /dev/null +++ b/zigbee2mqtt/translations/en.yaml @@ -0,0 +1,10 @@ +--- +configuration: + mqtt: + name: mqtt + description: >- + If you are not using the Mosquitto broker addon fill in your MQTT details + serial: + name: serial + description: >- + Fill in the serial details (e.g. port of your USB coordinator). Format can be found here, but skip the initial. e.g.: port: /dev/ttyUSB0 diff --git a/zigbee2mqtt/translations/zh-Hans.yaml b/zigbee2mqtt/translations/zh-Hans.yaml new file mode 100644 index 0000000..d566f1e --- /dev/null +++ b/zigbee2mqtt/translations/zh-Hans.yaml @@ -0,0 +1,10 @@ +--- +configuration: + mqtt: + name: mqtt + description: >- + 濡傛灉浣跨敤mosquito鎻掍欢锛屾澶勫彲涓嶅~鍐橫QTT璇︾粏淇℃伅銆傝缁嗘煡鐪嬧滄枃妗b濋〉闈€ + serial: + name: serial + description: >- + 濉啓涓茶璇︾粏淇℃伅(渚嬪USB鍗忚皟鍣ㄧ殑绔彛)銆傝缁嗘煡鐪嬧滄枃妗b濋〉闈€ \ No newline at end of file diff --git a/zigstargw-mt-web/CHANGELOG.md b/zigstargw-mt-web/CHANGELOG.md new file mode 100644 index 0000000..3e4d970 --- /dev/null +++ b/zigstargw-mt-web/CHANGELOG.md @@ -0,0 +1,4 @@ +## 0.2.1锛2025-09-18锛 +- 鐗堟湰鍗囩骇 +## 0.2.0锛2025-09-02锛 +- 棣栨鎺ㄥ嚭 \ No newline at end of file diff --git a/zigstargw-mt-web/DOCS.md b/zigstargw-mt-web/DOCS.md new file mode 100644 index 0000000..f83c5f1 --- /dev/null +++ b/zigstargw-mt-web/DOCS.md @@ -0,0 +1,5 @@ +# ZigStarGW MT WEB + +The WEBUI interface uses USB/IP to burn firmware. Please refer to the UI interface for instructions. + +WEBUI鐣岄潰浣跨敤USB/IP鐑у綍鍥轰欢,鎿嶄綔璇风湅UI鐣岄潰銆 \ No newline at end of file diff --git a/zigstargw-mt-web/README.md b/zigstargw-mt-web/README.md new file mode 100644 index 0000000..c1c09ae --- /dev/null +++ b/zigstargw-mt-web/README.md @@ -0,0 +1,10 @@ +## ZigStarGW MT WEB + +In [ZigStarGW-MT](https://github.com/xyzroe/ZigStarGW-MT)Optimize the web interface based on the project and provide a more user-friendly firmware burning experience. + + +鍦 [ZigStarGW-MT](https://github.com/xyzroe/ZigStarGW-MT) 椤圭洰鍩虹涓婅繘琛 Web 鐣岄潰浼樺寲锛屾彁渚涙洿鍙嬪ソ鐨勫浐浠剁儳褰曚綋楠屻 + +## SOURCE + +[https://github.com/xyzroe/ZigStarGW-MT](https://github.com/xyzroe/ZigStarGW-MT) diff --git a/zigstargw-mt-web/config.yaml b/zigstargw-mt-web/config.yaml new file mode 100644 index 0000000..ab7013e --- /dev/null +++ b/zigstargw-mt-web/config.yaml @@ -0,0 +1,20 @@ +name: "ZigStarGW MT WEB" +version: 0.2.1 +slug: zigstargw-mt-web +description: ZigStarGW MT WEB +url: https://gitcode.com/waxgourd/addons +codenotary: wghaos@163.com +arch: + - aarch64 + - amd64 +image: r.hassbus.com/wghaos/zigstargw-mt-web-{arch} +init: false +boot: manual +ingress: true +ingress_port: 5550 +usb: true +uart: true +privileged: + - SYS_MODULE + - SYS_RAWIO +host_network: true diff --git a/zigstargw-mt-web/icon.png b/zigstargw-mt-web/icon.png new file mode 100644 index 0000000..33356a2 Binary files /dev/null and b/zigstargw-mt-web/icon.png differ diff --git a/zigstargw-mt-web/logo.png b/zigstargw-mt-web/logo.png new file mode 100644 index 0000000..33356a2 Binary files /dev/null and b/zigstargw-mt-web/logo.png differ