Skip to content

fork of niccokunzmann/open-web-calendar to view ics online

License

Notifications You must be signed in to change notification settings

OcifferAction/docker-ics-view

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-ics-view

View *.ics feeds from your favorite sources directly online on a simple web UI.

Calendar View

Volumes

  • /ics/static/etc - Purpose: Configuration files for different calendar views

Run

docker run --name ics-view \
    -v volume-etc:/ics/static/etc \
    -d 11notes/ics-view:[tag]

Warning

You need to run this container behind an nginx installation, do not expose this container directly to the web because it is not encrypted nor safe to use that was!

Config

You can place different configuration json files in /ics/static/etc and use the directly via URL (you do not need to add .json, just the file name)

http://localhost:8080/?calendar=demo // will use demo.json in /ics/static/etc 
or
http://localhost:8080/?calendar=https://domain.com/foo/demo.json

Please refer to niccokunzmann for the configuration of the json file (the default.json contains most settings already)

Cofig YAML (just convert to json)

## Specification
##
## The specification of the calendar can be written in YAML and JSON.
## You can copy and paste the specification and adapt it to your needs.
##
## Lines with two ## are comments and lines with one # are code which
## is not in use.
##

## url can be a single link to an ics file or a list.
#url: https://your.link.to/a-file.ics
url:
- https://www.calendarlabs.com/ical-calendar/ics/46/Germany_Holidays.ics
#- https://www.calendarlabs.com/ical-calendar/ics/46/Germany_Holidays.ics
#- https://www.calendarlabs.com/ical-calendar/ics/46/Germany_Holidays.ics

## The title is displayed as the title of the html page.
title: "Open Web Calendar"

## The language of the calendar. You can choose from these languages:
## Arabic: "ar"
## Belarusian: "be"
## Catalan: "ca"
## Chinese: "cn"
## Czech: "cs"
## Danish: "da"
## Dutch: "nl"
## English: "en"
## Finnish: "fi"
## French: "fr"
## German: "de"
## Greek: "el"
## Hebrew: "he"
## Hungarian: "hu"
## Indonesian: "id"
## Italian: "it"
## Japanese: "jp"
## Norwegian: "no"
## Norwegian Bokmål: "nb"
## Polish: "pl"
## Portuguese: "pt"
## Romanian: "ro"
## Russian: "ru"
## Slovak: "sk"
## Slovenian: "si"
## Spanish: "es"
## Swedish: "sv"
## Turkish: "tr"
## Ukrainian: "ua"
language: "en"

## The skin changes the look of the calendar.
## They are located in the static/css/dhtmlx folder.
## You can choose one of these:
#skin: "dhtmlxscheduler_contrast_black.css"
#skin: "dhtmlxscheduler_terrace.css"
#skin: "dhtmlxscheduler_contrast_white.css"
#skin: "dhtmlxscheduler_flat.css"
skin: "dhtmlxscheduler_material.css"

## You can embed custom css code, i.e. to change the background or font.
css: ""

## The target is the place where links are opened.
## "_top" opens the link where the website is embedded.
## "_blank" opens the link in a new tab.
## "_self" replaces the calendar with the link content.
## "_parent" opens the link in on the page where the calendar is embedded.
target: "_top"

## This is the url to a loader animation which is displayed while the
## calendar loads events.
loader: "/img/loaders/circular-loader.gif"

## Choose which tab to display when the calendar opens.
tab: "month"
#tab: "week"
#tab: "day"
#tab: "agenda"

## Choose which tabs can be chosen by the user.
tabs:
- "month"
- "week"
- "day"
#- agenda

## Users can control the calendar.
## You can hide these buttons:
controls:
## Users can go to the next day/week/month.
- "next"
## Users can go to the previous day/week/month.
- "previous"
## Users can go to the current day/week/month.
- "today"
## Users can see the date.
- "date"

## You can describe the calendar with a text so people know what it is about.
description: "This is a calendar which provides a website and an ICS subscription link based on the different calendars it is configured to use."

###################### You will probably not change this. ######################
##
## The template is the file which shows the calendar.
## It is located in the templates/calendars folder.
template: "dhtmlx.html"

## This is set by the dhtmlscheduler when the events are displayed.
timeshift: 0

Docker -u 1000:1000 (no root initiative)

As part to make containers more secure, this container will not run as root, but as uid:gid 1000:1000. Therefore the default TCP port is 8080.

Build with

Tips

About

fork of niccokunzmann/open-web-calendar to view ics online

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 71.6%
  • Python 13.9%
  • JavaScript 10.3%
  • HTML 3.4%
  • Other 0.8%