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
[](https://github.com/tomcollis/PPHook/releases/latest)
[](https://github.com/tomcollis/HookStack/releases/latest)
This app/service was created because I wanted to use webhooks with self-hosted apps and did not want the requirements of installing agents, opening firewall ports or needing a static IP and having the system be available 24/7 to ensure no webhooks are missed. There are many services (free and chargeable) that provide a webhook relay service, but the ones I looked at just relayed the information to another webhook, which did not solve my problem.
13
11
@@ -18,18 +16,16 @@ This service can also be used with some cloud hosted automation services that do
18
16
___
19
17
## Environment Variables
20
18
21
-
To run this code, you will need to provide following environment variables, you will be prompted automatically when using Deploy to [Deta](https://www.deta.sh/).
19
+
To run this code, you will need to provide following environment variables, you will be prompted automatically when using [Deta Space](https://deta.space/).
22
20
23
-
`DETA_PROJECT_KEY` - automatically populate when deployed to [Deta Micro](https://www.deta.sh/) or [Deta Space](https://deta.space/)
21
+
`DETA_PROJECT_KEY` - automatically populate when deployed to [Deta Space](https://deta.space/)
24
22
25
-
`API_KEY` - can be generated at [keycdn Tools](https://tools.keycdn.com/sha256-online-generator)
23
+
`API_KEY` - you can use anything or generate something 'secure' at [keycdn Tools](https://tools.keycdn.com/sha256-online-generator)
26
24
27
25
___
28
-
## Deploy to [Deta](https://www.deta.sh/)
29
-
30
-
To deploy this project on Deta, click the button below:
|`source`|`string`|**Optional but Recommended**. Source System Key, can be anything you want or left blank .|
49
45
50
-
All data is stored in your [Deta](https://www.deta.sh/) account in a [Deta](https://www.deta.sh/) Base called 'PPHook'. This means your data is not available for me or anyone else to see, but do not forget it is only protected by your API key. Your API Key is not required to post data.
46
+
All data is stored in your [Deta Space](https://deta.space/) account in a Deta Base called 'HookStack'. This means your data is not available for me or anyone else to see, but do not forget it is only protected by your API key. Your API Key is not required to post data.
51
47
52
48
###### Example
53
49
@@ -75,7 +71,7 @@ The BODY data can be in any format, with as many or as few fields as you want. T
75
71
"source": "system-2"
76
72
}
77
73
```
78
-
This response is what is stored in the [Deta](https://www.deta.sh/) Base:
This will return all webhooks from the system with a matching source key and delete all corresponding results from the [Deta](https://www.deta.sh/) Base by design to minimise the length of time your data is stored online.
89
+
This will return all webhooks from the system with a matching source key and delete all corresponding results from the Deta Base by design to minimise the length of time your data is stored online.
0 commit comments