r/webdev • • 17h ago

GitHub Pages and 11ty?

1 Upvotes

Hey everyone,

I was able to upload my project to GitHub Pages. I added a blog element to the project, however when I press the blog link on my page it says the page isn’t found.

I’ve already added an action (a yml file) to my project. However, is there anything else I need to do to view my website with its blog or do I push it live to the actual domain for it to work? Everything works on my localhost!

I appreciate any help!

Edit: I did "npm install (@)/11ty/eleventy --save-dev" in the terminal, and it added some bits and bobs to the package.json and package-lock.json files. I pushed my live changes, and it works! If you decided to use the terminal command, make sure there are no () around the @ sign! ^_^

Edit 2, explaining why I did the terminal command: I did this because I decided to just push the changes live and not change any of my URLs. When I deployed it to Netlify, I was getting build errors. But after running that terminal command, it added what I needed for my blog to show up. My blog still doesn't show up on GitHub Pages, probably because my URL doesn't work with the subdomain URL structure. However, it works as intended for my live website.


r/webdev • • 17h ago

Showoff Saturday [Help] Trying to deploy a Django project on Railway, but I can't create a super-user or start celery tasks.

1 Upvotes

I'm trying to deploy a project of mine onto Railway for the first time, but I'm having trouble creating super-users and getting the Celery tasks to work properly. I keep getting these error messages:

Railway: Celery instances crash

Traceback (most recent call last):
  File "/app/.venv/lib/python3.14/site-packages/django/utils/connection.py", line 58, in __getitem__
    return getattr(self._connections, alias)
  File "/app/.venv/lib/python3.14/site-packages/asgiref/local.py", line 158, in __getattr__
    return getattr(storage, key)
