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
customPrMessage: "We couldn't find any modification to the CHANGELOG.md file. If your changes are not suitable for the changelog, that's fine. Otherwise please add them to the changelog!"
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
38
+
39
+
steps:
40
+
- name: Checkout repository
41
+
uses: actions/checkout@v3
42
+
43
+
# Initializes the CodeQL tools for scanning.
44
+
- name: Initialize CodeQL
45
+
uses: github/codeql-action/init@v2
46
+
with:
47
+
languages: ${{ matrix.language }}
48
+
# If you wish to specify custom queries, you can do so here or in a config file.
49
+
# By default, queries listed here will override any specified in a config file.
50
+
# Prefix the list here with "+" to use these queries and those in the config file.
51
+
52
+
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
53
+
# queries: security-extended,security-and-quality
54
+
55
+
56
+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
57
+
# If this step fails, then you should remove it and run the build manually (see below)
58
+
- name: Autobuild
59
+
uses: github/codeql-action/autobuild@v2
60
+
61
+
# ℹ️ Command-line programs to run using the OS shell.
62
+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
63
+
64
+
# If the Autobuild fails above, remove it and uncomment the following three lines.
65
+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
[](https://hub.docker.com/repository/docker/0rickyy0/certstream-server-go)
4
6
5
7
This project aims to be a drop-in replacement for the [official certstream server](https://github.com/CaliDog/certstream-server/) by Calidog. This tool aggregates, parses, and streams certificate data from multiple [certificate transparency logs](https://www.certificate-transparency.org/what-is-ct) via websocket connections to the clients.
6
8
@@ -18,6 +20,14 @@ I quickly thought about running my own instance of certstream. I didn't want to
18
20
## Getting started
19
21
Setting up an instance of the certstream server is simple. You can either download and compile the code by yourself or use one of our [precompiled binaries](https://github.com/d-Rickyy-b/certstream-server-go/releases).
20
22
23
+
### Docker
24
+
There's also a prebuild [Docker image](https://hub.docker.com/repository/docker/0rickyy0/certstream-server-go) available.
25
+
You can use it by running this command:
26
+
27
+
`docker run -v /path/to/config.yaml:/app/config.yaml -p 8080:8080 0rickyy0/certstream-server-go -d`
28
+
29
+
If you don't mount your own config file, the default config (config.sample.yaml) will be used.
30
+
21
31
## Connecting
22
32
certstream-server-go offers multiple endpoints to connect to.
23
33
@@ -30,7 +40,7 @@ certstream-server-go offers multiple endpoints to connect to.
30
40
You can connect to the certstream-server by opening a **websocket connection** to any of the aforementioned endpoints.
31
41
After you're connected, certificate information will be streamed to your websocket.
32
42
33
-
The server requires you to send a ping message at least every `ping_interval` seconds. If the server did not receive a ping message for `ping_interval` seconds, the server will disconnect you. The server will **not** send out ping messages to your client.
43
+
The server requires you to send a ping message at least every 60 seconds (it's recommended to use an interval of 30s for pings). If the server did not receive a ping message for more than this time, the server will disconnect you. The server will **not** send out ping messages to your client.
34
44
35
45
### Example
36
46
To receive a live example of any of the endpoints, just send a HTTP GET request to the endpoints with `/example.json` appended to the endpoint. So for example `/full-stream/example.json`. This example shows the lite format of a certificate update.
0 commit comments