Browse Source

initialise core with submodules

Kieran Gibb 2 years ago
commit
5be2b07e29
No known key found for this signature in database
18 changed files with 5497 additions and 0 deletions
  1. 39
    0
      .gitmodules
  2. 32
    0
      README.md
  3. 1
    0
      cobox-admin-group
  4. 1
    0
      cobox-blind-replicator
  5. 20
    0
      cobox-cli/package.json
  6. 1
    0
      cobox-config
  7. 1
    0
      cobox-constants
  8. 1
    0
      cobox-crypto
  9. 1
    0
      cobox-group
  10. 1
    0
      cobox-group-base
  11. 1
    0
      cobox-group-store
  12. 1
    0
      cobox-server
  13. 1
    0
      cobox-swarm
  14. 1
    0
      kappa-drive
  15. 1
    0
      kappa-drive-mount
  16. 1
    0
      kappa-view-query
  17. 27
    0
      package.json
  18. 5366
    0
      yarn.lock

+ 39
- 0
.gitmodules View File

@@ -0,0 +1,39 @@
1
+[submodule "cobox-admin-group"]
2
+	path = cobox-admin-group
3
+	url = ./cobox-admin-group
4
+[submodule "cobox-group"]
5
+	path = cobox-group
6
+	url = ./cobox-group
7
+[submodule "cobox-group-base"]
8
+	path = cobox-group-base
9
+	url = ./cobox-group-base
10
+[submodule "cobox-blind-replicator"]
11
+	path = cobox-blind-replicator
12
+	url = ./cobox-blind-replicator
13
+[submodule "cobox-config"]
14
+	path = cobox-config
15
+	url = ./cobox-config
16
+[submodule "cobox-constants"]
17
+	path = cobox-constants
18
+	url = ./cobox-constants
19
+[submodule "cobox-group-store"]
20
+	path = cobox-group-store
21
+	url = ./cobox-group-store
22
+[submodule "cobox-server"]
23
+	path = cobox-server
24
+	url = ./cobox-server
25
+[submodule "cobox-swarm"]
26
+	path = cobox-swarm
27
+	url = ./cobox-swarm
28
+[submodule "kappa-drive"]
29
+	path = kappa-drive
30
+	url = ./kappa-drive
31
+[submodule "kappa-drive-mount"]
32
+	path = kappa-drive-mount
33
+	url = ./kappa-drive-mount
34
+[submodule "kappa-view-query"]
35
+	path = kappa-view-query
36
+	url = ./kappa-view-query
37
+[submodule "cobox-crypto"]
38
+	path = cobox-crypto
39
+	url = ./cobox-crypto

+ 32
- 0
README.md View File

@@ -0,0 +1,32 @@
1
+# CoBox
2
+
3
+**CoBox** is an encrypted p2p file system and distributed back-up tool.
4
+
5
+## Getting Started
6
+
7
+```
8
+# install dev dependencies
9
+npm install
10
+# let lerna install the dependencies of all modules
11
+npm run bootstrap
12
+# start cobox-server
13
+npm start
14
+```
15
+
16
+### About
17
+
18
+Coops often rely on proprietary services for managing their data, which do not reflect their cooperative principles or business practices.
19
+
20
+CoBox is an innovative suite of open hardware and software providing accessible governance tools for organisations and networks. It comprises a human-centric plug and play server with pre-installed privacy enhancing coop software designed to promote members' data sovereignty. CoBox seeks to build on the historic tendency for networks of coops to collaborate.
21
+
22
+CoBox brings a cooperative approach to hosting, treating data as a common good owned by citizens. Leveraging the benefits of self-hosting combined with peer-to-peer technologies to share responsibilities of maintaining data availability.
23
+
24
+As well as serving internal organisational governance needs these simple to use tools provide the infrastructure for governance of the CoBox network, to manage, research and guide the ecosystem, providing a state of the art alternative to corporate models.
25
+
26
+## Project Structure
27
+* **[cobox-server](cobox-server/README.md)** provides a localhost API. Loads keys into memory, initialises and manages groups, and provides a querying interface for groups and replicators.
28
+* **[cobox-cli](cobox-cli/README.md)** is a command-line application that talks to `cobox-server`
29
+* **[cobox-client](cobox-client/README.md)** is a Javascript client speak to cobox-server over HTTP.
30
+* **[cobox-group](cobox-group/README.md)** wraps kappa-drive and an additional hypercore log for application data in content encryption, along with compiling indexes using `kappa-core`
31
+* **[cobox-admin-group](cobox-admin-group/README.md)** wraps a single hypercore log for 
32
+* **[cobox-blind-replicator](cobox-blind-replicator/README.md)**

