Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Thanks for your interest in contributing! GreenGate is a Rust CLI tool — contr
### Build

```bash
git clone https://github.com/ThinkGrid-Labs/greengate
git clone https://github.com/thinkgrid-labs/greengate
cd greengate
cargo build
```
Expand All @@ -29,7 +29,7 @@ All tests must pass before submitting a pull request.

### Reporting bugs

Open an issue at [github.com/ThinkGrid-Labs/greengate/issues](https://github.com/ThinkGrid-Labs/greengate/issues) and include:
Open an issue at [github.com/ThinkGrid-Labs/greengate/issues](https://github.com/thinkgrid-labs/greengate/issues) and include:

- greengate version (`greengate --version`)
- OS and architecture
Expand Down
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
> A blazing-fast DevOps CLI built in Rust — secret scanning, AST-based SAST for JS/TS/Python/Go, Kubernetes linting, Dockerfile linting, coverage gates, dependency auditing with offline cache, web performance auditing, React component regression detection, CycloneDX SBOM generation, scan baselines, a pipeline runner, config profiles, and an interactive setup wizard — in a single zero-dependency binary.

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
[![Build](https://img.shields.io/github/actions/workflow/status/ThinkGrid-Labs/greengate/ci.yml?branch=main)](https://github.com/ThinkGrid-Labs/greengate/actions)
[![GitHub release](https://img.shields.io/github/v/release/ThinkGrid-Labs/greengate)](https://github.com/ThinkGrid-Labs/greengate/releases/latest)
[![Build](https://img.shields.io/github/actions/workflow/status/thinkgrid-labs/greengate/ci.yml?branch=main)](https://github.com/thinkgrid-labs/greengate/actions)
[![GitHub release](https://img.shields.io/github/v/release/thinkgrid-labs/greengate)](https://github.com/thinkgrid-labs/greengate/releases/latest)
[![Crates.io](https://img.shields.io/crates/v/greengate)](https://crates.io/crates/greengate)
[![Downloads](https://img.shields.io/crates/d/greengate)](https://crates.io/crates/greengate)
[![MSRV](https://img.shields.io/badge/MSRV-1.85-orange)](https://www.rust-lang.org)
[![GitHub Stars](https://img.shields.io/github/stars/ThinkGrid-Labs/greengate?style=social)](https://github.com/ThinkGrid-Labs/greengate/stargazers)
[![GitHub Stars](https://img.shields.io/github/stars/thinkgrid-labs/greengate?style=social)](https://github.com/thinkgrid-labs/greengate/stargazers)

---

Expand Down Expand Up @@ -134,32 +134,32 @@ Most DevOps quality tools are either slow, require a runtime (Node, Python, Java

**macOS (Apple Silicon / M1+):**
```bash
curl -sL https://github.com/ThinkGrid-Labs/greengate/releases/latest/download/greengate-macos-arm64 \
curl -sL https://github.com/thinkgrid-labs/greengate/releases/latest/download/greengate-macos-arm64 \
-o /usr/local/bin/greengate && chmod +x /usr/local/bin/greengate
```

**macOS (Intel):**
```bash
curl -sL https://github.com/ThinkGrid-Labs/greengate/releases/latest/download/greengate-macos-amd64 \
curl -sL https://github.com/thinkgrid-labs/greengate/releases/latest/download/greengate-macos-amd64 \
-o /usr/local/bin/greengate && chmod +x /usr/local/bin/greengate
```

**Linux (x64):**
```bash
curl -sL https://github.com/ThinkGrid-Labs/greengate/releases/latest/download/greengate-linux-amd64 \
curl -sL https://github.com/thinkgrid-labs/greengate/releases/latest/download/greengate-linux-amd64 \
-o /usr/local/bin/greengate && chmod +x /usr/local/bin/greengate
```

**Windows (x64) — PowerShell:**
```powershell
Invoke-WebRequest -Uri "https://github.com/ThinkGrid-Labs/greengate/releases/latest/download/greengate-windows-amd64.exe" `
Invoke-WebRequest -Uri "https://github.com/thinkgrid-labs/greengate/releases/latest/download/greengate-windows-amd64.exe" `
-OutFile "$env:USERPROFILE\.local\bin\greengate.exe"
# Add $env:USERPROFILE\.local\bin to your PATH if not already present
```

### Build from source (requires Rust 1.85+)
```bash
cargo install --git https://github.com/ThinkGrid-Labs/greengate
cargo install --git https://github.com/thinkgrid-labs/greengate
```

### Verify installation
Expand Down Expand Up @@ -1401,7 +1401,7 @@ jobs:

- name: Install GreenGate
run: |
curl -sL https://github.com/ThinkGrid-Labs/greengate/releases/latest/download/greengate-linux-amd64 \
curl -sL https://github.com/thinkgrid-labs/greengate/releases/latest/download/greengate-linux-amd64 \
-o /usr/local/bin/greengate
chmod +x /usr/local/bin/greengate

Expand Down Expand Up @@ -1441,7 +1441,7 @@ jobs:

- name: Install GreenGate
run: |
curl -sL https://github.com/ThinkGrid-Labs/greengate/releases/latest/download/greengate-linux-amd64 \
curl -sL https://github.com/thinkgrid-labs/greengate/releases/latest/download/greengate-linux-amd64 \
-o /usr/local/bin/greengate
chmod +x /usr/local/bin/greengate

Expand Down Expand Up @@ -1482,7 +1482,7 @@ stages:
- quality

variables:
OXIDE_CI_URL: https://github.com/ThinkGrid-Labs/greengate/releases/latest/download/greengate-linux-amd64
OXIDE_CI_URL: https://github.com/thinkgrid-labs/greengate/releases/latest/download/greengate-linux-amd64

.install_oxide: &install_oxide
before_script:
Expand Down Expand Up @@ -1526,7 +1526,7 @@ pipelines:
name: GreenGate Security & Quality Gates
script:
- apt-get update -qq && apt-get install -y curl
- curl -sL https://github.com/ThinkGrid-Labs/greengate/releases/latest/download/greengate-linux-amd64
- curl -sL https://github.com/thinkgrid-labs/greengate/releases/latest/download/greengate-linux-amd64
-o /usr/local/bin/greengate
- chmod +x /usr/local/bin/greengate
- greengate scan
Expand All @@ -1549,7 +1549,7 @@ jobs:
- run:
name: Install GreenGate
command: |
curl -sL https://github.com/ThinkGrid-Labs/greengate/releases/latest/download/greengate-linux-amd64 \
curl -sL https://github.com/thinkgrid-labs/greengate/releases/latest/download/greengate-linux-amd64 \
-o /usr/local/bin/greengate
chmod +x /usr/local/bin/greengate
- run:
Expand Down Expand Up @@ -1752,7 +1752,7 @@ jobs:

- name: Install greengate
run: |
curl -sL https://github.com/ThinkGrid-Labs/greengate/releases/latest/download/greengate-linux-amd64 \
curl -sL https://github.com/thinkgrid-labs/greengate/releases/latest/download/greengate-linux-amd64 \
-o /usr/local/bin/greengate
chmod +x /usr/local/bin/greengate

Expand Down Expand Up @@ -1784,7 +1784,7 @@ jobs:

- name: Install greengate
run: |
curl -sL https://github.com/ThinkGrid-Labs/greengate/releases/latest/download/greengate-linux-amd64 \
curl -sL https://github.com/thinkgrid-labs/greengate/releases/latest/download/greengate-linux-amd64 \
-o /usr/local/bin/greengate
chmod +x /usr/local/bin/greengate

Expand Down Expand Up @@ -2056,4 +2056,4 @@ cargo test sast # only SAST tests
cargo clippy # lint
```

**Issues & feature requests:** [github.com/ThinkGrid-Labs/greengate/issues](https://github.com/ThinkGrid-Labs/greengate/issues)
**Issues & feature requests:** [github.com/ThinkGrid-Labs/greengate/issues](https://github.com/thinkgrid-labs/greengate/issues)
2 changes: 1 addition & 1 deletion docs/commands/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ steps = [
```yaml
- name: Install greengate
run: |
curl -sL https://github.com/ThinkGrid-Labs/greengate/releases/latest/download/greengate-linux-amd64 \
curl -sL https://github.com/thinkgrid-labs/greengate/releases/latest/download/greengate-linux-amd64 \
-o /usr/local/bin/greengate && chmod +x /usr/local/bin/greengate

- name: Run quality gates
Expand Down
4 changes: 2 additions & 2 deletions docs/guide/ci-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- name: Install GreenGate
run: |
curl -sL https://github.com/ThinkGrid-Labs/greengate/releases/latest/download/greengate-linux-amd64 \
curl -sL https://github.com/thinkgrid-labs/greengate/releases/latest/download/greengate-linux-amd64 \
-o /usr/local/bin/greengate
chmod +x /usr/local/bin/greengate

Expand Down Expand Up @@ -64,7 +64,7 @@ stages:

.install_oxide: &install_oxide
before_script:
- curl -sL https://github.com/ThinkGrid-Labs/greengate/releases/latest/download/greengate-linux-amd64
- curl -sL https://github.com/thinkgrid-labs/greengate/releases/latest/download/greengate-linux-amd64
-o /usr/local/bin/greengate
- chmod +x /usr/local/bin/greengate

Expand Down
10 changes: 5 additions & 5 deletions docs/guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,33 @@ GreenGate is a single compiled Rust binary — no runtime dependencies, no packa

**macOS (Apple Silicon / M1+):**
```bash
curl -sL https://github.com/ThinkGrid-Labs/greengate/releases/latest/download/greengate-macos-arm64 \
curl -sL https://github.com/thinkgrid-labs/greengate/releases/latest/download/greengate-macos-arm64 \
-o /usr/local/bin/greengate && chmod +x /usr/local/bin/greengate
```

**macOS (Intel):**
```bash
curl -sL https://github.com/ThinkGrid-Labs/greengate/releases/latest/download/greengate-macos-amd64 \
curl -sL https://github.com/thinkgrid-labs/greengate/releases/latest/download/greengate-macos-amd64 \
-o /usr/local/bin/greengate && chmod +x /usr/local/bin/greengate
```

**Linux (x64):**
```bash
curl -sL https://github.com/ThinkGrid-Labs/greengate/releases/latest/download/greengate-linux-amd64 \
curl -sL https://github.com/thinkgrid-labs/greengate/releases/latest/download/greengate-linux-amd64 \
-o /usr/local/bin/greengate && chmod +x /usr/local/bin/greengate
```

**Windows (x64) — PowerShell:**
```powershell
Invoke-WebRequest -Uri "https://github.com/ThinkGrid-Labs/greengate/releases/latest/download/greengate-windows-amd64.exe" `
Invoke-WebRequest -Uri "https://github.com/thinkgrid-labs/greengate/releases/latest/download/greengate-windows-amd64.exe" `
-OutFile "$env:USERPROFILE\.local\bin\greengate.exe"
# Add $env:USERPROFILE\.local\bin to your PATH if not already present
```

### Build from source (requires Rust 1.85+)

```bash
cargo install --git https://github.com/ThinkGrid-Labs/greengate
cargo install --git https://github.com/thinkgrid-labs/greengate
```

### Verify installation
Expand Down
6 changes: 3 additions & 3 deletions docs/guide/use-cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:
- name: Install greengate
run: |
curl -sL https://github.com/ThinkGrid-Labs/greengate/releases/latest/download/greengate-linux-amd64 \
curl -sL https://github.com/thinkgrid-labs/greengate/releases/latest/download/greengate-linux-amd64 \
-o /usr/local/bin/greengate && chmod +x /usr/local/bin/greengate

- name: Lighthouse post-deploy audit
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
steps:
- name: Install greengate
run: |
curl -sL https://github.com/ThinkGrid-Labs/greengate/releases/latest/download/greengate-linux-amd64 \
curl -sL https://github.com/thinkgrid-labs/greengate/releases/latest/download/greengate-linux-amd64 \
-o /usr/local/bin/greengate && chmod +x /usr/local/bin/greengate

- name: Lighthouse pre-merge gate
Expand Down Expand Up @@ -183,7 +183,7 @@ min = 70.0
```yaml
- name: Install greengate
run: |
curl -sL https://github.com/ThinkGrid-Labs/greengate/releases/latest/download/greengate-linux-amd64 \
curl -sL https://github.com/thinkgrid-labs/greengate/releases/latest/download/greengate-linux-amd64 \
-o /usr/local/bin/greengate && chmod +x /usr/local/bin/greengate

- name: Scan
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ hero:
link: /guide/getting-started
- theme: alt
text: View on GitHub
link: https://github.com/ThinkGrid-Labs/greengate
link: https://github.com/thinkgrid-labs/greengate

features:
- title: Zero Runtime Dependencies
Expand Down
Loading