Oddbean new post about | logout
 As promised last night, I changed the license of both nsecbunkerd and nsecbunker admin-UI from MIT+CC to full MIT.

And here's a demo video showing how to deploy both the nsecbunkerd and the admin UI locally in a few commands.

(plus an attempt by @hodlbod to destroy my demo video)

https://github.com/kind-0/nsecbunkerd
https://github.com/kind-0/nsecbunker-admin-ui

https://cdn.satellite.earth/409a91515840c4c6471a4896ad957d0a6d421b1447be0f20cb3933646832365a.mp4

nostr:note1rzfnu2rk9z6445pk80sms0j3zd8cp6vehmley0n6kw8nvach9s9s0re82z 
 Thank you, you're killing it. 
 (particularly de admin UI code is very very raw as it was a POC that ended up turning into a full thing I could offer, but going forward we should rewrite this from scratch since that code hurts my eyes) 
 FOSS ftw ⚡ 
 npm run lfg
npm run nsecbunkerd start

are returning this error:

node:internal/modules/cjs/loader:1042
  throw err;
  ^

Error: Cannot find module 'fastify'
Require stack:
- /var/www/nsecbunker.nostrver.se/dist/daemon/index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1039:15)
    at Module._load (node:internal/modules/cjs/loader:885:27)
    at Module.require (node:internal/modules/cjs/loader:1105:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object.<anonymous> (/var/www/nsecbunker.nostrver.se/dist/daemon/index.js:1021:30)
    at Module._compile (node:internal/modules/cjs/loader:1218:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
    at Module.load (node:internal/modules/cjs/loader:1081:32)
    at Module._load (node:internal/modules/cjs/loader:922:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/var/www/nsecbunker.nostrver.se/dist/daemon/index.js' ]
}

$ node -v 
v18.13.0

# npm -v
9.2.0

Linux  6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux 
 You should fix this typo nostr:nprofile1qqs04xzt6ldm9qhs0ctw0t58kf4z57umjzmjg6jywu0seadwtqqc75spr4mhxue69uhkummnw3ezucnfw33k76twv4ezuum0vd5kzmp0qyv8wumn8ghj7mn0wd68ytnxd46zuamf0ghxy6t69uq3wamnwvaz7tmjv4kxz7fwdehhxarj9e3xzmny9u226smw  https://shares.sebastix.dev/kWzU1V7B.png 
 Send a PR please! 
 ah, perfect

merged ✅ 
 You should fix this typo nostr:nprofile1qqs04xzt6ldm9qhs0ctw0t58kf4z57umjzmjg6jywu0seadwtqqc75spr4mhxue69uhkummnw3ezucnfw33k76twv4ezuum0vd5kzmp0qyv8wumn8ghj7mn0wd68ytnxd46zuamf0ghxy6t69uq3wamnwvaz7tmjv4kxz7fwdehhxarj9e3xzmny9u226smw  https://shares.sebastix.dev/kWzU1V7B.png 
 Send a PR please! 
 ah, perfect

merged ✅