New here. I build small websites nobody asked for

patrick_jones88

New Member
Messages
60
Reaction score
0
Location
Glasgow, UK

Figured I'd stop lurking and actually post something.

I'm Patrick, 41, live just outside Raleigh. By day I do IT for a mid-size logistics company (yes, I'm the guy who tells you to turn it off and on again). By night I build tiny websites that solve extremely narrow problems that maybe twelve people care about.

Current main project is a tap list tracker for about 30 breweries in the Triangle area. Started as a shared Google Sheet, turned into a scraper plus a static site. Roughly 600 people hit it on Fridays now, which is still hilarious to me. Most of the actual work is fixing scrapers when a brewery redesigns their site. I've rewritten the same BeautifulSoup selector four times for one place that keeps swapping menu plugins. Four times.

I've also got a half-dead site that tracks vinyl repress announcements. Makes about $12 a month in affiliate links. Not quitting the day job.

Stack is Python and way too much vanilla JS. Never learned a framework and at this point I'm too stubborn to start, which I'm aware is a personality flaw.

Anyway, curious what everyone else is running. The wasm game thread caught my eye, I've poked at Rust a little but compiling to wasm still feels like magic I don't actually understand.

kewldad

New Member
Messages
60
Reaction score
0
Location
Calgary, AB

The four rewrites of the same selector got me. I've got a site that swaps menu plugins every few months, and every single time I swear I'll write something smarter than a hardcoded CSS path, and every time I just paste in a new path and move on with my life.

Real question though: how do you catch it when a scraper breaks? 600 people hitting it Friday means you've got a window of maybe a few hours before somebody notices the tap list is showing Tuesday's beer. Do you diff the output against the last run, or do you just wait for the angry emails? I've only ever done the angry emails method and it's not great.

Also, skipping frameworks isn't a personality flaw. Half my vanilla JS stuff from 2014 still runs. The React thing I built in 2019 is a graveyard of dead dependencies I'm scared to touch. That said, if the tap list keeps growing you're gonna hit the wall eventually, and I say that as someone currently staring at that wall.

And yeah, Rust to wasm is still black magic to me. I got a hello world compiling once and felt like a wizard, then realized I couldn't explain one single thing about what the toolchain actually did.

wafflesRgood

New Member
Messages
57
Reaction score
0
Location
Berlin, DE

the angry emails method is how I run basically everything in my life and it's exactly as bad as you think. I've got a raspberry pi watching my tank temp and pH, and when the sensor crapped out I didn't notice for like three days. Lost a cory cat. Still feel awful. So for the tap list I'd at least hash the scraped HTML and compare, or store yesterday's output and diff it. Even something dumb like "did the number of taps change by more than 5" would catch a plugin swap before Friday happy hour. Have you tried that or is it too much code for a side project?

Also the vinyl site pulling $12/mo. Does that even cover the domain? I've got a blog that makes zero and I keep telling myself it's for the love of the game lol.

And honestly I think the no-framework thing IS a flaw, sorry kewldad. I know I should learn one. I just won't. My 2015 jquery still runs fine though so maybe that's the trap.

ahmed_khan92

New Member
Messages
63
Reaction score
0
Location
Toronto, ON

the diff thing works but the trick is making it loud. I ran a scraper for a local concert venue for like two years and I had the same problem, nobody notices til someone's standing outside a show that got moved. What finally worked for me was a cron job that posts to a private Slack/Discord webhook every run with just a count and a timestamp. If nothing shows up by 8am I know it died. Silent failure is the killer, not bad data.

On the HTML hash, careful with that one, breweries rotate taps constantly so your hash changes every single day even when nothing's broken. I'd compare tap count and maybe the set of beer names against yesterday with a fuzzy match. If more than half the names vanish, that's a plugin swap, not a rotation. That's cheap to write, like 20 lines.

Also wafflesRgood $12/mo absolutely does not cover the domain and I respect that you're still doing it. My worst one is a site that emails me when a specific brand of instant ramen restocks. Makes literally zero dollars. I've kept it alive for four years.

And nah, the no-framework thing is not a flaw, it's a budgeting decision. You're one guy doing narrow problems. Learning React to render a list of 30 breweries is bringing a forklift to move a couch. The wall kewldad's talking about is real but it's a you'll know it when you hit it wall, and half the time the answer is just "paginate the JSON" not "rewrite in Next.js."

danielp77

New Member
Messages
51
Reaction score
0
Location
Melbourne, AU

The"tap count changed by more than 5" idea is going to bite you, I promise. Breweries around here do tap takeovers and taproom-only releases where all 30 lines swap on a Wednesday night. Legit event, not a break, and now your phone's buzzing at 11pm because someone put on a barrel-aged stout. I killed an alert like that within two weeks.

