1.6 KiB
1.6 KiB
Temp - LNbits extension
For more about LNBits extension check this tutorial
A template extension you can fork and use as a base for a template
Let the hacking begin! After you have forked this extension you can copy functions from other extensions that you might need.
The extension README is usually used as a guide of how to use the extension.
Usage
We are assumng you want to use this extension as a base for a new extension
- Install then enable the extension either through the official LNbits manifest of by adding https://raw.githubusercontent.com/lnbits/temp/main/manifest.json to
"Server"/"Server"/"Extension Sources".
- Shutdown your LNbits install.
- Download the extension files from https://github.com/lnbits/temp to a folder outside of
/lnbits, and initialise the folder withgit. Or create a repo, copy the temp extension files into it, thengit clonethe extension to a location outside of/lnbits. - Delete the installed extension from
lnbits/lnbits/extenions. - Create a symbolic link
ln -s /home/ben/Projects/temp /home/ben/Projects/lnbits/lnbits/extensions. - Start your LNbits install (Now you can edit your extension).
- Once you are ready to share your manifest so others can install edit
/lnbits/temp/manifest.jsonto the git credentials of your extension. - IMPORTANT: If you intend the extension to be added to the offial LNbits manifest, please follow the guidlines here https://github.com/lnbits/lnbits-extensions#important