“There are two kinds of spurs, my friend. Those that come in by the door … [and] those that come in by the window.”
— Tuco Benedicto Pacifico Juan Maria Ramirez
Sometimes it’s easier to come in by the window. Tuco is a slightly cleaned-up fork of the prehistoric
net.wimpi.telnetd with a pure API in the style of doobie. It lets you embed a telnet server in your application in a reasonable way.
Tuco is available for Scala 2.10, 2.11, and 2.12 with
- scalaz 7.2
- scala-optparse-applicative 0.5
Add the dependency to your
libraryDependencies += "org.tpolecat" %% "tuco" % "0.1.1"
Obviously this is very early software. Please experiment and contribute code or suggestions, but don’t rely on it for anything important yet unless you are prepared to rewrite things.
Where from here? Maybe the exquisite and voluminous documentation?
Is this a security problem? Yes! Telnet should definitely not be available outside your local network, and probably not even from a remote machine. It’s all on you.
Who the hell is Tuco Benedicto Pacifico Juan Maria Ramirez? Please enjoy this brief educational video.