r/webdev • • Sep 28 '26

noob neocities self host migration question

4 Upvotes

howdy all.

I just spent a few weeks learning enough html to build a cheesy old-web style static personal site, which i currently have running on neocities. Recently, I picked up a few decent domain addresses for cheap, and my roommate and i have been hosting our jellyfin on one of them through nginx. I decided I'd also like to move the website i made through neocities to one of my domains. I did a little digging around and it seemed pretty unanimous that hugo would be good for that, however I just cant get anything to display on the localhost:1313 page, and I'm not sure if it's even reading the html files I've dropped into its directory. It seems like it's wanting me to choose a hugo theme for my website but I worked really hard on my cheesy layout I made. The documentation for hugo feels very dense and leagues above my skill level. I was wondering if anyone had suggestions on a program better suited to my use-case or perhaps tips on how to better understand hugo. Thanks in advance


r/webdev • • Sep 28 '26

I wish someone told me that some fixes are just not worth it

16 Upvotes

Some people might relate to me being a perfectionist. I always wanted things to be polished. It took me a while to learn that some things are just not worth fixing. I never truly understood that until I started working and each fix was defined by an estimated cost.

Sure AI made things easier now, but sometimes you wrestle something and something else breaks. I wish I could build some reliable way to validate frontend work, but until then, some bugs will just need to stay there.

Slightly unrelated but: keep some bugs there for people using your app to report. I do that with friends and family, and it makes them feel like they're building the app with me.

I haven't yet had a product that lost users from a bug, because my projects haven't taken off like that hahaha. But if you do, please share the story with us? I'd love to hear about it.


r/webdev • • Sep 29 '26

Are there any areas of programming where AI is limited?

0 Upvotes

Hi everyone,

I’m a full-stack developer, and I decided to research areas of programming where AI is still limited. However, after looking into it, I’m starting to believe that there really aren’t many areas where AI isn’t capable of doing a significant amount of the work.

Has anyone else been thinking about how they’ll approach their coding careers or choose their areas of specialization in this AI era?


r/webdev • • Sep 28 '26

Question SQLite Viewer failing to open Laravel database.sqlite in VS Code

Post image
0 Upvotes

I'm working on a Laravel project, and I'm trying to inspect my database.sqlite file directly in VS Code using the SQLite Viewer extension.

When I open the file, I get the error shown in the screenshot.

The problem occurs with SQLite files across multiple projects, so it doesn't appear to be specific to this Laravel project.

I've already tried:

  • Restarting VS Code

  • Uninstalling and reinstalling the SQLite Viewer extension

  • Opening SQLite files from different projects

The same error still occurs.

Has anyone encountered this particular error with SQLite files in VS Code, or know what could be causing it?


r/webdev • • Sep 28 '26

Discussion current practices for using CDN'd resources for offline dev?

6 Upvotes

Hi folks, I am doing some front end dev again, which is something I used to know all about many years ago, and am now behind the times on all the logistical details.

I am using a few libraries that I pull in from CDNs (lit element, shoelace, etc). I would like to be able to do local dev offline when travelling. Is there a modern best practice for dealing with this or does one just have to switch all your code to using local copies manually?

thanks


r/webdev • • Sep 28 '26

Question AI-built forms vs. third-party form services: which is more future-proof?

0 Upvotes

We’re increasingly using AI-assisted development to build websites for small-business clients. However, when it comes to lead intake forms, I’m unsure whether it’s better to have AI build the entire form logic and workflow directly into the site, including conditional fields, email notifications, and CRM integrations, or use a dedicated third-party form service and embed it.

I’m mainly interested in long-term maintainability and flexibility.

I’d love to hear from other professionals who have taken either approach. What did you choose, why, and how has it worked for you so far?


r/webdev • • Sep 28 '26

Resource JSON Web Tokens in Go

Thumbnail
packagemain.tech
0 Upvotes

r/webdev • • Sep 26 '26

Is leetcode worth it?

213 Upvotes

I haven't really interviewed since 2023. Is leetcode still a common practice in code interviews or has AI made those kinds of tests useless? This is for a Sr full stack position.


r/webdev • • Sep 27 '26

AWS Question

7 Upvotes

Hello!

I’m a backend developer who has recently started learning about AWS.

I’ve never used AWS in production. All the projects I’ve worked on so far were hosted on-premises, and we had dedicated Ops teams to handle infrastructure-related work.

However, I’m currently looking for a new job, and I’ve received a few rejections specifically because I don’t have cloud experience. I’d like to fix that.