What actually held up for me was comparing the set of names with a fuzzy match like ahmed said, but the catch is some places don't list beer names at all. Two of the breweries on my list just post "Rotating IPA" and "Seasonal Sour" and never change the string. Scraper's perfectly happy, data's perfectly useless. Took me embarrassingly long to notice those pages were static even though the taps weren't.

The other thing nobody's mentioned: check that your output is fresh, not just your input. I had a stretch where the scraper ran fine every night and the site kept serving the same list for six days because of a caching layer I'd forgotten I set up. Scraper logs looked gorgeous. Users were looking at Tuesday's beer on Saturday. Now my heartbeat message includes the newest timestamp in the JSON file itself, not just "job ran ok."

And $12/mo on vinyl, does it cover the domain? The domain's like $11 a year so technically yes, and I will be smug about that forever. ahmed your ramen bot is the correct energy though. Zero dollars, four years, still alive. That's the good stuff.

ahmed_khan92

New Member
Messages
63
Reaction score
0
Location
Toronto, ON

danielp77 the output-freshness thing is the one that actually bit me too, and I'd add a wrinkle: timestamping the JSON is only as good as the job writing it. I had a run where the scrape threw, the except block swallowed it, and it still wrote the file with a fresh timestamp and an empty list. Heartbeat was green for nine days. Now I dump the raw HTML to disk before parsing and put the hash of that in the heartbeat instead. Same hash three days running means something's wrong even if the timestamp looks shiny.

The "Rotating IPA" problem is brutal though. I hit that with a venue that had one "TBA" sitting there for an entire summer. Fix isn't technical, it's just surfacing it. I put a "last confirmed change: X days ago" next to each listing on the site so people at least know which ones to trust. Someone emailed to say thanks for it and honestly that was the most rewarding part of the whole project, which says a lot about the project.

lol at killing the alert in two weeks. I've got a graveyard of muted webhooks at this point. At some point you're just training yourself to ignore your own phone. Has anyone actually solved that, or is it just the tax on running side projects solo?

jen_93

Member
Messages
62
Reaction score
0
Location
Cape Town, ZA

The muted webhook graveyard is real and I don't think there's a cure, just triage. What worked for me was splitting alerts into two buckets: stuff that pages me (scraper returned zero rows, HTTP error, raw HTML hash identical three days straight) and stuff that just lands in a digest I read Sunday morning (tap count changed, new names, whatever). The digest bucket is allowed to be noisy because I never see it in real time. The page bucket has fired maybe four times in a year. Took me way longer to convince myself that a Thursday-night tap takeover is not an emergency than it took to write the code. I've still got a Slack channel called #probably-fine that I haven't looked at since March, so, grain of salt.

danielp77's "Rotating IPA" point is the one that would actually make me quit a brewery. If the string never changes you're not tracking taps, you're tracking a marketing placeholder. I've got two places like that on a totally different project (restaurant daily specials) and I finally just dropped them from the scrape and slapped a hand-written note on the page saying "check their Instagram, we can't read this one." Zero complaints, which honestly surprised me. People would rather have an honest gap than a stale guess.

kewldad, the menu plugin churn made me laugh because half those places are on WordPress and the "new" menu plugin is usually the old one wearing a hat. There's WordPress Help & Guides on here with a bunch of plugin troubleshooting threads if you ever want to get ahead of it, but the thing that's saved me the most time is just checking the homepage for a known plugin signature once a week instead of waiting for the selector to blow up on Friday afternoon. Way less stressful than the angry emails method, which I also ran for about two years and do not recommend.

mike_t_2019

Member
Messages
60
Reaction score
0
Location
Leeds, UK

jen_93's two-bucket split is the only thing in this thread I'm actually stealing. I run a scraper that pulls live multipliers off a couple of offshore crash/dice sites into sqlite, and my alerting strategy has been "I'll check it when I check it" for like a year. Works great right up until the thing silently serves the same cached multiplier for six days and I'm sitting there thinking a site pays out 97% when it's been 91 the whole time. It was not 97. So yeah, pager bucket vs Sunday digest is going in this weekend.

The "Rotating IPA" problem made me laugh though, because that's the entire regulated gambling industry in one sentence. Every Ontario-licensed site has a gorgeous static RTP page that never moves while the real numbers quietly rotate underneath. At least with the crypto sites I can pull the actual on-chain payouts and check them myself, which, funny enough, is why I started scraping in the first place. Nobody's publishing a "last confirmed change" badge for a slot machine, and the regulator sure isn't.

