Skip to content
/ devkit Public

Quic and Xtermjs based WebShell, with basic P2P support

License

Notifications You must be signed in to change notification settings

terrywh/devkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devkit

devkit-client

本地接口

  • 推送文件:
POST /file/push?address=<target.server-address>&source=<source.file-path>&target=<target.file-path>&override={target.file-override} HTTP/1.1

<optional.source.file-content>

devkit-server

配合 devkit 命令可实现:

  • pull - 从 devkit-client 拉取用户选定的文件
  • push - 向 devkit-client 推送指定的文件内容

devkit-relay

dependencies

bun

https://bun.sh

powershell -c "irm bun.sh/install.ps1 | iex"

npm

bun install

authorize

mkdir -p etc
touch etc/devkit.yaml

certificate

mkdir -p var/cert
name=`hostname`
keyfile=var/cert/server.key
certfile=var/cert/server.crt
openssl req -newkey rsa:2048 -x509 -nodes -keyout "$keyfile" -new -out "$certfile" -subj /CN=$name

keyfile=var/cert/client.key
certfile=var/cert/client.crt
openssl req -newkey rsa:2048 -x509 -nodes -keyout "$keyfile" -new -out "$certfile" -subj /CN=$name

About

Quic and Xtermjs based WebShell, with basic P2P support

Resources

License

Stars

Watchers

Forks

Packages

No packages published