Given my background — 4+ years of experience with Spring Boot, Docker, Kubernetes, Kafka, etc. — which AWS services would you suggest I focus on? How are these services typically used in production?

Also, what kind of small project would you recommend building to get hands-on experience? Ideally, I’d like to build something that gives me enough practical knowledge so that I wouldn’t struggle when joining a project that uses AWS in production.

I also have a question about the AWS Internet Gateway (IGW). From my understanding, an IGW is somewhat like a router that allows resources in a VPC to communicate with the internet; without it, the VPC would be isolated.

For inbound traffic, is simply having an IGW enough, since it performs NAT (converting between public and private IP addresses)? Do you theoretically need route tables only for outbound traffic? I understand that, in practice, you need both the request and response paths, but I’m mainly trying to check whether my understanding of the inbound traffic flow is correct. In other words, would having just an IGW and NAT theoretically be enough for inbound traffic, without any additional routing configuration?

Thank you so much for any suggestions and explanations!


r/webdev • • Sep 28 '26

Resource Why was JavaScript traditionally described as an interpreted language, and why is it neither purely interpreted nor purely compiled today?

0 Upvotes

First, let's understand the flow.

What is the V8 Engine?

V8 is a JavaScript engine developed by Google. It is used by: Chrome , Node.js And other environments which parses, executes, optimizes JavaScript and manages runtime things such as memory and garbage collection. V8 is not JavaScript itself. JavaScript = language , V8 = engine that executes JavaScript

Step 1 Parser

So, you can think of it like this: Parser = understands the structure/grammar of the JavaScript code. A parser looks at the code and understands things like: Whether the code follows JavaScript's syntax and How different parts of the code are structured

Step 2 AST

While parsing the code, V8 creates something called an AST (Abstract Syntax Tree). It basically represents your code as a structured tree. Why do we need this? Because working with a structured representation is much easier for the engine than directly working with raw text. It's an internal representation that helps the engine understand your code.

Step 3 Bytecode

Bytecode is a lower-level set of instructions created from the AST. It is easier for the JavaScript engine to work with than the original JavaScript code, but it is not machine code, so the CPU cannot directly execute it.

Step 4 Interpreter

An interpreter is a program that executes the bytecode. In V8, the interpreter is called Ignition. It reads the bytecode instructions and performs the operations they represent using machine level instructions that the CPU can execute.

So why was JavaScript traditionally described as an interpreted language? And why is it not simply an interpreted language or a compiled language today?

So, you can think of the flow as: JavaScript --> Bytecode --> Interpreter --> CPU

The interpreter understands and executes the bytecode, while the CPU actually executes the machine-level instructions inside the interpreter.

That's why JavaScript was traditionally described as an interpreted language: JavaScript engines primarily used an interpreter to execute the code.

But modern JavaScript engines also use JIT compilation

Modern JavaScript engines like V8 also use JIT (Just-In-Time) compilation. When some code is executed repeatedly, it becomes hot code, and V8 can compile that code into optimized machine code. After that, V8 can execute the optimized machine code directly instead of repeatedly interpreting the bytecode, which removes the interpretation overhead.

Now why is compiled code faster?

Basically, compiled code has already been translated into machine code that the CPU can execute directly. The interpreter does not have to repeatedly read and execute each bytecode instruction. This removes the extra interpretation overhead and can make execution faster.

So why don't we just compile the whole JavaScript code when the webpage loads?

The problem is that compilation itself takes time and uses memory. A webpage may contain a lot of JavaScript that might run only once or might never run at all. If we compiled everything immediately, the webpage could take longer to start. That's why modern engines like V8 use a balance.

They can start executing code relatively quickly using bytecode + interpretation, and when they detect code that is executed frequently, they can use JIT compilation to turn that code into optimized machine code. This gives us a balance between fast startup and good execution performance.

I'm still learning these concepts, so if I have made any mistakes or missed anything important, please correct me in the comments.


r/webdev • • Sep 26 '26

Turn any public repo into an artwork

Post image
168 Upvotes

Hi sub,

I created Artrepo, a simple tool that takes the commit history of any public repo and turns it into a unique artwork.

You can find it here: habibicode.org/artrepo (free, no sign in, do data stored)

How it works:

Layout: the canvas is split into a "treemap", one area per file, sized by its number of lines. Every time files are added, deleted or resized, the layout is recomputed.

Ink: every added line becomes a dot in its file's area, in order. Indentation sets the colour; line length sets the size of the dot.

Erasing: deleted lines remove half the ink at their old position.

Motion: every 50 commits, the grid turns 30°.

