https://github.com/simon816/ical-bridge
RSS-Bridge but for iCalendar
https://github.com/simon816/ical-bridge
Last synced: about 1 year ago
JSON representation
RSS-Bridge but for iCalendar
- Host: GitHub
- URL: https://github.com/simon816/ical-bridge
- Owner: simon816
- License: gpl-3.0
- Created: 2022-10-23T19:53:20.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-07-01T18:41:49.000Z (about 3 years ago)
- Last Synced: 2025-01-13T01:44:48.389Z (over 1 year ago)
- Language: PHP
- Size: 116 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# iCal-Bridge
iCal-Bridge is a spin-off of the popular [RSS-Bridge](https://github.com/RSS-Bridge/rss-bridge) project aimed at generating [iCalendar](https://icalendar.org/) files for websites that don't provide them.
# Installation
## Requirements
* PHP >= 7.4
* PHP extensions: [curl](https://www.php.net/manual/en/book.curl.php), [json](https://www.php.net/manual/en/book.json.php), [mbstring](https://www.php.net/manual/en/book.mbstring.php)
* [Composer](https://getcomposer.org/)
## Setup
```bash
cd /var/www
git clone https://github.com/simon816/ical-bridge.git
composer install
# Ensure cache directory is writable by the web server. e.g:
chown www-data:www-data /var/www/ical-bridge/cache
# Optionally copy over the default config file
cp config.default.ini.php config.ini.php
# Optionally copy over the default whitelist file
cp whitelist.default.txt whitelist.txt
```
### With Docker
```bash
# Build image from Dockerfile
docker build -t ical-bridge .
# Create container
docker create --name ical-bridge --publish 3000:80 ical-bridge
# Start the container
docker start ical-bridge
```
Browse http://localhost:3000/
# License
This project is licensed under GPL-3.0.
Third-party libraries are licensed under their own license:
* [RSS-Bridge](https://github.com/RSS-Bridge/rss-bridge) - [unlicense](https://unlicense.org/)
* [Zap Cal PHP Library](https://icalendar.org/php-library.html) - [GPL-3.0](https://www.gnu.org/licenses/gpl-3.0.html)
* [PHP Simple HTML DOM Parser](https://sourceforge.net/projects/simplehtmldom/) - [MIT](https://opensource.org/licenses/MIT)