ahmed_khan92, dumping raw HTML before parsing is smart, do you keep those forever or nuke them after a few days? My VPS has a sad little 25gb disk and I've already had to go in with a machete once. Also ngl the fact that your ramen site has made zero dollars for four years and you're still feeding it is the most honest thing in this thread.

wafflesRgood

New Member
Messages
57
Reaction score
0
Location
Berlin, DE

ok the dump-raw-HTML-before-parsing thing is the one that got me, that would've saved me so much pain on my tank logger. ahmed_khan92 do you gzip them? I was writing raw sensor JSON every 5 min to a pi SD card and killed the card in about 6 weeks, so now I zip and rotate at 14 days. mike_t_2019 if your VPS disk is the real issue, 25gb is never gonna be enough once you're keeping HTML, I moved all my junk off to object storage for like a dollar a month. there's a shared and cloud hosting forum with cheap options if you want to look, that's how I found mine.

But I'm gonna push back a little on the two-bucket thing being a fix. Maybe it's just me being bad at this. I split my alerts into "wake me up" and "read later" and within a month literally everything had drifted into read later because I kept deciding nothing was urgent enough. Then the heater died at 2am and I found out at breakfast. Buckets only work if you're honest with yourself about what's actually an emergency and I am apparently not that guy.

danielp77 the tap takeover point is why I don't trust thresholds anymore. Any rule that says "more than X changed = broken" is gonna be wrong for somebody's anniversary party, and you're the one getting buzzed at 11pm for it. The fuzzy set-of-names compare is the only one here I'd actually trust, and even that dies if the place never lists names. Half my local breweries just say "Rotating IPA" forever. I don't know how you people run 30 of these, I've got one tank and 4 fish and I still mess it up.

(also still running my entire life on angry emails, no progress there lol)

w0lfpack88

New Member
Messages
72
Reaction score
0
Location
Oslo, NO

mike_t_2019 the static RTP page thing is exactly why I stopped trusting the regulated numbers. That glossy 96.2% figure sits there frozen in carbon while my actual session over 3000 spins on one of them came out around 84 and change. Small sample, sure, I know someone will jump on that. Doesn't matter anyway because nobody publishes the real payout tables, the "verified" badge is just a logo. That's the whole reason I gravitated to the offshore/crypto side where at least I can pull on-chain payouts and sanity check them myself, even if half those sites are held together with tape and a prayer.

On the alerting arms race in here, honestly for a tap list you're all overbuilding. ahmed_khan92's heartbeat plus raw HTML hash before parsing is the only piece I'd keep. Job didn't run, hash unchanged three days, page me. Everything else is a digest at absolute best. danielp77 killed his threshold alert in two weeks and he was dead right to, the trigger was wrong, not the concept. Thresholds are always gonna lie to you because real life isn't smooth.

jen_93 you said you dropped those two places, slapped a handwritten note on the page, and got zero complaints. Do you reckon people actually read the note, or were those two just dead weight nobody cared about? Genuine question, because I've got a hunch it's the second one and I want to be wrong.

greg_ohio

New Member
Messages
71
Reaction score
0
Location
Columbus, OH

Bhai log half this thread is above my pay grade, I'm still the guy who googles "what is cron job" 😅 but mike_t_2019 saying the RTP page never moves while the real numbers quietly rotate underneath, that one hit me hard. I've been playing mostly slots on the crypto sites for a few months now and I genuinely never thought to check if those numbers are even real. Just trusted the little badge lol.

w0lfpack88 that 3000 spins at 84% when the page says 96.2, was that one session or spread over weeks? Asking because I keep a dumb google sheet of my own deposits and withdrawals (my version of a scraper I guess) and mine always lands lower than the listed RTP too. I told myself it was just variance. Now I'm less sure.

mike_t_2019 how do you actually pull the on-chain payouts for a slot? Is that something every crypto casino gives you or only the ones that are properly provably fair? I've seen that tab on a couple sites and never clicked it, always figured it was marketing. Maybe that's exactly the thing you're talking about.

And jen_93's two bucket split, I need that for my bank account. Everything is a page alert and I ignore all of it 😂

FrostyBear

New Member
Messages
67
Reaction score
0
Location
Brisbane, AU

Wait, how did we go from a tap list to slot machine RTP in like eight posts? lol. This place moves fast.

The heartbeat thing is what's gonna bug me all week. ahmed_khan92, when you dump the raw HTML before parsing, do you save the failed runs too, or just the good ones? I've been screenshotting my broken scrapes manually like a caveman and I'd like to stop.

kewldad, the four selector rewrites. I've done two on the same site and swore the second was the last. Is there actually a way to write a selector that survives a plugin swap, or is that just a fantasy people tell themselves at 1am?

You must log in or register to reply here.