Just a my tiny tool for monitoring logs file in remote servers via browser.
Sometime I dont have right access to SSH server, or I want to share the logs to other who have not SSH access.
- NodeJS server:
$ npm install
$ node node-server/app.js
- Ruby/Sinatra server:
$ bundle
$ ruby ruby-server/server.rb
See config.json
:
{
"server": {
"port": "5000"
},
"auth": {
"username": "me",
"password": "123456"
}
}
Code just for fun! Should use only in staging or development only.
- node-tail
- [ruby-tail] (https://github.com/flori/file-tail)