Commit Graph

165 Commits

Author SHA1 Message Date
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
bumi 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
Carlos Garcia Ortiz karliatto e7acaf7821 fix: when widget closed stop watching payment 2020-10-25 12:47:35 +01:00
bumi e96522a8f9
Update README.md 2020-10-25 11:24:10 +01:00
bumi ea4b7f6b2e
Update README.md 2020-10-25 11:23:33 +01:00
bumi 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
bumi 559838d49a
Update tipping.html 2020-10-24 15:52:43 +02:00
bumi d185001b22
Update README.md 2020-10-24 15:33:58 +02:00
bumi 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
bumi d20a73b0a0
Update README.md 2020-10-24 02:06:52 +02:00
bumi 6b1d98178a
Add demo gif 2020-10-24 02:05:27 +02:00
bumi ad8fc6a97c
Update README.md 2020-10-23 20:44:53 +02:00
bumi 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
bumi b49e118e47
Update README.md 2019-02-20 21:51:02 +00:00