Skip to content

Commit

Permalink
Deploying to gh-pages from @ cb31ff2 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
jmattheis committed Nov 22, 2024
1 parent d3cf04e commit 7b6a788
Show file tree
Hide file tree
Showing 16 changed files with 34 additions and 28 deletions.
4 changes: 2 additions & 2 deletions css/main.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ <h2><a class="anchor" aria-hidden="true" id="config-file"></a><a href="#config-f
</code></pre>
<pre><code class="hljs css language-yml"><span class="hljs-attr">server:</span>
<span class="hljs-attr">keepaliveperiodseconds:</span> <span class="hljs-number">0</span> <span class="hljs-comment"># 0 = use Go default (15s); -1 = disable keepalive; set the interval in which keepalive packets will be sent. Only change this value if you know what you are doing.</span>
<span class="hljs-attr">listenaddr:</span> <span class="hljs-string">""</span> <span class="hljs-comment"># the address to bind on, leave empty to bind on all addresses. Prefix with "unix:" to create a unix socket. Example: "unix:/tmp/gotify.sock".</span>
<span class="hljs-attr">listenaddr:</span> <span class="hljs-string">''</span> <span class="hljs-comment"># the address to bind on, leave empty to bind on all addresses. Prefix with "unix:" to create a unix socket. Example: "unix:/tmp/gotify.sock".</span>
<span class="hljs-attr">port:</span> <span class="hljs-number">80</span> <span class="hljs-comment"># the port the HTTP server will listen on</span>

<span class="hljs-attr">ssl:</span>
<span class="hljs-attr">enabled:</span> <span class="hljs-literal">false</span> <span class="hljs-comment"># if https should be enabled</span>
<span class="hljs-attr">redirecttohttps:</span> <span class="hljs-literal">true</span> <span class="hljs-comment"># redirect to https if site is accessed by http</span>
<span class="hljs-attr">listenaddr:</span> <span class="hljs-string">""</span> <span class="hljs-comment"># the address to bind on, leave empty to bind on all addresses. Prefix with "unix:" to create a unix socket. Example: "unix:/tmp/gotify.sock".</span>
<span class="hljs-attr">listenaddr:</span> <span class="hljs-string">''</span> <span class="hljs-comment"># the address to bind on, leave empty to bind on all addresses. Prefix with "unix:" to create a unix socket. Example: "unix:/tmp/gotify.sock".</span>
<span class="hljs-attr">port:</span> <span class="hljs-number">443</span> <span class="hljs-comment"># the https port</span>
<span class="hljs-attr">certfile:</span> <span class="hljs-comment"># the cert file (leave empty when using letsencrypt)</span>
<span class="hljs-attr">certkey:</span> <span class="hljs-comment"># the cert key (leave empty when using letsencrypt)</span>
Expand Down
4 changes: 2 additions & 2 deletions docs/config/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ <h2><a class="anchor" aria-hidden="true" id="config-file"></a><a href="#config-f
</code></pre>
<pre><code class="hljs css language-yml"><span class="hljs-attr">server:</span>
<span class="hljs-attr">keepaliveperiodseconds:</span> <span class="hljs-number">0</span> <span class="hljs-comment"># 0 = use Go default (15s); -1 = disable keepalive; set the interval in which keepalive packets will be sent. Only change this value if you know what you are doing.</span>
<span class="hljs-attr">listenaddr:</span> <span class="hljs-string">""</span> <span class="hljs-comment"># the address to bind on, leave empty to bind on all addresses. Prefix with "unix:" to create a unix socket. Example: "unix:/tmp/gotify.sock".</span>
<span class="hljs-attr">listenaddr:</span> <span class="hljs-string">''</span> <span class="hljs-comment"># the address to bind on, leave empty to bind on all addresses. Prefix with "unix:" to create a unix socket. Example: "unix:/tmp/gotify.sock".</span>
<span class="hljs-attr">port:</span> <span class="hljs-number">80</span> <span class="hljs-comment"># the port the HTTP server will listen on</span>

