Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="A bot template for https://github.com/markusfisch/bots">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Manual Input Bots Template</title>
<script src="https://markusfisch.github.io/bots/bots.js"></script>
</head>
<body>
<input type="text" id="Command" placeholder="Command?"/>
</body>
</html>
 
bots('127.0.0.1', function(view, send, close) {
  const cmd = document.getElementById('Command')
  document.onkeyup = function() {
    send(cmd.value)
    cmd.value = ''
  }
})
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers