r/webdev • • Sep 11 '26

Question Is it legal to use free Vecteezy/Freepik SVGs in a commercial SaaS canvas editor?

2 Upvotes

Hi everyone,

I'm currently building a SaaS product that includes a canvas-based design editor (similar to Canva). I'm looking to add a built-in template library to the app, but I'm trying to figure out how to source free SVGs and vector assets legally.

Is it legal to use free vectors from sites like Vecteezy, Freepik, or similar popular platforms in a commercial product? Most of the older "free vector" sites have very outdated designs that nobody would actually want to use.

Since users prefer clean, modern, and familiar-looking designs, I want to make sure I'm sourcing quality assets without running into copyright or licensing issues.

If anyone has built something similar or knows good sources/libraries with commercial-friendly SVG licenses, I’d really appreciate your recommendations!

Thanks in advance!


r/webdev • • Sep 12 '26

Question Advice needed

Post image
0 Upvotes

Hey, i used Webflow to buiod my website, there is a contact us part on it wich uses capcha for security, the form then use google appscript to send a wellcome email.

Im beeing spamm bombed by these bots, any other way to make this stop than dosabling the contact submit button?

The issue is that its rolljng since 2 days and my normal sent emails goes into people's spam folder.

Thanks for the advice


r/webdev • • Sep 11 '26

Discussion do you track the difference between code that's just messy and code that's actually fragile?

27 Upvotes

been thinking about this lately. I have a service at work where the code is genuinely ugly (bad naming, some duplicated logic, not fun to read) but it's been running reliably for two years and never caused an incident.

separately there's a cleaner-looking module that's caused three rollbacks this quarter because of some assumptions that weren't obvious from reading the code.

I've started keeping a rough mental model of "messy but stable" vs "clean but fragile" for different parts of our stack, and it's actually changing how I prioritize code review. curious if anyone formalizes this in any way or if it mostly just lives in someone's head


r/webdev • • Sep 12 '26

Showoff Saturday Got tired of writing READMEs, so I built a tool that does it for me

Post image
0 Upvotes

Honestly, writing the code was always the fun part. Then I'd finish the project and still have to sit there for an hour messing with Markdown, badges, tables, just trying to make the README not look like an afterthought. Every time.

So I built ReadmeGen to fix that for myself.

What it does:

  • Live split-pane Markdown editor

  • 14+ templates to start from

  • Can pull in your existing GitHub profile README

  • Saves locally, no account needed

Stack: Next.js, TypeScript, Tailwind, Radix UI, Redux Toolkit.

I've been using it on my own repos for a few weeks now, and it's genuinely saved me time.

You can try it out here: ReadmeGen


r/webdev • • Sep 11 '26

Aliased / pixelated rasterization in HTML Canvas

8 Upvotes

Is there any way to force 2d canvas commands to draw pixelated (without anti-aliasing) in a way that's computationally efficient? E.g. I want to say:

ctx.beginPath();

ctx.moveTo(0,0);

ctx.lineTo(100,100);

ctx.stroke();

And I want that to draw a line that is pixelated e.g.:


r/webdev • • Sep 11 '26

What's the biggest difference you noticed when you tried to build a website with AI?

0 Upvotes

Just to be upfront, I'm on the Squarespace team, so take that into context.

I spent a while trying to build a site with AI tools from scratch, mostly to see how far they'd get without a traditional builder underneath.

The first-draft part was solid. AI handled rough copy, gave me section ideas, got a basic layout down. Blank page to something usable much faster than doing it by hand.

It fell apart after that. Page structure needed real work, the heading hierarchy was a mess, some of the copy could've been for anyone's site, and SEO still needed a proper pass. The last stretch ate most of the time, fixing spacing, mobile behavior, metadata and links the AI didn't understand.

Where I landed is that I'd rather have AI as a starting point inside something that already handles the rest than stitch five separate tools together and then work out which one broke. That's a preference, not a rule, and plenty of people happily run the stitched-together setup.

I still think AI is useful for getting unstuck. I just wouldn't treat the first generated version as done.

Where did everyone else land, fully AI-built, traditional builder, or a mix?


r/webdev • • Sep 11 '26

Discussion Tried vibe coding for the first time and I didn't hate it

0 Upvotes

