Show HN: Sping – An HTTP/TCP latency tool that's easy on the eye

(dseltzer.gitlab.io)

80 points | by zorlack 5 hours ago ago

5 comments

  • indigodaddy 26 minutes ago

    My favorite ping tool is fping, mainly because I can do bash expansion with it eg `fping mail{1..10}` .. very useful and saves me from doing a "for i" one-liner.

    This idea is also very useful for host/dig DNS queries which I would also often previously do a one-liner for, but recently had a gpt script me a tool for it:

    https://gist.github.com/jgbrwn/7dd4b262c544f750cb0291161b2ec...

  • johnQdeveloper 4 hours ago

    Just fyi, looks like the shortened command defaults has a bug based on the docs @ https://pypi.org/project/service-ping-sping/

    (i.e. # HTTP monitoring with interactive UI sping google.com )

      sping johnqdeveloper.com     
      Usage: sping [OPTIONS] URL
      Try 'sping --help' for help.
      ╭─ Error ──────────────────────────────────────────────────────────────────────╮
      │ Invalid value for '--palette': <ColorPalette.SUNSET:   'sunset'> is not one of │
      │ 'sunset', 'ocean', 'forest', 'volcano', 'galaxy', 'arctic', 'neon',          │
      │ 'monochrome'.                                                                  │
      ╰──────────────────────────────────────────────────────────────────────────────╯
    • zorlack 4 hours ago

      Thank you for reporting this!

      Would you mind telling me what environment you found this behavior in, and how you installed the app?

      I've been testing in ubuntu containers doing:

          pip3 install service-ping-sping --break-system-packages
      
      Thank you so much!!

      *EDIT:*

      I think this is to do with me not being specific about what version of typer I depend upon... working on it now!

      This is now fixed in 0.2.11. Thanks @johnQdeveloper

  • lll-o-lll 30 minutes ago

    I absolutely love this! What a great tool.

  • truekonrads 5 hours ago

    Very nice! We all really need a tool that IT can use to diagnose problems along the path. Like more user friendly nping —tr