NetLog Viewer Docker Container
September 6, 2024 ยท View on GitHub
This repository contains a Docker image for serving the NetLog Viewer webapp locally. The NetLog Viewer allows you to load and analyze NetLog dumps exported from Chromium Basesd browsers (Google Chrome, Microsoft Edge)
Table of Contents
- Getting Started
- Prerequisites
- Building the Docker Image
- Running the Docker Container
- Accessing the Webapp
- Usage
- Contributing
- License
Getting Started
These instructions will help you set up and run the NetLog Viewer webapp using Docker.
Prerequisites
- Docker installed on your machine. You can download Docker from here.
Pull the Docker Image
You can pull the latest image with docker pull ghcr.io/martadams89/netlog-viewer:latest
Building the Docker Image
Instead of pulling the image, you can build it yourself
-
Clone this repository:
git clone https://github.com/martinadamsUL/netlog-viewer.git cd netlog-viewer -
Build the Docker image:
docker build -t netlogviewer .
Running the Docker Container
Run the Docker container using the following command:
docker run -d -p 8080:8080 netlogviewer
This will start the container in detached mode and map port 8080 of the container to port 8080 on your host machine.
Running in Docker compose
You can also bring up the container using docker-compose.
---
services:
netlogviewer:
image: ghcr.io/martinadamsUL/netlogviewer:latest
container_name: rnetlogviewer
ports:
- 8080:8080
restart: unless-stopped
Accessing the Webapp
Open your web browser and navigate to:
http://localhost:8080/
You should see the NetLog Viewer webapp interface.
Usage
- Export a NetLog dump from Chrome by navigating to
chrome://net-export. - Click on "Choose File" in the webapp interface and select your exported NetLog dump file.
- Analyze your NetLog data using the available tabs (Import, Events, Proxy, Timeline, DNS, Sockets, Cache).
Contributing
Contributions are welcome! Please open an issue or submit a pull request with your changes.
Steps to Contribute
- Fork the repository
- Create a new branch (
git checkout -b feature-branch) - Make your changes
- Commit your changes (
git commit -am 'Add new feature') - Push to the branch (
git push origin feature-branch) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.