add badges to many readme's etc.

This commit is contained in:
Chris Beck
2025-12-18 15:48:25 -07:00
parent cd0c8ef93d
commit 9390980489
7 changed files with 48 additions and 9 deletions
+5 -5
View File
@@ -35,11 +35,11 @@ assigning_clones = "allow"
result_large_err = "allow" result_large_err = "allow"
[workspace.dependencies] [workspace.dependencies]
prometheus-http-client = { path = "prometheus-http-client", default-features = false } prometheus-http-client = { path = "prometheus-http-client", version = "0.1.0", default-features = false }
signal-cli-jsonrpc-client = { path = "signal-cli-jsonrpc-client" } signal-cli-jsonrpc-client = { path = "signal-cli-jsonrpc-client", version = "0.1.0" }
signal-gateway = { path = "signal-gateway", default-features = false } signal-gateway = { path = "signal-gateway", version = "0.1.0", default-features = false }
signal-gateway-assistant = { path = "signal-gateway-assistant" } signal-gateway-assistant = { path = "signal-gateway-assistant", version = "0.1.0" }
signal-gateway-assistant-claude = { path = "signal-gateway-assistant/claude" } signal-gateway-assistant-claude = { path = "signal-gateway-assistant/claude", version = "0.1.0" }
async-trait = "0.1" async-trait = "0.1"
chrono = { version = "0.4", default-features = false, features = ["clock", "serde", "std"] } chrono = { version = "0.4", default-features = false, features = ["clock", "serde", "std"] }
+7 -3
View File
@@ -3,10 +3,14 @@
An extensible monitoring tool, sending alerts via Signal messenger, and responding to requests for information An extensible monitoring tool, sending alerts via Signal messenger, and responding to requests for information
(status, metrics values, plots) or other commands from administrators. (status, metrics values, plots) or other commands from administrators.
[![Crates.io](https://img.shields.io/crates/v/signal-gateway?style=flat-square)](https://crates.io/crates/signal-gateway)
[![Crates.io](https://img.shields.io/crates/d/signal-gateway?style=flat-square)](https://crates.io/crates/signal-gateway)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](LICENSE-APACHE) [![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](LICENSE-APACHE)
[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](LICENSE-MIT) [![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](LICENSE-MIT)
[![Build Status](https://img.shields.io/github/actions/workflow/status/cbeck88/signal-gateway/ci.yml?branch=master&style=flat-square)](https://github.com/cbeck88/signal-gateway/actions/workflows/ci.yml?query=branch%3Amaster) [![Build Status](https://img.shields.io/github/actions/workflow/status/cbeck88/signal-gateway/ci.yml?branch=master&style=flat-square)](https://github.com/cbeck88/signal-gateway/actions/workflows/ci.yml?query=branch%3Amaster)
[API Docs](https://docs.rs/signal-gateway/latest/signal_gateway/)
## Overview ## Overview
`signal-gateway` receives alerts and log messages from various sources and forwards them to [Signal `signal-gateway` receives alerts and log messages from various sources and forwards them to [Signal
@@ -137,11 +141,11 @@ The log handler controls (not exhaustive):
* When a log message can lead to an alert (by configuring one or more "routes") * When a log message can lead to an alert (by configuring one or more "routes")
* Overall limits on alerting (applies to all routes) * Overall limits on alerting (applies to all routes)
See docs for `LogHandlerConfig` for more specifics. See docs for [`LogHandlerConfig`](https://docs.rs/signal-gateway/latest/signal_gateway/log_handler/struct.LogHandlerConfig.html) for more specifics.
High level: High level:
* A `Route` consists of an `alert_level`, a `LogFilter`, and a series of `Limit`'s. * A [`Route`](https://docs.rs/signal-gateway/latest/signal_gateway/log_handler/struct.Route.html) consists of an `alert_level`, a [`LogFilter`](https://docs.rs/signal-gateway/latest/signal_gateway/log_handler/struct.LogFilter.html), and a series of [`Limit`](https://docs.rs/signal-gateway/latest/signal_gateway/log_handler/struct.Limit.html)'s.
If a message is at the alert level or higher, and it passes the filter, then we test If a message is at the alert level or higher, and it passes the filter, then we test
each `Limit` in the route. each `Limit` in the route.
* A `LogFilter` is a test against the fields of the log message. It is stateless. * A `LogFilter` is a test against the fields of the log message. It is stateless.
@@ -190,7 +194,7 @@ limits = [
] ]
``` ```
For a complete list of `LogFilter` keys, see docs for `struct LogFilter`. For a complete list of `LogFilter` keys, see docs for [`LogFilter`](https://docs.rs/signal-gateway/latest/signal_gateway/log_handler/struct.LogFilter.html).
### Claude ### Claude
+7
View File
@@ -1,5 +1,12 @@
# prometheus-http-client # prometheus-http-client
[![Crates.io](https://img.shields.io/crates/v/prometheus-http-client?style=flat-square)](https://crates.io/crates/prometheus-http-client)
[![Crates.io](https://img.shields.io/crates/d/prometheus-http-client?style=flat-square)](https://crates.io/crates/prometheus-http-client)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](LICENSE-APACHE)
[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](LICENSE-MIT)
[API Docs](https://docs.rs/prometheus-http-client/latest/prometheus_http_client/)
Makes requests to the prometheus query API. With `plot` feature, also provides Makes requests to the prometheus query API. With `plot` feature, also provides
a way to plot responses from prometheus. a way to plot responses from prometheus.
+7
View File
@@ -1,5 +1,12 @@
# signal-cli-jsonrpc-client # signal-cli-jsonrpc-client
[![Crates.io](https://img.shields.io/crates/v/signal-cli-jsonrpc-client?style=flat-square)](https://crates.io/crates/signal-cli-jsonrpc-client)
[![Crates.io](https://img.shields.io/crates/d/signal-cli-jsonrpc-client?style=flat-square)](https://crates.io/crates/signal-cli-jsonrpc-client)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](LICENSE-APACHE)
[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](LICENSE-MIT)
[API Docs](https://docs.rs/signal-cli-jsonrpc-client/latest/signal_cli_jsonrpc_client/)
A Rust JSON-RPC client for [signal-cli](https://github.com/AsamK/signal-cli) daemon. A Rust JSON-RPC client for [signal-cli](https://github.com/AsamK/signal-cli) daemon.
## Origin ## Origin
+7
View File
@@ -1,5 +1,12 @@
# signal-gateway-assistant # signal-gateway-assistant
[![Crates.io](https://img.shields.io/crates/v/signal-gateway-assistant?style=flat-square)](https://crates.io/crates/signal-gateway-assistant)
[![Crates.io](https://img.shields.io/crates/d/signal-gateway-assistant?style=flat-square)](https://crates.io/crates/signal-gateway-assistant)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](LICENSE-APACHE)
[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](LICENSE-MIT)
[API Docs](https://docs.rs/signal-gateway-assistant/latest/signal_gateway_assistant/)
Trait used to represent conversational assistant in `signal-gateway`. Trait used to represent conversational assistant in `signal-gateway`.
You can implement this trait yourself in order to customize `signal-gateway`. You can implement this trait yourself in order to customize `signal-gateway`.
@@ -1,7 +1,14 @@
[package] [package]
name = "signal-gateway-assistant-claude" name = "signal-gateway-assistant-claude"
version = "0.1.0" version = "0.1.0"
description = "Claude AI implementation of signal-gateway-assistant"
keywords = ["signal", "assistant", "ai", "claude", "anthropic"]
categories = ["asynchronous"]
authors.workspace = true
repository.workspace = true
license.workspace = true
edition.workspace = true edition.workspace = true
include.workspace = true
[lints] [lints]
workspace = true workspace = true
+8 -1
View File
@@ -1,3 +1,10 @@
# signal-gateway-assistant-claude # signal-gateway-assistant-claude
A stock implementation of the `signal-gateway-assitant` trait, using anthropic's claude API. [![Crates.io](https://img.shields.io/crates/v/signal-gateway-assistant-claude?style=flat-square)](https://crates.io/crates/signal-gateway-assistant-claude)
[![Crates.io](https://img.shields.io/crates/d/signal-gateway-assistant-claude?style=flat-square)](https://crates.io/crates/signal-gateway-assistant-claude)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](LICENSE-APACHE)
[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](LICENSE-MIT)
[API Docs](https://docs.rs/signal-gateway-assistant-claude/latest/signal_gateway_assistant_claude/)
A stock implementation of the `signal-gateway-assistant` trait, using Anthropic's Claude API.