<span class="hljs-attr">ssl:</span>
<span class="hljs-attr">enabled:</span> <span class="hljs-literal">false</span> <span class="hljs-comment"># if https should be enabled</span>
<span class="hljs-attr">redirecttohttps:</span> <span class="hljs-literal">true</span> <span class="hljs-comment"># redirect to https if site is accessed by http</span>
<span class="hljs-attr">listenaddr:</span> <span class="hljs-string">""</span> <span class="hljs-comment"># the address to bind on, leave empty to bind on all addresses. Prefix with "unix:" to create a unix socket. Example: "unix:/tmp/gotify.sock".</span>
<span class="hljs-attr">listenaddr:</span> <span class="hljs-string">''</span> <span class="hljs-comment"># the address to bind on, leave empty to bind on all addresses. Prefix with "unix:" to create a unix socket. Example: "unix:/tmp/gotify.sock".</span>
<span class="hljs-attr">port:</span> <span class="hljs-number">443</span> <span class="hljs-comment"># the https port</span>
<span class="hljs-attr">certfile:</span> <span class="hljs-comment"># the cert file (leave empty when using letsencrypt)</span>
<span class="hljs-attr">certkey:</span> <span class="hljs-comment"># the cert key (leave empty when using letsencrypt)</span>
Expand Down
9 changes: 6 additions & 3 deletions docs/install.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,20 @@
</code></pre>
<p><details><summary>Docker Compose</summary></p>
<p>
<pre><code class="hljs css language-yml"><span class="hljs-attr">version:</span> <span class="hljs-string">"3"</span>
<pre><code class="hljs css language-yml"><span class="hljs-attr">version:</span> <span class="hljs-string">'3'</span>

<span class="hljs-attr">services:</span>
<span class="hljs-attr">gotify:</span>
<span class="hljs-attr">image:</span> <span class="hljs-string">gotify/server</span>
<span class="hljs-attr">ports:</span>
<span class="hljs-bullet">-</span> <span class="hljs-number">8080</span><span class="hljs-string">:80</span>
<span class="hljs-attr">environment:</span>
<span class="hljs-bullet">-</span> <span class="hljs-string">GOTIFY_DEFAULTUSER_PASS=custom</span>
<span class="hljs-attr">GOTIFY_DEFAULTUSER_PASS:</span> <span class="hljs-string">'admin'</span>
<span class="hljs-attr">volumes:</span>
<span class="hljs-bullet">-</span> <span class="hljs-string">"./gotify_data:/app/data"</span>
<span class="hljs-bullet">-</span> <span class="hljs-string">'./gotify_data:/app/data'</span>
<span class="hljs-comment"># to run gotify as a dedicated user:</span>
<span class="hljs-comment"># sudo chown -R 1234:1234 ./gotify_data</span>
<span class="hljs-comment"># user: "1234:1234"</span>
</code></pre>
</p>
</details>
Expand Down
9 changes: 6 additions & 3 deletions docs/install/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,20 @@
</code></pre>
<p><details><summary>Docker Compose</summary></p>
<p>
<pre><code class="hljs css language-yml"><span class="hljs-attr">version:</span> <span class="hljs-string">"3"</span>
<pre><code class="hljs css language-yml"><span class="hljs-attr">version:</span> <span class="hljs-string">'3'</span>

