No description
Find a file
2025-06-18 17:06:54 +02:00
.github/workflows feat: code quality 2024-08-13 08:20:45 +02:00
static Implement client username display in myextension: add getClientUsername method to retrieve usernames for clients and update the UI to show usernames instead of client IDs in the table. 2025-06-18 17:06:54 +02:00
templates/myextension Implement client username display in myextension: add getClientUsername method to retrieve usernames for clients and update the UI to show usernames instead of client IDs in the table. 2025-06-18 17:06:54 +02:00
tests feat: code quality 2024-08-13 08:20:45 +02:00
.gitignore feat: code quality 2024-08-13 08:20:45 +02:00
.prettierrc feat: code quality 2024-08-13 08:20:45 +02:00
__init__.py Add Lamassu database configuration: implement CRUD operations, polling tasks, and UI components for managing database settings. Introduce hourly transaction polling and manual poll functionality. 2025-06-18 10:56:05 +02:00
CLAUDE.md create claude.md 2025-06-17 18:15:28 +02:00
config.json another v1 fixup + moved lnurl stuff to models 2024-11-15 00:06:28 +00:00
crud.py Add username field to DCA clients: update database schema, CRUD operations, and UI components to support username functionality for improved user experience. 2025-06-18 17:04:54 +02:00
DCA-Common-Specification.md add project specification files 2025-06-17 18:18:44 +02:00
DCA-System-Implementation-Plan.md add project specification files 2025-06-17 18:18:44 +02:00
description.md feat: code quality 2024-08-13 08:20:45 +02:00
Extension-Admin-Specification.md add project specification files 2025-06-17 18:18:44 +02:00
Extension-Client-Specification.md add project specification files 2025-06-17 18:18:44 +02:00
ExtensionDescription.md add project specification files 2025-06-17 18:18:44 +02:00
helpers.py Added lnurl helper, and I hate mypy 2024-11-18 20:49:24 +00:00
Lamassu-Database-Analysis.md add project specification files 2025-06-17 18:18:44 +02:00
LICENSE tweak 2023-12-28 16:29:04 +00:00
Makefile feat: code quality 2024-08-13 08:20:45 +02:00
manifest.json changed name to myextension 2024-01-16 16:38:53 +00:00
migrations.py Add username field to DCA clients: update database schema, CRUD operations, and UI components to support username functionality for improved user experience. 2025-06-18 17:04:54 +02:00
models.py Add username field to DCA clients: update database schema, CRUD operations, and UI components to support username functionality for improved user experience. 2025-06-18 17:04:54 +02:00
package-lock.json feat: code quality 2024-08-13 08:20:45 +02:00
package.json feat: code quality 2024-08-13 08:20:45 +02:00
poetry.lock cleaned up api 2024-11-18 15:46:06 +00:00
pyproject.toml cleaned up api 2024-11-18 15:46:06 +00:00
README.md feat: code quality 2024-08-13 08:20:45 +02:00
tasks.py Add Lamassu database configuration: implement CRUD operations, polling tasks, and UI components for managing database settings. Introduce hourly transaction polling and manual poll functionality. 2025-06-18 10:56:05 +02:00
toc.md feat: code quality 2024-08-13 08:20:45 +02:00
transaction_processor.py Update commission percentage handling in transaction processing: adjust logic to use decimal values directly from transaction data, which is how Lamassu stores them 2025-06-18 16:40:41 +02:00
views.py Mostly working 2024-11-18 21:54:27 +00:00
views_api.py Add last poll tracking to Lamassu configuration: update database schema to include last_poll_time and last_successful_poll fields, modify CRUD operations to record poll times, and enhance transaction processing to utilize these timestamps for improved polling accuracy. 2025-06-18 15:56:55 +02:00
views_lnurl.py Added lnurl helper, and I hate mypy 2024-11-18 20:49:24 +00:00

The README.md typically serves as a guide for using the extension.

MyExtension - An LNbits Extension

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.

How to Use This Template

This guide assumes you're using this extension as a base for a new one, and have installed LNbits using https://github.com/lnbits/lnbits/blob/main/docs/guide/installation.md#option-1-recommended-poetry.

  1. Install and enable the extension either through the official LNbits manifest or by adding https://raw.githubusercontent.com/lnbits/myextension/main/manifest.json to "Server"/"Server"/"Extension Sources". Extension Sources image

  2. Ctrl c shut down your LNbits installation.

  3. Download the extension files from https://github.com/lnbits/myextension to a folder outside of /lnbits, and initialize the folder with git. Alternatively, create a repo, copy the myextension 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/myextension/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