devrama / wonlog Goto Github PK
View Code? Open in Web Editor NEWStream your local logs to browsers.
Stream your local logs to browsers.
Dependabot couldn't find a package.json for this project.
Dependabot requires a package.json to evaluate your project's current JavaScript dependencies. It had expected to find one at the path: /package.json
.
If this isn't a JavaScript project, or if it is a library, you may wish to disable updates for it from within Dependabot.
If you pass --server-host or --server-port options to the wonlog-server it's ignoring those values and continues to use the default 127.0.0.1:7978 values. Using the browser debug in the web interface I can see it failing with a "WebSocket connection to 'ws://192.168.1.101:7978/' failed" message even when the options are passed. I installed using npm (although I would prefer docker, but that's not up to date) and in the /usr/local/lib/node_modules/wonlog/dist/wonlog/bin/wonlog-server.js file I initially change the default 127.0.0.1 to my ip, and it started to work (using the default port):
// .replace('%%WONLOG_RELEASE_WEBSOCKET_URL%%',
ws://${options['http-host'] || '127.0.0.1'}:${options['http-port'] || 7978});
.replace('%%WONLOG_RELEASE_WEBSOCKET_URL%%',
ws://${options['http-host'] || '192.168.1.101'}:${options['http-port'] || 7978});
After looking at it some more I realized the option names (at line 25) are incorrectly "http-host" and "http-port" instead of "server-host" and server-port" in the file. Once I updated it with the correct option names it works fine:
// .replace('%%WONLOG_RELEASE_WEBSOCKET_URL%%',
ws://${options['http-host'] || '127.0.0.1'}:${options['http-port'] || 7978});
.replace('%%WONLOG_RELEASE_WEBSOCKET_URL%%', ws://${options['server-host'] || '127.0.0.1'}:${options['server-port'] || 7978}
);
I know you're not doing a lot of development with this recently, but I've been a long time rTail user that got tired of the flakiness of the display not properly updating and the wrong log displaying. Thus I'm excited at the prospects that your rewrite functions better. Thus thank you for your time and effort!
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.