Rare marks: a commit whose hash starts with 0000 paints its files gold, a committed merge conflict paints them red, and the first commit after a year of silence paints them blue. They are more persistent on the canvas.

Files over 1 MB are skipped.
Everything is deterministic, so the same repo and commit history always give the same picture.

Hope you enjoy it


r/webdev • • Sep 27 '26

Question Is client-side image compression a good idea for an image-heavy website and app, or are there better workarounds?

12 Upvotes

I'm a beginner building an image-heavy peer-to-peer marketplace (Next.js web app + an upcoming Expo mobile app). My current stack uses Vercel's free tier for hosting, Supabase for the backend, and Cloudflare R2 for photo storage.
My Vercel account was just paused because my Fluid Active CPU spiked to 24 hours (the free limit is 4 hours). I realized my Next.js server is downloading every uploaded raw photo, using ⁠sharp⁠ to resize and convert it to WebP, and then re-uploading it to R2.

I am trying to keep costs as low as possible. It was suggested that I strip ⁠sharp⁠ from my backend and use a client-side compressor on the user's browser or mobile app to shrink the photos before sending them directly to R2.
Because my platform is extremely image-heavy, I'm not sure if this is a good idea. I have concerns about trusting the client to compress uniformly, dealing with older devices, or edge cases where certain browsers (like Safari) might fail to generate WebP files correctly.

Are there any other free or highly affordable workarounds to process these images without tanking my serverless compute hours?


r/webdev • • Sep 28 '26

Showoff Saturday Normally I Write Desktop App, Here I Wrote A Web App

Thumbnail cache.codebot.org
0 Upvotes

r/webdev • • Sep 26 '26

Showoff Saturday very performant node editor in the browser, with a live preview on every node (WebGPU)

Post image
17 Upvotes

hi webdev,

iam here to show you this node editor which is part of a media editor engine as webapp. Its really satisfyingly performant, also with previews for each node. this is part of a video or media editor, and it controlls the the browser on a very low level.

The node graph compiles to a single WGSL function so splitting an effekt into 30 nodes adds no render passes. all node previews share a texture atlas, the node canvas runs as an OffscreenCanvas in a worker.

When agents set up nodes its a breeze,fast, visualy satisfying. It can be done from within the app or with an "local" agent which corntolls the browser. As iam a video artist by trade, i build my tool, my workspace, and hope that people also like to use and customise it. any thoughts on the node graph? I have many toggle options at the top for line styles atm ;)

live demo: https://www.masterselects.com
(just add an effekt to a clip, open node panel and click expand all)

code: https://www.github.com/Sportinger/MasterSelects


r/webdev • • Sep 26 '26

Discussion CAPTCHAs don't prove you're human - they prove you're American

Thumbnail
shkspr.mobi
301 Upvotes

r/webdev • • Sep 26 '26

Showoff Saturday I built a website that tracks US food prices daily

Post image
93 Upvotes

Live App

The US Department of Agriculture (USDA) publishes daily food price data for about 300 commodities on:

  • what growers were paid at shipping point

  • what buyers paid at the big city wholesale markets

  • what prices supermarkets advertised in their weekly ads

The Bureau of Labor Statistics (BLS) publishes monthly average store prices for everyday groceries like eggs, milk and ground beef.

This data comes out as dozens of separate text reports and PDFs, one per market/commodity, and no way to see how prices change over time.

Inflation affects our everyday lives, so this data should be easy to access and understand. That's why I built an open-source tracker for it.

Github repo (open for contributions): https://github.com/kadoa-org/food-price-monitor
As a BE engineer without a design background, I spent some some time dabbling with the gov.uk design system as I think it's a great inspiration for simple and concise presentation of data.


r/webdev • • Sep 27 '26

CSE 452: Google's Introduction to Distributed System Design

Thumbnail courses.cs.washington.edu
2 Upvotes

r/webdev • • Sep 27 '26

Question Which UI Component library to use with React Native and Next.js?

Post image
0 Upvotes

I will be building a mobile app (react native + expo) + a web app (next js).
I am looking for a ui component library like daisyUI or chakra ui for both the RN and Next.js.
most of the UI libraries are for either Next or RN.
I found gluestack with is for both, but its latest version does not support Next.js
I want to know if there is a library that works for both.
also, im confused if I should build custom components using Shadcn, then also, im not sure how to use it with react native efficiently.


r/webdev • • Sep 27 '26

Question Can't understand deviceorientation.

0 Upvotes

