pull down to refresh

tl;dr: Vibe-coding can be thrilling! I just wrote a browser extension to do "proof of work" before opening a new browser tab, it works fine and was fast and easy to create.
For me, focusing can sometimes be tough, because any time I get even the slightest bit bored, I open up a new tab and visit some of my favorite time-wasting sites.
This takes less than a second - I do a quick Ctrl + t for a new tab, type the first letter of where I want to go, and BOOM, I'm distracted and lost my train of thought, along with any chance of doing something productive.
I'd been thinking how great it would be to have an browser extension that would require you to solve a little problem (I figured an mental arithmetic problem would be good) before popping up another tab. I talked about it here - #985990.
My first idea was to just require a wait (#951819) but that wasn't very satisfying. It felt more like a punishment rather than a choice.
This one is much better. I solve a litte arithmetic problem in order to open the tab. I did have to do some back and forth with AI to get it to work (I was using Gemini via ppq.ai) but now, for my usage, it seems to work absolutely fine.
And - it has definitely had an effect on how much I jump around on the internet. Opening a new window is much more of a conscious decision now, and I think a bit before doing it.
Do I have any experience with browser extensions? Not really. A couple years ago I followed a little tutorial online to do a very basic extension (not anything useful, just enough to be called a browser extension). That's it.
If you're interested in trying out some vibe-coding, I highly recommend writing a browser extension that you've been wanting. It's simple enough to be easily possible, and will probably be immediately useful. I'm blown away by how easy it was. Also I asked AI to come up with a test plan, ran some of the tests, asked AI to fix them.
34 sats \ 2 replies \ @OT 26 May
I'd like to start playing around with some ideas I have.
I just don't want to pay for it. Lol!
reply
Don't most of them offer a free trial? Also, if you want to try out a bunch of different AI models, you can check out Pay Per Query - http://ppq.ai. Pay with lightning, and no login needed.
reply
0 sats \ 0 replies \ @OT 26 May
Most people mention Claude but I'm pretty sure you need to pay.
Maybe I can try with paying per query.
reply
I’ve been vibe coding a Jeopardy game that my wife and I can play whenever, based on 40 seasons of clues: https://github.com/jwolle1/jeopardy_clue_dataset
The new Claude 4 has been working really well so far for me.
reply
Sounds interesting. How are you structuring it? Do you have a background in IT?
I almost put my original post in the DIY section. It feels more like a DIY project, than a dev project.
reply
No dev background, it's turning into a DIY definitely, I want to now make my own simple hand held wireless buzzers.
MVP is just two players for now lol, just wanted something to play while we're on the road or bored, it's 40 seasons with about 8800 games.
reply
Nice. And you created this just via prompting AI with Claude 4, nothing like Cursor or CoPilot? What is it written in?
reply
I’m using Cursor and Claude 4, it’s React with typescript…does that sound right lol?
reply
Oh okay. I'm still learning my way around this whole thing, and need to figure out Cursor. Cursor will actually write out the files for you, correct? Do you have a paid subscription?
With AI prompting in the tool I'm using , it'll create the files, but you have to save them in the right location manually, and then also keep updating them manually, as you and the AI make changes.