add ubutu2 codeserver … (#543)
Co-authored-by: Jason <xiaobao@linkease.com>
diff --git a/applications/app-meta-codeserver/Makefile b/applications/app-meta-codeserver/Makefile
index 75a5c5e..e7830d6 100644
--- a/applications/app-meta-codeserver/Makefile
+++ b/applications/app-meta-codeserver/Makefile
@@ -2,8 +2,8 @@
include $(TOPDIR)/rules.mk
-PKG_VERSION:=1.0.0
-PKG_RELEASE:=20221114
+PKG_VERSION:=1.0.2
+PKG_RELEASE:=2025101
META_TITLE:=CodeServer
META_TITLE.en:=CodeServer
META_DEPENDS:=+luci-app-codeserver +luci-i18n-codeserver-zh-cn +docker-deps
@@ -13,7 +13,9 @@ META_AUTHOR:=Coder Technologies
META_TAGS:=net tool
META_LUCI_ENTRY:=/cgi-bin/luci/admin/services/codeserver
META_WEBSITE:=https://coder.com/
-META_TUTORIAL:=https://doc.linkease.com/zh/guide/istore/software/codeserver.html
+META_TUTORIAL:=https://www.koolcenter.com/t/topic/4343
+META_AUTOCONF:=path enable
+META_UCI:=codeserver
include ../../meta.mk
diff --git a/applications/app-meta-codeserver/config.sh b/applications/app-meta-codeserver/config.sh
new file mode 100644
index 0000000..af21885
--- /dev/null
+++ b/applications/app-meta-codeserver/config.sh
@@ -0,0 +1,11 @@
+[ -z "$ISTORE_CONF_DIR" ] && exit 1
+
+uci -q batch <<-EOF >/dev/null || exit 1
+ set codeserver.@main[0].config_path="$ISTORE_CONF_DIR/CodeServer"
+ commit codeserver
+EOF
+
+ISTORE_ACTION=install
+[ -z "$ISTORE_DONT_START" ] || ISTORE_ACTION=stop
+
+/usr/libexec/istorec/codeserver.sh $ISTORE_ACTION || [ stop = $ISTORE_ACTION ]
diff --git a/applications/app-meta-codeserver/entry.sh b/applications/app-meta-codeserver/entry.sh
new file mode 100644
index 0000000..a360244
--- /dev/null
+++ b/applications/app-meta-codeserver/entry.sh
@@ -0,0 +1,55 @@
+#!/bin/sh
+
+ISTOREC_SCRIPT=/usr/libexec/istorec/codeserver.sh
+
+status(){
+ local host="$1"
+ [ -n "$host" ] || host=127.0.0.1
+ . /usr/share/libubox/jshn.sh
+ json_init
+ json_add_string "app" "codeserver"
+ json_add_boolean "docker" "1"
+
+ local status=`$ISTOREC_SCRIPT status 2>/dev/null`
+ if [ "$status" = "running" ]; then
+ json_add_boolean "running" "1"
+ local port=`$ISTOREC_SCRIPT port`
+ local portsec=${port:-8085}
+ json_add_string "web" ":${portsec}"
+ json_add_string "href" "http://$host:${portsec}/"
+ json_add_string "protocol" http
+ json_add_string "port" ${portsec}
+ else
+ json_add_boolean "running" "0"
+ if [ -z "$status" ]; then
+ json_add_boolean "deployed" "0"
+ else
+ json_add_boolean "deployed" "1"
+ fi
+ fi
+
+ json_dump
+ json_cleanup >/dev/null
+}
+
+start(){
+ [ -z "`$ISTOREC_SCRIPT status`" ] && return 1
+ [ "`$ISTOREC_SCRIPT status`" = "running" ] || $ISTOREC_SCRIPT start
+}
+
+stop(){
+ [ "`$ISTOREC_SCRIPT status`" != "running" ] || $ISTOREC_SCRIPT stop
+}
+
+ACTION=${1}
+shift 1
+[ -z "${ACTION}" ] && ACTION=help
+
+case ${ACTION} in
+ "status" | "start" | "stop")
+ ${ACTION} "$@"
+ ;;
+ *)
+ echo "Usage: $0 {status|start|stop}"
+ ;;
+esac
diff --git a/applications/app-meta-ubuntu/Makefile b/applications/app-meta-ubuntu/Makefile
index 257cf80..026e997 100644
--- a/applications/app-meta-ubuntu/Makefile
+++ b/applications/app-meta-ubuntu/Makefile
@@ -2,8 +2,8 @@
include $(TOPDIR)/rules.mk
-PKG_VERSION:=1.0.10
-PKG_RELEASE:=20250325
+PKG_VERSION:=1.0.5
+PKG_RELEASE:=20251011
META_TITLE:=Ubuntu
META_DEPENDS:=+luci-app-ubuntu2 +luci-i18n-ubuntu2-zh-cn +docker-deps
META_DESCRIPTION:=带Web远程桌面的高性能Docker版Ubuntu。
@@ -12,7 +12,7 @@ META_AUTHOR:=xiaobao
META_TAGS:=system tool
META_LUCI_ENTRY:=/cgi-bin/luci/admin/services/ubuntu2
META_WEBSITE:=https://www.kasmweb.com
-META_TUTORIAL:=https://doc.linkease.com/zh/guide/istore/software/ubuntu2.html
+META_TUTORIAL:=https://www.koolcenter.com/t/topic/4342
META_AUTOCONF:=path enable
META_UCI:=ubuntu2
diff --git a/applications/app-meta-uptimekuma/Makefile b/applications/app-meta-uptimekuma/Makefile
index 6649042..20b929a 100644
--- a/applications/app-meta-uptimekuma/Makefile
+++ b/applications/app-meta-uptimekuma/Makefile
@@ -2,18 +2,18 @@
include $(TOPDIR)/rules.mk
-PKG_VERSION:=1.0.0
-PKG_RELEASE:=20250406
+PKG_VERSION:=1.0.1
+PKG_RELEASE:=20251011
META_TITLE:=UptimeKuma
META_TITLE.en:=UptimeKuma
META_DEPENDS:=+luci-app-uptimekuma +luci-i18n-uptimekuma-zh-cn +docker-deps
META_DESCRIPTION:=Uptime Kuma 是一款易于使用的自托管监控工具。
META_DESCRIPTION.en:=Uptime Kuma is an easy-to-use self-hosted monitoring tool.
META_AUTHOR:=songquanpeng
-META_TAGS:=net ai
+META_TAGS:=net
META_LUCI_ENTRY:=/cgi-bin/luci/admin/services/uptimekuma
META_WEBSITE:=https://openai.justsong.cn
-META_TUTORIAL:=https://doc.linkease.com/zh/guide/istore/software/uptimekuma.html
+META_TUTORIAL:=https://www.koolcenter.com/t/topic/4345
META_AUTOCONF:=path enable
META_UCI:=uptimekuma
GitHub
sha: d0ac1d38934d3c966551ec608cdee19ff5fd75c1