From 5fcf5534276d687e1f6de89b0ab1ed3e773186bc Mon Sep 17 00:00:00 2001 From: Alexander Zhukov Date: Sun, 14 May 2017 18:26:21 +0300 Subject: [PATCH 1/3] :microscope: fix a typo --- src/BrailleBuffer.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BrailleBuffer.coffee b/src/BrailleBuffer.coffee index 643cb0e..df1077e 100644 --- a/src/BrailleBuffer.coffee +++ b/src/BrailleBuffer.coffee @@ -2,7 +2,7 @@ termap - Terminal Map Viewer by Michael Strassburger - Simple pixel to barille character mapper + Simple pixel to braille character mapper Implementation inspired by node-drawille (https://github.com/madbence/node-drawille) * added color support From 490a598d84d61a6f9ec0b8fbee0c4c7983c32b60 Mon Sep 17 00:00:00 2001 From: Leo Arias Date: Wed, 9 Aug 2017 00:16:54 +0000 Subject: [PATCH 2/3] Add the packaging metadata to build the mapscii snap --- snap/snapcraft.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 snap/snapcraft.yaml diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 0000000..52a420d --- /dev/null +++ b/snap/snapcraft.yaml @@ -0,0 +1,19 @@ +name: mapscii +version: master +summary: The Whole World In Your Console +description: | + A node.js based Vector Tile to Braille and ASCII renderer for + xterm-compatible terminals. + +grade: devel # must be 'stable' to release into candidate/stable channels +confinement: strict + +apps: + mapscii: + command: mapscii + plugs: [network] + +parts: + mapscii: + source: . + plugin: nodejs From 43e589cbd10c31a5e6fba4e0f67a3ba22c7e9e0f Mon Sep 17 00:00:00 2001 From: Leo Arias Date: Mon, 12 Feb 2018 19:32:18 -0600 Subject: [PATCH 3/3] Add the instructions to install the snap --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index e166738..348f190 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,8 @@ If you're on Windows, use the open source telnet client [PuTTY](https://www.chia ## How to install it locally +### With npm + If you haven't already got Node.js >= version 4.5, then [go get it](http://nodejs.org/). ``` @@ -34,6 +36,14 @@ npm install -g mapscii If you're on OSX, or get an error about file permissions, you may need to do ```sudo npm install -g mapscii``` +### With snap + +In any of the [supported Linux distros](https://snapcraft.io/docs/core/install): + + sudo snap install mapscii + +(This snap is maintained by [@nathanhaines](https://github.com/nathanhaines/)) + ## Running This is pretty simple too.