lnbits-extensions icon indicating copy to clipboard operation
lnbits-extensions copied to clipboard

Add Decoder Extension - Update extensions.json

Open bitkarrot opened this issue 1 year ago • 11 comments

add decoder extension

bitkarrot avatar Jul 12 '24 21:07 bitkarrot

The functionality is useful, but should it be an extension?

motorina0 avatar Jul 24 '24 07:07 motorina0

its tiny. I made it because i didn't want to bother you guys and it was convenient. If you want to roll into core, that's cool by me too.

@motorina0 @dni

bitkarrot avatar Jul 25 '24 06:07 bitkarrot

added a pr to the extensions, after this i am fine with merging it.

https://github.com/bitkarrot/decoder/pull/1

can you release and use a version with v, like v0.0.2

dni avatar Jul 25 '24 07:07 dni

@dni here is the latest with your PR merged, lmk if that is ok

https://github.com/bitkarrot/decoder/releases/tag/v0.0.5

bitkarrot avatar Jul 26 '24 01:07 bitkarrot

@bitkarrot just an idea, do you think this extension would be more accessible if it was served as a public page? For example: https://demo.lnbits.com/decoder/check

Is there any reason for requesting a user login?

motorina0 avatar Jul 26 '24 09:07 motorina0

Agree we should make the page accessible as a public page, similar to https://lightningdecoder.com/

where is the user login? its just an extension, there should be no login required? @motorina0

@bitkarrot just an idea, do you think this extension would be more accessible if it was served as a public page? For example: https://demo.lnbits.com/decoder/check

Is there any reason for requesting a user login?

bitkarrot avatar Jul 26 '24 21:07 bitkarrot

About the public page - it might be good to make this an opt in or out, as a bot could come along and just spam the input box relentlessly.

bitkarrot avatar Jul 27 '24 06:07 bitkarrot

Had a brief chat with @motorina0

we're just gonna leave the decoder extension as-is. If there is nothing else you need fixed, please to add?

bitkarrot avatar Jul 31 '24 05:07 bitkarrot

CI failing at check-json

motorina0 avatar Jul 31 '24 11:07 motorina0

CI failing at check-json

fixed check-json but jmeter is failing, also fails on lncalendar pr, unclear why

1722580508975,1440,Fetch vetted extension list,404,Not Found,Thread Group 1-1,text,false,"Test failed: code expected to equal /

bitkarrot avatar Aug 02 '24 06:08 bitkarrot

CI failing at check-json

ah, its because the PR is from a different repo (bitkarrot:patch-1), but it tries to find the branch on this repo

https://raw.githubusercontent.com/lnbits/lnbits-extensions/patch-1/extensions.json

@dni can you please have a look

motorina0 avatar Aug 02 '24 07:08 motorina0

All good except the CI fix which is not related to this PR, but to the fact that an external repo is used.

motorina0 avatar Sep 02 '24 19:09 motorina0

updated branch LFG!!

bitkarrot avatar Sep 03 '24 17:09 bitkarrot

Whooops i just squashed and merged, i thought it was just merge :O

bitkarrot avatar Sep 10 '24 07:09 bitkarrot

Whooops i just squashed and merged, i thought it was just merge :O

All good! Congrats on the extension!

motorina0 avatar Sep 10 '24 07:09 motorina0