aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-06-12 10:01:30 -0400
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-06-12 10:01:30 -0400
commite8c2eb2a9f3c9a25df5ee189740641ff96fc6ba7 (patch)
treedaa03c609dda2140e3f8cf55b3b143e05bec691a
parent7f37b29387160a3cf49fe2cf7e054539fe1ae827 (diff)
downloadpatchfoo-e8c2eb2a9f3c9a25df5ee189740641ff96fc6ba7.tar.gz
patchfoo-e8c2eb2a9f3c9a25df5ee189740641ff96fc6ba7.zip
Use upstream ssb-client and ssb-mentions
-rw-r--r--package.json7
-rw-r--r--server.js4
2 files changed, 7 insertions, 4 deletions
diff --git a/package.json b/package.json
index cb4dd2c..ec379a9 100644
--- a/package.json
+++ b/package.json
@@ -27,19 +27,18 @@
"pull-split": "^0.2.0",
"pull-stream": "^3.5.0",
"pull-utf8-decoder": "^1.0.2",
- "ssb-client": "http://localhost:8989/blobs/get/&EAaUpI+wrJM5/ly1RqZW0GAEF4PmCAmABBj7e6UIrL0=.sha256",
"ssb-contact": "^1.2.0",
"ssb-git": "^0.7.0",
"ssb-marked": "^0.7.1",
- "ssb-mentions": "http://localhost:8989/blobs/get/&GjuxknqKwJqHznKueFNCyIh52v1woz5PB41vqmoHfyM=.sha256",
+ "ssb-mentions": "^0.5.0",
"ssb-sort": "^1.0.0",
"ssb-web-resolver": "^1.0.2",
"ssb-npm-registry": "^1.8.0",
"stream-to-pull-stream": "^1.7.2",
"unzip": "^0.1.11"
},
- "scripts": {
- "start": "ssb-client ."
+ "devDependencies": {
+ "ssb-client": "^4.5.7"
},
"author": "cel",
"homepage": "https://git.scuttlebot.io/%25YAg1hicat%2B2GELjE2QJzDwlAWcx0ML%2B1sXEdsWwvdt8%3D.sha256",
diff --git a/server.js b/server.js
new file mode 100644
index 0000000..66f503f
--- /dev/null
+++ b/server.js
@@ -0,0 +1,4 @@
+require('ssb-client')(function (err, sbot, config) {
+ if (err) throw err
+ require('.').init(sbot, config)
+})