Snapcraft configuration #23

Open
Ghost wants to merge 1 commits from (deleted):feat/snapcraft into next
3 changed files with 37 additions and 0 deletions

8
.gitignore vendored
View File

@ -52,3 +52,11 @@ jspm_packages
# Optional REPL history
.node_repl_history
# Snapcraft
/parts/
/prime/
/stage/
.snapcraft
*.snap
*.tar.bz2

0
bin/telebit.js Normal file → Executable file
View File

29
snap/snapcraft.yaml Normal file
View File

@ -0,0 +1,29 @@
name: telebit
version: '0.21.0-wip.1'
summary: Because friends don't let friends localhost
description: |
Break out of localhost.
If you need to get bits from here to there, Telebit gets the job done.
Install Telebit Remote on any device - your laptop, raspberry pi, whatever - and now you can access that device from anywhere, even securely in a web browser.
How does it work? Its a net server that uses a relay to allow multiplexed incoming connections on any external port.
Features
grade: stable
confinement: strict
apps:
telebit:
command: telebit
plugs: [network, network-bind]
telebitd:
command: telebitd
plugs: [network, network-bind]
daemon: simple
parts:
telebit:
plugin: nodejs
node-engine: 10.13.0
source: .
override-build: |
snapcraftctl build