1.1.0 • Published 2 years ago

timebeam v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Timebeam

A TOTP constrained 1:1 secure tunnel built on hyperbeam

Timebeam example

Status: WIP

Timebeam is minimally viable level as of this version.

Install

npm i timebeam

Example

const Timebeam = require('timebeam')

let timebeam = new Timebeam({
  secret: 'some super secret secret', 
  topic: 'some secure topic identifier',
  clientPort: 8040,
  serverPort: 8041
})

timebeam.on('connected', (timebeam)=>{
  console.log('Timebeam Connected!')
})
timebeam.on('close', ()=>{
  console.log('Timebeam closed')
})

// Simple terminal chat app
timebeam.on('data', data => {
  console.log(data)
})
process.stdin.on('data', data => {
  timebeam.send(data)
})

// Telnet to the client port to send messages to the server
// Telnet to the server port to send messages to the client

Todo

  • Add reconnection logic on failed / dropped connections
  • Add SSH support
  • Add additional discovery mechanisms and transports (Gun, WebTorrent)
  • Add browser support
1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago