All Projects → o8oo8o → GoWebSSH

o8oo8o / GoWebSSH

Licence: MIT license
功能强大,Go 实现的一个WebSSH,支持文件上传下载

Programming Languages

c
50402 projects - #5 most used programming language
go
31211 projects - #10 most used programming language
assembly
5116 projects
shell
77523 projects
Vue
7211 projects
typescript
32286 projects

Projects that are alternatives of or similar to GoWebSSH

vite-vue3-starter
⭐ A Vite 2.x + Vue 3.x + TypeScript template starter
Stars: ✭ 384 (+242.86%)
Mutual labels:  vue3
sonic-client-web
🎉Front end of Sonic cloud real machine testing platform. Sonic云真机测试平台前端。
Stars: ✭ 512 (+357.14%)
Mutual labels:  vue3
templates
tsParticles website templates collection
Stars: ✭ 42 (-62.5%)
Mutual labels:  vue3
ionic-vue-mobile-template-03
Hybrid app template built with vue, ionic and capacitor.
Stars: ✭ 62 (-44.64%)
Mutual labels:  vue3
vue-antd-admin
基于vue3.0 + vue-cli4.0 + vue-router4.x + vuex4.x + ant-design-vue2.x开发的后台管理系统模板,包含权限路由、权限按钮、流程配置、个人中心等基础功能
Stars: ✭ 57 (-49.11%)
Mutual labels:  vue3
admin-antd-vue
Vue3.x + Ant Design Admin template (vite/webpack)
Stars: ✭ 111 (-0.89%)
Mutual labels:  vue3
vue3-openlayers
Web map Vue 3.x components with the power of OpenLayers
Stars: ✭ 320 (+185.71%)
Mutual labels:  vue3
vue3-datepicker
Simple datepicker component for Vue 3
Stars: ✭ 93 (-16.96%)
Mutual labels:  vue3
vite-primevue-starter
VUE 3 Starter project for using primevue 3 with Vite 2 - Pages, Layouts, Validation
Stars: ✭ 37 (-66.96%)
Mutual labels:  vue3
vue-magnify
vue-magnify / vue放大镜组件
Stars: ✭ 14 (-87.5%)
Mutual labels:  vue3
vue-split-carousel
a carousel component for vue, meanwhile display several carousel item
Stars: ✭ 37 (-66.96%)
Mutual labels:  vue3
electron-vue3-inote
使用electron11+vue3.x+ts的桌面端便笺项目,拥有漂亮的过渡动画效果,以富文本形式储存在本地,可多开输入窗口。(The desktop note project using electron11+vue3.x+ts has beautiful transition animation effects, stored locally in the form of rich text, and can open more input windows.)
Stars: ✭ 168 (+50%)
Mutual labels:  vue3
lsp-volar
Language support for Vue3
Stars: ✭ 20 (-82.14%)
Mutual labels:  vue3
vue3-analysis
vue3源码解释😃
Stars: ✭ 120 (+7.14%)
Mutual labels:  vue3
vite2-vue3-admin
Vite2 + Vue3.0 + ant-design 2.x
Stars: ✭ 28 (-75%)
Mutual labels:  vue3
portfolio
simple portfolio use vue3 and vite inspired by wrongakram
Stars: ✭ 22 (-80.36%)
Mutual labels:  vue3
vite-svg
Use SVG files as Vue components with Vite
Stars: ✭ 98 (-12.5%)
Mutual labels:  vue3
vitesome
A simple opinionated Vue3 Starter Template with Vite.js
Stars: ✭ 124 (+10.71%)
Mutual labels:  vue3
vuestic-ui
Free and Open Source UI Library for Vue 3 🤘
Stars: ✭ 1,501 (+1240.18%)
Mutual labels:  vue3
pro.webssh.net
iOS / iPadOS / macOS SSH Client
Stars: ✭ 108 (-3.57%)
Mutual labels:  webssh

GoWebSSH


介绍:

  • Golang + (Vue3 + Vite2) 实现一个Web版单文件的SSH管理工具
  • 借助于Golang embed,打包以后只有一个文件,简单高效
  • 使用及编译过程,超级简单,绝对保姆级

目标:  取代Xshell

  • 目前虽然只实现xshell部分功能,未来计划逐步更新

主要功能:

  • 支持同时连接多个主机
  • 可以保存主机连接信息
  • 终端窗口大小根据浏览器窗口自适应
  • 支持直接通过Web上传下载文件
  • 支持自定义终端字体大小、字体颜色、字体样式
  • 支持自定义背景、光标颜色及光标样式
  • 支持后台管理,强制断开连接
  • 已保存的主机信息可直接编辑并连接

后端介绍:

  • 使用最新Golang 1.17版本实现后端功能
  • 实现配置文件读取功能
  • 基于内存的session功能
  • 借助于sqlite可把主机信息持久化

前端介绍:

  • 使用最新版Vue3 + TypeScript实现前端逻辑
  • 前端UI使用最近element-plus最新稳定版
  • 基于最新版xterm.js + Websocket 实现终端


Quick start(大象装进冰箱只需3步):

必须使用golang 1.16以上版本,因为使用了Golang embed

git clone https://github.com/o8oo8o/GoWebSSH.git

cd gossh

go build

./gossh

打开链接 http://127.0.0.1:8899/ 开始享用吧


为什么这么简单

  • 为了方便您使用,把golang编译的依赖已经整理好了,放在lib中,clone就一起下载了

  • 前端已经编译完成,并把编译完成的静态资源拷贝到gossh/webroot目录中

  • 可执行文件内嵌静态资源,方便你随性所欲的移动可执行文件

  • 如果你感觉好用,可以打赏我


配置文件:

  • 第一次运行会在用户home目录创建一个 .GoWebSSH 目录
  • GoWebSSH.conf 可以配置server端口等信息
  • GoWebSSH.db 是一个sqlite数据库文件,保存主机信息
  • cert.pem HTTPS服务器证书文件
  • key.key HTTPS服务器私钥文件

注意:

  • 当程序检测到cert.pem 和 key.key 文件,会使用https协议,否则使用http协议
  • 用户只需把证书文件和私钥文件放到 .GoWebSSH 目录就可以了

求助:

  • 为了方便有一个在线demo,求助一个低配版云主机

Systemd 方式启动:

cat > /etc/systemd/system/gowebapp.service << "END"
##################################
[Unit]
Description=GoWebApp
After=network.target

[Service]
Type=simple
User=root

## 注:根据可执行文件路径修改
ExecStart=/usr/local/GoWebSSH

# auto restart
StartLimitIntervalSec=0
Restart=always
RestartSec=1

[Install]
WantedBy=multi-user.target
##################################
END


systemctl daemon-reload

systemctl start gowebapp.service

systemctl enable gowebapp.service


演示截图:

avatar avatar avatar avatar avatar

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].