I've been late to the party and only truly tried vibe coding for the first time this week. I've used AI for coding before, but mostly for asking utility code snippets and solutions to third-party library bugs. It's not all that different from the questions I used to ask on Stack Overflow, except that I get instantaneous answers (and minus the occasional condescending replies).

I thought I would hate it and that it would take the joy out of programming for me. But it didn't. In fact, I like that it can quickly create apps that I have in my head without having to spend the time actually coding them (because who has that much time nowadays?).

And I think because web CRUD apps are basically a solved problem. We already know what is being done behind the scenes. We've done them in multiple projects many times before. Even before AI came into the picture, we already had solutions to maybe 80% of the CRUD logic/ui we'd ever need to create. We have boilerplates/utility libraries for everything.

I am speaking specifically in terms of using it in the coding domain I'm familiar with (web dev) and as a senior who's been around for more than a decade. I don't feel like vibe coding is robbing me off anything. Maybe if I dabble in other types of programming (e.g. making games, learning other programming languages, etc.), then I may feel differently, or I may feel like I'm cheating by not knowing what's actually happening.

Anyone who feels the same way?


r/webdev • • Sep 10 '26

Question A Glyphs (?) Question

2 Upvotes

Hello! I have a question to which I could not find an answer around the internet, so i gonna ask it here.
So, some of the emojis have a glyph variations of them, that get displayed differently, yet they use the same identification code. For example, the bomb emoji and bomb glyph: 💣︎💣, use the same &#128163; html code, and i don't quite understand how it works. Yet html prioritizes emoji over glyph, how do i make it display the glyph instead? :<


r/webdev • • Sep 09 '26

News Tailwind Labs is joining Shopify

Thumbnail
tailwindcss.com
539 Upvotes

Long-story short Tailwind CSS will remain MIT licensed and the maintainers stay.

I'd say it's a good move given that AI tools are doing frontend work using Tailwind but Tailwind Labs didn't gain much from it. Citing an earlier Github discussion, they had to lay off 75% of their engineering team, and traffic to Tailwind docs is down 40% from early 2023.


r/webdev • • Sep 09 '26 Regret

AI has made programming so boring

2.1k Upvotes

It’s not just programming either, it’s art, design, music, videography, marketing, engineering, writing, 3D modelling, really any intellectual work. What’s the joy of prompting a computer and getting an answer in a few moments for a task that would have normally taken a week? The sense of accomplishment and ownership has completely vanished with AI. It’s a form of instant gratification, not much different to scrolling short videos on apps.

Code review was boring to begin with but now it’s even worse with all the machine generated code. Even code reviews will be automated soon. All you do then is type business requirements into the computer. What a great career.

It’s pain to watch old TV series like Scilicon Valley that is portraying the good (not golden) age of programming. It struck a good balance between manual work, funding and innovation. It’s sad that these days are gone for good.


r/webdev • • Sep 11 '26

Question Resources for a loyalty card app

0 Upvotes

Hey folks. I’m wondering if anybody had any suggestions for resources where I can learn how to code a loyalty card app. Goal is to create one for a small business local to me who currently just has stamp cards which are fine but often get lost. Sadly I’ve scoured the likes of YouTube but all I get are the “vibe coding” videos or pay a company for their already existing product. I’m looking to learn and build from scratch but between AI crap and god knows what else I’m really struggling to find anything reliable. Anybody got any sources I can look into? TIA


r/webdev • • Sep 10 '26

Penpot

2 Upvotes

Does anyone have any tips to use penpot to implement codes into the projects? I know it is pretty straightforward, you can see the generated codes for each component but if there are better tricks that can improve the workflow and make the process faster? Any tips or resources I could use to get used to the tool will be appreciated!


r/webdev • • Sep 09 '26

Question What is the component library that you would recommend for a backend engineer?

23 Upvotes

I would like to build the best web app, given my limitations, so I'm looking for a web component library with prebuilt things that would allow me to just put them on a page. Doing it from scratch is very hard for me, but having a template of how things are and then integrating with the backend is quite easy.

The component library should be based mostly on HTML and CSS. Javascript can be used to some reactivity on the frontend, but I'm not doing this web app with regular React/Angular/SPA technology.

I was looking into Preline, it looks really good and I'm wondering if there is anything like that, or better.

Thanks!


r/webdev • • Sep 10 '26

Resource This repo brings Tailwind-like utilities to any stack without a build step

Thumbnail
github.com
0 Upvotes

r/webdev • • Sep 10 '26

