This app parses the JPL Space Calendar and publishes the calendar in the following formats:
- JSON: http://jpl.mcginnis.io/space_calendar.json
- iCalendar: http://jpl.mcginnis.io/space_calendar.ics
[
{
"name": "Apollo Asteroid 2008 AG4 Near-Earth Flyby (0.094 AU)",
"start_date": "2018-08-13",
"end_date": "2018-08-13",
"url": "http://ssd.jpl.nasa.gov/sbdb.cgi?orb=1;sstr=2008+AG4",
"newly_added_date": null
},
{
"name": "Aten Asteroid 2013 ND15 (Venus Trojan)Closest Approach To Earth (0.143 AU)",
"start_date": "2018-08-13",
"end_date": "2018-08-13",
"url": "http://ssd.jpl.nasa.gov/sbdb.cgi?orb=1;sstr=2013+ND15",
"newly_added_date": null
},
{
"name": "Asteroid 498 Tokio Closest Approach To Earth (1.083 AU)",
"start_date": "2018-08-13",
"end_date": "2018-08-13",
"url": "http://ssd.jpl.nasa.gov/sbdb.cgi?orb=1;sstr=498",
"newly_added_date": null
}
]
docker run -d -p 443:9292 \
-v /etc/letsencrypt:/etc/letsencrypt \
-e RACK_ENV=production \
-e SSL_KEY_PATH=/etc/letsencrypt/live/jpl.mcginnis.io/privkey.pem \
-e SSL_CERT_PATH=/etc/letsencrypt/live/jpl.mcginnis.io/fullchain.pem \
joshuamcginnis/jpl-space-calendar:latest
docker run -p 80:4567 -d joshuamcginnis/jpl-space-calendar