this.me 2.2.3 → 2.2.4
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/atom/view.html +0 -0
- package/atom.js +32 -0
- package/main.js +1 -2
- package/package.json +1 -2
- package/docs/design.md +0 -47
package/atom/view.html
ADDED
|
File without changes
|
package/atom.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
//atom.js
|
|
2
|
+
const { app, BrowserWindow, ipcMain } = require('electron');
|
|
3
|
+
|
|
4
|
+
let win;
|
|
5
|
+
|
|
6
|
+
app.on('ready', () => {
|
|
7
|
+
win = new BrowserWindow({
|
|
8
|
+
width: 377,
|
|
9
|
+
height: 244,
|
|
10
|
+
webPreferences: {
|
|
11
|
+
nodeIntegration: true,
|
|
12
|
+
contextIsolation: false, // Add this line
|
|
13
|
+
},
|
|
14
|
+
frame: false,
|
|
15
|
+
transparent: true,
|
|
16
|
+
//opacity: 0.5
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
win.on('closed', () => {
|
|
20
|
+
win = null;
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
win.loadFile('./atom/view.html');
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
ipcMain.on('minimize-window', () => {
|
|
27
|
+
win.minimize();
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
ipcMain.on('close-window', () => {
|
|
31
|
+
win.close();
|
|
32
|
+
});
|
package/main.js
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "this.me",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.4",
|
|
4
4
|
"description": "CLI for managing the .me suite.",
|
|
5
5
|
"bin": {
|
|
6
6
|
".me": "./main.js"
|
|
7
7
|
},
|
|
8
8
|
"main": "main.js",
|
|
9
9
|
"scripts": {
|
|
10
|
-
"start": "node main.js",
|
|
11
10
|
"test": "test"
|
|
12
11
|
},
|
|
13
12
|
"keywords": [
|
package/docs/design.md
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
CLI commands:
|
|
2
|
-
|
|
3
|
-
Create a new neuron:
|
|
4
|
-
Usage: me newNeuron [options]
|
|
5
|
-
|
|
6
|
-
Options:
|
|
7
|
-
-n, --name <name> Specify a custom name for the neuron
|
|
8
|
-
-d, --date <date> Specify a custom date for the neuron
|
|
9
|
-
-t, --time <time> Specify a custom time for the neuron
|
|
10
|
-
-c, --color <color> Specify a custom color for the neuron
|
|
11
|
-
-a, --activation <function> Specify a custom activation function for the neuron
|
|
12
|
-
-w, --weights <weights> Specify custom weights for the neuron
|
|
13
|
-
-b, --bias <bias> Specify a custom bias for the neuron
|
|
14
|
-
-h, --help display help for command
|
|
15
|
-
|
|
16
|
-
Login:
|
|
17
|
-
Usage: me login [options]
|
|
18
|
-
|
|
19
|
-
Options:
|
|
20
|
-
-u, --username <username> Enter your username
|
|
21
|
-
-p, --password <password> Enter your password
|
|
22
|
-
-h, --help display help for command
|
|
23
|
-
|
|
24
|
-
Interact with cleaker:
|
|
25
|
-
Usage: me cleaker <command> [options]
|
|
26
|
-
|
|
27
|
-
Commands:
|
|
28
|
-
register Register a new user on cleaker.me
|
|
29
|
-
login Login to your cleaker.me account
|
|
30
|
-
publishModel Publish a neural network model to cleaker.me
|
|
31
|
-
--help display help for command
|
|
32
|
-
|
|
33
|
-
Create a new neural network:
|
|
34
|
-
Usage: me newNeuralNetwork [options]
|
|
35
|
-
|
|
36
|
-
Options:
|
|
37
|
-
-h, --help display help for command
|
|
38
|
-
|
|
39
|
-
Access netget functionality:
|
|
40
|
-
Usage: me netget <command> [options]
|
|
41
|
-
|
|
42
|
-
Commands:
|
|
43
|
-
get Get data using netget
|
|
44
|
-
ws Establish a WebSocket connection using netget
|
|
45
|
-
--help display help for command
|
|
46
|
-
|
|
47
|
-
These commands provide a clear and concise way for users to interact with the neurons.me CLI. The options allow users to customize the properties of neurons and neural networks as needed. The cleaker and netget commands are organized under their respective subcommands for easy access to their functionalities.
|