/auto-command

Automatic shell task tool implemented by nodejs and vue3

Primary LanguageJavaScript

Auto Command

features


planning

  • server manage
    • basic information √
    • web ssh
      • basic information √
      • shell √
      • sftp
        • mkdir √
        • upload file、folder √
        • download √
        • rename √
        • delete √
        • copy path √
        • keyboard operation √
        • goto path √
      • monitor
        • cpu √
        • mem √
        • network √
        • process √
        • mount √
    • modify the random password √
    • automatic generation authorized_keys √
  • task
    • public resource √
    • edit ×
    • dispatch ×
    • log ×

Getting started

# clone the project
git clone https://github.com/hlxxzt/auto-command.git

# enter the project web directory
cd auto-command/web

# install dependency and build
yarn && yarn build

# enter the project server directory
cd ../server

# install server dependency and run server
yarn && yarn run start

browser open http://localhost:3100


images


Server Dependencies

module explain
alasql sql语法查询实现
express 后端框架
express-ws 精简后集成至项目中
connect-history-api-fallback 精简后集成到项目中
ssh2 集成至项目中,去除crypto gyp部分
ssh2-promise 参考部分代码实现
utf8 保留encode部分代码,集成至项目中
electerm 监控模块想法来源与这个工具, 代码是这部分 run-cmd.js
multer 参考实现文件上传部分
busboy 文件上传headers解析

Web Dependencies

module explain
vite -
vue3 -
element-plus -
xterm web terminal
typescript -
scss -
monaco-editor -