https://github.com/need-being/devscope
See through the dev environment
https://github.com/need-being/devscope
devscope go scope
Last synced: 10 months ago
JSON representation
See through the dev environment
- Host: GitHub
- URL: https://github.com/need-being/devscope
- Owner: need-being
- License: mit
- Created: 2020-12-27T10:55:01.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-28T15:27:34.000Z (about 5 years ago)
- Last Synced: 2025-02-12T13:58:42.751Z (12 months ago)
- Topics: devscope, go, scope
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# devscope
The tool `devscope` allows the server to control the client, while the client can see what the server is doing.
It is useful for remote assistance, and explore non-interactive develop environments such as containers by cloud providers.
## Build
Building requires go `>= 1.15`. Simply, run
```shell
go build ./cmd/devscope
```
## Example Run
1. Server starts listening:
```
~$ devscope listen :5072
• Listening at :5072
```
2. Client connects to the server, and transfer control to the server.
```
~$ devscope connect localhost:5072
• Connected to localhost:5072
• Running /bin/sh -i
• Control transferred to Server
$
```
3. Server can explore on behalf of the client:
```
~$ devscope listen :5072
• Listening at :5072
• Accepted from 127.0.0.1:44694
$ echo hello world
hello world
$
```