AttributeError: '_thread._local' object has no attribute 'default'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/app/.venv/bin/celery", line 6, in <module>
    sys.exit(main())
             ~~~~^^
  File "/app/.venv/lib/python3.14/site-packages/celery/__main__.py", line 15, in main
    sys.exit(_main())
             ~~~~~^^
  File "/app/.venv/lib/python3.14/site-packages/celery/bin/celery.py", line 227, in main
    return celery(auto_envvar_prefix="CELERY")
  File "/app/.venv/lib/python3.14/site-packages/click/core.py", line 1631, in __call__
    return self.main(*args, **kwargs)
           ~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.14/site-packages/click/core.py", line 1552, in main
    rv = self.invoke(ctx)
  File "/app/.venv/lib/python3.14/site-packages/click/core.py", line 2032, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/app/.venv/lib/python3.14/site-packages/click/core.py", line 1415, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.14/site-packages/click/core.py", line 910, in invoke
    return callback(*args, **kwargs)
  File "/app/.venv/lib/python3.14/site-packages/click/decorators.py", line 34, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/app/.venv/lib/python3.14/site-packages/celery/bin/base.py", line 158, in caller
    return f(ctx, *args, **kwargs)
  File "/app/.venv/lib/python3.14/site-packages/celery/bin/beat.py", line 72, in beat
    return beat().run()
           ~~~~~~~~~~^^
  File "/app/.venv/lib/python3.14/site-packages/celery/apps/beat.py", line 82, in run
    self.init_loader()
    ~~~~~~~~~~~~~~~~^^
  File "/app/.venv/lib/python3.14/site-packages/celery/apps/beat.py", line 132, in init_loader
    self.app.loader.init_worker()
  File "/app/.venv/lib/python3.14/site-packages/celery/fixups/django.py", line 148, in django_setup
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
    django.setup()
  File "/app/.venv/lib/python3.14/site-packages/celery/loaders/base.py", line 110, in init_worker
    self.import_default_modules()
    ~~~~~~~~~~~~^^
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/app/.venv/lib/python3.14/site-packages/django/__init__.py", line 24, in setup
  File "/app/.venv/lib/python3.14/site-packages/celery/loaders/base.py", line 104, in import_default_modules
    apps.populate(settings.INSTALLED_APPS)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.14/site-packages/django/apps/registry.py", line 116, in populate
    raise response
  File "/app/.venv/lib/python3.14/site-packages/celery/utils/dispatch/signal.py", line 280, in send
    response = receiver(signal=self, sender=sender, **named)
  File "/app/.venv/lib/python3.14/site-packages/celery/fixups/django.py", line 103, in on_import_modules
    self.worker_fixup.validate_models()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/app/.venv/lib/python3.14/site-packages/celery/fixups/django.py", line 152, in validate_models
    self.django_setup()
    ~~~~~~~~~~~~~~~~~^^
    app_config.import_models()
    ~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/app/.venv/lib/python3.14/site-packages/django/apps/config.py", line 269, in import_models
    self.models_module = import_module(models_module_name)
                         ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
  File "/mise/installs/python/3.14.7/lib/python3.14/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1406, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 938, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 759, in exec_module
  File "<frozen importlib._bootstrap>", line 491, in _call_with_frames_removed
  File "/app/.venv/lib/python3.14/site-packages/django/contrib/auth/models.py", line 5, in <module>
    from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
  File "/app/.venv/lib/python3.14/site-packages/django/contrib/auth/base_user.py", line 43, in <module>
    class AbstractBaseUser(models.Model):
  File "/app/.venv/lib/python3.14/site-packages/django/utils/connection.py", line 60, in __getitem__
    if alias not in self.settings:
                    ^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.14/site-packages/django/utils/functional.py", line 47, in __get__
    ...<120 lines>...
    res = instance.__dict__[self.name] = self.func(instance)
            )
                                         ~~~~~~~~~^^^^^^^^^^
  File "/app/.venv/lib/python3.14/site-packages/django/db/models/base.py", line 145, in __new__
    new_class.add_to_class("_meta", Options(meta, app_label))
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.14/site-packages/django/db/models/base.py", line 393, in add_to_class
    value.contribute_to_class(cls, name)
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
  File "/app/.venv/lib/python3.14/site-packages/django/db/models/options.py", line 238, in contribute_to_class
    self.db_table, connection.ops.max_name_length()
                   ^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.14/site-packages/django/utils/connection.py", line 15, in __getattr__
    return getattr(self._connections[self._alias], item)
                   ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.14/site-packages/django/utils/connection.py", line 45, in settings
    self._settings = self.configure_settings(self._settings)
                     ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.14/site-packages/django/db/utils.py", line 163, in configure_settings
    conn.setdefault("ATOMIC_REQUESTS", False)
    ^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'setdefault'

Local Terminal: Super-user Creation Operation Fails

