Skip to content

vldanch/dops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dops — DevOps CLI Assistant

dops - is a smart CLI tool for DevOps engineers that brings together essential checks and utilities in one convenient tool: service availability checks, log analysis, notifications, system metrics, and more.

🚀 Installation

make build

🧪 Example usage

Run the ping command to check network connectivity to one or more hosts using a TCP ping to port 80 (does not require root privileges)

✅ This method does not require root access and works cross-platform by attempting a TCP connection to the host on port 80.

./dops ping www.google.com github.com example.com

# Output:
# Pinging www.google.com...
# TCP ping to www.google.com: connected successfully in 46 ms
#
# Pinging github.com...
# TCP ping to github.com: connected successfully in 65 ms
#
# Pinging example.com...
# TCP ping to example.com: connected successfully in 125 ms

Run the httpcheck command to check the availability of one or more URLs concurrently with retries, timeout, and concurrency limit:

./dops httpcheck --url https://example.com --url https://github.com --timeout 5 --retries 3 --concurrent 10

# Output:
# HTTP attempt 1 to https://github.com ... Success! Status code: 200, Response time: 228.728898ms
# HTTP attempt 1 to https://example.com ... Success! Status code: 200, Response time: 585.865654ms

Check SSL certificate details for a URL:

./dops cert --url https://example.com
# Output:
# Certificate for https://example.com
# Subject:        *.example.com
# Issuer:         DigiCert Global G3 TLS ECC SHA384 2020 CA1
# Valid from:     Wed, 15 Jan 2025 00:00:00 UTC
# Valid until:    Thu, 15 Jan 2026 23:59:59 UTC
# Days left:      169
# Trusted:        Yes

Run the checksystem command to display system metrics:

./dops checksystem

# Output:
# CPU Usage: 0.00%
# Memory Usage: 3.81% (Used: 298 MB, Total: 7829 MB)
# Disk Usage (/): 0.65% (Used: 6 GB, Total: 1006 GB)
# System Uptime: 3 hours

📅 ROADMAP

For details on planned features and future development, see the ROADMAP.md file.

🛠 TODO

MVP 0.1.0

  • ✅ Base project structure
  • httpcheck command
  • cert command
  • ✅ Reading YAML config

0.2.0

  • checksystem command
  • ❌ Log analyzer

0.3.0

  • ❌ Telegram notifications
  • update command

Future

  • ❌ Web interface
  • ❌ SaaS mode

💸 Monetization & Licensing

The core of dops is and will remain free under the MIT license.

We are planning to introduce a Pro version with advanced features, including:

  • 🔔 Telegram & Slack notifications
  • 📊 Extended system metrics (CPU trends, thresholds)
  • 🔄 Auto-update & version check
  • 🔐 Role-based config access
  • 🌐 Web UI for centralized management (future)

The Pro version will be available as a paid binary or Docker container.

Support

☕ Support my work on coffee: https://donate.stream/donate_68625552be6ba

Contact

For questions or support, you can reach me on Telegram: https://t.me/vldanch

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published