NYC-ASP-Slack-Notifier
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v15View latest version
Automated Slack notifications for NYC Alternate Side Parking strategy.
This Val runs every hour and sends you strategic Slack notifications about NYC Alternate Side Parking:
- Sunday 5 AM: Weekly parking strategy with visual calendar
- Mon-Thu 10 AM: Move reminders when you need to switch sides
- Mon-Fri 5 AM: Emergency alerts for unexpected ASP suspensions
Set these in the Val Town UI:
SLACK_WEBHOOK_URL
- Your Slack incoming webhook URL (create one here)
Customize for your street's cleaning schedule:
NEAR_SIDE_DAYS
(default:Mon,Thu
) - Days when your home side has cleaningFAR_SIDE_DAYS
(default:Tue,Fri
) - Days when opposite side has cleaningCLEANING_START_TIME
(default:09:00
) - When cleaning startsCLEANING_END_TIME
(default:10:30
) - When cleaning endsNEAR_SIDE_EMOJI
(default:🏡
) - Emoji for your home sideFAR_SIDE_EMOJI
(default:🌳
) - Emoji for opposite side
- Fetches NYC's official ASP suspension calendar (ICS)
- Scrapes NYC DOT website for emergency suspensions
- Analyzes your weekly parking schedule
- Sends strategic Slack notifications at key times
This code is auto-generated from the source repository.
Do not edit index.ts
directly - changes will be overwritten on next deployment.
To contribute or modify:
- Clone the GitHub repo
- Edit files in
src/
- Run
bun run deploy
to build and push
Set this Val to run as an Interval Val with schedule: 0 * * * *
(every hour)
MIT - See GitHub repository for details