forked from x/ContextOS
opt some
This commit is contained in:
parent
56bcf2c536
commit
a844092744
23
etc/init.shy
23
etc/init.shy
@ -8,19 +8,16 @@
|
||||
dream create name "20230511-redis-story" icon src/client/redis.png repos `https://shylinux.com/x/redis-story`
|
||||
dream create name "20230511-mysql-story" icon src/studio/mysql.png repos `https://shylinux.com/x/mysql-story`
|
||||
dream create name "20230913-matrix-story" icon src/matrix/matrix.png repos `https://shylinux.com/x/matrix-story`
|
||||
dream config web.wiki.portal web.chat.macos.desktop web.code.xterm web.code.vimer web.code.compile
|
||||
dream config web.wiki.portal web.chat.macos.desktop web.code.vimer
|
||||
~web.code
|
||||
webpack insert xterm
|
||||
webpack insert xterm-addon-fit
|
||||
webpack insert xterm-addon-web-links
|
||||
webpack insert xterm/css/xterm.css
|
||||
webpack insert html2canvas/dist/html2canvas.min.js
|
||||
binpack insert usr/node_modules/xterm/lib/xterm.js
|
||||
binpack insert usr/node_modules/xterm/css/xterm.css
|
||||
binpack insert usr/node_modules/xterm-addon-fit/lib/xterm-addon-fit.js
|
||||
binpack insert usr/node_modules/xterm-addon-web-links/lib/xterm-addon-web-links.js
|
||||
binpack insert usr/node_modules/html2canvas/dist/html2canvas.min.js
|
||||
binpack insert usr/node_modules/bootstrap-icons/font/
|
||||
binpack insert usr/icons/
|
||||
# binpack insert usr/geoarea/city.json
|
||||
# binpack insert usr/geoarea/100000_full.json
|
||||
# binpack insert usr/node_modules/echarts/dist/echarts.min.js
|
||||
# binpack insert usr/node_modules/xterm/lib/xterm.js
|
||||
# binpack insert usr/node_modules/xterm/css/xterm.css
|
||||
# binpack insert usr/node_modules/xterm-addon-fit/lib/xterm-addon-fit.js
|
||||
# binpack insert usr/node_modules/xterm-addon-web-links/lib/xterm-addon-web-links.js
|
||||
# binpack insert usr/node_modules/bootstrap-icons/font/
|
||||
# binpack insert usr/icons/
|
||||
~ssh
|
||||
source local.shy
|
||||
|
@ -23,6 +23,7 @@ ish_miss_prepare icons
|
||||
# ish_miss_prepare websocket
|
||||
# ish_miss_prepare wubi-dict
|
||||
# ish_miss_prepare word-dict
|
||||
# ish_miss_prepare geoarea
|
||||
# ish_miss_prepare webview
|
||||
# ish_miss_prepare matrix
|
||||
|
||||
|
4
go.mod
4
go.mod
@ -10,7 +10,7 @@ replace (
|
||||
|
||||
require (
|
||||
shylinux.com/x/ice v1.3.17
|
||||
shylinux.com/x/icebergs v1.6.4
|
||||
shylinux.com/x/toolkits v0.7.13
|
||||
shylinux.com/x/icebergs v1.6.5
|
||||
shylinux.com/x/toolkits v0.7.14
|
||||
shylinux.com/x/webview v0.0.2
|
||||
)
|
||||
|
10
go.sum
10
go.sum
@ -2,18 +2,16 @@ shylinux.com/x/go-git/v5 v5.6.7 h1:WD5QSco7m3QooPCgdvQ6/GyGIFPun8C+hex5N41LYlk=
|
||||
shylinux.com/x/go-git/v5 v5.6.7/go.mod h1:Qb0lA+uIrofZg8NQerhYcJHgGWixFqvS6p3aJ/L5Nlk=
|
||||
shylinux.com/x/go-qrcode v0.0.3 h1:RMo+Vidbgq3HatLBj7DDXcTbTLFUwzis5K7TqBkD38U=
|
||||
shylinux.com/x/go-qrcode v0.0.3/go.mod h1:KAbtU+KwiiABMZ/CJ0zh9PI2AX82Uf9rRYcQ4ODm4po=
|
||||
shylinux.com/x/ice v1.3.16 h1:dH9YhctDquu63R7IKCyOhJTwqhnoJ6EdhALZTySBIEM=
|
||||
shylinux.com/x/ice v1.3.16/go.mod h1:xE45ky4qR7fY9QEo0MoBLob4KjS8RIXe3CT7pqbvUT0=
|
||||
shylinux.com/x/ice v1.3.17 h1:nxNIQyD5Xtux91kr6vdbw1sFKO6u2PMYBJVpKgJPgLg=
|
||||
shylinux.com/x/ice v1.3.17/go.mod h1:EdvujBLVZDNWMBjVcJH6CXwM5bhFMDIxicHTvty+PL4=
|
||||
shylinux.com/x/icebergs v1.6.3 h1:vc6agHAqIdJv9OhCwayP3mHh+kG2Z/nVQ860CIIEI+8=
|
||||
shylinux.com/x/icebergs v1.6.3/go.mod h1:0Tz7M9Y+QPmahyeJXAriEgBfRqs+yt/Ypi2oYeT9tQg=
|
||||
shylinux.com/x/icebergs v1.6.4 h1:KC9B/GsDyc9tbcfexhnwf9dgAAL7F3eKqBkE/pFEExA=
|
||||
shylinux.com/x/icebergs v1.6.4/go.mod h1:0Tz7M9Y+QPmahyeJXAriEgBfRqs+yt/Ypi2oYeT9tQg=
|
||||
shylinux.com/x/icebergs v1.6.5 h1:gT8Xjkef40rm3GP+J8N0NS5mq00OV1xa0kK+vdh9Ff8=
|
||||
shylinux.com/x/icebergs v1.6.5/go.mod h1:UZeeOEUn3XONN8cxygQ686jnpgueqjmP+SHgAmx9ITI=
|
||||
shylinux.com/x/toolkits v0.7.10 h1:65d5rkQXQ71MD8FzYnZ9DFxb1XcOYSYfmRc4j8qQsUw=
|
||||
shylinux.com/x/toolkits v0.7.10/go.mod h1:CHDJarGlDkg60kVsvMLYL/a5hAnRLEOShiEsMOuEp0Q=
|
||||
shylinux.com/x/toolkits v0.7.13 h1:UZvPHH/CS4PzdmpQN6kfOL1RDantPhHoAcU547H+ck4=
|
||||
shylinux.com/x/toolkits v0.7.13/go.mod h1:CHDJarGlDkg60kVsvMLYL/a5hAnRLEOShiEsMOuEp0Q=
|
||||
shylinux.com/x/toolkits v0.7.14 h1:ggpup1PzodrAIoIaJ+KPZbvl0JMfO2jHNsty5t31ILM=
|
||||
shylinux.com/x/toolkits v0.7.14/go.mod h1:CHDJarGlDkg60kVsvMLYL/a5hAnRLEOShiEsMOuEp0Q=
|
||||
shylinux.com/x/websocket v0.0.3 h1:edhLwCp0Mv1ITXqIwbVWdXdX2+vui/jRnS25K89k68I=
|
||||
shylinux.com/x/websocket v0.0.3/go.mod h1:3UGWkjTu3ie5NAZen7J+uLPBrO7DFeKloj6Jxo13Oiw=
|
||||
shylinux.com/x/webview v0.0.2 h1:T0f2sDdiMCdDPjYwD1WS64ASBGwvZKPZkxDQ84d+ZQs=
|
||||
|
@ -43,35 +43,36 @@ Volcanos("user", {_trans: kit.Dict(
|
||||
"record1", "截图", "record2", "录屏",
|
||||
|
||||
html.INPUT, kit.Dict(
|
||||
ice.HELP, "帮助",
|
||||
ice.POD, "空间", ice.CTX, "模块", ice.CMD, "命令",
|
||||
mdb.TIME, "时间", mdb.HASH, "索引",
|
||||
mdb.ZONE, "分类", mdb.ID, "序号",
|
||||
mdb.KEY, "键值", mdb.VALUE, "取值",
|
||||
mdb.ICON, "图标",
|
||||
nfs.TEMPLATE, "模板",
|
||||
nfs.BINARY, "镜像",
|
||||
mdb.TYPE, "类型", mdb.NAME, "名称", mdb.TEXT, "详情",
|
||||
mdb.COUNT, "数量", mdb.TOTAL, "总数", mdb.STATUS, "状态",
|
||||
ice.POD, "空间", ice.CTX, "模块", ice.CMD, "命令", ice.HELP, "帮助",
|
||||
mdb.TIME, "时间", mdb.HASH, "索引", mdb.ZONE, "分类", mdb.ID, "序号",
|
||||
mdb.TYPE, "类型", mdb.NAME, "名称", mdb.TEXT, "详情", mdb.ICON, "图标",
|
||||
mdb.COUNT, "数量", mdb.TOTAL, "总数",
|
||||
mdb.KEY, "键值", mdb.VALUE, "取值", mdb.STATUS, "状态",
|
||||
ctx.ACTION, "操作", ctx.INDEX, "命令", ctx.ARGS, "参数",
|
||||
web.FILTER, "筛选",
|
||||
web.DOMAIN, "域名",
|
||||
web.SPACE, "空间",
|
||||
web.SHARE, "共享",
|
||||
web.TOKEN, "令牌",
|
||||
web.LINK, "链接",
|
||||
cli.COST, "耗时",
|
||||
cli.START, "启动", cli.STOP, "停止", cli.COST, "耗时",
|
||||
nfs.PATH, "路径", nfs.FILE, "文件", nfs.LINE, "行号", nfs.SIZE, "大小",
|
||||
nfs.REPOS, "仓库", nfs.IMAGE, "图片",
|
||||
nfs.MODULE, "模块", nfs.SCRIPT, "脚本",
|
||||
nfs.BRANCH, "分支", nfs.VERSION, "版本",
|
||||
nfs.TEMPLATE, "模板", nfs.BINARY, "镜像",
|
||||
nfs.DIR_ROOT, "目录",
|
||||
"commit", "提交", "message", "信息",
|
||||
"online", "在线", "offline", "离线",
|
||||
"cmds", "命令",
|
||||
"log", kit.Dict(mdb.ID, "链路"),
|
||||
tcp.PROTO, "协议", tcp.HOST, "主机", tcp.PORT, "端口",
|
||||
tcp.HOSTNAME, "主机名", tcp.SERVICE, "服务",
|
||||
aaa.USERNAME, "用户", aaa.USERNICK, "昵称", aaa.USERROLE, "角色", aaa.USERZONE, "单位",
|
||||
aaa.ROLE, "角色",
|
||||
aaa.ROLE, "角色", aaa.EMAIL, "邮箱",
|
||||
gdb.SIGNAL, "信号",
|
||||
"log", kit.Dict(mdb.ID, "链路"),
|
||||
mall.PRICE, "单价", mall.UNITS, "单位", mall.AMOUNT, "总价",
|
||||
mall.GOODS, "商品",
|
||||
"commit", "提交",
|
||||
mall.GOODS, "商品", mall.PRICE, "单价", mall.UNITS, "单位", mall.AMOUNT, "总价",
|
||||
html.HEIGHT, "高度", html.MARGIN, "边距", html.SPEED, "速度",
|
||||
),
|
||||
)})
|
||||
kit.Dict(
|
||||
|
@ -1 +1 @@
|
||||
已经 <span style="font-size:24px;color:red">{{.Option "days"}}</span> 天<br>距 {{.Option "from"}}<br>
|
||||
已经 <span style="font-size:24px;color:red">{{.Option "days"}}</span> 天 距 {{.Option "from"}}<br>
|
||||
|
@ -1 +1 @@
|
||||
还有 <span style="font-size:24px;color:green">{{.Option "days"}}</span> 天<br>距 {{.Option "from"}}<br>
|
||||
还有 <span style="font-size:24px;color:green">{{.Option "days"}}</span> 天 距 {{.Option "from"}}<br>
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
3211
usr/geoarea/city.txt
3211
usr/geoarea/city.txt
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user