Using Val Town and Gemini for Sports Ball Stuff

This is trivial as heck as the kids say, but I really want to explore Val Town more this year and I thought of a great, and simple use for it. Both my wife and I are big Saints fans (this is their year, honest) and attend most of the games. If they’re not playing at home, we’re absolutely watching it on TV. We both really enjoy watching football, but honestly, not enough to watch ESPN and follow the news. I thought – why not simply get a summary of NFL news from the past week and build an automation of it? I had this running in less than ten minutes with Val Town. First, the code makes use of Google’s Node SDK for working with Gemini. I setup my environment variable first... more →
Posted in: JavaScript

Using Val Town to Get Me to the Movies

My wife and I both love going to the movies, but sometimes a few months will go by without us making it out there. Mostly we just forget what’s coming out and don’t realize till it’s already on a streaming app. I thought it would be nice to build a tool that could help remind me of upcoming movie releases so we can make our theater going more of a consistent habit. To accomplish this, I used the The Movie Database APIs and Val Town. The First Version Before I even considered building a tool like this, I investigated the TMDB reference to see how easy it was to get upcoming releases. Turns out, there’ve got an endpoint just for that: Upcoming Movies If you carefully read... more →
Posted in: JavaScript

I Know What You Did Last Summer (with val town)

With Halloween a few weeks away, it’s officially spooky season. My wife and I usually plan our costumes months in advance (mine’s been ready since July or so) and we love decorating the house (and yard) with all kind of fun and darkly horrific decorations. Two years ago, I built a great Halloween-themed web app using Glitch and Cloudflare: I Know What You Did Last Summer (With Glitch and Cloudflare) Unfortunately, Glitch is no more. These things happen and I have to thank the Glitch folks for creating an incredibly cool resource and also helping people safely migrate off their platform. One of my projects was the Halloween project from two years ago. While the serverless function... more →
Posted in: JavaScript

What If Asteroid 2024 YR4 Hit Your Town?

According to NASA, Asteroid 2024 YR4 has a 2.3% chance of impacting Earth on December 22, 2032. The asteroid is estimated to be between 40 to 90 meters (130 to 300 feet) in diameter.If you want to know what damage Asteroid 2024 YR4 might cause if it lands in your backyard, you can use Neal.Fun’s Asteroid Launcher to find out.According to Neal.Fun’s Asteroid Launcher, if a 200-foot diameter rock Maps Mania… more →
Posted in: Interactive Maps