This commit is contained in:
Simon Gruber
2026-05-11 07:59:46 +02:00
commit 8615e8b78b
3 changed files with 116 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
# Giphy Proxy
Minimalistic Node.js proxy with a protected subroute.
## Setup
Build:
```sh
r build -t giphy-proxy .
```
Run:
```sh
docker run -d \
-p 8080:8080 \
-e GIPHY_API_KEY="your_api_key" \
-e ACCESS_SECRET="mysecret" \
giphy-proxy
```
## Usage
Example (Random):
```sh
curl http://localhost:8080/mysecret/
```
Example (Specific Tag):
```sh
curl http://localhost:8080/mysecret/cat
```
All subsequent routes will be ignored!