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
7 changes: 1 addition & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

release-windows:
runs-on: ubuntu-latest
runs-on: windows-latest
needs: build-frontend
steps:
- uses: actions/checkout@v4
Expand All @@ -100,11 +100,6 @@ jobs:
name: frontend-dist
path: internal/ui/frontend/dist/

- name: Install cross-compilation tools
run: |
sudo apt-get update
sudo apt-get install -y gcc-mingw-w64

- uses: goreleaser/goreleaser-action@v6
with:
version: "~> v2"
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ builds:
- amd64
env:
- CGO_ENABLED=1
- CC=x86_64-w64-mingw32-gcc
flags:
- -trimpath
- -tags=production
ldflags:
- -s -w -X main.version={{.Version}}

Expand Down
57 changes: 50 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,31 @@ brew tap ehsaniara/tap
brew install egressor
```

**From source:**
**From source (macOS):**
```bash
git clone https://github.com/ehsaniara/egressor.git
cd egressor
cd internal/ui/frontend && npm install && npm run build && cd ../../..
CGO_LDFLAGS="-framework UniformTypeIdentifiers" go build -tags production -o egressor ./cmd/egressor
```

**From source (Windows, requires Go 1.24+ and Node.js 22+):**

```powershell
git clone https://github.com/ehsaniara/egressor.git
cd egressor
cd internal\ui\frontend; npm install; npm run build; cd ..\..\..
go build -tags production -o egressor.exe ./cmd/egressor
```

**From source (Linux, headless):**

```bash
git clone https://github.com/ehsaniara/egressor.git
cd egressor
go build -o egressor ./cmd/egressor
```

### Setup

On first run, Egressor auto-generates a CA certificate and prints trust instructions:
Expand All @@ -57,19 +74,44 @@ On first run, Egressor auto-generates a CA certificate and prints trust instruct
```

Trust the CA (required for TLS interception):

**macOS:**
```bash
sudo security add-trusted-cert -d -r trustRoot \
-k /Library/Keychains/System.keychain ~/.egressor/ca.pem
```

**Windows (PowerShell as Administrator):**

```powershell
Import-Certificate -FilePath "$env:USERPROFILE\.egressor\ca.pem" `
-CertStoreLocation Cert:\LocalMachine\Root
```

**Linux:**

```bash
sudo cp ~/.egressor/ca.pem /usr/local/share/ca-certificates/egressor.crt
sudo update-ca-certificates
```

### Configure your tools

For Node.js-based tools (Claude Code, Kiro, Cursor):
Set the proxy and CA certificate for your LLM tools:

**macOS / Linux:**
```bash
export NODE_EXTRA_CA_CERTS=~/.egressor/ca.pem
export HTTPS_PROXY=http://127.0.0.1:8080
```

**Windows (PowerShell):**

```powershell
$env:NODE_EXTRA_CA_CERTS = "$env:USERPROFILE\.egressor\ca.pem"
$env:HTTPS_PROXY = "http://127.0.0.1:8080"
```

Then launch your tool — all HTTPS traffic flows through Egressor.

---
Expand Down Expand Up @@ -313,11 +355,12 @@ git push origin v0.1.0

This builds binaries for:

| OS | Arch | Mode |
|---|---|---|
| macOS | amd64, arm64 | Desktop UI |
| Linux | amd64, arm64 | Headless |
| Windows | amd64, arm64 | Headless |
| OS | Arch | Mode |
|---------|--------------|------------|
| macOS | amd64, arm64 | Desktop UI |
| Windows | amd64 | Desktop UI |
| Windows | arm64 | Headless |
| Linux | amd64, arm64 | Headless |

Binaries are published to [GitHub Releases](https://github.com/ehsaniara/egressor/releases) and the Homebrew tap.

Expand Down
Loading