forked from x/ContextOS
add some
This commit is contained in:
parent
f4cfc5a812
commit
44935edd2d
@ -1,21 +0,0 @@
|
|||||||
chapter "init"
|
|
||||||
section "添加用户"
|
|
||||||
shell `
|
|
||||||
useradd {{.Option "user.name"}}
|
|
||||||
passwd {{.Option "user.name"}}
|
|
||||||
visudo
|
|
||||||
`
|
|
||||||
spark inner `
|
|
||||||
{{.Option "user.name"}} ALL=(ALL) NOPASSWD: ALL
|
|
||||||
`
|
|
||||||
section "安装项目"
|
|
||||||
shell `
|
|
||||||
ctx_temp=$(mktemp); curl -o $ctx_temp -fsSL https://shylinux.com; source $ctx_temp source
|
|
||||||
|
|
||||||
ish_miss_serve_log
|
|
||||||
|
|
||||||
open http://{{.Option "host"}}:9020
|
|
||||||
`
|
|
||||||
section "终端工具"
|
|
||||||
field web.code.xterm args "{{.Option "relay"}}" auto delay
|
|
||||||
|
|
@ -1,8 +1,6 @@
|
|||||||
<div class="form">
|
<div class="form">
|
||||||
<span class="item">请授权: {{.Option "space"}}</span>
|
<span class="item">请授权: {{.Option "space"}}</span>
|
||||||
<span class="item">ip: {{.Option "ip"}}</span>
|
<span class="item">ip: {{.Option "ip"}}</span>
|
||||||
<!-- <span class="item">ua: {{.Option "ua"}}</span> -->
|
|
||||||
<!-- <span class="item">访问设备: {{.Option "hostname"}}</span> -->
|
|
||||||
<span class="item">访问: {{.Option "path"}}</span>
|
<span class="item">访问: {{.Option "path"}}</span>
|
||||||
<input type="button" name="confirm" value="confirm">
|
<input type="button" name="confirm" value="confirm">
|
||||||
<input type="button" name="home" value="home">
|
<input type="button" name="home" value="home">
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<head>
|
|
||||||
<meta name="viewport" content="width=device-width,user-scalable=no">
|
|
||||||
<meta charset="utf-8"><title>volcanos</title>
|
|
||||||
<link href="/index.css{{.Option "version"}}" rel="stylesheet">
|
|
||||||
<link href="/page/cache.css{{.Option "version"}}" rel="stylesheet">
|
|
||||||
<link href="/favicon.ico" rel="shortcut icon" type="image/ico">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<script>_version = "{{.Option "version"}}"</script>
|
|
||||||
<script src="/proto.js{{.Option "version"}}"></script>
|
|
||||||
<script src="/page/cache.js{{.Option "version"}}"></script>
|
|
||||||
<script src="/require/src/main.js{{.Option "version"}}"></script>
|
|
||||||
</body>
|
|
@ -1,2 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html><body><script>window.close()||history.back()</script></body></html>
|
|
@ -1,10 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta http-equiv="refresh" content="%s; url='%s'">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
%s
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
@ -1,180 +1,34 @@
|
|||||||
{
|
{
|
||||||
"0dacd8": {
|
"74e340": {
|
||||||
"meta": {
|
|
||||||
"icon": "/require/usr/icons/dir.png",
|
|
||||||
"index": "dir",
|
|
||||||
"name": "dir",
|
|
||||||
"time": "2023-09-04 18:36:17.469"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"0ebd9a": {
|
|
||||||
"meta": {
|
|
||||||
"icon": "/require/usr/icons/Podcasts.png?pod=",
|
|
||||||
"index": "web.route",
|
|
||||||
"name": "Podcasts",
|
|
||||||
"time": "2023-09-18 08:53:33.901"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"16e2c7": {
|
|
||||||
"meta": {
|
|
||||||
"icon": "/require/usr/icons/Launchpad.png",
|
|
||||||
"index": "web.dream",
|
|
||||||
"name": "Launchpad",
|
|
||||||
"time": "2023-09-08 17:35:54.141"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"233240": {
|
|
||||||
"meta": {
|
|
||||||
"icon": "/require/usr/icons/Maps.png?pod=",
|
|
||||||
"index": "web.chat.location",
|
|
||||||
"name": "Maps",
|
|
||||||
"time": "2023-09-21 09:06:06.697"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"32b470": {
|
|
||||||
"meta": {
|
|
||||||
"icon": "/require/usr/icons/Infomation.png?pod=",
|
|
||||||
"index": "cli.runtime",
|
|
||||||
"name": "Infomation",
|
|
||||||
"time": "2023-09-18 09:05:25.126"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"4011a1": {
|
|
||||||
"meta": {
|
|
||||||
"icon": "/require/usr/icons/Automator.png?pod=",
|
|
||||||
"index": "web.chat.flows",
|
|
||||||
"name": "Automator",
|
|
||||||
"time": "2023-09-18 08:55:41.366"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"515d64": {
|
|
||||||
"meta": {
|
|
||||||
"icon": "/require/usr/icons/Infomation.png?pod=",
|
|
||||||
"index": "cli.runtime",
|
|
||||||
"name": "Infomation",
|
|
||||||
"time": "2023-09-18 09:05:25.126"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"57243a": {
|
|
||||||
"meta": {
|
|
||||||
"icon": "usr/icons/Photos.png",
|
|
||||||
"index": "web.wiki.feel",
|
|
||||||
"name": "Photos",
|
|
||||||
"time": "2023-09-03 21:11:30.776"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"631878": {
|
|
||||||
"meta": {
|
|
||||||
"icon": "/require/usr/icons/Caculator.png",
|
|
||||||
"index": "web.chat.caculator",
|
|
||||||
"name": "Caculator",
|
|
||||||
"time": "2023-09-10 19:47:46.447"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"859fa0": {
|
|
||||||
"meta": {
|
|
||||||
"icon": "usr/icons/Calendar.png",
|
|
||||||
"index": "web.team.plan",
|
|
||||||
"name": "Calendar",
|
|
||||||
"time": "2023-09-03 21:11:30.776"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"976aa5": {
|
|
||||||
"meta": {
|
|
||||||
"icon": "/require/usr/icons/Caculator.png",
|
|
||||||
"index": "web.chat.caculator",
|
|
||||||
"name": "caculator",
|
|
||||||
"time": "2023-09-08 10:59:47.947"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"995aaa": {
|
|
||||||
"meta": {
|
|
||||||
"args": "[\"repos\"]",
|
|
||||||
"icon": "/require/usr/icons/gitea.png",
|
|
||||||
"index": "web.code.git.search",
|
|
||||||
"name": "gitea",
|
|
||||||
"time": "2023-09-03 21:13:14.784"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"a63b56": {
|
|
||||||
"meta": {
|
|
||||||
"icon": "usr/icons/flows.png",
|
|
||||||
"index": "web.chat.flows",
|
|
||||||
"name": "flows",
|
|
||||||
"time": "2023-09-03 21:11:30.776"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"abc833": {
|
|
||||||
"meta": {
|
"meta": {
|
||||||
"icon": "usr/icons/Books.png",
|
"icon": "usr/icons/Books.png",
|
||||||
"index": "web.wiki.word",
|
"index": "web.wiki.word",
|
||||||
"name": "Books",
|
"name": "Books",
|
||||||
"time": "2023-09-03 21:11:30.776"
|
"time": "2023-12-13 11:11:34.415"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"b9d4c2": {
|
"cc75f6": {
|
||||||
"meta": {
|
"meta": {
|
||||||
"icon": "usr/icons/Grapher.png",
|
"icon": "usr/icons/Grapher.png",
|
||||||
"index": "web.wiki.draw",
|
"index": "web.wiki.draw",
|
||||||
"name": "Grapher",
|
"name": "Grapher",
|
||||||
"time": "2023-09-03 21:11:30.776"
|
"time": "2023-12-13 11:11:34.416"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"bb1f06": {
|
"d02b5c": {
|
||||||
"meta": {
|
"meta": {
|
||||||
"icon": "/require/usr/icons/Clock.png",
|
"icon": "usr/icons/Photos.png",
|
||||||
"index": "web.chat.clock",
|
"index": "web.wiki.feel",
|
||||||
"name": "Clock",
|
"name": "Photos",
|
||||||
"time": "2023-09-10 19:47:46.447"
|
"time": "2023-12-13 11:11:34.416"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"bccd08": {
|
"d554f0": {
|
||||||
"meta": {
|
"meta": {
|
||||||
"icon": "/require/usr/icons/favor.png?debug=true",
|
"icon": "usr/icons/Calendar.png",
|
||||||
"index": "web.chat.favor",
|
"index": "web.team.plan",
|
||||||
"name": "favor",
|
"name": "Calendar",
|
||||||
"time": "2023-11-02 15:58:02.358"
|
"time": "2023-12-13 11:11:34.416"
|
||||||
}
|
|
||||||
},
|
|
||||||
"cc23b1": {
|
|
||||||
"meta": {
|
|
||||||
"args": "[\"repos\"]",
|
|
||||||
"icon": "/require/usr/icons/App Store.png",
|
|
||||||
"index": "web.code.git.search",
|
|
||||||
"name": "App Store",
|
|
||||||
"time": "2023-09-08 17:28:21.657"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ccd014": {
|
|
||||||
"meta": {
|
|
||||||
"icon": "/require/usr/icons/Migration.png?pod=",
|
|
||||||
"index": "web.chat.trans",
|
|
||||||
"name": "Migration",
|
|
||||||
"time": "2023-09-20 22:07:21.643"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"d9de16": {
|
|
||||||
"meta": {
|
|
||||||
"icon": "/require/usr/icons/mall.png?debug=true",
|
|
||||||
"index": "web.mall.goods",
|
|
||||||
"name": "goods",
|
|
||||||
"time": "2023-11-02 15:58:02.360"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"edd7ba": {
|
|
||||||
"meta": {
|
|
||||||
"icon": "/require/usr/icons/Clock.png",
|
|
||||||
"index": "web.chat.clock",
|
|
||||||
"name": "clock",
|
|
||||||
"time": "2023-09-08 10:22:38.438"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"f74287": {
|
|
||||||
"meta": {
|
|
||||||
"icon": "/require/usr/icons/oauth.png?debug=true",
|
|
||||||
"index": "web.chat.oauth.client",
|
|
||||||
"name": "client",
|
|
||||||
"time": "2023-11-02 15:58:02.362"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,50 +1,50 @@
|
|||||||
{
|
{
|
||||||
"3cbe43": {
|
"53c14f": {
|
||||||
"meta": {
|
|
||||||
"icon": "/require/usr/icons/git.png",
|
|
||||||
"index": "web.code.git.status",
|
|
||||||
"name": "status",
|
|
||||||
"time": "2023-08-26 22:24:53.613"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"8003c1": {
|
|
||||||
"meta": {
|
|
||||||
"icon": "usr/icons/go.png",
|
|
||||||
"index": "web.code.compile",
|
|
||||||
"name": "compile",
|
|
||||||
"time": "2023-08-03 09:42:37.310"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"875ef2": {
|
|
||||||
"meta": {
|
|
||||||
"icon": "usr/icons/Safari.png",
|
|
||||||
"index": "web.chat.iframe",
|
|
||||||
"name": "Safari",
|
|
||||||
"time": "2023-08-03 09:42:37.309"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ad6e4f": {
|
|
||||||
"meta": {
|
|
||||||
"icon": "usr/icons/Finder.png",
|
|
||||||
"index": "web.chat.macos.finder",
|
|
||||||
"name": "Finder",
|
|
||||||
"time": "2023-08-03 09:42:37.309"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"b1d8f4": {
|
|
||||||
"meta": {
|
"meta": {
|
||||||
"icon": "usr/icons/vimer.png",
|
"icon": "usr/icons/vimer.png",
|
||||||
"index": "web.code.vimer",
|
"index": "web.code.vimer",
|
||||||
"name": "vimer",
|
"name": "vimer",
|
||||||
"time": "2023-08-03 09:42:37.309"
|
"time": "2023-12-13 11:11:34.409"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fd7492": {
|
"76cc52": {
|
||||||
|
"meta": {
|
||||||
|
"icon": "usr/icons/go.png",
|
||||||
|
"index": "web.code.compile",
|
||||||
|
"name": "go",
|
||||||
|
"time": "2023-12-13 11:11:34.409"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"960c5c": {
|
||||||
|
"meta": {
|
||||||
|
"icon": "usr/icons/git.png",
|
||||||
|
"index": "web.code.git.status",
|
||||||
|
"name": "git",
|
||||||
|
"time": "2023-12-13 11:11:34.409"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"a75a2f": {
|
||||||
"meta": {
|
"meta": {
|
||||||
"icon": "usr/icons/Terminal.png",
|
"icon": "usr/icons/Terminal.png",
|
||||||
"index": "web.code.xterm",
|
"index": "web.code.xterm",
|
||||||
"name": "Terminal",
|
"name": "Terminal",
|
||||||
"time": "2023-08-03 09:42:37.309"
|
"time": "2023-12-13 11:11:34.409"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"d727a6": {
|
||||||
|
"meta": {
|
||||||
|
"icon": "usr/icons/Safari.png",
|
||||||
|
"index": "web.chat.iframe",
|
||||||
|
"name": "Safari",
|
||||||
|
"time": "2023-12-13 11:11:34.408"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"dc2a2d": {
|
||||||
|
"meta": {
|
||||||
|
"icon": "usr/icons/Finder.png",
|
||||||
|
"index": "web.chat.macos.finder",
|
||||||
|
"name": "Finder",
|
||||||
|
"time": "2023-12-13 11:11:34.408"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user