No description
| static/image | ||
| templates/temp | ||
| __init__.py | ||
| config.json | ||
| crud.py | ||
| LICENSE | ||
| lnurl.py | ||
| manifest.json | ||
| migrations.py | ||
| models.py | ||
| README.md | ||
| tasks.py | ||
| views.py | ||
| views_api.py | ||
Temp - An LNbits Extension
For more information about LNBits extensions, refer to this tutorial.
A Starter Template for Your Own Extension
Ready to start hacking? Once you've forked this extension, you can incorporate functions from other extensions as needed.
This README typically serves as a guide for using the extension.
How to Use This Template
This guide assumes you're using this extension as a base for a new one.
- Install and enable the extension either through the official LNbits manifest or by adding https://raw.githubusercontent.com/lnbits/temp/main/manifest.json to
"Server"/"Server"/"Extension Sources".
- Shut down your LNbits installation.
- Download the extension files from https://github.com/lnbits/temp to a folder outside of
/lnbits, and initialize the folder withgit. Alternatively, create a repo, copy the temp extension files into it, thengit clonethe extension to a location outside of/lnbits. - Remove the installed extension from
lnbits/lnbits/extensions. - Create a symbolic link using
ln -s /home/ben/Projects/<name of your extension> /home/ben/Projects/lnbits/lnbits/extensions. - Restart your LNbits installation. You can now modify your extension and
git pushchanges to a repo. - When you're ready to share your manifest so others can install it, edit
/lnbits/temp/manifest.jsonto include the git credentials of your extension. - IMPORTANT: If you want your extension to be added to the official LNbits manifest, please follow the guidelines here: https://github.com/lnbits/lnbits-extensions#important