-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
80 lines (73 loc) · 1.87 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/*
🅜🅞🅝🅐🅓🅛🅘🅢🅐 /
ⓝⓔⓤⓡⓞⓝⓢ.ⓜⓔ
🆂🆄🅸🅶🅽 /
index.js */
import 'dotenv/config';
import chalk from 'chalk';
import Me from '../all.this/workspaces/this.me/index.js';
let me = new Me("Lisa");
//Me is an instance of an Identity.
function createUser(username) {
try {
let user = new Me(username);
console.log('Hello, I am', user);
} catch (error) {
console.error('Error:', error.message);
}
}
//I am, therefore I exist.
console.log('Hello, I am', me);
console.log(chalk.bold('Who are you?'));
let user = "suign";
createUser(user);
//import cleaker from "cleaker";
//cleaker(me);
/* NETGET
import NetGet from 'netget';
import { routes } from './GET/routes.js';
let netget = new NetGet();
netget.Gateway({ routes: routes }).listen();
*/
// ------------ //
// --- v.path ------
import vpath from 'v.path';
// Configuration for the global database pool
const localDbPool = vpath.createPool(
process.env.LOCAL_DB_HOST,
parseInt(process.env.LOCAL_DB_PORT, 10),
process.env.LOCAL_DB_USER,
process.env.LOCAL_DB_PASSWORD,
process.env.DB_NAME
);
//const vault = new vpath.TheVault();
//console.log(vault);*/
//Monads
import GPT from 'monads.ai';
//import imLearning from 'i.mlearning';
//import pixelgrid from 'this.pixelgrid';
//all.this Data Structures.
//import thisAudio from 'this.audio';
//import thisDOM from 'this.dom';
//import thisGUI from 'this.gui';
/*THISIMG
import thisImg from 'this.img';
const imagePath = './_._.svg';
const options = {
width: 100,
height: 100,
channels: 3,
returnFileType: 'jpeg'
};
let img;
// Use a high-resolution grayscale preset
thisImg(imagePath, options)
.then(result => {
img = result;
})
.catch(error => {
console.error('Error processing image:', error);
});
//*/
//import thisWallet from 'this.wallet';
console.log("monadlisa/index.js endLine 1");