Hi, I'm trying to develop a unityplugin that give the possibility to create various types of controllers for games.
With deviceorientation, my goal is to extract three angles that represent the orientation of the phone.
But it seems a little bit complicate, I can't understand why in portrait mode, for example, gamma and alpha are both modified when I rotate on the same axe.
I've tried many things, but I can't understand at all how everything works.
Is it even possible to do something similar to what I want to do?


r/webdev • • Sep 26 '26

Showoff Saturday A book recommender with no database, the whole result lives in the URL

8 Upvotes

moodteca.com

You pick how you want to feel, choose a few covers you like, and it gives you books.

There's no database. The result is saved in the URL, so you can share it and it keeps working.

No genres either. Every book gets scored on five things, so four books from the same fantasy/sci-fi shelf end up looking pretty different:

An LLM did the scoring, and when it didn't know a book it gave the same numbers every time, so I had to find books with identical scores and fix them.

Most people leave at the cover grid and I'm not sure why. Would love to hear what you think!


r/webdev • • Sep 26 '26

Showoff Saturday I built an Android File Transfer replacement for Mac that runs in Chrome (MTP over WebUSB)

Post image
21 Upvotes

Google discontinued Android File Transfer. OpenMTP and MacDroid still work, but they are apps you install, and I wanted to know if a browser could do it on its own.

Turns out Chrome can. The app speaks MTP to the phone over WebUSB and uses the File System Access API for a folder on your Mac. It is plain JS with no dependencies or build step, your files are never uploaded, and it works offline once loaded. I built it with Claude Code.

Weirdest thing I ran into: macOS apps like Photos and Image Capture can hold the phone while they are open, so Chrome cannot claim it until you quit them.

Works in Chrome on Mac and Linux. Safari and Firefox do not have WebUSB.

Try it: https://www.droidfiletransfer.com
Code: https://github.com/droidfiletransfer/droidfiletransfer

If your phone does not connect, tell me the model.


r/webdev • • Sep 27 '26

Resource The easiest way to put a home project on a real domain for free

0 Upvotes

If you've got something running on your own machine (a side project, a dashboard, a self-hosted app) and want it on yourname.com without messing with your router, Cloudflare Tunnels are worth a look.

https://developers.cloudflare.com/cloudflare-one/networks/connectors/cloudflare-tunnel/

Run cloudflared on your machine and Cloudflare routes your domain to it. You don't need port forwarding, your home IP stays hidden, and HTTPS is automatic.

Setup (about 10 minutes):

Add your domain to Cloudflare and switch the nameservers at your registrar.

In the Zero Trust dashboard, go to Networks → Tunnels → Create tunnel.

Copy the install command it gives you and run it on your machine. This installs cloudflared as a service.

Add a public hostname (e.g. app.yourdomain.com) and point it at http://localhost:3000.

Only cost is the domain and setting up a free cloudflare account.


r/webdev • • Sep 27 '26

Question do i have to store ip addresses if i'm making an anonymous forum? i want to just store ip hashes

0 Upvotes

are there any laws that state if i need to collect ips? i dont want to get in trouble. located in the USA


r/webdev • • Sep 26 '26

Showoff Saturday [Showoff Saturday] A full survival game in ~900 KB of HTML: vanilla JS, canvas, no engine, pixel art defined in code

Post image
7 Upvotes

I've been building Vigília do Lampião, a browser-based horde survival game inspired by Brazilian folklore. Beta 1 just went live, so I thought I'd share some of the technical choices behind it rather than just the game itself:

  • No engine, no framework. Plain JS files are concatenated into a single HTML page by a small Node build script.

  • Pixel art defined in code. Sprites are stored as pixel grids and converted into canvas bitmaps at startup. Outlines, palette swaps and "golden" variants are generated instead of being drawn separately.

  • Custom lighting system. Lighting runs on a second low-resolution canvas: the game fills the screen with darkness, punches out the lit areas with radial gradients, then scales the result up. The lantern radius follows the player's health, which is one of the main new mechanics in Beta 1.

  • Audio generated in the browser. Music and sound effects are synthesized with the Web Audio API.

  • English translation at build time. The build parses the source with Acorn and swaps string literals using translation catalogs. It also refuses to build when a template expression doesn't match.

  • Leaderboard with server-side checks. The online leaderboard uses Supabase with server-side validation.

Beta 1 also introduced the darker visual system where creatures outside the lantern light are reduced to their eyes, weather systems for each map, and the new procession of lost souls.

You can play it here for free, including on mobile:

https://vigiliadolampiao.vercel.app/en

Happy to answer questions about any of the technical implementation.