https://github.com/renanstn/log-streamer
Pequeno app que serve arquivos de logs em rede local para que estes sejam acessíveis através de outros dispositivos.
https://github.com/renanstn/log-streamer
flask python
Last synced: 2 months ago
JSON representation
Pequeno app que serve arquivos de logs em rede local para que estes sejam acessíveis através de outros dispositivos.
- Host: GitHub
- URL: https://github.com/renanstn/log-streamer
- Owner: renanstn
- Created: 2024-03-13T20:31:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-15T20:34:02.000Z (over 2 years ago)
- Last Synced: 2025-03-23T13:42:45.062Z (over 1 year ago)
- Topics: flask, python
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Log Streamer
## Objective
This little app just set ups a Flask application to serve a log file across my local network. With this, I can repurpose my old smartphone as a "third monitor" to monitor logs from other apps I'm developing.
## Stack
- Pipenv
- Flask
## Development
### Installing
```sh
pipenv install
```
### Start development server
```sh
export FILE_PATH="/your/log/file"
pipenv run flask run --host=0.0.0.0 --debug
```
## Accessing logs on the phone (using termux)
```sh
curl {your-local-ip}:5000/log
```