You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pre-compiled releases will occasionally be uploaded to the [releases github page](https://github.com/lanrat/certgraph/releases). [https://github.com/lanrat/certgraph/releases](https://github.com/lanrat/certgraph/releases)
91
+
Pre-compiled releases are automatically built and uploaded to the [releases GitHub page](https://github.com/lanrat/certgraph/releases) using GitHub Actions. Releases are available for multiple platforms including Linux, macOS, and Windows.
CertGraph is an automated build on the Docker Hub!
95
+
This project uses GitHub Actions for continuous integration and deployment:
96
96
97
+
-**Tests and Linting**: Automatically runs tests and linting on every push and pull request
98
+
-**Docker Images**: Automatically builds and pushes Docker images to GitHub Container Registry on version tags
99
+
-**Releases**: Automatically creates releases with pre-compiled binaries for multiple platforms using GoReleaser
100
+
101
+
### Docker
102
+
103
+
CertGraph is available as Docker images on both Docker Hub and GitHub Container Registry:
104
+
105
+
**Docker Hub:**
97
106
```console
98
107
$ docker run --rm -it lanrat/certgraph example.com
108
+
```
109
+
110
+
**GitHub Container Registry:**
111
+
```console
112
+
$ docker run --rm -it ghcr.io/lanrat/certgraph example.com
113
+
```
114
+
115
+
**Example output:**
116
+
```console
99
117
example.com
100
118
www.example.net
101
119
www.example.org
@@ -113,20 +131,38 @@ www.example.edu
113
131
114
132
## Compiling
115
133
116
-
To compile certgraph you must have a working go 1.16 or newer compiler on your system.
134
+
To compile certgraph you must have a working Go 1.23 or newer compiler on your system.
117
135
To compile for the running system compilation is as easy as running make
118
136
119
137
```console
120
138
certgraph$ make
121
139
go build -o certgraph certgraph.go
122
140
```
123
141
124
-
Alternatively you can use `go get` to install with this one-liner:
142
+
Alternatively you can use `go install` to install with this one-liner:
125
143
126
144
```console
127
145
go install github.com/lanrat/certgraph@latest
128
146
```
129
147
148
+
### Development
149
+
150
+
For development, you can build and test the project using the provided Makefile:
151
+
152
+
```console
153
+
# Build the binary
154
+
make
155
+
156
+
# Run tests
157
+
make test
158
+
159
+
# Run linting
160
+
make lint
161
+
162
+
# Build Docker image locally
163
+
make docker
164
+
```
165
+
130
166
## [Web UI](https://lanrat.github.io/certgraph/)
131
167
132
168
A web UI is provided in the docs folder and is accessible at the github pages url [https://lanrat.github.io/certgraph/](https://lanrat.github.io/certgraph/), or can be run from the embedded web server by calling `certgraph --serve 127.0.0.1:8080`.
0 commit comments