+ 1
- 0
cobox-admin-group

@@ -0,0 +1 @@
1
+Subproject commit e38c225c6a0d880ee446eec3f6526f11233ccfed

+ 1
- 0
cobox-blind-replicator

@@ -0,0 +1 @@
1
+Subproject commit 47139886090986b9a26920f81cde8cb974c1cdd9

+ 20
- 0
cobox-cli/package.json View File

@@ -0,0 +1,20 @@
1
+{
2
+  "name": "cobox-cli",
3
+  "version": "1.0.0",
4
+  "description": "a command-line application that talks to cobox-server",
5
+  "main": "index.js",
6
+  "scripts": {
7
+    "test": "tape test/**/*.test.js"
8
+  },
9
+  "repository": {
10
+    "type": "git",
11
+    "url": "https://ledger-git.dyne.org/cobox/cobox-cli"
12
+  },
13
+  "keywords": [
14
+    "command-line",
15
+    "cli",
16
+    "cobox"
17
+  ],
18
+  "author": "magma collective",
19
+  "license": "AGPL-3.0-or-later"
20
+}

+ 1
- 0
cobox-config

@@ -0,0 +1 @@
1
+Subproject commit 50bfef2e872413b0d38176db386f77aee67328aa

+ 1
- 0
cobox-constants

@@ -0,0 +1 @@
1
+Subproject commit 1261021d76e244fa7c4b594932f7c3e676b905f2

+ 1
- 0
cobox-crypto

@@ -0,0 +1 @@
1
+Subproject commit 8c99f3f8cb6bba4a218e1f394d263290d4130284

+ 1
- 0
cobox-group

@@ -0,0 +1 @@
1
+Subproject commit 49904ec592669d60f5b2552a8e93af0847dc49c0

+ 1
- 0
cobox-group-base

@@ -0,0 +1 @@
1
+Subproject commit 18e4c70d130898b0c1db433c40e9acbe6a7945a5

+ 1
- 0
cobox-group-store

@@ -0,0 +1 @@
1
+Subproject commit 28a2a2ad34aeeef5b31fcdda539374220b24be2e

+ 1
- 0
cobox-server

@@ -0,0 +1 @@
1
+Subproject commit b4245713073310b547fb9c93d3c81b61e2ec0e9a

+ 1
- 0
cobox-swarm

@@ -0,0 +1 @@
1
+Subproject commit cf71f7f2e3207e3d4b50e3403b192e8870d1c026

+ 1
- 0
kappa-drive

@@ -0,0 +1 @@
1
+Subproject commit bcb3a48bd3fe8dda4969b86d65a5075b3e8f2281

+ 1
- 0
kappa-drive-mount

@@ -0,0 +1 @@
1
+Subproject commit 18d2635f7e9b64d0454ede2c6cedb679f7281aee

+ 1
- 0
kappa-view-query

@@ -0,0 +1 @@
1
+Subproject commit 25fa130060c610ac66e374f3573c90995c763f8d

+ 27
- 0
package.json View File

@@ -0,0 +1,27 @@
1
+{
2
+  "name": "core",
3
+  "version": "1.0.0",
4
+  "description": "an encrypted p2p file system and distributed back-up tool",
5
+  "author": "magma collective",
6
+  "license": "AGPL-3.0-or-later",
7
+  "private": true,
8
+  "repository": {
9
+    "url": "https://ledger-git.dyne.org/cobox/core"
10
+  },
11
+  "workspaces": [
12
+    "cobox-admin-group",
13
+    "cobox-blind-replicator",
14
+    "cobox-cli",
15
+    "cobox-config",
16
+    "cobox-constants",
17
+    "cobox-crypto",
18
+    "cobox-group",
19
+    "cobox-group-base",
20
+    "cobox-group-store",
21
+    "cobox-server",
22
+    "cobox-swarm",
23
+    "kappa-drive",
24
+    "kappa-drive-mount",
25
+    "kappa-view-query"
26
+  ]
27
+}

+ 5366
- 0
yarn.lock
File diff suppressed because it is too large
View File