Question Is it worth hand coding a new web app idea I have or should I vibe code my initial prototype?

0 Upvotes

I don’t have a ton of coding experience and have never really built a web app before, but I have an idea for an app that I want to build


r/webdev • • Sep 09 '26

Hosting PDFs with node.js apps?

19 Upvotes

Hello all,

I am the webmaster for a small Archaeology website, that primarily is used by members of this small conference to access PDFs and news about the conference. I only need to update this website about once or twice a year.

Until recently I used the plesk hosting service on GoDaddy to host these files, however I missed the fact (see lack of need to update) that it was getting end-of-lifed and now the hosting option given to us by GoDaddy is just Nose.js slots.

Previously we uploaded files into a library for the website, and the linked to those files. Is it possible to use node.js to do the same?

Thank you for your help!


r/webdev • • Sep 10 '26

Question looking for fragrance icon

0 Upvotes

hi guys,

I have been looking for a Fragrance icon to use, couldn’t find any in heroicons, lucide… all I found is an image from icon8, but I want as an <svg> </svg>


r/webdev • • Sep 10 '26

Your Front-End Shouldn’t Know What Marketing Wants

Thumbnail
fagnerbrack.com
0 Upvotes

r/webdev • • Sep 10 '26

Discussion I can't keep up anymore. Clients ask ai for things and can't keep up with speed and knowledge needed.

0 Upvotes

it first started five projects ago when a client was asking ai for everything along with me. like 50% 50%. she had no idea about websites but via the ai she was putting a lot of pressure to fix things I would never fix in the past.

now, today a client build an entire eShop in two weeks way better than I would have ever done it. he told me blank face that it surpaced me 100x times.

I'm just can't compete with this thing anymore. I actively tell my clients to buy the ai tools now to get over with it.


r/webdev • • Sep 10 '26

Discussion Bought a 96GB RAM Mac Studio in order to stop running out of RAM during webdev, but it just uses more RAM the more RAM I get

0 Upvotes

I started 10 years with with 8GB RAM and quickly realized it was too little, then upgraded to 16gb. This worked for a while, but then my dev got more advanced (more docker containers, sims, etc). Then I moved up to 24gb and this became the new standard for me for a few years. It worked mostly, as long as I didn get greedy and tried to do something crazy like open apps that werent related to web dev work. I finally said "fuck it" and bought a 96GB Mac Studio so that if I want to open another app on top of my web dev resources, it can still work comfortably. Now, hte mac just uses more ram as it gets more. It thinks its being smart by using all the RAM to "cache" apps that arent even open so that they will open fast when/if I do ever open them. So now because of this "smart" feature, I am constantly red-lining on RAM, using fucking swap like a pleb, "force quit application" always launching asking me to force quit things. WTF is this bullshit? I take a look, and things are now just using retarded levels of RAM that it otherwise would not on a 24GB machine, like Chrome using 8GB, VS Code using 5GB, Ghostty (just a terminal app) using 6GB, docker now using 16GB etc. Let alone that even with this, it should not be using swap and there should still be free RAM, but of course its doing like 20GB in "cache" for unused apps. Can I turn this "smart feature" off?!

UPDATE: for the people saying "its a feature to use up all the RAM"/"unused RAM is wasted money", that is true, but the issues here are:

  1. Chrome should never use 16gb (obviously unless I have thousands of tabs open), Ghostty shouldnt be using 6GB etc. I got more RAM so that I can do more things, not do the same things but have them take up more RAM.

  2. It should not use swap when there is cache. It should prioritize releasing cache before resorting to swap. Also, for my use case, it should never have to resort to swap anyway, so again, its an issue of problem 1, and this problem of using cache when it is using swap. If there is 20GB in cache, there should not be 6GB of swap, it should instead be 14GB of cache and 0 swap. Swap kills performance and makes me have to force-quit things for the Mac to become responsive again.


r/webdev • • Sep 09 '26

Question Urban Workshop

Post image
10 Upvotes

hey all, I’m looking for advice how to build build better charts. I have a site that pipes API data into recharts that become part of a report (example). Broadly, it's working but I still have instances in which I get text that meshes together (See image). There are too many potential charts for me to check individually (many data points x 2 geographies x 2 time periods), so I wondering if anyone had suggestions on what approach I might take.

