From fbc340a2761627969a8461d834d82562464b27d2 Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Thu, 1 Sep 2022 14:30:55 -0500 Subject: [PATCH 01/28] Create snapcraft.yaml --- snap/snapcraft.yaml | 46 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 snap/snapcraft.yaml diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 00000000..0c6ce503 --- /dev/null +++ b/snap/snapcraft.yaml @@ -0,0 +1,46 @@ +name: ttyd +adopt-info: ttyd +summary: Share your terminal over the web +description: | + ttyd is a simple command-line tool for sharing terminal over the web + +grade: stable +confinement: strict +base: core20 +compression: lzo + +license: MIT + +assumes: + - command-chain + +apps: + ttyd: + command: bin/ttyd + command-chain: + - bin/homeishome-launch + plugs: + - process-control + - system-observe + - mount-observe + - network + - network-observe + - home + - removable-media + - mount-observe + +parts: + ttyd: + source: https://github.com/tsl0922/ttyd + source-type: git + plugin: cmake + + build-packages: + - build-essential + - libjson-c-dev + - libwebsockets-dev + + homeishome-launch: + plugin: nil + stage-snaps: + - homeishome-launch From 691640b071e2bba48e69b79c54144a7964653318 Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Thu, 1 Sep 2022 14:33:04 -0500 Subject: [PATCH 02/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 0c6ce503..181219a3 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -16,7 +16,7 @@ assumes: apps: ttyd: - command: bin/ttyd + command: usr/bin/ttyd command-chain: - bin/homeishome-launch plugs: @@ -34,7 +34,9 @@ parts: source: https://github.com/tsl0922/ttyd source-type: git plugin: cmake - + cmake-parameters: + - -DCMAKE_INSTALL_PREFIX=/usr + build-packages: - build-essential - libjson-c-dev From 19ad97312f76e9a5d0f61e03bc7f8bd127d14179 Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Thu, 1 Sep 2022 14:36:47 -0500 Subject: [PATCH 03/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 181219a3..b5e412c9 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -19,16 +19,11 @@ apps: command: usr/bin/ttyd command-chain: - bin/homeishome-launch - plugs: - - process-control - - system-observe - - mount-observe - - network - - network-observe - - home - - removable-media - - mount-observe - + plugs: + - network + - network-observe + - home + parts: ttyd: source: https://github.com/tsl0922/ttyd From 4c920ff743c383a149b13d88ab30e0c9b7b1a34a Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Thu, 1 Sep 2022 14:40:21 -0500 Subject: [PATCH 04/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index b5e412c9..aee83d4b 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -37,6 +37,11 @@ parts: - libjson-c-dev - libwebsockets-dev + stage-packages: + - build-essential + - libjson-c-dev + - libwebsockets-dev + homeishome-launch: plugin: nil stage-snaps: From 3a558d1df197adf9577ffd673486aeca07f4ae2a Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Thu, 1 Sep 2022 14:40:56 -0500 Subject: [PATCH 05/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index aee83d4b..bc1e810a 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -31,6 +31,10 @@ parts: plugin: cmake cmake-parameters: - -DCMAKE_INSTALL_PREFIX=/usr + + override-pull: | + snapcraftctl pull + snapcraftctl set-version "$(git describe --tags | sed 's/^v//' | cut -d "-" -f1)" build-packages: - build-essential From dfeb72f69a883163b8b3a47a2f14144065934cc6 Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Thu, 1 Sep 2022 14:48:03 -0500 Subject: [PATCH 06/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index bc1e810a..6b8f75aa 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -40,11 +40,13 @@ parts: - build-essential - libjson-c-dev - libwebsockets-dev + - cmake + - git stage-packages: - build-essential - libjson-c-dev - - libwebsockets-dev + - libwebsockets-dev homeishome-launch: plugin: nil From 734ca1f8825b015c05109e3f151f4b7210fc8bf7 Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Thu, 1 Sep 2022 14:51:56 -0500 Subject: [PATCH 07/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 6b8f75aa..886436bf 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -16,7 +16,7 @@ assumes: apps: ttyd: - command: usr/bin/ttyd + command: bin/ttyd command-chain: - bin/homeishome-launch plugs: @@ -29,8 +29,6 @@ parts: source: https://github.com/tsl0922/ttyd source-type: git plugin: cmake - cmake-parameters: - - -DCMAKE_INSTALL_PREFIX=/usr override-pull: | snapcraftctl pull From a8159e223cd4c5ff530ebecf06cc71f707856b00 Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Thu, 1 Sep 2022 15:03:50 -0500 Subject: [PATCH 08/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 886436bf..159534f0 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -39,7 +39,8 @@ parts: - libjson-c-dev - libwebsockets-dev - cmake - - git + - git + - libpthreadpool-dev stage-packages: - build-essential From c6767c531eb9643c15abc2da391a37054fb61b1c Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Thu, 1 Sep 2022 15:07:22 -0500 Subject: [PATCH 09/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 159534f0..2053b559 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -40,7 +40,7 @@ parts: - libwebsockets-dev - cmake - git - - libpthreadpool-dev + - libpthread-stubs0-dev stage-packages: - build-essential From 27597a964bcdeb46dde1488b260d8a4072a716e3 Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Thu, 1 Sep 2022 15:20:57 -0500 Subject: [PATCH 10/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 2053b559..b1738747 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -28,8 +28,9 @@ parts: ttyd: source: https://github.com/tsl0922/ttyd source-type: git - plugin: cmake - + plugin: make + make-parameters: + - -lpthread override-pull: | snapcraftctl pull snapcraftctl set-version "$(git describe --tags | sed 's/^v//' | cut -d "-" -f1)" @@ -38,9 +39,6 @@ parts: - build-essential - libjson-c-dev - libwebsockets-dev - - cmake - - git - - libpthread-stubs0-dev stage-packages: - build-essential From d526876520306c8e3032ebdd26d77e8eb5d1c7d4 Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Thu, 1 Sep 2022 15:24:52 -0500 Subject: [PATCH 11/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index b1738747..42654ba4 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -28,8 +28,8 @@ parts: ttyd: source: https://github.com/tsl0922/ttyd source-type: git - plugin: make - make-parameters: + plugin: cmake + cmake-parameters: - -lpthread override-pull: | snapcraftctl pull From f2ff0c86a71e1fd4b0dba27022e24e893519b120 Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Thu, 1 Sep 2022 15:31:51 -0500 Subject: [PATCH 12/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 42654ba4..cfc4cb40 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -28,9 +28,15 @@ parts: ttyd: source: https://github.com/tsl0922/ttyd source-type: git - plugin: cmake - cmake-parameters: - - -lpthread + plugin: nil + override-build: | + git clone https://github.com/tsl0922/ttyd.git + cd ttyd && mkdir build && cd build + cmake .. + make && sudo make install + mkdir -p $SNAPCRAFT_PART_INSTALL/bin/ + cp ttyd $SNAPCRAFT_PART_INSTALL/bin/ + override-pull: | snapcraftctl pull snapcraftctl set-version "$(git describe --tags | sed 's/^v//' | cut -d "-" -f1)" From 34d0abc3c7016d9248ced0bf767fa9f6ae478ee2 Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Thu, 1 Sep 2022 15:32:05 -0500 Subject: [PATCH 13/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index cfc4cb40..6acdf0e6 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -45,6 +45,8 @@ parts: - build-essential - libjson-c-dev - libwebsockets-dev + - cmake + - git stage-packages: - build-essential From 39bcfcc636384f264836a9378ebaba13ce6ae51a Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Thu, 1 Sep 2022 16:44:09 -0500 Subject: [PATCH 14/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 6acdf0e6..89740dfb 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -47,6 +47,7 @@ parts: - libwebsockets-dev - cmake - git + - gcc-10 stage-packages: - build-essential From d032675eeaf4353a00b3be9ba46b47a07c3a9c0c Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Thu, 1 Sep 2022 16:46:52 -0500 Subject: [PATCH 15/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 89740dfb..9f672d86 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -46,6 +46,7 @@ parts: - libjson-c-dev - libwebsockets-dev - cmake + - extra-cmake-modules - git - gcc-10 From 2fc3b0846d5c774c2e7e9ab32ed1316c1a35fc98 Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Thu, 1 Sep 2022 18:11:21 -0500 Subject: [PATCH 16/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 9f672d86..66013e89 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -49,6 +49,7 @@ parts: - extra-cmake-modules - git - gcc-10 + - libpthread-stubs0-dev stage-packages: - build-essential From c306fb72570d78bdb42341cf4101d81c65d86d4e Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Thu, 1 Sep 2022 18:21:39 -0500 Subject: [PATCH 17/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 66013e89..0d47b8eb 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -16,7 +16,7 @@ assumes: apps: ttyd: - command: bin/ttyd + command: usr/bin/ttyd command-chain: - bin/homeishome-launch plugs: @@ -33,9 +33,9 @@ parts: git clone https://github.com/tsl0922/ttyd.git cd ttyd && mkdir build && cd build cmake .. - make && sudo make install - mkdir -p $SNAPCRAFT_PART_INSTALL/bin/ - cp ttyd $SNAPCRAFT_PART_INSTALL/bin/ + make -j$(nproc) && make install + mkdir -p $SNAPCRAFT_PART_INSTALL/usr/bin/ + cp ttyd $SNAPCRAFT_PART_INSTALL/usr/bin/ override-pull: | snapcraftctl pull From f780206546ba5411381bfddda62b06cac0006b71 Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Thu, 1 Sep 2022 20:43:58 -0500 Subject: [PATCH 18/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 0d47b8eb..d7edd19b 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -33,7 +33,7 @@ parts: git clone https://github.com/tsl0922/ttyd.git cd ttyd && mkdir build && cd build cmake .. - make -j$(nproc) && make install + make && make -j$(nproc) install mkdir -p $SNAPCRAFT_PART_INSTALL/usr/bin/ cp ttyd $SNAPCRAFT_PART_INSTALL/usr/bin/ From 4e5e11b34ce7ca4bedda8374e0fe010f34e744f7 Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Thu, 1 Sep 2022 20:51:46 -0500 Subject: [PATCH 19/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index d7edd19b..6e7e0a29 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -28,14 +28,10 @@ parts: ttyd: source: https://github.com/tsl0922/ttyd source-type: git - plugin: nil - override-build: | - git clone https://github.com/tsl0922/ttyd.git - cd ttyd && mkdir build && cd build - cmake .. - make && make -j$(nproc) install - mkdir -p $SNAPCRAFT_PART_INSTALL/usr/bin/ - cp ttyd $SNAPCRAFT_PART_INSTALL/usr/bin/ + plugin: cmake + cmake-parameters: + - -LDFLAGS='-pthread' + - -DCMAKE_INSTALL_PREFIX=/usr override-pull: | snapcraftctl pull From 3c53e173f13a4326d13575455f62d878734746ed Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Thu, 1 Sep 2022 20:52:03 -0500 Subject: [PATCH 20/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 6e7e0a29..e6498e78 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -41,11 +41,6 @@ parts: - build-essential - libjson-c-dev - libwebsockets-dev - - cmake - - extra-cmake-modules - - git - - gcc-10 - - libpthread-stubs0-dev stage-packages: - build-essential From ac2a2c7b8ebb916034eb510e2f73ec88c976a52d Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Thu, 1 Sep 2022 20:56:06 -0500 Subject: [PATCH 21/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index e6498e78..18460186 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -30,7 +30,7 @@ parts: source-type: git plugin: cmake cmake-parameters: - - -LDFLAGS='-pthread' + - -LDFLAGS=pthread - -DCMAKE_INSTALL_PREFIX=/usr override-pull: | From 9eef793a3115312a464521f8df12f04ee5f3086e Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Thu, 1 Sep 2022 21:04:55 -0500 Subject: [PATCH 22/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 18460186..8509ffec 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -30,8 +30,9 @@ parts: source-type: git plugin: cmake cmake-parameters: - - -LDFLAGS=pthread - -DCMAKE_INSTALL_PREFIX=/usr + build-environment: + - LDFLAGS: "-pthread" override-pull: | snapcraftctl pull From 641ea917b87d0b4b30267fecae1af0839c145e67 Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Thu, 1 Sep 2022 21:41:44 -0500 Subject: [PATCH 23/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 8509ffec..679d3121 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -4,8 +4,8 @@ summary: Share your terminal over the web description: | ttyd is a simple command-line tool for sharing terminal over the web -grade: stable -confinement: strict +grade: devel +confinement: devmode base: core20 compression: lzo From 3ff81831a5970862726b20e853d2728b5e1a8514 Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Fri, 2 Sep 2022 11:32:20 -0500 Subject: [PATCH 24/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 679d3121..486aefd6 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -23,6 +23,10 @@ apps: - network - network-observe - home + - process-control + - removable-media + - system-observe + - system-trace parts: ttyd: From d410b0d9b779ba960ce686f7ba6eae9f12408f90 Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Fri, 2 Sep 2022 11:46:02 -0500 Subject: [PATCH 25/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 486aefd6..301ff5be 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -5,7 +5,7 @@ description: | ttyd is a simple command-line tool for sharing terminal over the web grade: devel -confinement: devmode +confinement: classic base: core20 compression: lzo From cdb62b0e0a8be5eff6487c9d18dc462f1c326bcc Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Fri, 2 Sep 2022 11:49:57 -0500 Subject: [PATCH 26/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 301ff5be..bffc132a 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -19,14 +19,14 @@ apps: command: usr/bin/ttyd command-chain: - bin/homeishome-launch - plugs: - - network - - network-observe - - home - - process-control - - removable-media - - system-observe - - system-trace +# plugs: +# - network +# - network-observe +# - home +# - process-control +# - removable-media +# - system-observe +# - system-trace parts: ttyd: From d299422917b6a00c47909f836d532df60bdfdf27 Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Fri, 2 Sep 2022 12:17:54 -0500 Subject: [PATCH 27/28] Update snapcraft.yaml --- snap/snapcraft.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index bffc132a..64027af6 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -4,7 +4,7 @@ summary: Share your terminal over the web description: | ttyd is a simple command-line tool for sharing terminal over the web -grade: devel +grade: stable confinement: classic base: core20 compression: lzo @@ -19,14 +19,6 @@ apps: command: usr/bin/ttyd command-chain: - bin/homeishome-launch -# plugs: -# - network -# - network-observe -# - home -# - process-control -# - removable-media -# - system-observe -# - system-trace parts: ttyd: From f229faf528a65decd6837f447035e4867846efba Mon Sep 17 00:00:00 2001 From: kz6fittycent Date: Fri, 14 Oct 2022 14:42:51 -0500 Subject: [PATCH 28/28] Update README Prior to upstream PR. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 9c87639e..4d766e66 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,12 @@ brew install ttyd ## Install on Linux - Binary version (recommended): download from the [releases](https://github.com/tsl0922/ttyd/releases) page. + +- Install the snap: + + `sudo snap install ttyd --classic` + + - Build from source (debian/ubuntu): ```bash