aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
+})