- Val.town account
git,brew
# Clone this repo
git clone https://github.com/thomasvn/rss-sub.git
cd rss-sub
# Install ValTown CLI
brew install deno
deno install -grAf jsr:@valtown/vt
# Deploy to Val.town
cd valtown
vt create rss-subscriber
cp rss-sub/*.tsx rss-subscriber
cd rss-subscriber
vt pushIn the Val.town UI:
- Set
API_KEYenvironment variable for authentication - Update cron schedule (default: hourly → daily)
- (Optional) Rename HTTP endpoint
Set environment variables:
export VALTOWN_ENDPOINT="username-randomstring.web.val.run"
export API_KEY="your-api-key"
export FEED="https://example.com/feed/"Add feed:
curl -X GET "https://${VALTOWN_ENDPOINT}/add?url=${FEED}" \
-H "Authorization: Bearer ${API_KEY}"Remove feed:
curl -X GET "https://${VALTOWN_ENDPOINT}/delete?url=${FEED}" \
-H "Authorization: Bearer ${API_KEY}"List feeds:
curl -X GET "https://${VALTOWN_ENDPOINT}/get" \
-H "Authorization: Bearer ${API_KEY}"