An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 1.9% on proxy.golang.org
Top 0.6% dependent packages on proxy.golang.org
Top 0.7% dependent repos on proxy.golang.org
Top 3.1% forks on proxy.golang.org
Top 1.7% docker downloads on proxy.golang.org

proxy.golang.org : github.com/reiver/go-telnet

Package telnet provides TELNET and TELNETS client and server implementations in a style similar to the "net/http" library that is part of the Go standard library, including support for "middleware"; TELNETS is secure TELNET, with the TELNET protocol over a secured TLS (or SSL) connection. ListenAndServe starts a (un-secure) TELNET server with a given address and handler. ListenAndServeTLS starts a (secure) TELNETS server with a given address and handler, using the specified "cert.pem" and "key.pem" files. Example TELNET Client: DialToAndCall creates a (un-secure) TELNET client, which connects to a given address using the specified caller. Example TELNETS Client: DialToAndCallTLS creates a (secure) TELNETS client, which connects to a given address using the specified caller. If you are communicating over the open Internet, you should be using (the secure) TELNETS protocol and ListenAndServeTLS. If you are communicating just on localhost, then using just (the un-secure) TELNET protocol and telnet.ListenAndServe may be OK. If you are not sure which to use, use TELNETS and ListenAndServeTLS. The previous 2 exaple servers were very very simple. Specifically, they just echoed back whatever you submitted to it. If you typed: ... it would send back: (Exactly the same data you sent it.) A more useful TELNET server can be made using the "github.com/reiver/go-telnet/telsh" sub-package. The `telsh` sub-package provides "middleware" that enables you to create a "shell" interface (also called a "command line interface" or "CLI") which most people would expect when using TELNET OR TELNETS. For example: Note that in the example, so far, we have registered 2 commands: `date` and `animate`. For this to actually work, we need to have code for the `date` and `animate` commands. The actual implemenation for the `date` command could be done like the following: Note that your "real" work is in the `dateHandlerFunc` func. And the actual implementation for the `animate` command could be done as follows: Again, note that your "real" work is in the `animateHandlerFunc` func. If you are using the telnet.ListenAndServeTLS func or the telnet.Server.ListenAndServeTLS method, you will need to supply "cert.pem" and "key.pem" files. If you do not already have these files, the Go soure code contains a tool for generating these files for you. It can be found at: So, for example, if your `$GOROOT` is the "/usr/local/go" directory, then it would be at: If you run the command: ... then you get the help information for "generate_cert.go". Of course, you would replace or set `$GOROOT` with whatever your path actually is. Again, for example, if your `$GOROOT` is the "/usr/local/go" directory, then it would be: To demonstrate the usage of "generate_cert.go", you might run the following to generate certificates that were bound to the hosts `127.0.0.1` and `localhost`: If you are not sure where "generate_cert.go" is on your computer, on Linux and Unix based systems, you might be able to find the file with the command: (If it finds it, it should output the full path to this file.) You can make a simple (un-secure) TELNET client with code like the following: You can make a simple (secure) TELNETS client with code like the following: The TELNET protocol is best known for providing a means of connecting to a remote computer, using a (text-based) shell interface, and being able to interact with it, (more or less) as if you were sitting at that computer. (Shells are also known as command-line interfaces or CLIs.) Although this was the original usage of the TELNET protocol, it can be (and is) used for other purposes as well. The TELNET protocol came from an era in computing when text-based shell interface where the common way of interacting with computers. The common interface for computers during this era was a keyboard and a monochromatic (i.e., single color) text-based monitors called "video terminals". (The word "video" in that era of computing did not refer to things such as movies. But instead was meant to contrast it with paper. In particular, the teletype machines, which were typewriter like devices that had a keyboard, but instead of having a monitor had paper that was printed onto.) In that era, in the early days of office computers, it was rare that an individual would have a computer at their desk. (A single computer was much too expensive.) Instead, there would be a single central computer that everyone would share. The style of computer used (for the single central shared computer) was called a "mainframe". What individuals would have at their desks, instead of their own compuer, would be some type of video terminal. The different types of video terminals had named such as: • VT52 • VT100 • VT220 • VT240 ("VT" in those named was short for "video terminal".) To understand this era, we need to go back a bit in time to what came before it: teletypes. Terminal codes (also sometimes called 'terminal control codes') are used to issue various kinds of commands to the terminal. (Note that 'terminal control codes' are a completely separate concept for 'TELNET commands', and the two should NOT be conflated or confused.) The most common types of 'terminal codes' are the 'ANSI escape codes'. (Although there are other types too.) ANSI escape codes (also sometimes called 'ANSI escape sequences') are a common type of 'terminal code' used to do things such as: • moving the cursor, • erasing the display, • erasing the line, • setting the graphics mode, • setting the foregroup color, • setting the background color, • setting the screen resolution, and • setting keyboard strings. One of the abilities of ANSI escape codes is to set the foreground color. Here is a table showing codes for this: (Note that in the `[]byte` that the first `byte` is the number `27` (which is the "escape" character) where the third and fouth characters are the **not** number literals, but instead character literals `'3'` and whatever.) Another of the abilities of ANSI escape codes is to set the background color. (Note that in the `[]byte` that the first `byte` is the number `27` (which is the "escape" character) where the third and fouth characters are the **not** number literals, but instead character literals `'4'` and whatever.) In Go code, if I wanted to use an ANSI escape code to use a blue background, a white foreground, and bold, I could do that with the ANSI escape code: Note that that start with byte value 27, which we have encoded as hexadecimal as \x1b. Followed by the '[' character. Coming after that is the sub-string "44", which is the code that sets our background color to blue. We follow that with the ';' character (which separates codes). And the after that comes the sub-string "37", which is the code that set our foreground color to white. After that, we follow with another ";" character (which, again, separates codes). And then we follow it the sub-string "1", which is the code that makes things bold. And finally, the ANSI escape sequence is finished off with the 'm' character. To show this in a more complete example, our `dateHandlerFunc` from before could incorporate ANSI escape sequences as follows: Note that in that example, in addition to using the ANSI escape sequence "\x1b[44;37;1m" to set the background color to blue, set the foreground color to white, and make it bold, we also used the ANSI escape sequence "\x1b[0m" to reset the background and foreground colors and boldness back to "normal".

