this.me 2.6.4 → 2.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -1
- package/main.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,7 +29,22 @@ let me = require('this.me');
|
|
|
29
29
|
|
|
30
30
|
- [ ] Keep [i.mlearning](https://www.npmjs.com/package/i.mlearning).
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
Quick Start
|
|
33
|
+
1. Clone this App Demo Repository
|
|
34
|
+
git clone https://github.com/suiGn/.me.git
|
|
35
|
+
2. Navigate to the Project Directory
|
|
36
|
+
cd .me
|
|
37
|
+
3. Install Dependencies
|
|
38
|
+
You can use either Yarn or npm to install the necessary dependencies.
|
|
39
|
+
|
|
40
|
+
Using Yarn:
|
|
41
|
+
|
|
42
|
+
yarn install
|
|
43
|
+
Using npm:
|
|
44
|
+
|
|
45
|
+
npm install
|
|
46
|
+
4. Launch the Application
|
|
47
|
+
npx electron index.js
|
|
33
48
|
|
|
34
49
|
This model turns the traditional web model on its head. Users no longer depend on centralized authorities for identity or data management. They hold the keys (literally) to their identity and data. Services become more user-centric, providing services based on cryptographic proofs rather than centralized databases.
|
|
35
50
|
|
package/main.js
CHANGED
|
@@ -9,7 +9,7 @@ const neurons = require("neurons.me");
|
|
|
9
9
|
const cleaker = require("cleaker");
|
|
10
10
|
const netget = require("netget");
|
|
11
11
|
//User Context.
|
|
12
|
-
const Me = require("
|
|
12
|
+
const Me = require("this.me/me");
|
|
13
13
|
const os = require('os');
|
|
14
14
|
const me = new Me(
|
|
15
15
|
'Me',
|
|
@@ -48,7 +48,7 @@ console.log("System Role: ", cleaked.role);
|
|
|
48
48
|
/* Create a function that computes the hash of the @src directory.
|
|
49
49
|
'hashSrc') to handle hashing when the relevant command is passed to the script.*/
|
|
50
50
|
const { fork } = require('child_process');
|
|
51
|
-
const { getAllFiles, hashThis } = require('
|
|
51
|
+
const { getAllFiles, hashThis } = require('this.me/hash/hashing');
|
|
52
52
|
function hashSrc() {
|
|
53
53
|
try {
|
|
54
54
|
// Adjust this to the exact location of your @src directory
|