Skip to content

Commit c0c216d

Browse files
author
Janaka-Steph
committed
first commit
0 parents  commit c0c216d

17 files changed

+2513
-0
lines changed

.gitignore

+231
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,231 @@
1+
# Created by .ignore support plugin (hsz.mobi)
2+
3+
lua_cmds.txt
4+
credentials.lua
5+
6+
### JetBrains template
7+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
8+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
9+
10+
# User-specific stuff
11+
.idea/**/workspace.xml
12+
.idea/**/tasks.xml
13+
.idea/**/usage.statistics.xml
14+
.idea/**/dictionaries
15+
.idea/**/shelf
16+
17+
# Sensitive or high-churn files
18+
.idea/**/dataSources/
19+
.idea/**/dataSources.ids
20+
.idea/**/dataSources.local.xml
21+
.idea/**/sqlDataSources.xml
22+
.idea/**/dynamic.xml
23+
.idea/**/uiDesigner.xml
24+
.idea/**/dbnavigator.xml
25+
26+
# Gradle
27+
.idea/**/gradle.xml
28+
.idea/**/libraries
29+
30+
# Gradle and Maven with auto-import
31+
# When using Gradle or Maven with auto-import, you should exclude module files,
32+
# since they will be recreated, and may cause churn. Uncomment if using
33+
# auto-import.
34+
# .idea/modules.xml
35+
# .idea/*.iml
36+
# .idea/modules
37+
38+
# CMake
39+
cmake-build-*/
40+
41+
# Mongo Explorer plugin
42+
.idea/**/mongoSettings.xml
43+
44+
# File-based project format
45+
*.iws
46+
47+
# IntelliJ
48+
out/
49+
50+
# mpeltonen/sbt-idea plugin
51+
.idea_modules/
52+
53+
# JIRA plugin
54+
atlassian-ide-plugin.xml
55+
56+
# Cursive Clojure plugin
57+
.idea/replstate.xml
58+
59+
# Crashlytics plugin (for Android Studio and IntelliJ)
60+
com_crashlytics_export_strings.xml
61+
crashlytics.properties
62+
crashlytics-build.properties
63+
fabric.properties
64+
65+
# Editor-based Rest Client
66+
.idea/httpRequests
67+
68+
69+
### Lua template
70+
# Compiled Lua sources
71+
luac.out
72+
73+
# luarocks build files
74+
*.src.rock
75+
*.zip
76+
*.tar.gz
77+
78+
# Object files
79+
*.o
80+
*.os
81+
*.ko
82+
*.obj
83+
*.elf
84+
85+
# Precompiled Headers
86+
*.gch
87+
*.pch
88+
89+
# Libraries
90+
*.lib
91+
*.a
92+
*.la
93+
*.lo
94+
*.def
95+
*.exp
96+
97+
# Shared objects (inc. Windows DLLs)
98+
*.dll
99+
*.so
100+
*.so.*
101+
*.dylib
102+
103+
# Executables
104+
*.exe
105+
*.out
106+
*.app
107+
*.i*86
108+
*.x86_64
109+
*.hex
110+
111+
112+
### macOS template
113+
# General
114+
.DS_Store
115+
.AppleDouble
116+
.LSOverride
117+
118+
# Icon must end with two \r
119+
Icon
120+
121+
# Thumbnails
122+
._*
123+
124+
# Files that might appear in the root of a volume
125+
.DocumentRevisions-V100
126+
.fseventsd
127+
.Spotlight-V100
128+
.TemporaryItems
129+
.Trashes
130+
.VolumeIcon.icns
131+
.com.apple.timemachine.donotpresent
132+
133+
# Directories potentially created on remote AFP share
134+
.AppleDB
135+
.AppleDesktop
136+
Network Trash Folder
137+
Temporary Items
138+
.apdisk
139+
140+
141+
142+
### Node template
143+
# Logs
144+
logs
145+
*.log
146+
npm-debug.log*
147+
yarn-debug.log*
148+
yarn-error.log*
149+
lerna-debug.log*
150+
151+
# Diagnostic reports (https://nodejs.org/api/report.html)
152+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
153+
154+
# Runtime data
155+
pids
156+
*.pid
157+
*.seed
158+
*.pid.lock
159+
160+
# Directory for instrumented libs generated by jscoverage/JSCover
161+
lib-cov
162+
163+
# Coverage directory used by tools like istanbul
164+
coverage
165+
*.lcov
166+
167+
# nyc test coverage
168+
.nyc_output
169+
170+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
171+
.grunt
172+
173+
# Bower dependency directory (https://bower.io/)
174+
bower_components
175+
176+
# node-waf configuration
177+
.lock-wscript
178+
179+
# Compiled binary addons (https://nodejs.org/api/addons.html)
180+
build/Release
181+
182+
# Dependency directories
183+
node_modules/
184+
jspm_packages/
185+
186+
# TypeScript v1 declaration files
187+
typings/
188+
189+
# TypeScript cache
190+
*.tsbuildinfo
191+
192+
# Optional npm cache directory
193+
.npm
194+
195+
# Optional eslint cache
196+
.eslintcache
197+
198+
# Optional REPL history
199+
.node_repl_history
200+
201+
# Output of 'npm pack'
202+
*.tgz
203+
204+
# Yarn Integrity file
205+
.yarn-integrity
206+
207+
# dotenv environment variables file
208+
.env
209+
.env.test
210+
211+
# parcel-bundler cache (https://parceljs.org/)
212+
.cache
213+
214+
# next.js build output
215+
.next
216+
217+
# nuxt.js build output
218+
.nuxt
219+
220+
# vuepress build output
221+
.vuepress/dist
222+
223+
# Serverless directories
224+
.serverless/
225+
226+
# FuseBox cache
227+
.fusebox/
228+
229+
# DynamoDB Local files
230+
.dynamodb/
231+

.idea/codeStyles/Project.xml

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/codeStyleConfig.xml

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/encodings.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

+17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+34
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/project.iml

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Nespresso Capsule Vending Machine over Lightning Network
2+
3+
## What is it?
4+
A 3D printed / laser cutted vending machine made by [Yoctopuce](http://www.yoctopuce.com/EN/article/an-automatic-nespresso-capsule-dispenser)
5+
and customized with the help of the [MILL FabLab](www.mill.pt) and Monica Pedro.
6+
7+
Server code written in Lua for the ESP8266 microchip running the NodeMCU firmware.
8+
9+
The server is
10+
11+
is using the "Basic" authentication schema over HTTPS.
12+
13+
14+
15+
## Server
16+
Lua server listen to incoming message, if BOLT 11 invoice is paid the dispenser delivers the Nespresso capsule of your choice.
17+
18+
19+
## See also
20+
- The UI: [LightningNespressoUI](https://github.com/bitcoin-studio/LightningNespressoUI)
21+
- The 3d printed / laser cutted capsule dispenser: [Yoctopuce](http://www.yoctopuce.com/EN/article/an-automatic-nespresso-capsule-dispenser)

credentials.example.lua

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-- Credentials
2+
3+
SSID = "MALIBU"
4+
PASSWORD = "BANANAWOO"

0 commit comments

Comments
 (0)