Registry - Source - Documentation - JSON - codemeta.json
purl: pkg:golang/github.com/reiver/go-telnet
Keywords: rfc-15 , rfc-854 , telnet , telnet-client , telnet-protocol , telnet-server , telnets
License: MIT
Latest release: over 7 years ago
First release: over 7 years ago
Namespace: github.com/reiver
Dependent packages: 57
Dependent repositories: 75
Stars: 220 on GitHub
Forks: 68 on GitHub
Docker dependents: 3
Docker downloads: 1,047,945
See more repository details: repos.ecosyste.ms
Last synced: 12 months ago

Top 7.5% on proxy.golang.org
github.phpd.cn/axllent/mailpit v1.18.5
93 versions - Latest release: over 1 year ago
github.com/jxsl13/twapi v1.5.0
the twapi package is a framework to interact with Teeworlds servers and masterservers. It is slow...
11 versions - Latest release: over 1 year ago - 1 dependent repositories - 1 stars on GitHub
Top 9.0% on proxy.golang.org
github.com/jxsl13/teeworldseconvpndetection v0.4.4
The Go implementation of an external VPN ban tool that connects to your server via the econ(based...
13 versions - Latest release: over 1 year ago - 2 stars on GitHub
Top 9.0% on proxy.golang.org
github.com/tolyar/tincl v0.0.10
Telnet INteractive CLient
10 versions - Latest release: over 1 year ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/lgdd/liferay-cli v1.4.0
Liferay CLI (lfr) is an unofficial tool written in Go that helps you create & manage Liferay proj...
10 versions - Latest release: almost 2 years ago - 3 stars on GitHub
Top 7.5% on proxy.golang.org
github.com/lgdd/lfr-cli v1.4.0
LFR is an unofficial CLI tool written in Go that helps you create & manage Liferay projects.
10 versions - Latest release: almost 2 years ago - 6 stars on GitHub
Top 9.6% on proxy.golang.org
github.com/kshitij10496/exp/isocon v0.0.0-20240122103320-68f554aac126
Collection of experimental projects
2 versions - Latest release: almost 2 years ago - 1 stars on GitHub
Top 8.2% on proxy.golang.org
gitee.com/ixxyy/goboot v0.1.27
26 versions - Latest release: almost 2 years ago
Top 6.0% on proxy.golang.org
github.com/keybase/go-framed-msgpack-rpc v0.0.0-20231213201819-78fffcb30e42
Framed RPC for go
4 versions - Latest release: almost 2 years ago - 1 dependent package - 19 dependent repositories - 10 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/foxlegend/opentelemetry-collector-opentsdb-contrib/receiver/opentsdbreceiver v0.0.0-20231201194215-1953bced7cc1
7 versions - Latest release: about 2 years ago - 0 stars on GitHub
github.com/xmapst/osapi v1.1.0 💰
OS Remote Executor Api
13 versions - Latest release: about 2 years ago - 0 stars on GitHub
Top 9.7% on proxy.golang.org
cd.git.cnapi.cc/marspanda/mp_libs v0.0.0-20231105030614-768114795bd5
6 versions - Latest release: about 2 years ago
Top 9.7% on proxy.golang.org
github.com/humbertovnavarro/krat v0.0.0-20231025025648-2fe8b4c87acf
1 version - Latest release: about 2 years ago - 1 stars on GitHub
github.com/kenneththompson/trestle/trestle-agent-go v0.0.0-20230925011929-1d42e3d10519
6 versions - Latest release: about 2 years ago - 0 stars on GitHub
Top 7.2% on proxy.golang.org
github.com/r-erema/go_sendbox v0.0.0-20230827110457-d152b4998d93
4 versions - Latest release: over 2 years ago - 1 dependent repositories
github.com/iguidao/redis-manager v0.0.0-20230728093105-03f4900de872
Redis可视化web管理平台,支持Redis Cluster集群、Codis、阿里和腾讯云Redis的运维管理以及基本的数据操作
1 version - Latest release: over 2 years ago - 8 stars on GitHub
Top 4.7% on proxy.golang.org
github.com/moul/sshportal v1.19.5 💰
:tophat: simple, fun and transparent SSH (and telnet) bastion server
36 versions - Latest release: over 2 years ago - 1,899 stars on GitHub
Top 3.8% on proxy.golang.org
moul.io/sshportal v1.19.5 💰
:tophat: simple, fun and transparent SSH (and telnet) bastion server
36 versions - Latest release: over 2 years ago - 1 dependent repositories - 1,900 stars on GitHub
Top 8.6% on proxy.golang.org
github.com/Corner-W/sk v0.0.0-20230322141952-37d5b15ed115
一个高性能服务器框架,written by golang
3 versions - Latest release: over 2 years ago - 1 stars on GitHub
Top 9.0% on proxy.golang.org
github.com/RobinUS2/tsxdb/telnet v0.0.0-20230321093313-9f1f843461a2
Timeseries DB
12 versions - Latest release: over 2 years ago - 1 dependent package - 1 dependent repositories - 3 stars on GitHub
Top 9.5% on proxy.golang.org
github.com/freedreamer82/mqtt-shell v0.0.0-20230316172850-980c708693c3
2 versions - Latest release: over 2 years ago - 1 dependent package - 1 dependent repositories - 2 stars on GitHub
Top 6.9% on proxy.golang.org
github.com/ondat/discoblocks v0.0.7
Open Source declarative disk configuration system for Kubernetes
9 versions - Latest release: almost 3 years ago - 35 stars on GitHub
Top 9.0% on proxy.golang.org
github.com/monasticacademy/maple-network-tools v0.0.0-20221107140127-32a525f9fafe
Tools for monitoring and logging wifi activity at MAPLE
2 versions - Latest release: about 3 years ago - 0 stars on GitHub
github.com/prestegard00000/telnet_interface_go v0.0.4
4 versions - Latest release: about 3 years ago - 1 dependent repositories - 0 stars on GitHub
Top 9.0% on proxy.golang.org
github.com/p2pcloud/p2pcloud v0.0.2
2 versions - Latest release: over 3 years ago - 0 stars on
Top 4.1% on proxy.golang.org
github.com/P2Pcloud/p2pcloud v0.0.2 removed
2 versions - Latest release: over 3 years ago
Top 8.2% on proxy.golang.org
gitee.com/sdynasty/clever v0.0.2
2 versions - Latest release: over 3 years ago
github.com/ev2-1/telnetClient v0.0.0-20220505194704-a1a6af08a836
A (even easier to use) client library for telnet servers
2 versions - Latest release: over 3 years ago - 1 dependent repositories - 2 stars on GitHub
Top 7.4% on proxy.golang.org
github.com/DictumMortuum/modem-exporter v0.0.0-20220313140755-ba44642b65c8
1 version - Latest release: over 3 years ago - 3 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/kankburhan/dofind v1.2.1 💰
domain related finder
1 version - Latest release: almost 4 years ago - 5 stars on GitHub
Top 8.2% on proxy.golang.org
code.rocketnine.space/tslocum/fibs v0.0.0-20211112042838-16c24d47934a
Package fibs provides a FIBS.com (online backgammon) client library. In addition to the standard...
2 versions - Latest release: about 4 years ago - 2 dependent packages
Top 8.2% on proxy.golang.org
github.com/muzudho/gtp-engine-to-nngs v0.0.0-20211009004511-e05f31b0b76c
GTP engine to NNGS.
1 version - Latest release: about 4 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
code.rocketnine.space/tslocum/bgammon v0.0.0-20210908025640-7381027a0554
Backgammon server powering bgammon.org
1 version - Latest release: over 4 years ago - 0 stars on code.rocket9labs.com
Top 8.2% on proxy.golang.org
github.com/evilsocket/shellz v1.6.0 💰
shellz is a small utility to manage your ssh, telnet, kubernetes, winrm, web or any custom shell ...
8 versions - Latest release: over 4 years ago - 605 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/dongxiaoyi/toolbox v1.0.0
运维常用工具集
1 version - Latest release: over 4 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/dongxiaoyi/toolBox v1.0.0
运维常用工具集
1 version - Latest release: over 4 years ago - 0 stars on GitHub
Top 9.6% on proxy.golang.org
github.com/thediscordian/hookd2gs v1.0.0
A simple wrapper for D2GS.exe which helps smooth out errors and restarts.
1 version - Latest release: over 4 years ago - 1 stars on GitHub
Top 4.3% on proxy.golang.org
github.com/HFO4/gbc-in-cloud v0.0.0-20210304131534-657501f18a60
🕹️ A basic gameboy emulator with terminal "Cloud Gaming" support
1 version - Latest release: almost 5 years ago - 1 dependent repositories - 4,475 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/muzudho/gtp-to-nngs v0.0.0-20210227092622-4e0c666e2b73
コンピューター囲碁の GPT2NNGS-20150629 を Go言語 に変える練習☆(^~^)
1 version - Latest release: almost 5 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/muzudho/human-to-nngs v0.0.0-20210223065153-c7e36766e581
Connect to NNGS from human
1 version - Latest release: almost 5 years ago - 0 stars on GitHub
Top 5.0% on proxy.golang.org
github.com/muzudho/kifuwarabe-uec12 v0.0.0-20210211094216-4a8674f41b78
1 version - Latest release: almost 5 years ago - 1 dependent package - 1 dependent repositories
Top 8.2% on proxy.golang.org
github.com/YasiruR/ktool-backend v0.0.0-20201222175114-70bd14fda540
1 version - Latest release: almost 5 years ago - 2 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/wintermanc3r/go-telnet v0.0.0-20201207221008-914151f77806
Package telnet provides TELNET and TELNETS client and server implementations in a style similar t...
1 version - Latest release: about 5 years ago
Top 8.2% on proxy.golang.org
github.com/kpfaulkner/nana v0.0.0-20201108054922-2603d7f561cd
control Grand-MA from CLI
1 version - Latest release: about 5 years ago - 1 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/byuoitav/keydigital-driver v0.1.0
This is the driver for the Key Digital Video Switcher
13 versions - Latest release: about 5 years ago - 1 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/xuchaoi/dubbo-exporter v0.0.0-20200921071152-552d2efd4155
The monitoring collector of dubbo service, through telnet to the service, execute `status -l` to ...
1 version - Latest release: about 5 years ago - 1 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/thomask33/upstartgriefbot v0.1.0
Twitch plays Dota Underlords using Source 2's netcon / telnet interface.
1 version - Latest release: over 5 years ago - 2 stars on GitHub
Top 9.0% on proxy.golang.org
github.com/ThomasK33/UpstartGriefBot v0.1.0
Twitch plays Dota Underlords using Source 2's netcon / telnet interface.
1 version - Latest release: over 5 years ago - 2 stars on GitHub
Top 4.1% on proxy.golang.org
github.com/ThomasK33/upstartgriefbot v0.1.0 removed
1 version - Latest release: over 5 years ago
Top 8.6% on proxy.golang.org
github.com/ovitente/logo-changer v1.2.0
Single stateless app for changing user logos and banners for TeamSpeak3
1 version - Latest release: almost 6 years ago - 1 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/goplume/core v1.1.10
9 versions - Latest release: about 6 years ago
Top 7.5% on proxy.golang.org
github.com/piszmog/watercooler-chat v1.0.0
A simple chat server to allow remote teammates to have their "watercooler moments"
1 version - Latest release: over 6 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/cypherpunkarmory/punch v0.0.0-20190719214124-f85e97c0835c
Holepunch CLI Tool
1 version - Latest release: over 6 years ago - 3 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/ingcr3at1on/glas v0.0.1
A mud client in Go.
1 version - Latest release: almost 7 years ago - 3 stars on GitHub
github.com/IngCr3at1on/glas v0.0.1
A mud client in Go.
1 version - Latest release: almost 7 years ago - 1 dependent repositories - 3 stars on GitHub
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.