Giter Club home page Giter Club logo

ln-dashboard's Introduction

LN-DASHBOARD

Docker Pulls

Table of Content

  • Introduction
  • How to run
  • Contribute
  • License

Introduction

TODO

How to run

Docker and/or docker-compose

Command line

First, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

You need to specify the env variable like NEXT_PUBLIC_REST_URL=http://localhost:7001, and run the plugin jrest on your lightning node. The value of the env variable is the url of the server, usually http://loaclhost:700.

License

TODO

ln-dashboard's People

Contributors

dependabot[bot] avatar gautamjajoo avatar vincenzopalazzo avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ln-dashboard's Issues

update deprecated QRCode

QRCode has been deprecated. Ref

We have to update this and use as SVG or canvas.

react-dom.development.js?ac89:67 Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.

* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.

Please update the following components: QRCodeCanvas

Discussing any design feedback

I'm very bad with the design, and also with the responsive stuff, if you like to suggest any type of stuff, open a discussion and I am happy to work with to and improve the project

add fetch invoice button on the donation view

Add a fetch invoice button on the donation view, which opens a dialog with the bolt12 invoice, which can then be paid.
Note: The dialog should also have an input value to get the amount if the offer was set to any.

Add nodeId to QR

The QR contains address and port, but we need to update the QR with node Id as well

Build error for node>16

Error:

> [email protected] dev
> next dev

ready - started server on 0.0.0.0:3000, url: http://localhost:3000
info  - Loaded env from /ln-dashboard/.env.local
info  - Using webpack 5. Reason: Enabled by default https://nextjs.org/docs/messages/webpack5
node:internal/crypto/hash:67
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:67:19)
    at Object.createHash (node:crypto:133:10)
    at BulkUpdateDecorator.hashFactory (/ln-dashboard/node_modules/next/dist/compiled/webpack/bundle5.js:138971:18)
    at BulkUpdateDecorator.update (/ln-dashboard/node_modules/next/dist/compiled/webpack/bundle5.js:138872:50)
    at /ln-dashboard/node_modules/next/dist/compiled/webpack/bundle5.js:59321:9
    at /ln-dashboard/node_modules/next/dist/compiled/webpack/bundle5.js:29861:16
    at /ln-dashboard/node_modules/next/dist/compiled/@vercel/nft/index.js:1:307088
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v18.3.0

Load donation url directly with getInfoNode

When you visit the donation URL, you will get an error regarding getInfoNode. This would probably be because getInfoNode is called on home, so we don't have the info on the donation page.

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.