Skip to content

datenshicommunity/logviewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Log Viewer

A real-time log viewer web application built with Go, featuring WebSocket support for live updates and a modern web interface.

Features

  • Real-time log file monitoring
  • Support for both .log and .leaks files
  • Basic authentication for secure access
  • Modern, responsive web interface
  • Memory leak log highlighting
  • Buffered WebSocket updates for better performance

Configuration

The application can be configured using environment variables:

  • LOG_VIEWER_USERNAME: Username for basic authentication (default: "admin")
  • LOG_VIEWER_PASSWORD: Password for basic authentication (default: "admin")

Usage

Running with Go

go run main.go

The application will start on http://localhost:8080.

Running with Docker

docker build -t logviewer .
docker run -p 8080:8080 \
    -e LOG_VIEWER_USERNAME=your_username \
    -e LOG_VIEWER_PASSWORD=your_password \
    -v /path/to/logs:/tmp/log:ro \
    logviewer

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

[email protected]

About

logviewer for rathena server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published