Browse Source

Initial commit

master
Matei-Alexandru Gardus 9 months ago
commit
5bcaa9b7f2
No known key found for this signature in database
5 changed files with 59 additions and 0 deletions
  1. 29
    0
      .gitignore
  2. 10
    0
      .vscode/settings.json
  3. 7
    0
      LICENSE
  4. 6
    0
      README.md
  5. 7
    0
      main.go

+ 29
- 0
.gitignore View File

@@ -0,0 +1,29 @@
1
+# Created by https://www.gitignore.io/api/go,visualstudiocode
2
+
3
+### Go ###
4
+# Binaries for programs and plugins
5
+*.exe
6
+*.exe~
7
+*.dll
8
+*.so
9
+*.dylib
10
+
11
+# Test binary, build with `go test -c`
12
+*.test
13
+
14
+# Output of the go coverage tool, specifically when used with LiteIDE
15
+*.out
16
+
17
+### Go Patch ###
18
+/vendor/
19
+/Godeps/
20
+
21
+### VisualStudioCode ###
22
+.vscode/*
23
+!.vscode/settings.json
24
+!.vscode/tasks.json
25
+!.vscode/launch.json
26
+!.vscode/extensions.json
27
+
28
+
29
+# End of https://www.gitignore.io/api/go,visualstudiocode

+ 10
- 0
.vscode/settings.json View File

@@ -0,0 +1,10 @@
1
+{
2
+    "spellright.language": [
3
+        "en"
4
+    ],
5
+    "spellright.documentTypes": [
6
+        "markdown",
7
+        "latex",
8
+        "plaintext"
9
+    ]
10
+}

+ 7
- 0
LICENSE View File

@@ -0,0 +1,7 @@
1
+Copyright 2018 Matei-Alexandru Gardus
2
+
3
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

+ 6
- 0
README.md View File

@@ -0,0 +1,6 @@
1
+# GitHookParser
2
+
3
+GitHookParser is a nifty server written in Go that can take a GitHub webhook, parse it according to configuration, and redirect it to another POST endpoint.
4
+
5
+Primarily, this can be used to manage multiple webhooks for GitHub repos on the fly and send them all to a push notification service defined by the user,
6
+such as [Pushover](https://pushover.net/).

+ 7
- 0
main.go View File

@@ -0,0 +1,7 @@
1
+package main
2
+
3
+import "fmt"
4
+
5
+func main() {
6
+	fmt.Println("Hello World!")
7
+}

Loading…
Cancel
Save