gitsquared / edex-ui Goto Github PK
View Code? Open in Web Editor NEWA cross-platform, customizable science fiction terminal emulator with advanced monitoring & touchscreen support.
License: GNU General Public License v3.0
A cross-platform, customizable science fiction terminal emulator with advanced monitoring & touchscreen support.
License: GNU General Public License v3.0
Currently you can't copy/paste something from/to the TTY.
It's gonna be tough getting some hardware for testing, but it seems multi-touch actions like using the Shift key on the keyboard does not work.
Perhaps adding a document-wide touch event handler that would activate each element touched could fix the issue. Can the onclick event be triggered by JS? yes
P.S: #100 🎉
An auto-updater is pointless for a utility software like edex that won't change much after its release and is mostly distributed under a portable format.
That said, i might consider pushing out new stuff like security fixes or more themes and keyboard layouts and modules and stuff, so it might be interesting to perform a quick API request to GitHub at start and pop up a modal if there's something new to download.
Using the file browser, if you change the theme of eDEX-UI a number of times, it starts to slow down and eventually grinds to a halt with the message [17916:0100/000000.413673:FATAL:memory.cc(22)] Out of memory. size=262144
. It appears that when reloading a theme, the previous session is still being saved in memory, or something like that. This takes a number of theme changes to trigger on a machine with 16gb of RAM, though a smaller machine like my 8gb laptop doesn't take many theme changes.
I get a bunch of TypeError: Failed to set the 'value' property on 'HTMLProgressElement': The provided double value is non-finite.
when running this. The error is in: src/classes/filesystem.class.js 270:38.
I'm running a vanilla ubuntu:bionic docker image.
Hello! I'd like to know if you plan to support Android; it would be awesome to have this running on tablets and smartphones.
To do list:
Looks like there's an implicit dependency on ifconfig being present. Probably a good idea to have a graceful fallback on that, as in my case it wasn't installed by default, and in some distros (such as Ubuntu), it's being moved away from completely in preference to ip
. Perhaps check for both and fail gracefully if neither are found.
Should be win64
When in start the app i have this error:
error [object Event]: Uncaught [object Event]
debug at /edex-ui/src/classes/terminal.class.js 111:43
My system is:
Terminal: konsole
OS: KDE neon
Getting
module.js:545
throw err;
^
Error: Cannot find module '/run/firejail/appimage/.appimage-6898/resources/electron.asar/browser/init.js'
at Function.Module._resolveFilename (module.js:543:15)
at Function.Module._load (module.js:473:25)
at Function.Module.runMain (module.js:683:10)
at startup (bootstrap_node.js:196:16)
at bootstrap_node.js:622:3
Parent pid 6898, child pid 6901
Parent is shutting down, bye...
on Ubuntu 14.04.
Reference:
AppImage/appimage.github.io#611
Currently, _boot.js is looking for the settings.json file at the directory where the electron app is launched.
This cause errors in compiled versions because the files are packed into an ASAR archive.
A JavaScript error occurred in the main process
Uncaught Exception:
Error: ENOENT, settings.json not found in /home/square/Downloads/edex-ui-0.5.0/resources/app.asar
at notFoundError (ELECTRON_ASAR.js:115:19)
at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:183:9)
at Object.fs.writeFileSync (fs.js:1326:33)
at Object.<anonymous> (/home/square/Downloads/edex-ui-0.5.0/resources/app.asar/_boot.js:20:8)
at Object.<anonymous> (/home/square/Downloads/edex-ui-0.5.0/resources/app.asar/_boot.js:89:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
To do:
Related to issue #217, but on Win10 using NVidia...
Version: I try both run from source code and install latest release mac os package.
Here is the log:
⬤ debug Error: Got 404 (Not Found) response from server
✖ error InvalidStateError: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.: Uncaught InvalidStateError: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.
⬤ debug at file:///Users/anderson/Code/edex-ui/src/classes/terminal.class.js 166:29
● note UpdateChecker: Could not fetch latest release from GitHub's API.
⬤ debug Error: Got 404 (Not Found) response from server
✖ error [object Event]: Uncaught [object Event]
⬤ debug at file:///Users/anderson/Code/edex-ui/src/classes/terminal.class.js 111:43
And here is the screenshot, which network traffic offline, file system display nothing, and terminal display nothing and can not type anything:
Use uglify-js and less(?) and in the prebuild-minifier script.
Don't know if electron actually allows/provides this
Print console errors somewhere in the UI / instead of the boot screen for startup failures
✖ error TypeError: Cannot read property 'getExtension' of null: Uncaught TypeError: Cannot read property 'getExtension' of null
⬤ debug at /home/user/edex-ui/src/assets/vendor/encom-globe.js 29518:34
fs
to list files & dirsHello,
first: Thank you for the amazing work with this! Having so much fun with this project. Everything is running fine, the globe seems to be working too. But once I close the App, I see at least 20 of these messages in the Terminal (I'm working with macOS). It seems like there's an error when the api tries to grab data to parse it to the locationGlobe.. Any idea what could cause this?
Also, something else: When I hit npm start the fullscreen opens for 1 second and then it switches back to my desktop and the terminal window and I have to open the electron app manually. Is this intended?
Thanks again! terminal output is below:
⬤ debug Error: TypeError: Cannot read property 'latitude' of undefined ● note LocationGlobe: Error parsing data from ipinfo.now.sh
ReferenceError: FileSystemDisplayed is not defined ,系统环境:ubuntu 64位 16.04
Please.
Hello,
First of all, great job with this awesome project, that is really impressive! I’ve been playing around for about half an hour now, and I really enjoy it, however I immediately noticed something:
On ultra-wide screens (21:9), or at least on mine (2560x1080), there is an overlap of the network widget with the keyboard widget, as you can see on the image below
You can also see the Enter key is not correctly drawn on my 21:9 screen. I can confirm however that I do not have these issues on my regular 16:9 (1920x1080) screen.
I don’t think I’ll have time for now to look myself into this issue, however I think I will participate a bit some time soon on the keyboard side of the project.
Keep up with the great work!
Dependabot can't resolve your JavaScript dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Error while updating /src/package-lock.json:
No matching version found for [email protected]
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
You can mention @dependabot in the comments below to contact the Dependabot team.
Is this a real terminal?
Currently Windows, the latest macOS and any Linux distro that can run Chromium (AppImage package).
https://github.com/GitSquared/edex-ui#what-os-can-this-thing-run-on
So is this based on Chromium (Electron??!) or sues code from Chromium or why does it state this?
attach
and fit
addons - is the whole addons system gone or what?click on some keys on the keyboard in the UI while typing with a physical keyboard will cause the terminal to endlessly spam the keys in the terminal.
c:\lou\edex-ui-master>npm run install-windows
[email protected] preinstall-windows c:\lou\edex-ui-master
npm install --global --production windows-build-tools && npm install --global node-gyp && setx PYTHON "%USERPROFILE%.windows-build-tools\python27\python.exe"
[email protected] postinstall C:\Users\ys4admin\AppData\Roaming\npm\node_modules\windows-build-tools
node ./dist/index.js
Downloading vs_BuildTools.exe
[> ] 0.0% (0 B/s)
Downloaded vs_BuildTools.exe. Saved to C:\Users\ys4admin.windows-build-tools\vs_BuildTools.exe.
Starting installation...
Launched installers, now waiting for them to finish.
This will likely take some time - please be patient!
Status from the installers:
---------- Visual Studio Build Tools ----------
Successfully installed Visual Studio Build Tools.
------------------- Python --------------------
Python 2.7.15 is already installed, not installing again.
Now configuring the Visual Studio Build Tools..
All done!
SUCCESS: Specified value was saved.
[email protected] install-windows c:\lou\edex-ui-master
npm install && cd src && npm install && ..\node_modules.bin\electron-rebuild -f -w node-pty && cd ..
[email protected] prepare c:\lou\edex-ui-master
npm run snyk-protect
[email protected] snyk-protect c:\lou\edex-ui-master
snyk protect
Snyk couldn't patch the specified vulnerabilities because GNU's patch is not available. Please install 'patch' and try again.
For more information please see our support page: https://support.snyk.io/snyk-cli/snyk-protect-requires-the-patch-binary.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] snyk-protect: snyk protect
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] snyk-protect script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ys4admin\AppData\Roaming\npm-cache_logs\2018-11-22T16_44_08_590Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prepare: npm run snyk-protect
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ys4admin\AppData\Roaming\npm-cache_logs\2018-11-22T16_44_08_732Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install-windows: npm install && cd src && npm install && ..\node_modules\.bin\electron-rebuild -f -w node-pty && cd ..
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install-windows script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ys4admin\AppData\Roaming\npm-cache_logs\2018-11-22T16_44_08_836Z-debug.log
c:\lou\edex-ui-master>
Tried this out today on two win10 machines. Had to force kill the process on both machines after it immediately redlined the CPU at a constant 100% with 60-75% of that being the exe. On one machine it chewed up over 3.8 GB of RAM before I closed it.
WMIC/wmiprvse runs wild.
I haven't dipped into the source to see what's going on, but i'd be surprised if this needed to be so excessive.
PC:
Win10
AMD FX-9590 (4.72 GHz)
32 GB
GTX 970
Tablet:
Win10
Intel Atom Z8700
4 GB
I can only venture a guess...maybe windows defender has the application in a choke hold or something. It seems odd, since I don't see any similar issues being brought up here.
I'd like to help figure this out. Reply with thoughts or suggestions I can try out.
Easy to repeat and provide more details if needed.
Before 1.0 final release:
LINUX
WINDOWS
MAC OS
Using the latest edex-ui AppImage on Ubuntu 18.10, after a few seconds of using edex-ui, it stops working:
▶ start Starting eDEX-UI v1.0.0
ℹ info With Node 8.9.3 and Electron 2.0.9
ℹ info Renderer is Chrome 61.0.3163.100
▶ Startup Initialized timer...
ℹ info Base config dir is /home/logix/.config/eDEX-UI
☐ pending Loading settings file...
✔ success Settings loaded!
☐ pending Creating new terminal process on port 3000
✔ success Terminal back-end initialized!
ℹ info Creating window...
… watching Waiting for frontend connection...
✔ success Connected to frontend!
◼ Startup Timer run for: 21.73s
ℹ info Resized TTY to 089 038
ℹ info Resized TTY to 138 036
● note UpdateChecker: Could not fetch latest release from GitHub's API.
⬤ debug Error: Got 404 (Not Found) response from server
✖ error TypeError: Cannot read property 'length' of undefined: Uncaught TypeError: Cannot read property 'length' of undefined
⬤ debug at /tmp/.mount_eDEX-U9AlLHJ/resources/app.asar/node_modules/systeminformation/lib/cpu.js 410:12
✖ error TypeError: Cannot read property 'length' of undefined: Uncaught TypeError: Cannot read property 'length' of undefined
⬤ debug at /tmp/.mount_eDEX-U9AlLHJ/resources/app.asar/node_modules/systeminformation/lib/cpu.js 850:27
[1076:0100/000000.919009:FATAL:memory.cc(22)] Out of memory. size=524288
✖ error Lost connection to frontend
… watching Waiting for frontend connection...
I tried to install all versions @win 7 64 bit ... When I open the application a message shows up:
eEDEX-UI failed to launch
File not found:
Unplugging or plugging in a power cable doesn't register a change in the UI until something like a minute later.
When using the 'letter' keys on the physical keyboard, there is no key repeat, as in keeping the key pressed does not repeatedly input that character. This works fine for arrow keys and backspace, also when clicking on the virtual keyboard.
Mac OS HighSierra
MacBook Pro (13-inch, 2017)
✖ error Error: Cannot find module './node_modules/xterm/lib/addons/attach/attach.js': Uncaught Error: Cannot find module './node_modules/xterm/lib/addons/attach/attach.js'
⬤ debug at module.js 545:5
● note LocationGlobe: Error parsing data from ipinfo.now.sh
⬤ debug Error: TypeError: Cannot read property 'latitude' of undefined
● note LocationGlobe: Error parsing data from ipinfo.now.sh
⬤ debug Error: TypeError: Cannot read property 'latitude' of undefined
● note LocationGlobe: Error parsing data from ipinfo.now.sh
⬤ debug Error: TypeError: Cannot read property 'latitude' of undefined
● note LocationGlobe: Error parsing data from ipinfo.now.sh
⬤ debug Error: TypeError: Cannot read property 'latitude' of undefined
Originally posted by @hasDarren in #249 (comment)
Hi,
First off, I'm really enjoyed edex, so thank you!
I'm getting a "Tracking Failed, Running detached from tty" message on the file list next to the keyboard.
Running on Windows 10.
Am I missing a permission or setting?
Ran npm run build-darwin
Then had to manually install:
signale
clipboardy
node-pty
systeminformation
smoothie
xterm
attach.js
Now it's complaining about a dependency of a dependency.
Some keys, like letters, stay lit when you hold down the key on a physical keyboard. Backspace does not.
This is close, but the position of the backslash key is wrong, and there's an extra key that isn't really there, and the alignment of the bottom row with the home row is shifted right by about half a key, it should be moved to the left (in the ANSI layout).
My keyboard looks more like this:
(however, I'm on a MacBook and the bottommost row really is FN, CTRL, ALT, CMD, space, CMD, ALT, arrow keys, but that matters less)
neither copy nor paste work when adding ubuntu.exe to the config.
When clicking on a directory icon in the file browser, the created cd
command does not add backslashes or otherwise escape spaces in directories that have spaces in their names. My guess is this may also extend to directories with other special characters as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.