Live data from Hacker News

Show HN: Piping logs, visualizing in a web app – just suffix "| npx logscreen"

github.com

41–50 of 81 posts

Re: Show HN: Piping logs, visualizing in a web app – just suffix "| npx logscreen"

#41

Congrats on launching! Its interesting to see that ChatGPT is able to build something I've been working on ( https://logdy.dev ) for last two months. I guess new era is around the corner then.

This is a great tool too and echoes task teleportation, which is popping up more and more.

There’s a new era, but one in which you will be even more powerful. LLMs will improve in pumping out code embodiments… but it was your human creativity borne out of operations frustrations, coupled with your care to do something about it, that manifested your product.

Re: Show HN: Piping logs, visualizing in a web app – just suffix "| npx logscreen"

#42

> This tool has been generated entirely with ChatGPT and hence it is also a demonstration of how useful products can be developed with collaborative reiteration with GPTs. All you need to know.

> Features

    Web-Based Log Viewer: Get a cleaner and more organized view of command outputs.
    Real-Time Updates: Logs are displayed in real-time as the command executes.
    Interactive Interface: Search, filter, and navigate through logs easily. // TODO
ChatGPT has its limits // TODO

Re: Show HN: Piping logs, visualizing in a web app – just suffix "| npx logscreen"

#43
post #26

Earlier quoted context omitted.

As much as I love to hate on chatgpt engineer, the code is definitely okay; not much difference from a project you would write quickly in a single weekend.

The first thing that struck me when I looked at some of the code was: I'm not saying that humans never come up with this kind of crap, but it feels like it's going to be a LOT more common the more we resort to AI. I wonder if "... and make the code easy-to-read so that it's maintainable in future" is ever included in prompts for LLM-generated code.

That is just tailwind CSS, one the most common CSS libs out there I would think. Your comment is actually a lot more telling of something as opposed to this AI written project though.

Re: Show HN: Piping logs, visualizing in a web app – just suffix "| npx logscreen"

#44

Congrats on launching! Its interesting to see that ChatGPT is able to build something I've been working on ( https://logdy.dev ) for last two months. I guess new era is around the corner then.

Please keep working on this! I started a similar tool because I desperately needed it, but haven’t found the time to maintain it. https://github.com/corytheboyd-smartsheet/json-log-explorer

Having something like the log explorer in DataDog for local development is so insanely useful

Re: Show HN: Piping logs, visualizing in a web app – just suffix "| npx logscreen"

#45

Congrats on launching! Its interesting to see that ChatGPT is able to build something I've been working on ( https://logdy.dev ) for last two months. I guess new era is around the corner then.

I was looking for something like this for a while, and it could be just the landing page, but I much prefer a tool that's been built slowly with thought and consideration (which is evident from your landing page). How does your tool handle semi-permanent usage or very long logs? For instance, I would run this to view logs from an ssh server that's been up for 6 months, when systemd has rotated the log file etc.

Why would you watch logs for more than 6 months?

Do you filter them? What does the system you are watching do?

Re: Show HN: Piping logs, visualizing in a web app – just suffix "| npx logscreen"

#46
> Interactive Interface: Search, filter, and navigate through logs easily. // TODO

This is exactly why you would show logs in the browser though— this is not a nice to have, it is THE core feature. The browser is perfect for building the complex UI necessary for filtering and making sense of log streams.

Re: Show HN: Piping logs, visualizing in a web app – just suffix "| npx logscreen"

#47
post #31

Earlier quoted context omitted.

The first thing that struck me when I looked at some of the code was: I'm not saying that humans never come up with this kind of crap, but it feels like it's going to be a LOT more common the more we resort to AI. I wonder if "... and make the code easy-to-read so that it's maintainable in future" is ever included in prompts for LLM-generated code.

that's the horror of Tailwind for you, which is different from the horror of AI

Software development is horror all the way down. The sooner you embrace the horror, the easier life gets.

Re: Show HN: Piping logs, visualizing in a web app – just suffix "| npx logscreen"

#48
post #14

Is there a benefit over command | vim - ? I love doing that, because then I get all the power of Vim to look at the output. Search, regex search, sorting, bookmarks, counting, macros ... I started to write output that is indented, so I can use Vim's folding to comfortably look at complex data. For example if you have entries like this: 2023-04-12 17:22 Sighted and UFO Location: 27.1742424 12.137234 Temperature: 24°C…

I think this is more designed for streamed output rather than viewing files. Vim doesn't seem to support that, in fact it just says "Vim: Reading from stdin..." forever.

try

    vim filename 
lmao

Re: Show HN: Piping logs, visualizing in a web app – just suffix "| npx logscreen"

#49

This is handy stuff, thanks for sharing. We are working on transporting tasks back and forth from TUI Web App VR ; this is a great and straightforward example of that. I use VSCode CoPilot constantly as simple augmentation and typing-saving — not for wholesale creation of code. I’ve seen my pre-novice daughter use ChatGPT and the results were mixed (good in some ways, horrible in others). Can you elaborate more on yo…

Sure thing! The collaboration with ChatGPT was like having a friendly coding buddy. I threw in ideas, got feedback, and we built this tool together. We chatted about names, features, and even how to post it. It's like having an AI pal who's great at brainstorming and coding. Fun times!

^ asked Chat GPT to generate this from my earlier prompts :)

Some other notes, I am a developer who love to make usable products, and these years I learned the usability is most important especially when you are developing in the early stages of a product. So I fed some ideas, asked suggestions, gave some tech stacks (for example, I asked chatGPT to not go with webpack, instead simply load React from CDN for quick iteration. and suggested memoisation on React to render things faster). So process wise similar to any other product development, but it's like having someone listen to your feedback and instructions and do the work- I would like to call collaboration!

Re: Show HN: Piping logs, visualizing in a web app – just suffix "| npx logscreen"

#50

> Interactive Interface: Search, filter, and navigate through logs easily. // TODO This is exactly why you would show logs in the browser though— this is not a nice to have, it is THE core feature. The browser is perfect for building the complex UI necessary for filtering and making sense of log streams.

That’s probably why it’s on their TODO list
Post reply on HN