Giter Club home page Giter Club logo

lnqrcode's Introduction

LNQrcode

It is a plugin for c-lightning to display a QR code on a View!

Install

(!! FOR THE MOMENT Compatible only with JDK13 because the library JRPCLightning is under developing and is a static jar inside devlib directory!!)

Java produces a jar and c-lightning needs a bash script to run it! The plugin compiles the plugin and makes the script with the command ./gradlew createRunnableScript

After the gradual process, you have the jar inside the build/libs/qr-cli-all.jar and the script qr-cli-gen.sh in the root directory of the project.

How bash script look like

The contains only the command to run the jar with java, in my cases the script contains the following result>

#!/bin/bash
/usr/lib/jvm/jdk-13.0.2/bin/java -jar /home/vincent/Github/qr-cli/build/libs/qr-cli-all.jar

In this case, you can move this bash script inside your ./lightning/plugins the directory or you can add the plugin to the file conf with plugin=/PATH/bash/file or use the command line --plugin=/path/bash/file.

How to contribute

All contributions are welcome, feel free to open a PR or an issue to discuss any improvement or bugs. In addition, this repository needs a maintainer, if you like to contribute on open source software feel free to write an email to [email protected]

Built with

License

It is a plugin for c-lightning to display a QR code on a View!

Copyright (C) 2020 Vincenzo Palazzo [email protected]

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

lnqrcode's People

Contributors

vincenzopalazzo avatar

Watchers

 avatar  avatar

Forkers

22388o

lnqrcode's Issues

kotlin.UninitializedPropertyAccessException exception

When I try to create a new address, I receive an exception like the following one

Exception in thread "AWT-EventQueue-0" kotlin.UninitializedPropertyAccessException: lateinit property invoice has not been initialized                                       
	at io.jlightning.qr.cli.model.Options$PluginInfo.getInvoice(Options.kt:42)
	at io.jlightning.qr.cli.ui.QRUIContainer.initView(QRUIContainer.kt:54)
	at io.jlightning.qr.cli.ui.QRUIContainer.<init>(QRUIContainer.kt:44)
	at io.jlightning.qr.cli.ui.QRCliUI.initApp(QRCliUI.kt:55)
	at io.jlightning.qr.cli.printers.gui.GUIPrinter$print$1.run(GUIPrinter.kt:35)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

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.