mirror of
https://github.com/jhbruhn/ics-adapter.git
synced 2025-03-15 03:25:49 +00:00
Add readme
This commit is contained in:
parent
2c30bd93f0
commit
fed84e533b
1 changed files with 29 additions and 0 deletions
29
README.md
Normal file
29
README.md
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# ics-adapter
|
||||||
|
|
||||||
|
This is a tiny rust program which "proxies" .ics file URLs into a JSON format. It was developed to work with [OpenEPaperLink](https://github.com/jjwbruijn/OpenEPaperLink).
|
||||||
|
|
||||||
|
The usage is rather simple. It is recommended to run this as a Docker container. An example docker-compose configuration might look like this:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
calendar:
|
||||||
|
image: ghcr.io/jhbruhn/ics-adapter:main
|
||||||
|
ports:
|
||||||
|
- "3000:3000"
|
||||||
|
restart: unless-stopped
|
||||||
|
```
|
||||||
|
|
||||||
|
As you can see, you only have to forward port 3000 to wherever you like, in this case port 3000.
|
||||||
|
The URL you have to enter into the OEPL Google Calendar config then looks like this:
|
||||||
|
```
|
||||||
|
http://<docker-host>:3000/get?url=<ics-url>
|
||||||
|
```
|
||||||
|
|
||||||
|
With an actual .ics url, it looks like this:
|
||||||
|
```
|
||||||
|
http://192.168.178.42:3000/get?url=https://nextcloud.net/remote.php/dav/public-calendars/whateveryolo901i230ji
|
||||||
|
```
|
||||||
|
|
||||||
|
# License
|
||||||
|
MIT
|
Loading…
Reference in a new issue