Skip to main content

Diagnose connectivity and infrastructure issues from the CLI

Project description

Conndoc

Over the years, troubleshooting the root cause of connection problems has always given me headaches. It often required using multiple different tools and manually interpreting their results.

conndoc is a simple yet extensive command-line tool that aims to make connectivity diagnosis easier. It supports checks for ping, DNS, SSL, HTTP, and TCP, and provides a handy summary view.


🚀 Installation

📦 pip

pip install conndoc

🍺 Homebrew (macOS)

brew tap hmerac/conndoc
brew install conndoc

🆘 Help

To see all available commands and options:

conndoc --help

You can provide either a domain name or a valid IP address as input to most commands.


🔍 Commands

summary

Run all applicable checks and show a live summary table.

conndoc summary google.com

ping

Ping a host.

conndoc ping google.com

checkdns

Resolve a domain's DNS to IP addresses.

conndoc checkdns google.com

checkssl

Inspect SSL certificate details (only for domains).

conndoc checkssl google.com

checkhttp

Send an HTTP GET request and show basic diagnostics.

conndoc checkhttp https://google.com

checktcp

Check if a TCP port is open.

conndoc checktcp google.com 443

For IPs, DNS and SSL will be skipped automatically.


📦 Project Info

  • Python 3.9+
  • Dependencies: typer, rich, httpx

🗺 Roadmap

Here are some planned and upcoming features for conndoc:

  • ICMP latency graph
    Show ping latencies over time as simple terminal plots.

  • Traceroute support
    Trace the path packets take through the network and measure latency at each hop.

  • Port scan (safe mode)
    Scan a set of common TCP ports to identify open services safely and quickly.

  • Save and export results
    Export diagnostics in JSON or Markdown format for easier sharing or CI integration.

  • Cross-platform packaging
    Add better support for Windows installers and Linux .deb / .rpm distributions.

  • Plugin support
    Let users extend Conndoc with custom checks that integrate into the summary view.


🤝 Contributing

Contributions are very welcome! Whether it's fixing a bug, improving the documentation, or suggesting a new feature — every bit helps.

If you're unsure where to start, feel free to open an issue or check out the roadmap for ideas.

By contributing, you agree that your code will be licensed under the Apache License 2.0.

Quick Start

  • Fork the repository
  • Create a new branch (git checkout -b my-feature)
  • Make your changes
  • Commit and push (git commit -am 'Add feature' && git push)
  • Open a Pull Request 🚀

If you're adding a new feature, try to include a short demo or usage example.

Looking forward to seeing what you build!


📄 License

Apache License 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

conndoc-0.2.2.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

conndoc-0.2.2-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file conndoc-0.2.2.tar.gz.

File metadata

  • Download URL: conndoc-0.2.2.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.3 Darwin/24.3.0

File hashes

Hashes for conndoc-0.2.2.tar.gz
Algorithm Hash digest
SHA256 817c040e7223c92acc6000b0a283cbd540ebc691d6e3b5c63f2533d5038dd730
MD5 9a772fd92e76ccc16c79c46a945ed660
BLAKE2b-256 3b0e4ed9020750e459ee3d697dd0f1209a7ab0f122070efe9f9beb6cc87f08f6

See more details on using hashes here.

File details

Details for the file conndoc-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: conndoc-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.3 Darwin/24.3.0

File hashes

Hashes for conndoc-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 048b82966b01da8f72a955b344f9054867ad27d1f85a480277878d50a2f8354b
MD5 2aeb0be1e19307b369593ed400b2175c
BLAKE2b-256 bbe44231df118fd4a7d5de3ca1018bae090e32932e4848085418d7e164631908

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page