All Projects → ElementsProject → nanopos

ElementsProject / nanopos

Licence: MIT License
A simple Lightning ⚡ point-of-sale system, powered by Lightning Charge

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to nanopos

filebazaar
Sell digital files with Bitcoin & Lightning ⚡
Stars: ✭ 112 (+17.89%)
Mutual labels:  lightning, micropayments, lightning-charge
lightning-jukebox
A Lightning powered Jukebox ⚡ Pay with Bitcoin to choose your music.
Stars: ✭ 29 (-69.47%)
Mutual labels:  lightning, micropayments, lightning-charge
lightning-charge-client-php
PHP client for lightning-charge
Stars: ✭ 23 (-75.79%)
Mutual labels:  lightning, lightning-charge
pos-android-sdk
A selection of APIs and associated samples that enables developers to build applications for different stages of the point of sale journey
Stars: ✭ 18 (-81.05%)
Mutual labels:  pos, point-of-sale
pos-billing-and-invoicing-software
Most Advanced POS, Billing, Inventory & Invoicing Software which can perfectly fit on your WholeSale & Retail Business --- Demo :
Stars: ✭ 33 (-65.26%)
Mutual labels:  pos, point-of-sale
JavaFX-Point-of-Sales
Point of Sales with inventory management system
Stars: ✭ 162 (+70.53%)
Mutual labels:  pos, point-of-sale
Lnd
Lightning Network Daemon ⚡️
Stars: ✭ 5,623 (+5818.95%)
Mutual labels:  lightning, micropayments
pos
Point of sale system targeted towards pharmacies in India.
Stars: ✭ 46 (-51.58%)
Mutual labels:  pos, point-of-sale
POS-Awesome
POS Awesome is an open-source Point of Sale for Erpnext using Vue.js and Vuetify
Stars: ✭ 109 (+14.74%)
Mutual labels:  pos, point-of-sale
open-pos
Open Source Point of Sale System.
Stars: ✭ 52 (-45.26%)
Mutual labels:  pos, point-of-sale
store-pos
It is java accounting software basically developed using javafx which has various modules like purchase, sales, receipts, payments, and journals.
Stars: ✭ 84 (-11.58%)
Mutual labels:  pos, point-of-sale
bitpocket-mobile-app
Mobile app for accepting bitcoin payments at the point of sale (Bitcoin POS).
Stars: ✭ 26 (-72.63%)
Mutual labels:  pos, point-of-sale
quicktill
Figure out where all the money and stock went to
Stars: ✭ 29 (-69.47%)
Mutual labels:  pos, point-of-sale
larapos
Laravel Point of sale with invoice full source code free download pos apps.
Stars: ✭ 38 (-60%)
Mutual labels:  pos, point-of-sale
LightPOS
Just a simple Point Of Sale app. [Mostly unfinished]
Stars: ✭ 26 (-72.63%)
Mutual labels:  pos, point-of-sale
rawtxapp
⚡️A lightning network wallet (https://rawtx.com).
Stars: ✭ 56 (-41.05%)
Mutual labels:  lightning
barmate
Modern and intuitive POS web application written with the Laravel framework
Stars: ✭ 13 (-86.32%)
Mutual labels:  pos
restaurant
🍕 Simple Pizza Restaurant POS
Stars: ✭ 29 (-69.47%)
Mutual labels:  point-of-sale
lightning
Joomla 4 template using HiQ CSS
Stars: ✭ 36 (-62.11%)
Mutual labels:  lightning
raspibolt
RaspiBolt v3: Bitcoin & Lightning full node on a Raspberry Pi
Stars: ✭ 1,019 (+972.63%)
Mutual labels:  lightning

nanopos

npm release MIT license Pull Requests Welcome IRC

A simple Lightning point-of-sale system with a clean & minimal web UI.

  • Optimized for places selling fixed-price items (like coffee shops, falafel stands or barber shops), but also has an option for billing custom amounts.
  • Small codebase (~60 server-side LoC + ~70 client-side LoC), great starting point for developing your own Lightning Charge apps!

Powered by Lightning Charge.

See demo video here ➤

Setup

$ npm install -g nanopos

$ edit items.yaml # see file format below

$ nanopos --items-path items.yaml --charge-token mySecretToken --currency USD
HTTP server running on localhost:9116

Running with Docker

Nanopos includes a Dockerfile to allow for fast setup using a docker container based on node:carbon. To run from the container with port 9116 exposed, first setup Lightning Charge, then build the image with:

$ docker build -t elements_project/nanopos .

and then run with:

$ docker run -p9116:9116 -e CHARGE_URL=http://[charge-url]/ -e CHARGE_TOKEN=[access-token] elements_project/nanopos

That's it! The web server should now be running on port 9116 and ready to accept payments.

Example items.yaml file

tea:
  price: 0.02 # denominated in the currency specified by --currency
  title: Green Tea # title is optional, defaults to the key

coffee:
  price: 1

bamba:
  price: 3

beer:
  price: 7

hat:
  price: 15

tshirt (S):
  price: 25
  metadata:
    shirt_size: S

The metadata object will be added into the metadata of invoices for this item.

CLI options

$ nanopos --help

  A simple Lightning point-of-sale system, powered by Lightning Charge.

  Usage
    $ nanopos [options]

  Options
    -c, --charge-url <url>      lightning charge server url [default: http://localhost:9112]
    -t, --charge-token <token>  lightning charge access token [required]

    -y, --items-path <path>     path to yaml file with item config [default: ./items.yaml, file is required]
    -x, --currency <currency>   currency to use for item prices [default: BTC]
    -m, --theme <name>          pick theme from bootswatch.com [default: yeti]
    -l, --title <name>          website title [default: Lightning Nano POS]
    --no-custom                 disable custom amount field [default: false]
    --show-bolt11               display bolt11 as text and button [default: false]

    -p, --port <port>           http server port [default: 9115]
    -i, --host <host>           http server listen address [default: 127.0.0.1]
    -h, --help                  output usage information
    -v, --version               output version number

  Example
    $ nanopos -t chargeSecretToken -x EUR -y items.yaml

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].