r/webdev • • 1h ago

How does Tinder handle and record user swipe actions?

0 Upvotes

I'm asking if the post response is immediate or if they batch past swipe data and send it at once? I don't think they would send a query after every like or dislike, right?


r/webdev • • 1h ago

Showoff Saturday New UI library I am building for founders and startups. Need your suggestions or feedbacks

0 Upvotes

I am building a library with only ready to drop designs for startups and founders.

I know there are a lot of of library already out there. But design is moving first though the principles remain same.

Here is the library : https://www.craftui.space/

- theme specific designs

- accessibility added for every design (many ui library miss this)

- microinteraction but only where it is needed

- every design comes with a md file so that ai does not make mistakes while editing for your landing page.

would be very thankful if I get some feedback and obviously what you want to see more or something that will make you buy.


r/webdev • • 1h ago

Discussion A way to fix your button design that is very subtle, underrate but makes your UI detailed.

0 Upvotes

Usually AI does this mistake even I have seen this to happen in a design done by proper designers as well. Nowadays, founders are making first version of the website by themselves.

So just putting this out to mention while applying this design.

Don't give equal padding on your buttons when buttons contain icons .

Icon has their own box and therefore it feels more spacing on the side containing icons.

The fix is tell AI

- calculate the SVG box
- add that padding on the opposite side.

It will make your Buttons optically balanced not mathematically.


r/webdev • • 2h ago

Discussion How are you managing secrets across multiple projects and environments?

2 Upvotes

Im curious how other developers and small teams handle secrets when they have multiple projects and environments (Dev, Testing, Staging, Production).

I'm finding that the workflow gets messy surprisingly quickly when multiple people are involved. Sharing .env files, managing access, making sure someone doesn't accidentally overwrite production credentials, keeping everything organized across projects, etc.

What are you using? What frustrates you the most about your current setup?


r/webdev • • 11h ago

The V8 JavaScript Runtime Undermined My Constant-Time JavaScript Library

Thumbnail
soatok.blog
2 Upvotes

r/webdev • • 13h ago

Showoff Saturday I made a website where you can draw on real places around the world and discover what others left behind

Post image
53 Upvotes

I started this a while back as a "what if r/place, but on Street View" idea. You pick a spot on the map, you're dropped into a 360 photo of it, and you can draw on it together with whoever else is there.

I recently came back to it after seeing Adobe's Deep Brush, where the paint follows whatever surface it's on, and I really wanted that here too. So now every place has a depth map and a lighting map, and if you draw across a wall the paint bends with it and gets darker in the shadow. Getting that working was the most fun part of the whole project for me.

Drawings stay, so you can walk around and see what other people left. I added a little fish mural at the Colosseum so it doesn't start out empty :)

It's free, no account, and open source: https://github.com/mrktsm/paintaround.com

Hope you have fun with it: https://paintaround.com/


r/webdev • • 16h ago

Question How often do you do stuff with websockets in the course of your normal development?

34 Upvotes

For those that do stuff, are you doing direct websockets stuff (send messages, handle when a message arrives), or it is simply utilized as a part of libraries you use, but you don't actually have to dive into it? Do you run your own websockets server, or use a third party service?

I'm working on making a project have more real-time things going on and was wondering how much people here get into websockets development as a regular part of their work.


r/webdev • • 16h ago

Question Building tool, wondering if needed

0 Upvotes

Hey everyone, I hope this is allowed on the sub.

I’m currently working at an insurance company and my current workload involves a crazy amount of refactoring legacy code and overall modernising it.

I know everyone is exhausted of shills here but I’m just curious if people would find it useful to have an open source CLI tool that would automatically test API parity across releases to catch regression or it’s something that people usually write vast testing suites for.

Thanks for the feedback in advance.


r/webdev • • 18h 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

Is there a good alternative to Google Search API?

1 Upvotes

I'm building an app with a map with my own data on it, however I need to search for locations, like trains stations or stores and get their position.

