tiro-notes 0.27.45 → 0.27.48
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 +6 -3
- package/cli.js +16 -12
- package/client/asset-manifest.json +5 -5
- package/client/index.html +1 -1
- package/client/static/js/{4.08b5707a.chunk.js → 4.80690e2f.chunk.js} +2 -2
- package/client/static/js/{4.08b5707a.chunk.js.LICENSE.txt → 4.80690e2f.chunk.js.LICENSE.txt} +0 -0
- package/client/static/js/{main.ea15841a.chunk.js → main.199b2c74.chunk.js} +1 -1
- package/package.json +1 -1
- package/server/{server.js → tiro-server.js} +2 -2
- package/server/{server.js.LICENSE.txt → tiro-server.js.LICENSE.txt} +0 -0
- package/shared.helpers.build.js +21 -0
package/README.md
CHANGED
|
@@ -66,7 +66,12 @@ Tiro Notes focus points are :
|
|
|
66
66
|
</details>
|
|
67
67
|
|
|
68
68
|
## USAGE
|
|
69
|
-
|
|
69
|
+
|
|
70
|
+
### 1) DESKTOP APPLICATIONS
|
|
71
|
+
|
|
72
|
+
Mac/Linux/Windows Applications can be downloaded [here](https://github.com/dotgreg/tiro-notes/releases/tag/production)
|
|
73
|
+
|
|
74
|
+
### 2) COMMAND LINE
|
|
70
75
|
- Requirements : [NodeJs](https://nodejs.org/en/download/) and [RipGrep](https://github.com/BurntSushi/ripgrep)
|
|
71
76
|
|
|
72
77
|
```
|
|
@@ -78,8 +83,6 @@ npx tiro-notes
|
|
|
78
83
|
- This works with any platform/device, including unrooted Android with [Termux](https://termux.com) and possibly iOS with iSH (untested)
|
|
79
84
|
- ```npx tiro-notes --help``` for all available options
|
|
80
85
|
|
|
81
|
-
### 2) APPS (Coming...)
|
|
82
|
-
Mac/Linux/Windows Electron Apps coming soon...
|
|
83
86
|
|
|
84
87
|
# FAQ
|
|
85
88
|
|
package/cli.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
// const isDev = false
|
|
4
4
|
const isDev = process.env.ISDEV
|
|
5
|
-
|
|
6
5
|
const tHelpers = isDev ? require('../shared.helpers.js') : require(`./shared.helpers.build.js`);
|
|
7
6
|
|
|
8
7
|
|
|
@@ -76,17 +75,22 @@ function getCliArgs () {
|
|
|
76
75
|
function startTiroServer (argsObj, cb) {
|
|
77
76
|
console.log(`Starting Tiro-Notes from CLI with following arguments : ${JSON.stringify(argsObj)}`);
|
|
78
77
|
|
|
79
|
-
//
|
|
80
|
-
tHelpers.
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
78
|
+
// kill all possible remaining servers of tiro
|
|
79
|
+
tHelpers.killPreviousInstances(() => {
|
|
80
|
+
|
|
81
|
+
// start tiro server, detect success message and get server params
|
|
82
|
+
tHelpers.execCmd('node', [`${__dirname}/server/tiro-server.js`], {
|
|
83
|
+
env: {
|
|
84
|
+
TIRO_PORT: argsObj.port,
|
|
85
|
+
TIRO_HTTPS: argsObj.https
|
|
86
|
+
},
|
|
87
|
+
logName: 'tiroServer',
|
|
88
|
+
onLog: str => {
|
|
89
|
+
tHelpers.checkAndGetTiroConfig(str, {platform: 'cli', cb})
|
|
90
|
+
}
|
|
91
|
+
})
|
|
92
|
+
|
|
93
|
+
});
|
|
90
94
|
}
|
|
91
95
|
|
|
92
96
|
const startSshTunnel = (argsObj) => {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"files": {
|
|
3
3
|
"static/js/0.40037241.chunk.js": "/static/js/0.40037241.chunk.js",
|
|
4
4
|
"static/js/1.38ac7bc7.chunk.js": "/static/js/1.38ac7bc7.chunk.js",
|
|
5
|
-
"main.js": "/static/js/main.
|
|
5
|
+
"main.js": "/static/js/main.199b2c74.chunk.js",
|
|
6
6
|
"runtime-main.js": "/static/js/runtime-main.22f9cc81.js",
|
|
7
7
|
"static/css/4.f758ca10.chunk.css": "/static/css/4.f758ca10.chunk.css",
|
|
8
|
-
"static/js/4.
|
|
8
|
+
"static/js/4.80690e2f.chunk.js": "/static/js/4.80690e2f.chunk.js",
|
|
9
9
|
"static/js/5.50de1ade.chunk.js": "/static/js/5.50de1ade.chunk.js",
|
|
10
10
|
"static/js/6.45fa190b.chunk.js": "/static/js/6.45fa190b.chunk.js",
|
|
11
11
|
"static/js/7.26d043b6.chunk.js": "/static/js/7.26d043b6.chunk.js",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"static/js/76.bdaad737.chunk.js": "/static/js/76.bdaad737.chunk.js",
|
|
81
81
|
"static/js/77.46998b3c.chunk.js": "/static/js/77.46998b3c.chunk.js",
|
|
82
82
|
"index.html": "/index.html",
|
|
83
|
-
"static/js/4.
|
|
83
|
+
"static/js/4.80690e2f.chunk.js.LICENSE.txt": "/static/js/4.80690e2f.chunk.js.LICENSE.txt",
|
|
84
84
|
"static/js/70.0c986255.chunk.js.LICENSE.txt": "/static/js/70.0c986255.chunk.js.LICENSE.txt",
|
|
85
85
|
"static/media/codicon.css": "/static/media/codicon.0e0f4555.ttf",
|
|
86
86
|
"static/media/compact-disc-solid.55b6e50c.svg": "/static/media/compact-disc-solid.55b6e50c.svg",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"entrypoints": [
|
|
104
104
|
"static/js/runtime-main.22f9cc81.js",
|
|
105
105
|
"static/css/4.f758ca10.chunk.css",
|
|
106
|
-
"static/js/4.
|
|
107
|
-
"static/js/main.
|
|
106
|
+
"static/js/4.80690e2f.chunk.js",
|
|
107
|
+
"static/js/main.199b2c74.chunk.js"
|
|
108
108
|
]
|
|
109
109
|
}
|
package/client/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><title>Tiro</title><link href="/static/css/4.f758ca10.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,o,f=t[0],d=t[1],b=t[2],i=0,l=[];i<f.length;i++)o=f[i],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&l.push(a[o][0]),a[o]=0;for(n in d)Object.prototype.hasOwnProperty.call(d,n)&&(e[n]=d[n]);for(u&&u(t);l.length;)l.shift()();return c.push.apply(c,b||[]),r()}function r(){for(var e,t=0;t<c.length;t++){for(var r=c[t],n=!0,f=1;f<r.length;f++){var d=r[f];0!==a[d]&&(n=!1)}n&&(c.splice(t--,1),e=o(o.s=r[0]))}return e}var n={},a={3:0},c=[];function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var t=[],r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var c,f=document.createElement("script");f.charset="utf-8",f.timeout=120,o.nc&&f.setAttribute("nonce",o.nc),f.src=function(e){return o.p+"static/js/"+({}[e]||e)+"."+{0:"40037241",1:"38ac7bc7",5:"50de1ade",6:"45fa190b",7:"26d043b6",8:"1dbff36b",9:"31e31d33",10:"c848e026",11:"660cc979",12:"7aded118",13:"a80d8e33",14:"f2d8ffae",15:"fbf2a8f7",16:"960345fd",17:"5c9c9b1f",18:"dbde1501",19:"1029cf37",20:"32bdbb62",21:"375c5cf1",22:"f10fbc1b",23:"810dbe72",24:"3b01dde7",25:"410d995e",26:"cb89acda",27:"47d45a66",28:"76b97580",29:"b82ef713",30:"cf5da418",31:"18a57c2f",32:"50db76e6",33:"27731945",34:"31414215",35:"db6b604e",36:"39a5380e",37:"8230c448",38:"bd36e3c2",39:"a31499d6",40:"e2b07aca",41:"4aee5b37",42:"8e99f687",43:"4bf4b241",44:"2d850d0b",45:"7532c4e4",46:"9820f7e4",47:"1bc9b4bc",48:"c07bda49",49:"f9bdaed2",50:"7e7891fe",51:"cfcb97d5",52:"4878cb2a",53:"ebe84207",54:"687e0d9d",55:"8a2e699e",56:"dfdbe6e5",57:"96c3f7a8",58:"a4bc3531",59:"a09faea0",60:"da4455c4",61:"fe1a22fd",62:"ccd5662c",63:"5c3752a8",64:"682a1b2c",65:"c3849163",66:"70c573a9",67:"79c606aa",68:"d3c72da9",69:"873139bf",70:"0c986255",71:"0e2b96ff",72:"b2416b54",73:"0bda3749",74:"a0f5182f",75:"8ac1b164",76:"bdaad737",77:"46998b3c"}[e]+".chunk.js"}(e);var d=new Error;c=function(t){f.onerror=f.onload=null,clearTimeout(b);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;d.message="Loading chunk "+e+" failed.\n("+n+": "+c+")",d.name="ChunkLoadError",d.type=n,d.request=c,r[1](d)}a[e]=void 0}};var b=setTimeout((function(){c({type:"timeout",target:f})}),12e4);f.onerror=f.onload=c,document.head.appendChild(f)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(r,n,function(t){return e[t]}.bind(null,n));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/",o.oe=function(e){throw console.error(e),e};var f=this["webpackJsonptiro-notes-client"]=this["webpackJsonptiro-notes-client"]||[],d=f.push.bind(f);f.push=t,f=f.slice();for(var b=0;b<f.length;b++)t(f[b]);var u=d;r()}([])</script><script src="/static/js/4.
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><title>Tiro</title><link href="/static/css/4.f758ca10.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function t(t){for(var n,o,f=t[0],d=t[1],b=t[2],i=0,l=[];i<f.length;i++)o=f[i],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&l.push(a[o][0]),a[o]=0;for(n in d)Object.prototype.hasOwnProperty.call(d,n)&&(e[n]=d[n]);for(u&&u(t);l.length;)l.shift()();return c.push.apply(c,b||[]),r()}function r(){for(var e,t=0;t<c.length;t++){for(var r=c[t],n=!0,f=1;f<r.length;f++){var d=r[f];0!==a[d]&&(n=!1)}n&&(c.splice(t--,1),e=o(o.s=r[0]))}return e}var n={},a={3:0},c=[];function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var t=[],r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var c,f=document.createElement("script");f.charset="utf-8",f.timeout=120,o.nc&&f.setAttribute("nonce",o.nc),f.src=function(e){return o.p+"static/js/"+({}[e]||e)+"."+{0:"40037241",1:"38ac7bc7",5:"50de1ade",6:"45fa190b",7:"26d043b6",8:"1dbff36b",9:"31e31d33",10:"c848e026",11:"660cc979",12:"7aded118",13:"a80d8e33",14:"f2d8ffae",15:"fbf2a8f7",16:"960345fd",17:"5c9c9b1f",18:"dbde1501",19:"1029cf37",20:"32bdbb62",21:"375c5cf1",22:"f10fbc1b",23:"810dbe72",24:"3b01dde7",25:"410d995e",26:"cb89acda",27:"47d45a66",28:"76b97580",29:"b82ef713",30:"cf5da418",31:"18a57c2f",32:"50db76e6",33:"27731945",34:"31414215",35:"db6b604e",36:"39a5380e",37:"8230c448",38:"bd36e3c2",39:"a31499d6",40:"e2b07aca",41:"4aee5b37",42:"8e99f687",43:"4bf4b241",44:"2d850d0b",45:"7532c4e4",46:"9820f7e4",47:"1bc9b4bc",48:"c07bda49",49:"f9bdaed2",50:"7e7891fe",51:"cfcb97d5",52:"4878cb2a",53:"ebe84207",54:"687e0d9d",55:"8a2e699e",56:"dfdbe6e5",57:"96c3f7a8",58:"a4bc3531",59:"a09faea0",60:"da4455c4",61:"fe1a22fd",62:"ccd5662c",63:"5c3752a8",64:"682a1b2c",65:"c3849163",66:"70c573a9",67:"79c606aa",68:"d3c72da9",69:"873139bf",70:"0c986255",71:"0e2b96ff",72:"b2416b54",73:"0bda3749",74:"a0f5182f",75:"8ac1b164",76:"bdaad737",77:"46998b3c"}[e]+".chunk.js"}(e);var d=new Error;c=function(t){f.onerror=f.onload=null,clearTimeout(b);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),c=t&&t.target&&t.target.src;d.message="Loading chunk "+e+" failed.\n("+n+": "+c+")",d.name="ChunkLoadError",d.type=n,d.request=c,r[1](d)}a[e]=void 0}};var b=setTimeout((function(){c({type:"timeout",target:f})}),12e4);f.onerror=f.onload=c,document.head.appendChild(f)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(r,n,function(t){return e[t]}.bind(null,n));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/",o.oe=function(e){throw console.error(e),e};var f=this["webpackJsonptiro-notes-client"]=this["webpackJsonptiro-notes-client"]||[],d=f.push.bind(f);f.push=t,f=f.slice();for(var b=0;b<f.length;b++)t(f[b]);var u=d;r()}([])</script><script src="/static/js/4.80690e2f.chunk.js"></script><script src="/static/js/main.199b2c74.chunk.js"></script></body></html>
|