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
feat: add improvements to the server and docker image (#1)
* docs(readme): fix the example on the readme file
* feat(server): add a server package to make the app more testable
* docs(server): add doc comments to functions
* test(server): add a test function to validate the behavior of the proxy server
* refactor(server): use env variables instead of flags
* docs(readme): update the running command
* build(docker): add a dockerfile to run a container
* build(makefile): add a makefile
* ci(github): add a github action workflow to ship the container to the github registry
* feat(server): call and run the server package on the server command
* feat(middlewares): add middleware to log the site of interest
* docs(readme): expand the content of the readme file to explain how to use the project
__This application is a proxy server used by the Jumble Nostr client as a workaround to fix CORS erros,so that the client can show the URL preview from links' Open Graph data.__
3
+
__This application is a proxy server used by the Jumble Nostr client as a workaround to fix CORS errors, so that the client can show the URL preview from given links Open Graph data.__
4
4
5
5
## Usage
6
+
7
+
### From source
8
+
9
+
Compile the binary:
10
+
11
+
```
12
+
CGO_ENABLED=0 go build -o bin/jumble-proxy-server .
13
+
```
14
+
15
+
Run the binary with environment variables:
16
+
6
17
```sh
7
-
jumble-proxy-server -a https://jumble.social -p 8080
18
+
ALLOW_ORIGIN=https://jumble.social PORT=8080 bin/jumble-proxy-server server
0 commit comments