Traceback (most recent call last):
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/db/backends/base/base.py", line 279, in ensure_connection
    self.connect()
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/db/backends/base/base.py", line 256, in connect
    self.connection = self.get_new_connection(conn_params)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/db/backends/postgresql/base.py", line 333, in get_new_connection
    connection = self.Database.connect(**conn_params)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/psycopg/connection.py", line 100, in connect
    attempts = conninfo_attempts(params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/psycopg/_conninfo_attempts.py", line 55, in conninfo_attempts
    raise last_exc
psycopg.OperationalError: failed to resolve host 'postgres.railway.internal': [Errno -2] Name or service not known

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/manage.py", line 22, in <module>
    main()
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/manage.py", line 18, in main
    execute_from_command_line(sys.argv)
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
    utility.execute()
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/core/management/__init__.py", line 437, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/core/management/base.py", line 420, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/contrib/auth/management/commands/createsuperuser.py", line 90, in execute
    return super().execute(*args, **options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/core/management/base.py", line 463, in execute
    self.check_migrations()
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/core/management/base.py", line 591, in check_migrations
    executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/db/migrations/executor.py", line 18, in __init__
    self.loader = MigrationLoader(self.connection)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/db/migrations/loader.py", line 59, in __init__
    self.build_graph()
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/db/migrations/loader.py", line 288, in build_graph
    self.applied_migrations = recorder.applied_migrations()
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/db/migrations/recorder.py", line 89, in applied_migrations
    if self.has_table():
       ^^^^^^^^^^^^^^^^
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/db/migrations/recorder.py", line 63, in has_table
    with self.connection.cursor() as cursor:
         ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/db/backends/base/base.py", line 320, in cursor
    return self._cursor()
           ^^^^^^^^^^^^^^
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/db/backends/base/base.py", line 296, in _cursor
    self.ensure_connection()
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/db/backends/base/base.py", line 278, in ensure_connection
    with self.wrap_database_errors:
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/db/utils.py", line 94, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/db/backends/base/base.py", line 279, in ensure_connection
    self.connect()
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/db/backends/base/base.py", line 256, in connect
    self.connection = self.get_new_connection(conn_params)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/utils/asyncio.py", line 26, in inner
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/django/db/backends/postgresql/base.py", line 333, in get_new_connection
    connection = self.Database.connect(**conn_params)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/psycopg/connection.py", line 100, in connect
    attempts = conninfo_attempts(params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/eclair/Documents/coding/_web-dev/aenir_web/.venv-aenir_web/lib/python3.12/site-packages/psycopg/_conninfo_attempts.py", line 55, in conninfo_attempts
    raise last_exc
django.db.utils.OperationalError: failed to resolve host 'postgres.railway.internal': [Errno -2] Name or service not known

Guides Referenced

Setting Up Celery

https://docs.celeryq.dev/en/stable/django/first-steps-with-django.html

Scheduling Periodic Tasks in Celery

https://docs.celeryq.dev/en/stable/userguide/periodic-tasks.html

Deploying Django Applications onto Railway

https://railway.com/guides/django

Creating Django Superuser in Railway

https://developer.mozilla.org/en-US/docs/Learn_web_development/Extensions/Server-side/Django/Deployment#configure_a_superuser

I'm just a novice. Forgive me for my likely stupid questions.

This is my code-base, by the by: https://github.com/gchang12/aenir_web


r/webdev • • 1d ago

Discussion Our CTO asked for more hand-written code a year after sending everything through the agents

235 Upvotes

I had a ticket last week, an order export skipping rows with no error. Went looking for where we parse the payload and there are seven functions that turn a string into JSON, safeParse, parseJsonSafe, a jsonOrNull in utils and some others in the services. I asked a teammate about one of them, he thought that was my side. One of the seven is probably mine from before last year, when they told us to put everything through the agents and anything by hand needed a why field on the PR, which I filled in for a bit and then stopped writing by hand.

I asked glm-5.3 to list the JSON parse functions and what calls them, do not touch anything. It came back with a table, all seven as the same thing and a lot of call sites. The checkout one looks like it does something different on bad input, I have not worked out what depends on it. Nobody has claimed the others either. I have a branch that merges the rest but I have not touched it since Tuesday. We had a couple of outages in October, in code none of us knew that well, and at the all hands a few weeks ago the CTO said something like he would like a bit more of the code written by people again.

How are you guys keeping AI agents from duplicating half your utils folder, or is anyone else's team quietly walking back the "AI-first" mandate once the maintenance debt started piling up?


r/webdev • • 18h ago

Showoff Saturday [Showoff Saturday] Tunerva — a '90s clock radio rebuilt as a web app, and the station finder now speaks 38 languages

0 Upvotes

Tunerva — a '90s clock radio rebuilt as a web app: https://tunerva.app

Vanilla JS + Canvas, no framework. Preset banks, podcasts, a 10-band EQ and karaoke fader that process the live stream, spectrum/VU/cassette/reel-to-reel visualizers — the cassette deck simulates real tape (47.6 mm/s, pack radii from tape length, counter geared to exactly 900 at the end of a C90 side).

This week's build story is the station finder. It used to be a country list; now it's a proper directory client: a language picker covering 38 languages (English and Hindi pinned at the top, no regional variants), a country list grown from 20 to 35, and a Global Finder with country + language + genre filters — where a picked genre is actually sent to the directory server as the query, not filtered client-side afterwards. The hard part was making that feel instant on a phone: the directory mirrors are slow and flaky, so the client pins one mirror, waits, and retries http as https, with a codec-aware bitrate floor (MP3 ≥128k, AAC+ ≥64k) so dead or thin streams never reach the list.

Free, no account, runs in any browser. A native iOS version goes to the App Store this Sunday — same process, AI-built, human-verdicted on a real phone.

Feedback I'd love: pick your language or country in the Finder and tell me what it misses — a station that should be there, a genre that returns the wrong thing, or a language that reads wrong.


r/webdev • • 19h ago

Showoff Saturday Co-browsing without a screen share: streaming rrweb events over a WebRTC data channel

Post image
1 Upvotes

Hey r/webdev!

This is a live "see what the user sees" view for support. The user asks for help from the page they are on, someone from support joins, sees the page live, can point at things, take control after the user clicks Allow, and talk over audio or video. The GIF shows it with two real browsers.

A few things that were fun to figure out:

It's a DOM mirror, not video. rrweb already records the page as DOM events for session replay. Instead of streaming pixels, the live view sends those same events over a WebRTC data channel and replays them in the support person's browser, about 300 ms behind. Since it is the same masked stream, a masked input shows asterisks on their side too. rrweb does the heavy lifting here, and OpenReplay's Assist was the model for the idea.

Signaling with plain HTTP polling. Two peers only swap a handful of SDP offer/answer and ICE messages, so short polling was enough and no websocket server is needed. It runs only while someone is waiting or a call is open.

Hidden tabs throttle timers. Chrome slows timers in a background tab, so the server thought the visitor had left. Running the poll in a Web Worker fixed it, since worker timers aren't throttled the same way.

Remote control has honest limits. The helper's clicks and typing arrive as synthetic events, so anything that needs a real user gesture (popups, file pickers, clipboard) is refused by the browser, and that's fine. Password fields are never filled, and Escape gives control back.

The calls are their own package. Audio, video and screen share come from Holler, which does peer-to-peer calls between the users of a Laravel app, one on one or in small groups. The media goes browser to browser, and the server only relays the signaling over the same HTTP polling. A call survives a page load and reconnects in seconds. It uses a free public STUN server by default, and you can add your own TURN relay with credentials that expire per call. It works without the live view too: a call button next to any user.

The backend is Laravel, the recorder also ships as an npm package for standalone Vue/React frontends. Both are free and MIT:

Happy to go deeper on any of it: the data channel protocol (big messages go in 64 KB parts, pointer samples are dropped first when it falls behind), the masking, how control carries across page loads, or the calls.


r/webdev • • 19h ago

Showoff Saturday [Showoff Saturday] I built a photobooth you control with hand gestures in the browser: pinch to take the photo, then solve it as a puzzle

1 Upvotes

Live: https://pinchpop.pages.dev (free, no account needed)

Frame a shot with your index fingers, pinch to snap it, then solve the photo

as a 3×3 puzzle by pointing and pinching to swap pieces. You get a polaroid

and a video of your run at the end.

Hand tracking is MediaPipe running in the browser, so video never leaves your

device. Built with React, TypeScript, Supabase and Cloudflare Pages.

Works best on laptop Chrome/Edge with a webcam. Does the pinch feel reliable

for you? That's the part I'm still tuning.


r/webdev • • 11h ago

Showoff Saturday I built Backlot because my content was all over the place.

0 Upvotes

I create content for YouTube, Instagram, and TikTok, and one thing I’ve always struggled with is keeping everything organized. Ideas end up in my Notes app, videos and thumbnails sit in different folders, and captions or hashtags are usually saved somewhere else. I’ve tried a few tools, but none really fit the way I create content.

So I built Backlot to keep that in one place. Ideas, posts, files, and captions live with the channel they belong to. Slate is the part that knows what you’ve already saved, so you can ask for a caption, hashtags, or what to make next without re-explaining your work.

It’s live at https://getbacklot.app. I’d love to hear what you think, especially if you create content yourself. What would you change or want added?


r/webdev • • 19h ago

Showoff Saturday MeshShears: A free, MIT-licensed browser tool to cut 3D models into pieces by painting.

1 Upvotes

I tried a lot of different options to get held/worn props for my makehuman bodies. Having my agent make them lacked the quality i am after, generating them by themselves gave me props that don't fit right so I tried cutting them out. It worked, but not easily so I built this, a free browser tool that cuts a 3D model into separate pieces by painting it. You paint each part a colour, preview the cut, and export one GLB file per piece.

* GitHub (MIT licence): https://github.com/khelevaster-ship-it/Meshshears

* Live browser tool: https://khelevaster-ship-it.github.io/Meshshears/

* Hugging Face Space: https://huggingface.co/spaces/Khelevaster/Meshshears

How it works

100% client-side: Everything runs locally in your browser, and you can also open the tool offline.

Supported formats: Opens GLB, glTF, OBJ, FBX, STL, and PLY.

Painting tools: Brush, fill, lasso, eraser, a wall tool that fill won't cross, and a clone brush.

In browser piece finder: Renders the model from 40 angles and runs Meta's SAM 2.1 model locally with ONNX Runtime Web to suggest pieces, paired with a size slider and manual split/join controls.

Device support: Saves in the browser or to a file, with touch support, keyboard camera keys, and phone/tablet file picking in the import buttons.

Honest limits

Handles models up to about 4 million triangles (bigger needs a good graphics card).

STL and PLY open grey (no texture).

USDZ and `.blend` files must be exported to GLB first.

Draco compression works; Meshopt and KTX2 compressed files don't open yet.

Separate texture files must be opened together with the model.

Yhe automatic piece finder takes several minutes and isn't always dependable on noisy textures yet.

Chrome and Edge are fastest; Firefox works.

Full disclosure: MeshShears is AI-made (I'm not a programmer and built this with AI help). Feedback, bug reports, and tips on pairing SAM with 3D meshes are welcome.


r/webdev • • 19h ago

Showoff Saturday [Showoff Saturday] A static card comparison site with client-side filtering

1 Upvotes

I built a card comparison site as a single static site on Netlify. No backend, no database, no framework. All filtering runs client side across 30 cards: reward type, no annual fee, no foreign transaction fee, welcome bonus. Points cards show travel value and cash-out value in dollars. All images are embedded as data URIs, so no external image requests, but the page is close to six megabytes. I'm not a coder. I had the idea and used Muse to help build it. The hard part was verifying every bonus and rate by hand against the issuer's own page. The site is pistohub.com. Happy to hear what you'd do differently, especially on the page weight.


r/webdev • • 19h ago

Showoff Saturday [Showoff Saturday] Built a self-hosted multi-user Discord Rich Presence web dashboard with Express, raw WebSockets, and vanilla JS

1 Upvotes

I've been tinkering with a self-hosted web dashboard called Cloud RPC and just cleaned it up to put on GitHub under MIT. Most 24/7 Discord Rich Presence tools ask you to paste your raw account token, so I wanted to see if I could build a multi-user web app that stays completely tokenless by using Discord's OAuth2 flow (identify + sdk.social_layer_presence) instead.

On the backend, it's Node.js with Express and ws. Each logged-in user gets their own long-lived Gateway WebSocket session managed in memory, with proactive OAuth2 token refreshes and automatic recovery if Discord drops the session (4004/401). Custom image URLs are proxied through Discord's external-assets endpoint behind a small LRU cache so it doesn't spam requests. It also handles platform identification via Gateway op: 2 and live presence updates via op: 3.

For the frontend, I deliberately skipped React and any build step and wrote it in plain HTML, CSS, and vanilla JS. It has a live Discord profile preview that updates as you type, preset saving, a basic rotation/sleep scheduler (with a 20s rate-limit floor), a local searchable cache of Discord's games list, and full English/Arabic support with RTL layout switching. I also spent some time locking down the auth flow and tightening the CSP headers since it's meant to be self-hosted for multiple users.

Repo: https://github.com/Mohammask/cloud-rpc

I'm mostly curious how folks here would structure or scale the per-user WebSocket lifecycle in Node, or if anything in bot.js around the auth/CSP setup looks sketchy and worth tightening up.


r/webdev • • 20h ago

Showoff Saturday [Showoff Saturday] An 8-player co-op voxel game that renders with WebGPU from a web worker, on Rust compiled to WebAssembly

0 Upvotes

Hello!

Far Worlds is a co-op game in a voxel world that runs in a browser tab. You start at an old camp, head out on expeditions to worlds you've never seen, and bring what you find back to rebuild the camp. Up to 8 players fit in a party, and friends join from one link.

How it's built:

  • The renderer is Rust on wgpu, compiled to WebAssembly. It runs in a web worker and draws with WebGPU.
  • Terrain meshing, lighting and physics are Rust as well, each compiled to WebAssembly.
  • The game logic is TypeScript.

It runs in Chrome, Brave or Edge, with no install and no sign-up: https://farworlds.com/play

Feedback on how it runs on your machine would help a lot: load time, frame rate, anything that breaks. If something's off, your browser and GPU help me track it down.

Thanks!


r/webdev • • 1d ago

Showoff Saturday HTML-Land — A platform for everyone who wants to get into web development.

5 Upvotes

Hello everyone !

I'd like to share one of my self builded projects called HTML-Land. It’s an interactive platform to play with HTML elements. I implemented a lot of features in this project to make the platform very user friendly and for everyone who wants to get into web development. Feel free to check out the project repository here:

GitHub: https://github.com/newst4rt/HTML-Land

If you like the project, I'd appreciate a star! ⭐
It's my first React project, and I'd be happy to receive any feedback, suggestions, or constructive criticism.

Thank you! <3


r/webdev • • 20h ago

Showoff Saturday I ran 4,096 colors through my palette engine. The worst text contrast was 4.501:1

0 Upvotes

Start with the part that needs nothing installed: https://taisho.design/en/tailwind-palette

Type a brand color and the page gives you ten steps for light mode and ten for dark, each with the text color that goes on top. You can copy it as a Tailwind 4 @theme (light by default, dark as an option), as plain CSS variables or as JSON. No sign-up, and you don't need my system to use any of it.

The engine already computed these scales for my own design system, so the page just hands that step to anyone on Tailwind.

Every step of a scale has a target contrast ratio against the background, and the generator finds the color that hits it. I ran all 4,096 three-digit hex values through it, #000 to #fff, in light and dark mode, 81,920 steps in all. Text on a step never dropped below 4.5:1; the worst was 4.501.

The cost is that in roughly 1 in 12 scales your color lands somewhere it can't reach AA both ways, with text on top and against the background. When that happens it gets moved to the nearest spot that does, and the page shows the ratios before and after. The other 92% stay exactly as you typed them. If you'd rather keep the exact color anyway, there's an "Exact" option.

The system behind it is TaishoDS Core: 56 components you write as classes on plain HTML, no framework underneath, MIT. I haven't put any of them through a real screen reader yet.

The rule I built it around is that quality has to come from the system, because I don't trust discipline, mine included. I build with AI coding agents and the same applies to them: if a test can catch it, it shouldn't depend on anyone remembering.

Source: https://github.com/taishoDS/core

If your brand color breaks it, tell me which hex.


r/webdev • • 17h ago

Showoff Saturday [Showoff Saturday] - I built bantr.live a real-time chat and forum of sorts

Thumbnail
gallery
0 Upvotes

Hello all,

I built bantr.live, a real-time chat and forum. You can post videos, images, or plain text in the forum alongside standard social features, or jump into global chats, direct messages, and peer-to-peer chats organized around different interest groups.

Right now, the web version is just the live chat until I free up more time, while the iOS and Android apps have the full feature set. Since it's brand new (around 50 users so far), it's kinda still a ghost town but starting to get people to post. I would love any feedback or if you have questions on how it works let me know!


r/webdev • • 21h ago

Showoff Saturday [Showoff Saturday] How I fit a 3D game into 1KB of JavaScript

Thumbnail
youtube.com
1 Upvotes

Skydreams is my endless 3D arcade game that won first place in JS1024 2026. The whole game is only 1019 bytes of JavaScript. No WebGL or libraries, just the 2D canvas.

I made a video that builds it up step by step: the 3D projection, the curving road, the track generator, the physics, and the tricks it took to pack it under 1KB. Hope you enjoy, thanks!

🕹️ Play Skydreams: https://killedbyapixel.github.io/TinyCode/1K/Skydreams/
💾 More size code experiments: https://github.com/KilledByAPixel/TinyCode
🏆 Official entry on JS1024: https://js1024.fun/demos/2026/25/bar


r/webdev • • 21h ago

Resource Built a zero-upload client-side scrubber to strip API keys, JWTs & .env secrets before pasting logs into AI chats

1 Upvotes

Got tired of manually editing OpenAI/AWS keys, Bearer JWTs, DB connection strings, and user emails out of stack traces before pasting them into AI chats.

Made a free single-page client-side tool (runs entirely in your browser, zero backend, works offline after load): https://larkandlever.github.io/tools/pii-redactor/


r/webdev • • 21h ago

Question Would this be a good product recommendation system?

1 Upvotes

Every product has a main tag. Every user has up to 4 tags sorted by interest that they will be shown in the product feed. Liking or buying a product pushes that tag further up the list. Saying do not recommend pushes it further down the list. 25 items are shown at a time. 10 of these products will be the first tag, 5 the second, 3 the third, 2 the fourth, and 5 will be random. If a random item is liked or bought and it has a different tag than inside the list the last tag will be replaced. Do you think this is a good, simple recommendation system? Could it be improved without becoming more complex?


r/webdev • • 1d ago

Resource Easy IGCSE: 224 interactive 3D diagrams drawn on a 2D canvas, no WebGL

Post image
0 Upvotes

I'm a Year 11 student and built Easy IGCSE, a free revision site for my exams. The part I'm proudest of is the 3D: a heart you can cut open, crystal lattices you can spin, and a lab bench with 109 practicals. None of it uses WebGL or three.js.

How it works:

  • one ~700-line engine on a plain 2D canvas
  • painter's algorithm, with big faces split into smaller ones so they sort correctly
  • spheres are cached gradient sprites, not polygons
  • it only draws while something moves, so nothing runs when you're just reading

The site is Astro, fully static, on Vercel. No accounts, no ads.

https://easyigcse.com

How does the 3D run on your machine? Any stutter on older laptops?


r/webdev • • 13h ago

[Showoff Saturday] I built a live American football league where all 24 teams are coached by AI. Would love feedback on the UX

Thumbnail
gallery
0 Upvotes

Hey r/webdev,

Snapline is a free browser game I've been building: 24 teams coached by AI agents play a full American football season every week, and every game is shown live, snap by snap.

Stack, for the curious:

- Backend: Python / FastAPI + SQLite, hosted on Railway

- The week's games are simulated ahead by a Python engine in GitHub Actions (~16 min, too heavy for the host), then revealed play by play on a shared clock

- Frontend: one page, no framework, with the field drawn on a canvas

- Web Push for game reminders

What's in the GIFs:

  1. A live game, with the AI coach's 4th-down decision and the win probability of each option
  2. Standings and player rankings, updated after each game
  3. Tracking stats (completion over expected, pass charts) and a player card
  4. Teams and badges

Feedback I'm looking for:

- Is the first screen clear if you know nothing about it?

- Does it feel fast on your device (especially mobile)?

- Anything confusing in the navigation or the stats tables?

Try it (no sign-up to watch): snapline.live

Happy to answer questions about the sim or the live sync.


r/webdev • • 14h ago

Disabled JavaScript = disabled pay wall

0 Upvotes

I can't be the only person who checks if simply disabling JavaScript on a news website removes the pay wall?

Some websites are smarter, they don't load the whole article in the .html, but lots do. Bonus, on major UK news website this also removes ads - so zero revenue streams for my visit.

If this is the main way your business makes its money then it's not great. If you're building anything like this and you have this loop hole, please fix it, it makes all use software people look like amateurs, smh


r/webdev • • 21h ago

Showoff Saturday [Showoff Saturday] Booking slots without a backend: a barber site that sends the request to WhatsApp

0 Upvotes

Problem I wanted to solve: small barber shops lose bookings while their hands are busy, and they don't want to pay for booking software.

How it works, no backend at all:

- The customer picks service, barber, day and time. WhatsApp opens with the request already written, and the shop confirms when free

- Bookable times come from the opening hours plus the service length: a 50-minute cut won't offer 19:00 if the shop closes at 19:30

- Same-day slots hide anything less than 45 minutes from now, and closed days disappear from the day picker

- Tapping a row in the price list pre-selects that service in the form

Stack: vanilla HTML, CSS and JS. One variable font (Archivo), with the width axis used for headings. Self-hosted fonts and a click-to-load Google Map, so no cookie banner in the EU.

What I'd like feedback on: is four steps quick enough on a phone, or would you merge barber and service into one?

Demo: https://lovely-mooncake-ce596b.netlify.app


r/webdev • • 20h ago

Showoff Saturday [Showoff Saturday] A spending analyzer with zero backend — statements are parsed and analyzed entirely in the browser

Post image
0 Upvotes

Built a credit-card spending dashboard in Lovable (React + Vite) that parses and analyzes bank statements entirely client-side — CSV/Excel/PDF in, month / card / category / recurring-charge breakdowns out, persisted in localStorage. No bank login, nothing uploaded to a server for the analysis.

The interesting bits were the statement parsers (each bank's CSV is its own special snowflake) and keeping the 70-second demo video light on the landing page. I also checked the bundle after the recent "vibe-coded app leaked its keys" scare — no secret keys in the frontend, because there's no backend to leak from.
One honest change since I first built it: the site now asks you to create an account, first file free, before you can upload. The analysis itself still runs in your browser — no bank login, no statement data sent to a server.
Roast the mobile layout in particular — I know it needs work, and I'm deciding what to fix first.

www.walletanalysis.app


r/webdev • • 17h ago

Showoff Saturday [Showoff Saturday] update: my free "where to watch anime legally" site hit 4,000+ visitors in 10 weeks

Post image
0 Upvotes

hey! a month ago i shared my static site here that tells you which legal platform has an anime in your country

https://tsuzuki-anime.github.io/en/

quick update since then:

- 4,200+ visitors, from 100+ countries

- went from ~20 visits a day to ~100 a day

- most visitors now come from bing and chatgpt, not reddit

- added a smart 404 page: if an anime changes its english title, old links now redirect to the new page instead of breaking

still free, no ads, no account. the whole site rebuilds itself every day on github actions

any feedback is welcome, especially on mobile!


r/webdev • • 23h ago

Discussion How do web devs deal with pressure?

0 Upvotes

So I was thinking of doing freelance work but I feel like I couldn’t handle the pressure of the client not liking the website or getting stuck with a design, although I can deliver I feel like I’d overreact or panic trying to fix anything. Any tips?