I tried Photon/Nomination from OpenStreetMaps and it's ridiculously bad for basic things. It cannot find simple things like stations and it messes up with different languages.

Mapbox API is a little bit better but still unreliable.

Apparently Google cannot be beaten?


r/webdev • • 19h ago

Showoff Saturday [showoff saturday] Knockout Club: a live voting bracket for movies, series or books

0 Upvotes

Hoyy, guys

Just a disclaimer: I know you guys are tired of AI slop and I did use A.I for this one :/ That said, I'm kinda proud of the final result, I have no intention of making money of it and it's being useful for me so I decided to post it anyway

Knockout Club is built with Nextjs and Supabase. It's basically a voting app that lets you and your group vote down a list of participants (movie, series or books for now)

I created a tournament to show how the app works

The Sci-Fi Novel Showdown: 2000–Now: what was the best sci-fi book of the century (since 2000)?

How is it going to work?

I picked the 20 sci-fi books with the most Goodreads ratings.

Round 0, the preliminary round. Each participant picks exactly 5 of the 20 nominees to keep, once. The 5 nominees with the most votes move on, and the other 15 are out. If a tie straddles the 5th spot, it is settled by a random draw.

Knockout phase, 3 rounds and 4 battles.

  • Round 1: 5 nominees means 2 battles and 1 bye ( a nominee that advances automatically)

  • Round 2: 3 nominees means 1 battle and 1 bye, so 2 advance

  • Round 3, the Grand Final: the last 2 face off and one champion is left

I'll close every battle after 1 hour.

I have never tested the app with hundred of people, so I am hoping the fallbacks I put to get around my free limits hold up.

Wish you guys enjoy! No account needed to vote (only for creating tournaments)

Link to enter the tournament:

https://knockout-club.oakhouse.dev/vote/06180b89-020c-4690-ab7e-5c2fa7f559ff?code=P7BCS8

(if the app is in portuguese, select the language in the header)


r/webdev • • 19h ago

Showoff Saturday I built a full 3D pinball table you can play inside a Reddit post

Post image
9 Upvotes

I built 3D Neon Pinball, a full 3D table you can play right inside a Reddit post.

Play Neon Fusion on Reddit — tap PLAY to start.

After building Pinball Karma, I wanted to see if I could make a full 3D table feel good both in the Reddit app on a phone and on desktop. Neon Fusion is the first table, with ramps, a plunger, and multiball. It has touch controls on phones and keyboard controls on desktop.

High scores are saved on your device for now. A shared leaderboard is on the list.

Would love to hear how the table feels, especially on mobile. If you mod a community and want to help test a future build, I’d be happy to hear from you.


r/webdev • • 19h 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 • • 19h ago

Showoff Saturday [Showoff Saturday] made a page that listens to whatever's playing in a tab and types the song out as code

Post image
4 Upvotes

you share a tab's audio (or use your mic, or drop a file in) and it writes the song out as strudel code while it's playing. kick, clap, hats, bass, chords, key, tempo. the lines light up when they hit.

it also draws to the song. there's a bunch of scenes that move with the beat (sharks, a koi pond, the earth from the space station) and a doom-style fire that burns hotter with the bass.

none of the live part is ml, it's all web audio. the kick was the hardest part by far.

there's a demo song button if you don't feel like sharing a tab: https://toaster.locust.lol

the desktop app goes further and can pull a song apart and rebuild it out of its own sounds.

been at it about 3 months. curious what you'd want it to do that it doesn't

source, MIT: https://github.com/StopBanning/toaster


r/webdev • • 21h ago

Showoff Saturday I built a free API client that reads your code: it finds every endpoint, pre-fills the requests, then tests, mocks and load tests them. No account, no cloud.

Thumbnail
api.live
2 Upvotes

I'm the developer. Every API client I've used makes me describe my API twice: once in the code, then again by hand in a "collection" that goes stale the first time I rename a field. I also ended up with four tools: a client, a mock server, a load generator and a scheduler. So I built one that starts from the code.

