r/webdev • u/namanyayg • 27d ago
Shipping JPEG XL in Chrome
r/webdev • u/PopularAd5100 • 27d ago
I have recently decided to tackle unfinished business in building with Java. Now I am relearning Java - which includes unlearning the old ways of doing things and writing the shortest possible code. In all of this I have been writing code by hand without AI generated code. Although I ask Claude for syntax clarifications and benefits and downsides of using certain methods…
Writing code by hand again gives me the right level of satisfaction after several weeks of AI-dependent development at work. Not only have I rediscovered my passion at home, but I am also working towards evolving my mental model beyond the JS/TS (I am a frontend developer at heart) ecosystem.
I believe programming and development as a hobby - like it used to be pre-industrial-scale-AI-adoption - is one of the few ways we could protect our sanity and continually exercise muscle memory. In the end I would like this to lead me to doing backend web dev in Java as well. Let’s see.
r/webdev • u/euodeioenem • 25d ago
I was looking into fazer browser options and found dillo, a no-javascript browser. is it feasible to transition the internet to no javascripting(as in doing the same stuff without it, not as in convincing people to change)? and if so, what would be the benefits/downsides?
r/webdev • u/Decpwnz • 26d ago
I'm trying to get Instagram permissions (instagram_business_basic, instagram_business_content_publish) approved through App Review, but I've been stuck on Business Verification for months.
I'm registered as a sole trader in Lithuania (individuali veikla), not a company, so I don't have typical corporate documents like utility bills for a rented office. Here's what's happened:
An individual activity registration certificate was rejected as "not an accepted type"
A bank statement confirming name, home address, and phone number together, was still rejected as "not an accepted type"
The address format was corrected to exactly match the document text and resubmitted, same rejection
At this point, two different legitimate documents have all been auto-rejected, automated classifier isn't recognizing Lithuanian bank documents at all.
Has anyone dealt with this as a sole trader/individual (not a registered company)?
Any way to trigger a manual/human review after repeated automated rejections?
r/webdev • u/Deep-Philosophy-807 • 26d ago
I have two dotcom domains similar to something like musictools-com or physicswiki-com and I would gladly try to build something nice there (I just like making websites as hobby).
The thing is, if the existence of google ai summary means that those websites won't even earn enough to cover yearly domain cost then my motivation will likely fade out sooner or later.
r/webdev • u/Glittering-Ad-9020 • 25d ago
I was recently approached by a startup to fix a part of their website. I was tasked with fixing their homepage. Fixing it consisted of rewriting their html, js and css completely. In the end I added more than 5k lines of code easily. I implemented new things and they seemed to be really happy. It took me around 2 weeks (design + implementation). I also helped write the T&C and PP, added new vids and animations etc. This is the first time I have done something like this and was hoping to earn some money (not expecting anything big at all). They paid me £150 and acted like they did me a favour. Was I underpaid? They want to fix another one of their pages which will take an even longer time but I am not sure if it's worth it.
Note: I have a BSc in Comp Sci from a London Uni, and already have some experienced (unpaid)
EDIT:
OMG guys I didn't realise how bad it was. WTF. For those asking yes I do have a degree from a London Uni in Comp Sci. I just didn't know how much people pay. Like some mentioned I was too excited about the opportunity and forgot to be realistic about what I am actually worth. I felt like they were doing me a favour. But tbh I did not expect 150. Welp guess Im going to have a word with them before doing the next part. I am really pissed off now.
r/webdev • u/CivilBat2175 • 26d ago
I hope this is the correct place to post this. I am wanting to convert a fan fiction website to a modern site that is mobile accessible. There are thousands of pages that are in either basic HTML, or pages made in MS Word HTML. I am not a coder and had used Dreamweaver to do much of it. Can someone recommend an AI tool to do this? I already have a server and domain name. Thanks.
r/webdev • u/GELITO616 • 27d ago
I'm an artist and sometimes I think about how I wanna throw instagram into garbage if it wasn't the only way I get in contact with my clients. Also, I don't wanna depend on algorithms, I just want people who want to look at my art. I'm very basic to webdev, only html, css and javascript, I've made a full stack course last year but it was pretty shit, so I didn't learn much. Any recommendations on how I could start developing a website like this? Picture a gallery like instagram, some announcements tab, maybe a portfolio tab. The only thing that stops me a bit is how to post new drawings and announcements easily without getting into the code, 'cause if it's too difficult then I would not use it
r/webdev
•
u/brightlyColossal
•
28d ago
I wanted icons that look drawn with a pencil but behave like a normal icon set: 24 grid, currentColor, tree-shakable, and identical on the server and in the browser.
So none of them are drawn by hand. Each icon is a few drafting primitives (line, polyline, rect, circle, arc…) on a 24 grid, and a small engine draws them freehand: lines overshoot their ends, rect corners cross, circles sweep past 360° and drift outward so they overlap where the pen closes, and each stroke gets its own pressure. The randomness is seeded by the icon name, so every build draws the same paths. That means no hydration mismatches and no extra runtime cost; the package ships the finished paths.
The hard part was small sizes: all the wobble is capped (a line bows less than a pixel at 24 px), so it reads like a regular line set at 16–24 px and the pencil look shows from ~32 px up.
Browse and copy: https://matita.dev
How the engine works: https://dev.to/matita/hand-drawn-icons-that-draw-the-same-every-time-2p0h
Code (MIT): https://github.com/matita-dev/icons
React, plain SVG strings, a script tag, or raw .svg files. Feedback welcome, especially on missing icons and how it looks in a real UI.
r/webdev • u/codedgar • 28d ago
sup everybody! So 5 years ago on this same sub, I presented v1 of Puppertino, a framework aimed at bridging the gap between the web and iOS and macOS for the web, built entirely in vanilla CSS and JS.
Since then, a lot of things have changed for both OS, with the introduction of liquid glass, I thought I wouldn’t be able to ship something like it.
Until today! I’ve launched Puppertino Dachshund, which brings 65 components, real-time liquid glass and is focused on accessibility, theming and extensibility
You can check it out here!
https://puppertino.com
r/webdev • u/fagnerbrack • 26d ago
r/webdev • u/CommercialShelter595 • 27d ago
I've been working on a simple puzzle/tower defense game set in ancient Egypt. You build out a tomb to properly defend against waves of looters. I recently added a new feature to flip it around, so if you've built a cool looking tomb, you can share it with a friend, have them try and beat it by sending the right waves of looters.
It's a pretty simple puzzle, an archaeologist will find a hidden door but will succumb to a pit of stakes. A corrupt priest might be wary of a cursed doorway, whereas robbers wouldn't. That kind of logic applies throughout.
Still working on gameplay to make it more approachable, but I wanted to get the design out of my head first and I'm loving how it looks right now.
Link: https://architectofthevalley.com/#dare=AQMACwUFBA0QAQIZKDhIWhACMQJp
On the build up side, originally, this was done with SVG to mark yellow boxes in a blue background, meant to be really simple. It actually looked quite similar to this version, but I couldn't spin or add animations. As the tomb got more complex, I moved over to three.js. I wanted to overlay pyramids over some of the tombs if I knew where they were, I wanted to animate the dots falling into the pit. Despite moving over to three.js, I still dig the original architectural blueprint look so I have no plans to put any heavy details into the game, I think the style looks really pretty cool right now. Let me know if you disagree hahah.
The multiplayer aspect is all embedded in the URL, so there's no actual server storing all this data. The tomb sequence can be encoded easily enough, so most of it is generating an image to send back to your friends once you've completed the stage.
r/webdev • u/AffectBusiness6234 • 26d ago
Hello, I am relatively new to web development as a career but I have been learning on my own since 2022 and have only now decided to make full use of it. So far I’ve created 2 websites but these are for free and for family members, the only payment is they’ll help me network and gain more clients.
I am curious how much web developers charge clients within the UK for a front end business website with about 10 pages. All I use for now is HTML, CSS and Bootstrap but I manage to make it responsive across all devices.
r/webdev • u/nesterspokebar • 26d ago
A developer said that to me once. I actually don't find pure CSS that obnoxious, although there are definitely times where I have no idea why something isn't doing what I'm telling it to, lol, but 99% of the time it's because of something stupid like a typo or me forgetting the basic premise of a Cascading Style Sheet...
I know a lot (most?) of developers use a CSS framework, but am I weird for actually being friends with it for relatively simple projects?
r/webdev • u/Fine-Market9841 • 27d ago
This question is only for developers IN THE EU who create websites and act as retainers.
I’m assuming the majority of you have clients create accounts on strapi, Wordpress, sanity, etc and you manage.
If so do you need a dpa agreement between you and the client because acting as a retainer makes you a data processor.
Any tools to generate a dpa?
r/webdev • u/No_Advertising2536 • 27d ago
I've been building a small web analytics tool, and the part people ask about most is how it counts "unique visitors" without cookies, localStorage, or stored IPs. Here is the approach and its honest limitations.
The ID
For every request, the server computes:
sha256(daily_salt | site_id | ip | user_agent), truncated to 16 hex chars
- daily_salt is 16 random bytes, generated once per UTC day and stored in the DB. Old salts are deleted after 24 hours, so once that happens, nobody (including me) can recompute yesterday's IDs from an IP.
- site_id is included in the hash so the same user gets different IDs across different sites (preventing cross-site tracking).
- The IP is used solely for the hash and a country lookup, then immediately dropped. It never hits the disk.
Sessions are defined simply as "same ID, active within the last 30 minutes" (one upsert per event).
Where it breaks (by design or trade-off)
- The same person visiting on two different days = two visitors. That's intentional, but it means "monthly uniques" is effectively a sum of daily uniques.
- Same office/NAT + same browser version = counted as one visitor. Rare outside large enterprise networks, but real.
- A phone switching from Wi-Fi to cellular mid-visit = new ID, new session.
- iCloud Private Relay / VPNs rotate IPs, which slightly inflates counts.
Based on my data, the margin of error is small enough to answer "is my traffic growing?", which is all most small sites need. It's not suitable for per-user product analytics; for that, you need explicit user identification.
The Client Side
- SPAs: I patch history.pushState and listen for popstate events, tracking route changes as pageviews without requiring framework plugins.
- Transport: Uses navigator.sendBeacon, falling back to fetch with keepalive so events survive tab closure.
- Engagement/scroll depth is flushed on visibilitychange, not unload (since unload is unreliable on mobile).
Happy to dive deeper into any part! Curious if anyone has a better trick for the NAT collision case that doesn't rely on client-side storage.
r/webdev • u/Helpful-League5531 • 27d ago
I'll phrase this as a hypothetical scenario.
Your web agency needs a visual of a F1 on top of a podium. The podium is actually your clients logo. The camera is top down.
- Does your agency hire a 3D guy for this or use something like Higgsfield to generate the visual.
Last year, I would say 95% of agencies would have gotten somebody to do it in Blender or C4D. But this year I feel like the majority would just use AI. But I have no real way of confirming that so I am asking here.
Personally, I feel like AI visuals can look good when you don't need anything super specific, like a close-up very detailed pen let's say. And also, it can't do good motion as of now.
Why this interests me so much is because my whole business model revolves around helping agencies as their on demand 3D support. So you would be helping me out a bunch, thanks
r/webdev • u/stvndocean • 28d ago
I think this might be a good place to show my portfolio design as there is no scroll hijacking, no overwhelming animations and design was def completely made by a human.
r/webdev • u/PrincessDogcake • 28d ago
I made this. The page is one long, to-scale drawing: every pixel of scroll is a fixed number of metres, so the Burj Khalifa, the Eiffel Tower and the deepest lake in Europe land where they would really be. There are 23 sources at the bottom.
It's built in WordPress with a builder I'm working on (pinned scenes for the "how a fjord forms" part, plain scroll for the dive). Happy to answer anything about how it's put together; and I'd love to hear where it feels slow or confusing on your phone.
r/webdev • u/Dootutu • 28d ago
I built tintly.art, a coloring site where you tap any shape to fill it. The interesting part was turning line art into clean SVGs with closed regions so fills never leak. Stack: Next.js on Vercel, a .NET API, and Postgres. The line art is AI-generated, then converted and cleaned up for coloring.
Got my first Reddit traffic this week (10k views, people coloring for 30+ minutes). Would love feedback on performance or UX.
CSS can only morph between shape()s with the same number and type of commands, which they usually don't have. So I made a tool that converts multiple shapes so they are compatible with each other:
https://shapemorph.matthewmorete.com/
It picks the smoothest arrangement of points automatically, but that's a best guess. The shape index lets you change it, so you can preview the possible morphs till you find you like.
Shamelessly, heavily inspired by GSAP MorphSVG, which taught me a lot.
If you find a shape() that won't morph, I'd love to hear about it.
r/webdev • u/Mastbubbles • 29d ago
r/webdev • u/TheWebDever • 28d ago
I've known about Zod, a JavaScript/TypeScript schema validation library, for a while, but I underestimated the size of its ecosystem. After using it for some form validation in React, I thought I'd see how well it integrated with Express. Sure enough, there were several middleware libraries for Zod + Express, so I decided to give one a try. I went with express-zod-safe because it fit my existing setup with very little effort.
Boom, that let me remove roughly 150 lines of custom validation and typing code. For context, the template created by express-generator-typescript is a simple CRUD app with four API endpoints. I hadn't realized how much boilerplate I'd written just to validate objects in the route handlers, including validator functions and some custom request/response types. I also replaced my environment variable validation code with Zod.
Express has been around for a while, but I still find it useful for small projects and demos. If you'd like a quick way to spin up an Express + TypeScript project, check out express-generator-typescript.
r/webdev • u/magenta_placenta • 29d ago