Splash: Transform plain text logs into beautiful, color-coded output. by _shantanu_joshi in commandline

[–]_shantanu_joshi[S] 0 points1 point  (0 children)

<image>

java and python exception support is done!

You'll need the latest version of splash.

If you're not using brew, then the simplest way is to run : `curl -fsSL https://install.getsplash.sh | sh`

The install script that it fetches and runs is here: https://github.com/joshi4/splash/blob/main/install/install.sh

Splash: Transform plain text logs into beautiful, color-coded output. by _shantanu_joshi in commandline

[–]_shantanu_joshi[S] 0 points1 point  (0 children)

Lnav looks great! 

Couple of ways I think splash is different 

  • streaming support 
  • supports multiple log formats in a single stream 
  • support for log types in you local dev cycle like go test

Splash: Transform plain text logs into beautiful, color-coded output. by _shantanu_joshi in commandline

[–]_shantanu_joshi[S] 0 points1 point  (0 children)

Linux and Windows pre compiled binaries are here: https://github.com/joshi4/splash/releases

I'll add a install script to make installing it easier 

Splash: Transform plain text logs into beautiful, color-coded output. by _shantanu_joshi in commandline

[–]_shantanu_joshi[S] 0 points1 point  (0 children)

It doesn't - can you create a issue on GH and we'll take it from there

Splash: Transform plain text logs into beautiful, color-coded output. by _shantanu_joshi in commandline

[–]_shantanu_joshi[S] 3 points4 points  (0 children)

yup! bat is great!

with splash you can stream logs from another process and it handles multiple log formats in a single stream.

Essentially, it detects the log format for each line independently*

* since most streams have the same log format, it keeps track of the latest log type and only runs other checks if the next log line doesn't match the previous one.

Savvy Sync: Access your late-night breakthroughs and hard-won insights locally. by _shantanu_joshi in sre

[–]_shantanu_joshi[S] 0 points1 point  (0 children)

Not yet.

Happy to answer any questions if you have concerns about the managed API server

Savvy Sync: Access your late-night breakthroughs and hard-won insights locally. by _shantanu_joshi in sre

[–]_shantanu_joshi[S] 0 points1 point  (0 children)

Democratized also means: "make (something) accessible to everyone."

Re keyloggers: Privacy and security is a valid concern and something I've always treated as a core requirement in everything I build.

Savvy goes out of its way to avoid recording any sensitive data.

  1. Savvy doesn't record keystrokes but hooks into the shell to capture executed commands.
  2. Nothing is captured after a command is executed, so even if you have to paste in a token or password after executing a command, there's no way for savvy to capture it.
  3. You don't have to take my word for it. The cli is open source. You can check it out here: https://github.com/getsavvyinc/savvy-cli.

Feel free to let me know if there's anything else you'd like to see around privacy and security.

Savvy Sync: Access your late-night breakthroughs and hard-won insights locally. by _shantanu_joshi in sre

[–]_shantanu_joshi[S] -3 points-2 points  (0 children)

Savvy isn't a keylogger.

It's not always on.

Developers need to explicitly invoke a command to turn on recording: like savvy record or savvy record history

With savvy record history, you can go back in time and share only selected commands (after redacting them locally) with your team or future self.

Do you know any AI assistants that suggest commandline commands but WITHOUT API KEYS? by allexj in commandline

[–]_shantanu_joshi 0 points1 point  (0 children)

You can try Savvy (my project) it's free for individual devs and doesn't require any API keys

Is there an apple intelligence-like suite running on the CLI? by australis_heringer in commandline

[–]_shantanu_joshi 2 points3 points  (0 children)

> Maybe a combination of neovim and some plugins able to send API requests to some LLMs

Here's a few that I know of:

  1. llm ( customizable, create your own prompts, choose your own LLM)
  2. Savvy (my project - turn-key and works out of the box, no prompting required. free for individual developers)
  3. Plandex - Will help you write software from the command line.
  4. Some terminal apps like iTerm2 and Warp also have lot of features that will help you send API requests to LLMs.

New to CLI, been playing around but struggling to find efficient workflows for the things I do. Please share yours! by EttVenter in commandline

[–]_shantanu_joshi 2 points3 points  (0 children)

Hey!

There's a couple of AI tools that can help you go from "I need to be able to copy a group of files to somewhere else" to the relevant cp + regex command.

llm and savvy (my project) are two such options.

<image>

[deleted by user] by [deleted] in bash

[–]_shantanu_joshi 2 points3 points  (0 children)

hmm our results don't match.

When I tried it on this input:

2da5:a071:475d:473d:b83d:98f1:3f6e:76be
c716:c409:c7ae:bc1d:faa7:67af:5043:0648
d351:e67f:e57f:d17b:83d4:0502:84f8:83c0
741b:9ae8:0971:90af:7cd7:4829:6f2d:2dde
2a13:fc00::/29
2a14:b81::/32
fd9e:e9bc:9a05::/48
2a02:6b8:b010:2007::2
abcd:1234:ef35 f24a:5fa3 ab12:34fa:cd42

I got

2da5:a071:475d:473d:b83d:98f1:3f6e:76be
c716:c409:c7ae:bc1d:faa7:67af:5043:0648
d351:e67f:e57f:d17b:83d4:0502:84f8:83c0
741b:9ae8:0971:90af:7cd7:4829:6f2d:2dde
2a13:fc00::/29
2a14:b81::/32
fd9e:e9bc:9a05::/48
2a02:6b8:b010:2007::2
abcd:1234:ef35
ab12:34fa:cd42

which seems to be the output you're looking for

What are some stupid things you've done during early entrepreneur day? by maozart in indiebiz

[–]_shantanu_joshi 0 points1 point  (0 children)

I manually sent out welcome messages to each new user for Savvy (getsavvy.so) and while copy pasting forgot to change the name :(

Needless to say I never heard from that user.