Skip to content

Start accepting Bitcoin payments on your website in minutes. Beautiful widgets, no fees, instant payouts.

License

Notifications You must be signed in to change notification settings

ricalamino/lightning-widget

 
 

Repository files navigation

⚡ Lightning Widget

Start accepting Bitcoin payments on your website in minutes. Beautiful widgets, no fees, instant payouts.

Demo

➡️ Website

Configuration options

  • name: The name being displayed on the widget
  • image: Path to the image that is displayed on the widget
  • to: Where the payments should be sent to (Lightning Address or LNURL)
  • accent: An accent color in RGB format to make your widget more colorful (i.e. #20C997)
  • button-text: The text to be displayed on the initial state of the widget (default: Donate sats)
  • debug: Debug mode, validates settings during initialization and displays configuration errors

Example

<lightning-widget 
    name="René Aaron" 
    accent="#20c997" 
    to="reneaaron@getalby.com" 
    image="https://secure.gravatar.com/avatar/07e22939e7672b38c56615068c4c715f?size=200" />
<script src="https://embed.twentyuno.net/js/app.js"></script>

🧑‍💻 Development

Checkout this repository and run the following commands to spin up a development server:

npm install
npm run serve

⁉️ Questions, Feedback & Support

Please feel free to reach out to me if you have any questions & feedback or you just need a little help to integrate the widget into your website.

➡️ Telegram

Donations

If this widget is useful for you or you just want to support development please consider a donation. #value4value

reneaaron@getalby.com

About

Start accepting Bitcoin payments on your website in minutes. Beautiful widgets, no fees, instant payouts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 63.5%
  • HTML 22.8%
  • JavaScript 13.7%