Pick a Psych
Synthetic
We watch a lot of Psych. We could never decide which episode to watch, so I built a simple random picker using a JSON list of episodes. It was my first coding project.
Picking an episode
The picker covers 120 episodes across eight seasons, including Psych: The Musical. Season and Holiday, Spooky, Sports, or Guest Stars filters work together. The next pick avoids the current episode when there is another match, and Previous pick returns to earlier choices in the session.
Each result has a synopsis, air date, runtime, images, and cast and crew credits from TMDB. The prepared JSON catalog handles picking and searching locally; images load from TMDB. Browsing and picking work without signing in.
Finding the episode I remember
Sometimes I know the episode, just not its title. Searching “the Blair Witch episode” finds Lassie Jerky, where Shawn and Gus join students making a Bigfoot documentary. The Episode Guide searches stories, characters, cast, crew, and selected references as well as titles.
It accepts codes such as S7E3, small typos, and common nicknames. Search clues are stored in the catalog, so queries respond locally without going to an AI service. Opening a result and returning keeps the search and season filter in place.
Recording what we watch
Google sign-in adds per-account history and saved preferences. Each pineapple is a viewing, with a count and latest date beside the episode. Watching again adds another viewing; Undo last removes the latest one.
The picker excludes recently watched episodes for an adjustable window, initially 90 days. If every filtered match is recent, Include all episodes restores the choices without clearing the other filters. The guide keeps the full catalog available.
The history panel separates total viewings, unique episodes, completion, and rewatches. Recently watched cards open the episode details, with saved history available across devices after signing in.
An eight-week chart, season progress, and most-watched episodes show how those viewings add up. Recorded viewing time uses episode runtimes and includes rewatches; it reflects what I marked, rather than tracking playback. PHP stores each account’s history privately.
Episode stills, cast portraits, and episode information are provided by TMDB.





