Giter Site home page Giter Site logo

palmreader's Introduction

Palm Reader

Terminal UI plugin for hsd

palmreader-screenshot

Download pre-built latest release & run as an application

Coming soon!

Prerequisites

Palm Reader (and hsd) require nodejs v16 or greater. You must also have python and build tools installed for node-gyp to build native modules.

Copy to clipboard

For "copy" functionality you must have pbcopy, xsel or xclip installed on your system. Widgets with copy functions also have the option to export text to a file as an alternative.

OSX: brew install pbcopy

Linux: apt install xsel

Ledger

Ledger requires additional drivers and permissions on Linux.

Linux: apt install pkg-config libusb-1.0-0-dev libudev-dev

Also be sure to set up udev rules for Ledger:

wget -q -O - https://raw.githubusercontent.com/LedgerHQ/udev-rules/master/add_udev_rules.sh | sudo bash

Installation

Install globally using npm

If you get permissions errors installing global nodejs packages, do not just use sudo, fix the problem instead.

npm install -g hsd palmreader

Install locally using git (for contributing developers)

Clone and install as global node modules:

git clone https://github.com/handshake-org/hsd
cd hsd
npm i
npm i -g
cd ..
git clone https://github.com/pinheadmz/palmreader
cd palmreader
npm i --prod
npm i -g

The --prod flag is important here!

Usage

With hsd and Palm Reader both installed as global nodejs packages, run:

hsd --plugins palmreader

Notice that hsd is still the main process and Palm Reader is added as a plug-in. This means your hsd node remains fully configurable, and ALL configurations "should be" compatible with Palm Reader.

Examples:

hsd --plugins palmreader --spv --no-dns --api-key sandwich
hsd --plugins palmreader --network regtest --index-tx --index-address --prefix ~/.config/Bob/hsd_data
hsd --plugins palmreader --log-level spam

Build executable

We use pkg to create an executable that bundles nodejs itself along with hsd and Palm Reader scripts.

This time, remove the --prod flag after cloning from git:

cd palmreader
npm i
npm run build

Executable will be compiled to the build/ directory.

Dependencies

Due to the sensitivity of cryptocurrency software to dependency risk, only software written by The Handshake Developers is required by Palm Reader.

Any exceptions to this will be vendored and indicated below:

https://github.com/yaronn/blessed-contrib has been stripped down and included in src/ along with snippets from https://github.com/chalk/strip-ansi and https://github.com/chalk/ansi-regex (all MIT License)

palmreader's People

Contributors

pinheadmz avatar eskimo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.