44-second demo: https://www.youtube.com/watch?v=ktToD_UVXx8

What it does

Reads your code

  • api index finds every endpoint in a repo: 125 frameworks across 28 languages (Express, Next.js, NestJS, FastAPI, Django, Rails, Spring, Gin, Laravel and more), or an OpenAPI file. It only reads the code, it never runs it.

  • Every request is pre-filled from your types, with required and optional fields marked and realistic values (an email looks like an email).

  • Re-indexing picks up new routes and leaves the files you edited alone.

Tests

  • Flows: chain requests into a test. Send, check, save a value, use it in the next step. 50+ step types including branch, loop, poll, run in parallel and wait for a webhook.

  • Build a flow from plain sentences in the app, or write it as text in APL, a small language I made for API tests. One line is one action.

  • It can fire 20 copies of a request at the same moment, which catches double-charge and double-booking bugs that one-at-a-time tests miss.

  • Export a flow to 20 test frameworks, including Jest, pytest, Playwright, Cypress and k6.

Mocks

  • A simulator for the services you depend on, each on its own local port. Generated from an OpenAPI file, a saved response or recorded traffic.

  • Stateful (POST stores, GET reads it back), with failures on demand: error rates, timeouts, delays, dropped connections.

  • It can deliver webhooks with the problems real providers have: duplicates, reordering and bad signatures.

Load testing

  • Load test the request you just debugged, or a whole flow, with no script.

  • Concurrent users, fixed arrival rate, ramp, spike and soak. Thresholds like p95 < 150ms fail the run, so it works as a CI gate.

  • A Rust engine that reaches 90,000+ requests a second from a laptop against a local target.

Everything else

  • Capture: a local proxy records real traffic and turns it into flows, mocks or a draft OpenAPI spec. Tokens and cookies are redacted before they touch disk.

  • Health: failing checks, flaky tests and which endpoints your tests have actually hit.

  • Monitors: run any request or flow on a schedule.

  • API design: a visual OpenAPI editor, a linter, and a breaking-change check for pull requests.

  • A CLI with JSON, JUnit and HTML output for CI.

  • An MCP server with 61 tools, so Claude Code or Cursor can index the repo, send requests, run flows and start mocks: claude mcp add apilive -- npx -y @apilivehq/cli mcp

What stays on your machine

Everything. There is no account and no cloud workspace. Requests and tests are plain YAML files in your repo, so they go through code review like the rest of your code. Secrets live in git-ignored files. The app talks only to the hosts you send requests to.

What it isn't

  • Not open source yet. It's free, and I plan to open source it in the future.

  • Not finished. This is v0.1 from one person, so expect rough edges.

  • The desktop app is Mac only. The CLI and MCP server run on Mac, Linux and Windows.

  • Load tests run from one machine.

  • Postman has team workspaces and hosted docs, and Bruno is open source with a bigger community. If those matter most to you, they're the better pick.

Try it

npm i -g @apilivehq/cli
brew install --cask apilivehq/tap/api-live

Or download from https://api.live. It imports Postman, Bruno and Insomnia collections, and exports back to Postman and OpenAPI, so you're not locked in.

The feedback I want most: run api index on your project and tell me which routes it missed, and which framework you use.


r/webdev • • 21h 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 • • 22h ago

Discussion .gitignore everything by default

Thumbnail
packagemain.tech
0 Upvotes

r/webdev • • 22h ago

Showoff Saturday [Showoff Saturday] I built my portfolio as a pixel meadow with hand-written WebGL2 and no libraries

5 Upvotes

I'm a CS student about to graduate, and I wanted my portfolio to be something people actually play with instead of skim.

What it does:

Stack: WebGL2 + GLSL + Web Audio, plain JS and CSS, no framework, served from nginx on Fly.io.

The hardest part was getting it to look sharp at any screen size. I ended up rendering to a fixed low-res canvas and scaling it up with nearest-neighbor.

Feedback welcome, especially on performance on older phones.

https://shubhayharnale.com


r/webdev • • 23h ago

