treltasev / echowhisperer Goto Github PK
View Code? Open in Web Editor NEWA program that uses c++ and electron to provide application logging and a kinda good user interface.
License: MIT License
A program that uses c++ and electron to provide application logging and a kinda good user interface.
License: MIT License
Make it so theres a min height and min width, and if a user resizes the screen past a certain point the sortingsettings will hide themselves.
Clean up any loose ends and loose files like all the command files. simplify the code a bit, turn off all debugging.
Needs to turn the raw data in the bin file from c++ into a JSON serialize string with some library so that I can use it in electron whenever the web socket is reached with java script.
Thought it was automatic, guess not.
From a client to the server, key errors can happen and I need some way to handle those errors.
#[derive(Deserialize)]
struct cstm_type {
value: String
}
fn foo() {
let _str_foo = "{\"value\": \"Yes\"}";
// Fine
let _str_foo = "{\"other\": \"Yes\"}";
// Not Fine Will Throw Error
let bar: cstm_type = serde_json::from_str(_str_foo).unwrap();
}
If the json doesnt follow the structure to a T there will be an error, and thats why I need to catch this error.
I need to save a pid for every process so that I can check if that process is open with the electron portion.
Dont like all 3 of em in there.
The parent container holding the AppList and SortingSettings has a max height attribute and min height so that scrolling functions correctly but that means I can't resize the application EVER.
Convert the websocket connection from unsecure to secure with ssl.
Log every application just like c++ does.
For some reason my dumbass forgot to make a bin directory if it doesn't exist in js
I need to add an 'isOpen' property to the batch of processes so that I can pass that to electron.
Create a while looper with some conditions that will save all the logged programs to a file.
Add the logger and server to multiple threads so that they work at the same time.
The app should be able to open the bin file if the logger is offline, of course, it wont actually update.
Just create a bin directory if it doesn't exist whenever attempting to use /bin/entries.bin so that you dont get errors.
All events in the websocket server from c++ like the json messages and responses should be ported.
Whenever you run main.exe and set it to run on windows startup it likes to show its console, stop that.
Sorting settings are quite important, the settings needed as of now are:
Sort By Name
Sort By Time
Prioritize Application
Hide all Non-Applications
Hide all Applications
I know, this is dumb.
When I access the c++ program with javascript, I need to parse the json string from the websocket in javascript.
I have to choose which format like before, maybe binary?
Porting C++ to another language that is higher level or maybe even easier to understand for me that also fast could make development a hell of a lot easier in the long run. as it stands I have basically 0 experience with c++ with only a few hours under my belt. languages like python are off the table because they're so damn slow, of course im looking for a language that can be compiled into an exe, is fast or if not fast, accurate.
I had to add a max height and min height to the AppList and SortingSettings parent container because it just wouldn't work with scrollable div. I should be able to fix it but I'm not quite sure yet.
Create a websocket server for rust that will allow for easy communication between client and logger
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.