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
Copy file name to clipboardExpand all lines: README.md
+17
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,8 @@ RetroSearch is a Spring Web Application that presents very simple HTML pages whi
17
17
It provides the ability to search the Web using DuckDuckGo with a custom scraper that loads the first page of results and allows you to browse pages in plain text.
18
18
You can deploy it on your local network and access it from your old computer!
19
19
20
+
## News and sports APIs support
21
+
20
22
### Enabling the News API
21
23
22
24
RetroSearch can fetch news articles by using the GNews API, to allow this, add the environment variables as follows when running the Docker image:
@@ -25,8 +27,23 @@ RetroSearch can fetch news articles by using the GNews API, to allow this, add t
25
27
docker run -e NEWS_ACTIVE=true -e NEWS_API_KEY={your GNews API Key} -d -p80:8080 garambo/retrosearch:{Retro Search Version} --restart unless-stopped
26
28
```
27
29
30
+
### Enabling the football-data.org API
31
+
32
+
RetroSearch can fetch the latest football scores using the football-data.org API, to allow this, add the environment variables as follows when running the Docker image:
33
+
34
+
```
35
+
docker run -e FOOTBALL_API_ACTIVE=true -e FOOTBALL_API_KEY={your football-data.org API Key} -d -p80:8080 garambo/retrosearch:{Retro Search Version} --restart unless-stopped
36
+
```
37
+
38
+
### Enabling both
39
+
40
+
```
41
+
docker run -e NEWS_ACTIVE=true -e NEWS_API_KEY={your GNews API Key} FOOTBALL_API_ACTIVE=true -e FOOTBALL_API_KEY={your football-data.org API Key} -d -p80:8080 garambo/retrosearch:{Retro Search Version} --restart unless-stopped
42
+
```
43
+
28
44
If running locally, just replace the property values in `application.properties` or create a new Spring run configuration.
29
45
46
+
30
47
### WIP
31
48
Currently in progress:
32
49
- Improve the parsing abilities for the browsing functionality
0 commit comments