Skip to content

Commit

Permalink
Update to extended description (#13)
Browse files Browse the repository at this point in the history
* typo

* updated images

* Added description

* make format

* ruff ruff
  • Loading branch information
arcbtc authored Apr 24, 2024
1 parent 6bbc492 commit 0b47035
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.
10 changes: 5 additions & 5 deletions config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Build your own!",
"short_description": "Extension building guide",
"tile": "/example/static/bitcoin-extension.png",
"tile": "https://raw.githubusercontent.com/lnbits/example/main/static/bitcoin-extension.png",
"min_lnbits_version": "0.12.6",
"donate": "donate@legend.lnbits.com",
"contributors": [
Expand All @@ -18,16 +18,16 @@
],
"images": [
{
"uri": "/example/static/1.png"
"uri": "https://raw.githubusercontent.com/lnbits/example/main/static/1.png"
},
{
"uri": "/example/static/2.png"
"uri": "https://raw.githubusercontent.com/lnbits/example/main/static/2.png"
},
{
"uri": "/example/static/3.png"
"uri": "https://raw.githubusercontent.com/lnbits/example/main/static/3.png"
}
],
"descrition_md": "https://raw.githubusercontent.com/lnbits/example/main/README.md",
"description_md": "https://raw.githubusercontent.com/lnbits/example/main/description.md",
"terms_and_conditions_md": "https://raw.githubusercontent.com/lnbits/example/main/toc.md",
"license": "MIT"
}
9 changes: 9 additions & 0 deletions description.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
An easily clonable extension that can be used a base for building a new extension.

THe usual development enviroment is:

- Clone the myextension repo to your own repo
- Edit the cloned repos manifest to your details
- Install into LNbits
- Delete the cloned extensions folder in your LNbits install
- Create a symbolic link to the extensions folder, from the where you have pulled your extension `ln -s /where/you/cloned/myextension /your/lnbits/installl/lnbits/lnbits/extensions/`
9 changes: 5 additions & 4 deletions views_api.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
from fastapi import APIRouter, Depends
from loguru import logger
from .models import Example
from http import HTTPStatus

import httpx
from fastapi import APIRouter, Depends
from fastapi.exceptions import HTTPException
from lnbits.decorators import get_key_type, WalletTypeInfo
from lnbits.decorators import WalletTypeInfo, get_key_type

from .models import Example

# views_api.py is for you API endpoints that could be hit by another service

Expand Down

0 comments on commit 0b47035

Please sign in to comment.