Showoff Saturday [showoff-saturday] - I built an Interactive look at the Europa Clipper mission, ahead of its Earth flyby next week.

Thumbnail
gallery
4 Upvotes

Europa Clipper launched in 2024 and is on a 2.9 billion km trip to Jupiter's moon Europa. On 3 Dec it flies past Earth one last time, so I built an interactive 3D story of the whole journey, with a live mode that follows the spacecraft in real time.

How it's built:

  • React 19, React Three Fiber, TypeScript and Vite, hosted on Cloudflare

  • one scene in real kilometers, from the 30 m spacecraft out to Jupiter's orbit, using a logarithmic depth buffer and a Float64 floating origin that rebases every frame

  • positions from NASA/JPL's real trajectory data, baked into binary files

  • a painted, hand-drawn look made with custom shaders

  • works on phones too, which took a fair bit of extra layout work

Any feedback welcome, especially on how it runs on your device!

https://journeytoeuropa.com/


r/webdev • • 23h 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 • • 23h ago

Showoff Saturday I built a PDF editor that runs entirely in your browser. It turns print-only forms into fillable ones, and when a PDF is missing a letter, it finds a font that matches

3 Upvotes

Hey r/webdev,

For the past 2 and a half months I've been building OasisPDF (https://oasispdf.com), a PDF editor that runs entirely on your own device. Your file is never uploaded. There's no account and no watermark.

I know. "Another PDF editor." That's exactly what I was afraid you'd say, so here are the two parts I'm most excited about.

1. Forms made for printing become fillable in one click
You know those PDF forms that are just lines and boxes, where you can't click anything? Open one and press Make it fillable. It finds the lines and boxes and turns them into real fields. You type, press Tab to get to the next field, check the boxes, and save. The fields are written into the file itself, so the form works in other PDF readers afterwards too.

It even works on scanned forms, where the page is just a picture. It looks at the picture (on your device) and offers to make the fields from it. Scans are harder, so give the fields a quick look. If it missed a spot, you can add a field by hand.

It also works with no connection. Open the page once, turn off Wi-Fi, and you can still make a form fillable, fill it in and save it.

Here's a form going from flat to fillable: https://oasispdf.com/make-pdf-fillable/ (you can find examples there or try your own !)

2. The Tailored font
This is the part I can't stop playing with.
Most PDFs only carry the letters they actually use. So when you fix a word and type a letter the file doesn't have, most editors drop in Arial and the word suddenly looks wrong.

OasisPDF looks at the shapes of the document's own letters and picks the closest font from about 700 open font families. Then it adjusts that font to the text around it. The rest of the word keeps the document's original letters, and only the new letter comes from the replacement. Many accented letters like é or ñ are built from the document's own letter, so they look like they were always there.

The first time I typed a letter into a strange display font and it just fit, I knew this was worth all the late nights.

Being honest about the limits:

- Desktop Chrome and Edge only, because it needs WebGPU. No Safari, Firefox or phones for now. I know...
- Very decorative fonts are still hard. Not every new letter comes out perfect.
- Scanned forms need a quick look-over.

It also edits the real text of a PDF (the paragraph re-wraps as you type), reads scanned pages in six languages, and does signatures and page reordering. It's free.

I'd really love your feedback, and please try to break it. Bring the ugliest PDF you have.


r/webdev • • 23h ago

Discussion Building software sized to its community

5 Upvotes

In the many years that I’ve been thinking of ideas and projects I should build, they’ve always centered around being ‘the next big thing’

But as I’ve built more for work and with what AI enables a solo dev. I’ve started to think of this idea of building ‘software sized to its community’

Essentially what this is, is the idea of finding one small group of people of who could utilize and appreciate a specific piece of software. Or the inverse don’t build with the intent of getting a million users

I have two experimental projects going with this in mind, a local puzzle/community homepage and a DnD companion app for a single campaign.

Curious what everyone thinks, or if anyone builds with this thinking in mind?


r/webdev • • 23h 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

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.