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
- Host: GitHub
- URL: https://github.com/garyhtou/railsconf-2022-schedule
- Owner: garyhtou
- Created: 2022-05-16T00:50:06.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-13T08:32:01.000Z (almost 3 years ago)
- Last Synced: 2025-04-18T04:54:32.747Z (about 1 month ago)
- Topics: calendar, ics, railsconf, railsconf2022, web-scraping
- Language: TypeScript
- Homepage: https://railsconf.garytou.com/calendar.ics
- Size: 155 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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!