No description
Find a file
2023-12-28 15:34:09 +00:00
static/image renamed icon 2023-12-08 21:09:51 +00:00
templates/temp moved manifest 2023-12-08 21:05:06 +00:00
__init__.py updated readme 2023-12-28 15:01:14 +00:00
config.json Add files via upload 2023-12-08 15:43:40 +00:00
crud.py conflict name change 2023-12-28 14:24:22 +00:00
LICENSE Add files via upload 2023-12-08 15:43:40 +00:00
lnurl.py added simple lnurl 2023-12-08 20:39:27 +00:00
manifest.json Update manifest.json 2023-12-08 21:12:30 +00:00
migrations.py conflict name change 2023-12-28 14:24:22 +00:00
models.py cleaned 2023-12-08 22:09:40 +00:00
README.md proofed 2023-12-28 15:34:09 +00:00
tasks.py cleaned 2023-12-08 22:09:40 +00:00
views.py cleaned 2023-12-08 22:09:40 +00:00
views_api.py cleaned 2023-12-08 22:09:40 +00:00

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.

  1. 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". Extension Sources
  2. Shut down your LNbits installation.
  3. Download the extension files from https://github.com/lnbits/temp to a folder outside of /lnbits, and initialize the folder with git. Alternatively, create a repo, copy the temp extension files into it, then git clone the extension to a location outside of /lnbits.
  4. Remove the installed extension from lnbits/lnbits/extensions.
  5. Create a symbolic link using ln -s /home/ben/Projects/<name of your extension> /home/ben/Projects/lnbits/lnbits/extensions.
  6. Restart your LNbits installation. You can now modify your extension and git push changes to a repo.
  7. When you're ready to share your manifest so others can install it, edit /lnbits/temp/manifest.json to include the git credentials of your extension.
  8. 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