Who made that? Heard it on your yt and i was like "whaaat we got php song before gta vi?"
Posts by Lukas Caha
Hot take on vibe codingπ₯
If you are vibe coding amateur
- you cant deliver more than 1000 lines of clean code
- you will hit problems on the 5-10h mark
- however your output can be template for someone else
You cant create next $1B unicorn, but you can still validate your idea and iterate progress
Huge update on CEO vibecoding story
- he is on 4500 lines of AI slop
- on every request he tries to nuke DB
- it does a lot of useful stuff
- 1000 lines of unreadable JS
- all still in 1 file
- request still runs under 30ms (I am devops god)
Wish me good luck ββ
My favourite band of course.
My next project is going to live on laravel cloud so I am really looking forward. But right now I have couple more weeks on local development.
The screenshot from first slide is email we sent for real and the cost including analytics, but calculated in free tier is about $2.78
Which is like 30x less than plan we paid $95/m just because we had 30k emails.
Go and emancipate from your subscriptions, this took me < 2days
Final remarks & costs
Database -> Planetscale $50/m
Server -> EC2 $20/m
Other -> Laravel Forge $15/m
Emails -> 10k emails/$1
But I need these for the business I run, so here they are free
If you disagree, you can still run all this locally (without the analytics) for free
Step 7 - Polish
Wrap this all up in a seamless form sequence, maybe add auto save to the editor. Build yourself analytics dashboard. Build more HTML templates. Go wild and send some *ethical* emails to your fans and subscribers.
Step 6 - Analytics
AWS SES has thing called "configuration set" this is your key to getting all email events. With SNS you can send HTTP requests on
- send
- delivered
- opened
- clicked
- bounced
- and more...
(note)
It takes hours until config set propagates, be patient
Step 5 - Sending
I used AWS SES, set everything up best you can. Email domain reputation is nothing to play with. I already have the raw HTML so now I only build the batch job queue to send all emails to right recipients. I have variables for name and unsubscribe link.
Step 4 - Recipients
Have your users emails ready. We have couple of different mailing lists so I build select for this with estimates for how many people will get the email.
(optional)
You can send email to more then one list. Be sure to remove duplicate addresses.
Step 3 - The editor
I gave cursor the JSON format and told it to make editor in laravel saving to database. It took a little time to make custom editor for each component and to have dynamic "add section" & "add component"
To this day I still dont have section reorder function.
Step 2 - Data and format
I took this HTML template and in Cursor I made JSON format representing raw texts/links from email. Making "JSON to branded template" generator was easy. All done in PHP so far.
(optional)
You can minify the HTML output for up to 50% size reduction.
Step 1 - Branded template
I went to online email template generator and for free I created a template for myself with all the components I would like to use. It was important to have distinct sections and components inside them (heading, paragraph, image, links and buttons)
I vibecoded $100/mo tool from scratch and now I spend under $3 for the same thing.
The tool in question is email editor, sender and analytics in one. You may know Mailchimp or Twilio
This is the story how I made this happen and technical rundown of what I used.
POV me right now:
I started using @heygenai.bsky.social we will see what will come out of this π€
AI influencer gurus assemble. I am looking for best tool I can buy, that will get me some AI personas to storytell to my clients on social media.
Looking to create ~100 videos and voice is required.
Too many lines for one file π§
Update on the whole CEO x Cursor vibecoding situation.
The limits of single index.php are starting to limit his ability to get any more functionality working fast.
I promised him to rewrite all 4400 lines of AI slop into Laravel on monday.
Gave my CEO license for cursor and he started coding his financial excel sheet to automate invoices. Hopefully he doesn't expose our AWS keys π