Skip to content

Commit f6e2841

Browse files
authored
Merge pull request #2 from tomcollis:update-name-assets
Update-name-assets
2 parents 63c60f0 + 8db5218 commit f6e2841

File tree

9 files changed

+195
-198
lines changed

9 files changed

+195
-198
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,6 @@ dist
107107
# Deta files
108108
.deta/
109109
.space/
110+
111+
# Photoshop
112+
.psd

README.md

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
![PPHook](https://github.com/tomcollis/PPHook/blob/main/img/PPHook-Banner.png?raw=true)
1+
![HookStack](https://github.com/tomcollis/HookStack/blob/main/img/HookStack-Banner.png?raw=true)
22

3-
# PPHook = **P**(ush)**P**(ull)(Web)**Hook**
3+
# HookStack
44
[![Buy me coffee](https://img.shields.io/badge/Buy%20me%20-coffee!-orange.svg?logo=buy-me-a-coffee&color=795548)](https://paypal.me/TomCollisUK/2)
5-
[![GitHub stars](https://img.shields.io/github/stars/tomcollis/PPHook)](https://github.com/tomcollis/PPHook/stargazers)
6-
[![GitHub issues](https://img.shields.io/github/issues/tomcollis/PPHook)](https://github.com/tomcollis/PPHook/issues)
7-
[![Github All Releases download count](https://img.shields.io/github/downloads/tomcollis/PPHook/total.svg?style=flat)](https://github.com/tomcollis/PPHook/releases/latest)
8-
[![GitHub latest release version](https://img.shields.io/github/v/release/tomcollis/PPHook.svg?style=flat)](https://github.com/tomcollis/PPHook/releases/latest)
9-
10-
[![Deploy](https://button.deta.dev/1/svg)](https://go.deta.dev/deploy)
5+
[![GitHub stars](https://img.shields.io/github/stars/tomcollis/HookStack)](https://github.com/tomcollis/HookStack/stargazers)
6+
[![GitHub issues](https://img.shields.io/github/issues/tomcollis/HookStack)](https://github.com/tomcollis/HookStack/issues)
7+
[![Github All Releases download count](https://img.shields.io/github/downloads/tomcollis/HookStack/total.svg?style=flat)](https://github.com/tomcollis/HookStack/releases/latest)
8+
[![GitHub latest release version](https://img.shields.io/github/v/release/tomcollis/HookStack.svg?style=flat)](https://github.com/tomcollis/HookStack/releases/latest)
119

1210
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.
1311

@@ -18,18 +16,16 @@ This service can also be used with some cloud hosted automation services that do
1816
___
1917
## Environment Variables
2018

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/).
2220

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/)
2422

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)
2624

2725
___
28-
## Deploy to [Deta](https://www.deta.sh/)
29-
30-
To deploy this project on Deta, click the button below:
26+
## Deploy to [Deta Space](https://deta.space/)
3127

32-
[![Deploy](https://button.deta.dev/1/svg)](https://go.deta.dev/deploy)
28+
This app has not yet been published to Deta Space.
3329

3430
You will automatically be prompted to enter the required environment variables.
3531
All data will be private in your own account.
@@ -47,7 +43,7 @@ ___
4743
| :-------- | :------- | :------------------------- |
4844
| `source` | `string` | **Optional but Recommended**. Source System Key, can be anything you want or left blank .|
4945

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.
5147

5248
###### Example
5349

@@ -75,7 +71,7 @@ The BODY data can be in any format, with as many or as few fields as you want. T
7571
"source": "system-2"
7672
}
7773
```
78-
This response is what is stored in the [Deta](https://www.deta.sh/) Base:
74+
This response is what is stored in the Deta Base:
7975

8076
| Parameter | Type | Description |
8177
| :-------- | :------- | :------------------------- |
@@ -90,7 +86,7 @@ ___
9086
```http
9187
GET /webhooks/$source
9288
```
93-
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.
9490

9591
| Parameter | Type | Description |
9692
| :-------- | :------- | :------------------------- |
@@ -149,7 +145,7 @@ If you have any feedback, you can:
149145

150146
or
151147

152-
[![](https://img.shields.io/static/v1?label=Create%20New&message=Issue&color=4EC820&logo=github&style=for-the-badge)](https://github.com/tomcollis/PPHook/issues)
148+
[![](https://img.shields.io/static/v1?label=Create%20New&message=Issue&color=4EC820&logo=github&style=for-the-badge)](https://github.com/tomcollis/HookStack/issues)
153149

154150
___
155151
## Acknowledgements

Spacefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ micros:
1010
presets:
1111
env:
1212
- name: MY_DATA_KEY
13-
description: Integrate my new Space App with my new Collection. Yes!!
13+
description: Integrate Space App with Collection
1414
default: "please input your data key"
1515
- name: API_KEY
1616
description: API Key for retrieving data

img/HookStack-Banner.png

19.9 KB
Loading

img/PPHook-Banner.png

-35.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)