Snapcraft configuration #23

開啟中
Ghost wants to merge 1 commits from (deleted):feat/snapcraft into next
共有 3 個文件被更改,包括 37 次插入0 次删除
Showing only changes of commit 0237555928 - Show all commits

8
.gitignore vendored
查看文件

@ -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
查看文件

29
snap/snapcraft.yaml Normal 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? 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