Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/suda/leno

🌲️ Command-line log viewer with a web UI
https://github.com/suda/leno

logging logs webui

Last synced: about 2 months ago
JSON representation

🌲️ Command-line log viewer with a web UI

Awesome Lists containing this project

README

        




Command line log viewer with a web UI











Leño is a [ndjson](http://ndjson.org/) log viewer with a web UI. Think of it as local Kibana/Sumo Logic for development. Works great with [Pino](https://getpino.io/) logging library or any other app that logs into JSON.

![](./assets/screenshot.png)

## 📙 Installation

```
$ npm install -g leno
```

## 🔍️ Usage

Just run your app and pipe it's output to leño:

```
$ ./myapp | leno
🌲️ Leño is running on http://localhost:3000
```

Now you can see the logs at [http://localhost:3000](http://localhost:3000).

## 🙇️ Credits

Leño's logo is based on [log by Smalllike](https://thenounproject.com/term/log/2784204) from the Noun Project.