Commit Graph
89 Commits
Author SHA1 Message Date
bumiandGitHub 031daed750 Update README.md 2021-08-29 09:00:23 +02:00
bumiandGitHub 7283544b40 Merge pull request #11 from bumi/lightning-address
Add Lightning Address support
2021-08-29 08:55:42 +02:00
bumi 20e2d8b7e9 readme 2021-08-28 22:46:50 +02:00
bumi 1515765c3f Fix LNURL metadata 2021-08-28 22:28:03 +02:00
bumi d403c19aab Merge branch 'master' into lightning-address
* master:
  Update README.md
  Update README.md
  Update README.md
2021-08-28 22:14:16 +02:00
bumi 6e4af5610f Add Lightning Address support
This handles the LNURL-pay flow to enable Lightning Address support.
It accepts any lightning address name on your domain.

e.g. yourname@yourdomain.com
2021-08-28 22:11:24 +02:00
bumiandGitHub 19210cc3ce Update README.md 2021-08-28 00:42:04 +02:00
bumiandGitHub 71f6c862fa Update README.md 2021-08-28 00:05:07 +02:00
bumiandGitHub 6355ce2cc5 Update README.md 2021-08-27 11:52:17 +02:00
bumi 5ca9e72ab0 Update ricebox 2021-08-27 11:26:10 +02:00
bumi aeb1ffc669 Less opacity for placeholders to make it look less like prefilled text 2021-08-27 11:24:51 +02:00
bumi d3a3bf287b Slightly nicer webln integration 2021-08-27 11:24:51 +02:00
bumi 38b7e6ed3e Disable button if now amount is provided 2021-08-27 11:24:51 +02:00
bumi 518a834066 Formatting 2021-08-27 11:24:51 +02:00
bumi 5c8d604a20 Update dependencies 2021-08-27 11:24:51 +02:00
bumiandGitHub b58897dfe5 Update README.md 2021-08-27 10:17:30 +02:00
bumiandGitHub 3c97f31e03 Merge pull request #8 from mbarkhau/patch-1
Improve scanability fo QR code
2021-08-26 11:02:47 +02:00
bumiandGitHub a0dd7420de Merge pull request #5 from bumi/configurable-urls
Make URLs configurable
2021-08-25 09:35:34 +02:00
bumi 2c0b3b7ee1 Make URLs configurable
pass in `createInvoiceUrl`, `watchPaymentUrl`, `newAddressUrl` functions. Those must return the URL as string that is used for the API calls
2021-07-11 12:01:30 +02:00
bumiandGitHub a87eb60051 Add Heroku deploy button 2020-10-26 17:44:44 +01:00
bumi 3390971f84 Make heroku deployment easier 2020-10-26 17:35:38 +01:00
bumi e98a06f22f Cleanup 2020-10-26 17:19:02 +01:00
bumi 494aae0a06 Update rice box 2020-10-26 11:00:50 +01:00
bumi f066978374 Use a default font and not a font from google
No need to load data from google. If someone wants a special font a custom
website can be used.
2020-10-26 10:59:56 +01:00
bumiandGitHub 8ff67efa8b Update README.md 2020-10-26 00:59:09 +01:00
bumi f79fb1747f Respect PORT environment variable
this makes it easier to run on PaaS as heroku
2020-10-25 23:44:40 +01:00
bumi 89ecea4d4a Update rice box
For whatever reason the order of the file has changed...
2020-10-25 23:09:14 +01:00
bumiandGitHub 9c78c91ab5 Merge pull request #1 from karliatto/fix/when-widget-closed-stop-watching-payment
fix: when widget closed stop watching payment
2020-10-25 23:06:34 +01:00
bumi 1e40a617f9 Simplify configuration and remove nesting
We do not have that many config options. Nesting is not needed right now
and makes it only more complicated
2020-10-25 22:48:00 +01:00
bumi 77a96bdd83 Sorry go fmt 2020-10-25 22:16:05 +01:00
bumi f81937a7dd Add config.toml to gitignore 2020-10-25 22:16:05 +01:00
bumi 38b60b8383 Add example config file 2020-10-25 22:16:05 +01:00
bumi dcaa4f6cc4 Add Support for macaroon and cert as HEX strings
This also changes the configuration options.
Now multiple config sources are supported:

1. cli flags
2. environment variables
3. config toml file
2020-10-25 22:16:05 +01:00
bumiandGitHub e96522a8f9 Update README.md 2020-10-25 11:24:10 +01:00
bumiandGitHub ea4b7f6b2e Update README.md 2020-10-25 11:23:33 +01:00
bumiandGitHub bda984622d Add deployment notes 2020-10-25 11:00:54 +01:00
bumi 7cac6ba7fc Update rice box 2020-10-24 18:12:37 +02:00
bumi ad6f109c95 Fix widget usage 2020-10-24 18:03:10 +02:00
bumi cb0386059a Working example 2020-10-24 18:02:55 +02:00
bumiandGitHub 559838d49a Update tipping.html 2020-10-24 15:52:43 +02:00
bumiandGitHub d185001b22 Update README.md 2020-10-24 15:33:58 +02:00
bumiandGitHub cc73ef7a9f Update README.md 2020-10-24 15:26:47 +02:00
bumi 2c6b946f8d Update demo 2020-10-24 15:24:46 +02:00
bumi 986b8d3aa4 Disable arrow buttons on number input fileds 2020-10-24 13:40:30 +02:00
bumi 8e45d9206c Add rice box to repo
This file needs to be updated when the static files are changed
2020-10-24 13:27:40 +02:00
bumi bf30744d2a Rename to lnme 2020-10-24 12:55:59 +02:00
bumi 1278780cbc Rename to LnMe 2020-10-24 11:42:06 +02:00
bumi 56cfbfd714 LnMe systemd service 2020-10-24 11:41:46 +02:00
bumi 9afa340725 Formatting 2020-10-24 11:38:44 +02:00
bumi 37ebaf3834 Fix webln usage 2020-10-24 10:48:12 +02:00
bumiandGitHub d20a73b0a0 Update README.md 2020-10-24 02:06:52 +02:00
bumiandGitHub 6b1d98178a Add demo gif 2020-10-24 02:05:27 +02:00
bumiandGitHub ad8fc6a97c Update README.md 2020-10-23 20:44:53 +02:00
bumiandGitHub 21dbb09492 Update README.md 2020-10-23 20:43:57 +02:00
bumi 05fa7500b0 Comments and documentation 2020-10-23 20:38:18 +02:00
bumi c0171c0e81 Formatting 2020-10-23 18:53:18 +02:00
bumi 9472f3edb0 moar 2020-10-22 23:15:52 +02:00
bumi ff35c727d4 Optional constructor parameter
this makes the interface easier when we only want to get a new address:

new LnMe().newAddress().then(console.log)
2020-10-22 20:44:11 +02:00
bumi e1882b8fcf Add support to get an onchain Address 2020-10-22 20:36:27 +02:00
bumi 456ae2eb50 Add endpoint to get ne onchain BTC address 2020-10-22 20:15:34 +02:00
bumi 01460b2c5c Disable inputs after submit
otherwise the user might change the values but the invoice does not get updated.
2020-10-22 20:14:14 +02:00
bumi 9862c53016 Missed dependency updates 2020-10-18 22:29:18 +02:00
bumi f30bb63bad Support form prefilling with query params 2020-10-18 22:28:46 +02:00
bumi f1a0278c10 Updated dependencies 2020-10-18 22:26:07 +02:00
bumi 8eb49fc460 Fix JS for mobile/iOS
seems static class variables are not supported
2020-10-18 19:45:09 +02:00
bumi 71ed7e8c97 Display loading spinner on send click 2020-10-18 18:58:09 +02:00
bumi 664ae2b921 Add loading spinner 2020-10-18 18:54:57 +02:00
bumi 9c96cf1aa7 go modules? 2020-10-18 13:16:08 +02:00
bumi 5115fbb1ab Rename to lnme 2020-10-18 02:33:22 +02:00
bumi 49e79d9c9c Refactorings
Refactor JS and embed assets using rice.go
2020-10-18 02:31:56 +02:00
bumi 8f68bec4c7 Update readme 2019-08-25 17:56:56 +02:00
bumi 804382e85d Add request rate limit option
This allows to configure a request rate limit. By default it is
currently set to 10 requests per second.
2019-08-25 17:49:24 +02:00
bumi 3029a91726 Better error logging 2019-02-21 11:49:11 +01:00
bumiandGitHub b49e118e47 Update README.md 2019-02-20 21:51:02 +00:00
bumiandGitHub 7d168019e3 Update README.md 2019-02-20 21:48:47 +00:00
bumiandGitHub cee2cf691b Update README.md 2019-02-20 21:44:44 +00:00
bumi 199b251379 Add systemd service example 2019-02-20 22:38:40 +01:00
bumi faf858f0c4 go fmt 2019-02-20 01:31:03 +01:00
bumi 01fb7be447 Refactor to mimic the lnd rest API a bit 2019-02-19 20:55:07 +01:00
bumi d3e7dc0668 readme 2019-01-09 12:08:50 +01:00
bumi f998fc478c Show popup if webln fails 2019-01-09 12:08:44 +01:00
bumi 414e31e4df readme 2019-01-08 17:02:20 +01:00
bumi 2e7649eeef Add readme 2019-01-08 16:55:22 +01:00
bumi a807fce81d Refactor JS widget API to use promises 2019-01-08 16:53:35 +01:00
bumi 625b13d8fc Load css earlier to make sure it is loaded 2019-01-07 23:54:01 +01:00
bumi f65b839b6c Use options hash for lntip initialization 2019-01-07 23:51:41 +01:00
bumi a070fe35a0 Use JSON POST request for invoice creation 2019-01-07 21:29:08 +01:00
bumi 08d0eee00c API only
It should be easy to integrate into any webpage. We do this with a
little JS snippet, so no need for rendering HTML templates etc.
2019-01-07 16:52:38 +01:00
bumi bfa5219b02 hello world 2019-01-07 16:26:08 +01:00