<span class="hljs-attr">services:</span>
<span class="hljs-attr">gotify:</span>
<span class="hljs-attr">image:</span> <span class="hljs-string">gotify/server</span>
<span class="hljs-attr">ports:</span>
<span class="hljs-bullet">-</span> <span class="hljs-number">8080</span><span class="hljs-string">:80</span>
<span class="hljs-attr">environment:</span>
<span class="hljs-bullet">-</span> <span class="hljs-string">GOTIFY_DEFAULTUSER_PASS=custom</span>
<span class="hljs-attr">GOTIFY_DEFAULTUSER_PASS:</span> <span class="hljs-string">'admin'</span>
<span class="hljs-attr">volumes:</span>
<span class="hljs-bullet">-</span> <span class="hljs-string">"./gotify_data:/app/data"</span>
<span class="hljs-bullet">-</span> <span class="hljs-string">'./gotify_data:/app/data'</span>
<span class="hljs-comment"># to run gotify as a dedicated user:</span>
<span class="hljs-comment"># sudo chown -R 1234:1234 ./gotify_data</span>
<span class="hljs-comment"># user: "1234:1234"</span>
</code></pre>
</p>
</details>
Expand Down
12 changes: 6 additions & 6 deletions docs/more-pushmsg.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,19 +134,19 @@ <h3><a class="anchor" aria-hidden="true" id="php-using-curl"></a><a href="#php-u
}
</code></pre>
<h3><a class="anchor" aria-hidden="true" id="javascript"></a><a href="#javascript" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>JavaScript</h3>
<pre><code class="hljs css language-javascript"><span class="hljs-keyword">const</span> axios = <span class="hljs-built_in">require</span>(<span class="hljs-string">"axios"</span>);
<pre><code class="hljs css language-javascript"><span class="hljs-keyword">const</span> axios = <span class="hljs-built_in">require</span>(<span class="hljs-string">'axios'</span>);

<span class="hljs-keyword">const</span> url = <span class="hljs-string">"http://localhost:8008/message?token=&lt;apptoken&gt;"</span>;
<span class="hljs-keyword">const</span> url = <span class="hljs-string">'http://localhost:8008/message?token=&lt;apptoken&gt;'</span>;
<span class="hljs-keyword">const</span> bodyFormData = {
<span class="hljs-attr">title</span>: <span class="hljs-string">"Hello from Javascript"</span>,
<span class="hljs-attr">message</span>: <span class="hljs-string">"Test Push Service from Node.js"</span>,
<span class="hljs-attr">title</span>: <span class="hljs-string">'Hello from Javascript'</span>,
<span class="hljs-attr">message</span>: <span class="hljs-string">'Test Push Service from Node.js'</span>,
<span class="hljs-attr">priority</span>: <span class="hljs-number">5</span>,
};

