1
0
forked from x/ContextOS
ContextOS/etc/init.shy
2023-05-22 15:48:42 +08:00

47 lines
2.5 KiB
Plaintext

~web
config space meta.main "desktop"
# config serve meta.main "/chat/cmd/desktop"
spide create name "com" link "http://2021.shylinux.com:9020"
dream create name 20221205-sshd repos https://shylinux.com/x/sshd binary http://2021.shylinux.com:9020/chat/pod/20221205-sshd
dream create name 20230510-redis-story repos https://shylinux.com/x/redis-story binary http://2021.shylinux.com:9020/chat/pod/20230510-redis-story
dream create name 20230511-golang-story repos https://shylinux.com/x/golang-story binary http://2021.shylinux.com:9020/chat/pod/20230511-golang-story
dream create name 20230511-linux-story repos https://shylinux.com/x/linux-story binary http://2021.shylinux.com:9020/chat/pod/20230511-linux-story
dream create name 20230511-mysql-story repos https://shylinux.com/x/mysql-story binary http://2021.shylinux.com:9020/chat/pod/20230511-mysql-story
dream create name 20230511-nginx-story repos https://shylinux.com/x/nginx-story binary http://2021.shylinux.com:9020/chat/pod/20230511-nginx-story
~web.code
webpack insert xterm
webpack insert xterm-addon-fit
webpack insert xterm-addon-web-links
webpack insert xterm/css/xterm.css
binpack insert usr/node_modules/xterm/lib/xterm.js
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/xterm/css/xterm.css
binpack insert usr/icons/
~web.chat.macos
applications install "dream" web.dream icon "usr/icons/Mission Control.png"
applications install "compile" web.code.compile icon "usr/icons/go.png"
applications install "repos" web.code.git.service icon "usr/icons/git.jpg"
applications install "Preferences" web.chat.macos.opens args "System Preferences" icon "usr/icons/System Preferences.png"
applications install "QuickTime" web.chat.macos.opens args "QuickTime Player" icon "usr/icons/QuickTime Player.png"
applications install "Activity" web.chat.macos.opens args "Activity Monitor" icon "usr/icons/Activity Monitor.png"
applications install "Preview" web.chat.macos.opens args "Preview"
~aaa
role white void web.code.git.trend
role white void web.code.git.spide
~gdb
event listen event serve.start cmd web.serve
event listen event serve.start cmd web.broad
event listen event dream.create cmd web.code.xterm
event listen event dream.create cmd web.code.tmux.session
event listen event dream.create cmd web.chat.macos.notifications
event listen event dream.create cmd web.chat.iframe
~ssh
target web.chat.macos
source local.shy