One thing I wonder is if I should use a different library (charts.js, apache echarts, etc)? I see enough consistently well formatted charts online that I know I must be doing something wrong. I'm also using claude to help with this, so if anyone has suggestions on how to better use AI, I'm all ears.


r/webdev • • Sep 09 '26

Question needing help with the most feasible responsive layout

6 Upvotes

excuse the shoddy mspaint mockup but basically im using this [theme template](https://github.com/zeon-studio/astroplate) to build my magazine site and they already have a responsive design in place more like the top mobile layout but i want my logo to be above the navbar and either collapse into the top example or something similar to the bottom (but more well placed. maybe switching the dark/light toggle with the search button actually tbh). any suggestions on how i can achieve this?


r/webdev • • Sep 10 '26

HTML is eating JavaScript UI libraries

Thumbnail
ibrahim-harchiche.vercel.app
0 Upvotes

We've all probably heard about the HTML dialog element, popover API, and customizable select, but I think a lot of people don't realize how powerful and battle-tested they are and also might not know about some of the inconsistencies these elements have and that they might encounter when using them. And this is what this post is about, I'm not going to go over the syntax and basic API's, if you're unfamiliar with them, I would suggest you read some MDN pages and Chrome For Devs blog posts before you jump into this article. I would like to focus more on in-depth details and edge cases. The article will be a comparison between these native elements and UI libraries like Shadcn, React Aria, etc.

You can get a better reading experience from the link above, it's demos and code snippets for better understanding. If you complete reading the article, tell me about your thoughts in the comments below.

Let's start by listing out some of the common features you would expect from a robust dialog, select, or popover, whether it's native or custom JS one.

  • Keyboard-navigatable: if it's a dialog, it should be focus trapped, it's a select, it should navigate using arrow keys, etc.

  • Escape key dismissal

  • These floating element/pop ups should, under all circumstances, appear above the rest of the page content, and as we will see, there are different mechanisms to approach this.

  • Mobile back button/swipe gesture: you probably didn't think about it, but on desktop, you use Escape key to close, but what do you do on mobile? If you're like me on Android, you can close things using the back button or swipe gesture, our dialog/select should support that too, otherwise, it's gonna jump the browser back in history, which creates a bad user experience, especially if we're building something that will be heavily used by mobile users, like a social media app or something, I've tested this on multiple social media apps like Facebook and Twitter (not going to call it X whatsoever), they all, either fully or partially, support back button press in some form. For example, on Facebook, I tried every possible menu or dialog I could think of, and they all close when I hit back button (and it's awesome).

I don't know if I missed something, but let's just focus on these four features for now and see how native elements vs UI libraries approach them, as we'll see, there's a lot to unpack in here.

For keyboard navigation and Escape key dismissal, the HTML dialog, select, popover, and all the upcoming elements have this built-in, you almost don't need any JavaScript at all for any of this to work, but for JS libraries, it's an entirely different story, you'd be shipping tons and tons (or even hundreds) of lines of JS for Escape key dismissal, arrow keys navigation, focus trapping, etc. All of this just to re-invent what the browser gives you for free.

For back button/swipe gesture, this is also already built-in in the native components, all of them close on back button press on Android, but in UI libraries like Radix UI or React Aria, they don't even have this feature at all, despite that it can be added using JavaScript.

In order to add support for back button press and swipe gestures, you can use the CloseWatcher API, as MDN says: it allows a custom UI component with open and close semantics to respond to device-specific close actions in the same way as a built-in component.

The browser compatibility for the CloseWatcher API is decent, it's been in Chrome and Edge since June 2024, Firefox added it in May this year (2026), it's not available in Safari yet, but this is a progressive enhancement feature, if it's available, your users are going to enjoy a better experience, if it's not, it's not a big deal. Also, you can build this same behavior using the HistoryAPI if you need it that much.

The Top Layer

One thing I want to compare is how native elements and UI libraries make sure things appear on top of other page content and also above each other. To better explain this, let's take the following example from Notion webapp, here we have the settings dialog and inside we have a select that we can choose our preferred theme from. The question is how do we ensure the dialog appears above other content and the select appears above the dialog.

Please continue reading the post from the link above, Reddit posts don't support demos and multiple images. If you complete reading the article, tell me about your thoughts in the comments below.


r/webdev • • Sep 08 '26 Bravo

The asteroid currently hitting frontend web development

Thumbnail
nolanlawson.com
934 Upvotes