axios({
<span class="hljs-attr">method</span>: <span class="hljs-string">"post"</span>,
<span class="hljs-attr">method</span>: <span class="hljs-string">'post'</span>,
<span class="hljs-attr">headers</span>: {
<span class="hljs-string">"Content-Type"</span>: <span class="hljs-string">"application/json"</span>,
<span class="hljs-string">'Content-Type'</span>: <span class="hljs-string">'application/json'</span>,
},
<span class="hljs-attr">url</span>: url,
<span class="hljs-attr">data</span>: bodyFormData,
Expand Down
12 changes: 6 additions & 6 deletions docs/more-pushmsg/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,19 +134,19 @@ <h3><a class="anchor" aria-hidden="true" id="php-using-curl"></a><a href="#php-u
}
</code></pre>
<h3><a class="anchor" aria-hidden="true" id="javascript"></a><a href="#javascript" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>JavaScript</h3>
<pre><code class="hljs css language-javascript"><span class="hljs-keyword">const</span> axios = <span class="hljs-built_in">require</span>(<span class="hljs-string">"axios"</span>);
<pre><code class="hljs css language-javascript"><span class="hljs-keyword">const</span> axios = <span class="hljs-built_in">require</span>(<span class="hljs-string">'axios'</span>);

<span class="hljs-keyword">const</span> url = <span class="hljs-string">"http://localhost:8008/message?token=&lt;apptoken&gt;"</span>;
<span class="hljs-keyword">const</span> url = <span class="hljs-string">'http://localhost:8008/message?token=&lt;apptoken&gt;'</span>;
<span class="hljs-keyword">const</span> bodyFormData = {
<span class="hljs-attr">title</span>: <span class="hljs-string">"Hello from Javascript"</span>,
<span class="hljs-attr">message</span>: <span class="hljs-string">"Test Push Service from Node.js"</span>,
<span class="hljs-attr">title</span>: <span class="hljs-string">'Hello from Javascript'</span>,
<span class="hljs-attr">message</span>: <span class="hljs-string">'Test Push Service from Node.js'</span>,
<span class="hljs-attr">priority</span>: <span class="hljs-number">5</span>,
};

axios({
<span class="hljs-attr">method</span>: <span class="hljs-string">"post"</span>,
<span class="hljs-attr">method</span>: <span class="hljs-string">'post'</span>,
<span class="hljs-attr">headers</span>: {
<span class="hljs-string">"Content-Type"</span>: <span class="hljs-string">"application/json"</span>,
<span class="hljs-string">'Content-Type'</span>: <span class="hljs-string">'application/json'</span>,
},
<span class="hljs-attr">url</span>: url,
<span class="hljs-attr">data</span>: bodyFormData,
Expand Down
4 changes: 2 additions & 2 deletions docs/msgextras.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ <h4><a class="anchor" aria-hidden="true" id="example-1"></a><a href="#example-1"
<pre><code class="hljs css language-json">{
<span class="hljs-attr">"extras"</span>: {
<span class="hljs-attr">"client::notification"</span>: {
<span class="hljs-attr">"click"</span>: { <span class="hljs-attr">"url"</span>: <span class="hljs-string">"https://gotify.net"</span> }
<span class="hljs-attr">"click"</span>: {<span class="hljs-attr">"url"</span>: <span class="hljs-string">"https://gotify.net"</span>}
}
}
}
Expand Down Expand Up @@ -163,7 +163,7 @@ <h4><a class="anchor" aria-hidden="true" id="example-3"></a><a href="#example-3"
<pre><code class="hljs css language-json">{
<span class="hljs-attr">"extras"</span>: {
<span class="hljs-attr">"android::action"</span>: {
<span class="hljs-attr">"onReceive"</span>: { <span class="hljs-attr">"intentUrl"</span>: <span class="hljs-string">"https://gotify.net"</span> }
<span class="hljs-attr">"onReceive"</span>: {<span class="hljs-attr">"intentUrl"</span>: <span class="hljs-string">"https://gotify.net"</span>}
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions docs/msgextras/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ <h4><a class="anchor" aria-hidden="true" id="example-1"></a><a href="#example-1"
<pre><code class="hljs css language-json">{
<span class="hljs-attr">"extras"</span>: {
<span class="hljs-attr">"client::notification"</span>: {
<span class="hljs-attr">"click"</span>: { <span class="hljs-attr">"url"</span>: <span class="hljs-string">"https://gotify.net"</span> }
<span class="hljs-attr">"click"</span>: {<span class="hljs-attr">"url"</span>: <span class="hljs-string">"https://gotify.net"</span>}
}
}
}
Expand Down Expand Up @@ -163,7 +163,7 @@ <h4><a class="anchor" aria-hidden="true" id="example-3"></a><a href="#example-3"
<pre><code class="hljs css language-json">{
<span class="hljs-attr">"extras"</span>: {
<span class="hljs-attr">"android::action"</span>: {
<span class="hljs-attr">"onReceive"</span>: { <span class="hljs-attr">"intentUrl"</span>: <span class="hljs-string">"https://gotify.net"</span> }
<span class="hljs-attr">"onReceive"</span>: {<span class="hljs-attr">"intentUrl"</span>: <span class="hljs-string">"https://gotify.net"</span>}
}
}
}
Expand Down
Binary file modified img/androidv2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/download-badge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/intro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified img/ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified swagger/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7b6a788

Please sign in to comment.