This project contains the iOS app for Liturgia-hodin-online created by Juraj Vidéky.
The application is available for the following languages:
- Slovak (web version: http://breviar.sk)
- Czech (web version: http://ebreviar.cz)
- Hungarian (web version: http://zsolozsma.katolikus.hu)
This repository contains only the iOS sources, so in order to get started you have to fetch the rest of the files from various places.
First, clone this repository:
git clone https://github.com/gyim/breviar-ios.git
This project uses the sources of the web version as a submodule. However, this repository is not public, only some parts of it (unless you join the core team). To obtain the public sources you have to do the following:
# Fetch the public sources
cd breviar-ios
git clone https://github.com/breviar-sk/Liturgia-hodin-online.git breviar-cgi
# Fetch the text from the websites:
cd breviar-cgi
wget -r http://breviar.sk/include -nd -P include
wget -r http://breviar.sk/include_cz -nd -P include_cz
wget -r http://breviar.sk/include_hu -nd -P include_hu
The Breviar app supports custom URL schemes that allow other applications to open specific content within the app.
breviar://
- Opens the app to today's main screenbreviar://today
- Opens the app to today's main screenbreviar://YYYY-MM-DD
- Opens the app to a specific date (e.g.,breviar://2025-01-01
)
breviar://today/PRAYER_NAME
- Opens a specific prayer for todaybreviar://YYYY-MM-DD/PRAYER_NAME
- Opens a specific prayer for a specific date
The following prayer names are supported:
invitatory
- Invitatoryofficeofreadings
- Office of Readingsmorningprayer
- Morning Prayermidmorningprayer
- Mid-Morning Prayermiddayprayer
- Mid-Day Prayermidafternoonprayer
- Mid-Afternoon Prayereveningprayer
- Evening Prayercompline
- Compline
breviar:// → Today's main screen
breviar://today → Today's main screen
breviar://2025-01-01 → January 1, 2025 main screen
breviar://today/morningprayer → Today's Morning Prayer
breviar://2025-01-01/compline → Compline for January 1, 2025
breviar://2025-12-25/officeofreadings → Office of Readings for Christmas
Other applications can open Breviar content using:
iOS (Swift/Objective-C):
if let url = URL(string: "breviar://today/morningprayer") {
UIApplication.shared.open(url)
}
Web/JavaScript:
window.location.href = "breviar://today/morningprayer";