An open API service indexing awesome lists of open source software.

https://github.com/garyhtou/railsconf-2022-schedule

Web scrapes RailsConf's 2022 schedule to create an ICS link
https://github.com/garyhtou/railsconf-2022-schedule

calendar ics railsconf railsconf2022 web-scraping

Last synced: 27 days ago
JSON representation

Web scrapes RailsConf's 2022 schedule to create an ICS link

Awesome Lists containing this project

README

        

# RailsConf 2022 Schedule 🗓️

Have you wished to have the RailsConf schedule in your own calendar app? Well, now you can! Subscribe to the
[`https://railsconf.garytou.com/calendar.ics`](https://railsconf.garytou.com/calendar.ics) ICS link in your favorite
calendar app such as Google Calendar, Apple Calendar, Outlook, etc.

This `node.js` app (really should be Rails 🙄) web scrapes the RailsConf schedule from their website and formats it as
an iCal (ics) file!

## 📎 How to use

| [`/calendar.ics`](https://railsconf.garytou.com/calendar.ics) | iCal (ics) file of events (for subscription in calendar apps) |
| ------------------------------------------------------------- | ------------------------------------------------------------- |
| [`/events`](https://railsconf.garytou.com/events) | JSON endpoint of events |

## 🏗️ Development

```sh
git clone https://github.com/garyhtou/railsconf-2022-schedule

# enter the directory
cd railsconf-2022-schedule

# install dependencies
yarn

# run the server
yarn dev

# Open https://localhost:3000 in your browser

# the server will refresh on any saved changes
```

---

`†`: Now that the conference has concluded, the endpoints respond with a cached
version of the ICS calendar and JSON data. These versions were cached on Monday,
June 13th, 2022 at 1:00 AM, Pacific Time and are located in the
[`/public`](/public/) directory.

The existing [web scraping code](/src/helpers/events.ts) is still functional at
the time of writing this, but will more than likely break when RailsConf updates
its website!