diff --git a/.gitignore b/.gitignore index 319b82f..e379090 100644 --- a/.gitignore +++ b/.gitignore @@ -52,3 +52,11 @@ jspm_packages # Optional REPL history .node_repl_history + +# Snapcraft +/parts/ +/prime/ +/stage/ +.snapcraft +*.snap +*.tar.bz2 diff --git a/bin/telebit.js b/bin/telebit.js old mode 100644 new mode 100755 diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 0000000..e13dde4 --- /dev/null +++ b/snap/snapcraft.yaml @@ -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? It’s 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