Honeypot fields still work surprisingly well
Hidden input field. Bots fill it. Humans can't see it. If filled → reject because it was a bot. No AI. Simple and effective. Catches more spam than you'd expect. What's your "too simple but effective" technique that actually works?
I made a visual grid that shows your subscriptions sized by how much they actually cost you
Built this simple tool that turns your subscriptions into a proportional treemap - bigger boxes = bigger monthly spend. Makes it pretty obvious which services are eating your budget. No signup, 100% free, data never leaves your browser Try it here: [Subscription visualizer](https://visualize.nguyenvu.dev/) Source code: [hoangvu12/subgrid](https://github.com/hoangvu12/subgrid)
Open-Source Peer-to-Peer Social Media Protocol That Anyone Can Build Apps or Clients On Top Of
Plebbit is pure peer-to-peer social media protocol, it has no central servers, no global admins, and no way shut down communities-meaning true censorship resistance. Unlike federated platforms, like lemmy and Mastodon, there are no instances or servers to rely on this project was created due to wanting to give control of communication and data back to the people. Plebbit only hosts text. Images from google and other sites can be linked/embedded in posts. . Why did development slow down? We spent a long time debugging and stabilizing IPFS-related issues that affected content reliability. These fixes were essential before building new features otherwise the protocol wouldn’t scale. How does anti-spam work? Each community chooses its own challenge: captcha, crypto ENS, SMS, email OTP, or custom rules. This keeps spam protection decentralized instead of relying on a global, platform-wide filter. We already gave a peer-to-peer alternative client called seedit https://github.com/plebbit/seedit Each community will moderate their own content and have full control over it. But there are no global admins to enforce rules. Seedit recommend SFW communities by default CSAM and NSFW Content Seedit is text-based, you cannot upload media. We did this intentionally, so if you want to post media you must post a direct link to it (the interface embeds the media automatically), a link from centralized sites like imgur and stuff, who know your IP address, take down the media immediately (the embed 404’s) and report you to authorities. Further, seedit works like torrents so your IP is already in the swarm, so you really shouldn’t use it for anything illegal or you’ll get caught. We mainly use 3 technologies, which each have several protocols and specifications: IPFS (for content-addressed, immutable content, similar to bittorrent) IPNS (for mutable content, public key addressed) Libp2p Gossipsub (for publishing content and votes p2p) it's open source, anyone can contribute or add a feature
The place I work is transitioning pretty much all web/tool development to vibe coding. How have those of you in this situation adjusted?
My work makes websites for a specific industry and is integrating AI into every workflow they possibly can in an attempt to speed up production times. We're supposed to start using Claude/ChatGPT via Windsurf for every development task, and I'm feeling very disheartened and anxious about this adjustment. I am on the team that updates and maintains the sites after they've gone live, meaning I'm going to be responsible for fixing whatever monstrosities the AI builds poop out, but with more AI lmao. I really enjoy the process of building and refining something myself, and knowing that a large piece of that is being replaced really bums me out. If your work has done something similar, how are you adjusting? Is it worse/better than you thought? I would love some tips on how to navigate this, both professionally and mentally. How do I adapt to these changes while still maintaining the parts of it that I really enjoy? As exciting as it has been to achieve the dream of becoming a professional developer, it is equally disheartening to realize that I may have joined the field at a pretty bad time and, if it comes down to it, may need to consider looking into a different job or industry that is not being treated as so easily replaceable.
I built Reddit Wrapped 2025
Try it here [https://reddit-wrapped.kadoa.com](https://reddit-wrapped.kadoa.com) This was really fun to build. Let me know what I should improve or fix :) Share your favorite creations in the comments!
A quick update on a small utility site I shared here a few months ago
I shared this here about five months ago when I first put it live, so I thought I’d post a small update. This is [**timezoneconverter.co**](http://timezoneconverter.co) It started as a simple utility after a few failed attempts at building other tools where I ran out of ideas and never shipped anything properly. This one finally took shape and I let it run. After about five months, it’s getting roughly 200 users a day, mostly from search. Over the last few months it’s seen around 1.6M impressions and approx 3.7K clicks, with most queries sitting around positions 6–8. I added basic display ads and it now pays for its own domain and hosting. It’s not big money, but it’s reached the point where it’s no longer a cost, which feels like progress.
Generate presentations from Markdown
A user on X decried the lack of a site when one can paste markdown context and effectively download a presentation. I built one: Link: [https://madslides.terraconsults.co/](https://madslides.terraconsults.co/) Github repository: [https://github.com/luigimorel/madslides](https://github.com/luigimorel/madslides)
Why RESTful needs to use the term endpoint - won't term URI not suffice?
Question as in OP subject? Just trying to gain basic, high-level understanding of REST, API. UPDATE Perhaps I should been referring to URL instead of URI when conducting the comparison against endpoint. Materials used by myself to step in into REST fundamentals however use term URI rather than URL.
I thought I typed fast until I built a real-time 1v1 typing game
I’ve always believed I was “pretty fast” at typing. Then I built a small side project where you race another person live for 30 seconds… and it humbled me hard. A few things I didn’t expect: Seeing your opponent’s cursor in real time makes you panic more than any timer Raw speed means nothing if your accuracy drops Even “human-like” bots with typos feel scarier than perfect ones I overestimated my own WPM by a lot The game is simple: synchronized 1v1 matches, honest WPM (errors actually matter), ranked + training modes. No pay-to-win, just skill (and pain). I’m not trying to sell anything — I mostly want feedback. If you try it and it roasts you, feel free to say so. Brutal honesty welcome. Link: [https://www.typelo.tech/](https://www.typelo.tech/) What surprised you the most about your own typing speed?
[Showoff Saturday] I built a "Time Machine" for stocks using Next.js and Tailwind
I downloaded 10 years of history for over 6,000 stocks to build a tool that translates "ROI" into real-world items. It compares a $1,000 investment in 2015 to the S&P 500 and tells you if you beat the market, the rank, and what you could buy with the profit today. NVIDIA: You can buy a Porsche 911. GoPro: You can't even buy a coffee. Domino's Pizza: You can buy a used Honda Civic. It's free, no ads, just a fun data project. **Try it here:** [https://stocksmachine.com](https://stocksmachine.com) **Let me know what you guys think!** **I'm open to suggestions, I want to make this thing awesome.**
Transform How You Showcase Your Mobile Websites with Demo Scope on Show Off Saturday!
Hey r/webdev community! It's *Show Off Saturday*, and I'm excited to share something that might just change how you present your mobile websites. Ever struggled to demo a mobile site with your face in the frame? Say hello to **Demo Scope**—a tool specifically designed for those of us who want to showcase mobile sites with personality and clarity. **What does Demo Scope do?** - **Facial Overlay:** Record or stream your mobile website with your face cam included. No more choosing between showing your screen OR your face. - **Touch Indicators:** Visualize every tap, swipe, and gesture so viewers can easily follow along. - **Annotation Tools:** Add drawings or text overlays to make your demos even clearer. - **Live Streaming:** Share your demos live on platforms like Twitch, YouTube, or Facebook. Whether you're a founder pitching to investors, a tutorial creator, or a streamer, Demo Scope simplifies the process so you can focus on delivering a compelling story—from your phone in under 60 seconds. **Want to give it a shot?** If you have an iOS device, [check it out here](https://demoscope.app). It's free to try. Feeling curious but unmotivated? Drop me a link and example login data, and I’d be thrilled to create a demo for you. I've been making these for /r/saasdevelopers and sharing them on my Twitch channel. But trust me, nothing beats the authentic touch of your own demo. Looking forward to seeing what you create! Let's transform your presentations and make them unforgettable.
The quest for progressive enhancement
I'm used to developping SPAs for SaaS products, and earlier this year I wanted to give SSR a try. I know, I know, SSR is not a very popular choice for interactive webapps. But I'd do anything for science. While looking for resources on the subject, I came across the topic of progressive enhancement. I didn't know then that this subject would start me on a journey _for months_, with no satisfying conclusion. Progressive enhancement is not specific to SSR, but rendering on the server surely adds to the challenge. Contrary to SPAs, a typical app rendered with SSR will be painted in the browser before JavaScript makes it interactive. This exposes a window in which the app will be unresponsive, unless it can rely on plain HTML to provide interactivity. Making your app resilient to absent JavaScript will appeal to anybody concerned with robustness. You bet I was sold on it immediately, especially after reading the following resources, which became instant classics: [Everyone has JavaScript, right?](https://www.kryogenix.org/code/browser/everyonehasjs.html), [Why availability matters](https://www.kryogenix.org/code/browser/why-availability/) and [Stumbling on the escalator](https://christianheilmann.com/2012/02/16/stumbling-on-the-escalator/). I can no longer conceive implementing an SSR application without making it functional with plain HTML. My quest has begun! Now, this all sounds good in theory. In practice, how do you do it? Because it's far from being easy, as progressive enhancement forces you into a tradeoff: to implement a resilient website, you must give up on the features that can work _only_ using JavaScript. Otherwise, the before-JavaScript experience will be broken. And with such a constraint, I struggle implementing functionality that were almost trivial to handle in SPAs. Here are a few examples: - Dropdown patterns. Until [anchor positioning](https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Anchor_positioning) becomes baseline, I feel I cannot achieve progressive enhancement here. Typical use cases: - custom "select" components - dropdown menus - Reactive forms - dynamic search inputs that display search results as you type. Even https://developer.mozilla.org and https://www.w3.org/WAI/ARIA/apg/patterns do not enable progressive enhancement on those. This is not very encouraging, as I consider them the reference for state-of-the-art web development. - interactive controls: any interaction that changes the form layout needs to be implemented as a native form submit operation. This is possible, but it constrains you to render every control as a regular button (checkboxes and radio buttons are off the table). This limits UX design options. I feel that's just the tip of the iceberg. I believe now that robustness and UX are at odds with each other, the same way security is at odds with convenience. You can't have it all, that's life. But for non-static websites, this compromise is too much to handle for me. It constrains everything you do to a degree that makes it unenjoyable. Even the best-effort approach is though. How do you guys deal with progressive enhancement in SSR apps? Is it as though for you as it is for me?
Feedback Thread
Our weekly thread is the place to solicit feedback for your creations. Requests for critiques or feedback outside of this thread are against our community guidelines. Additionally, please be sure that you're posting in good-faith. Attempting to circumvent self-promotion or commercial solicitation guidelines will result in a ban. # Feedback Requestors Please use the following format: >**URL**: > >**Purpose**: > >**Technologies Used**: > >**Feedback Requested**: *(e.g. general, usability, code review, or specific element)* > >**Comments**: Post your site along with your stack and technologies used and receive feedback from the community. Please refrain from just posting a link and instead give us a bit of a background about your creation. Feel free to request general feedback or specify feedback in a certain area like user experience, usability, design, or code review. # Feedback Providers * Please post constructive feedback. Simply saying, "That's good" or "That's bad" is useless feedback. Explain why. * Consider providing concrete feedback about the problem rather than the solution. Saying, "get rid of red buttons" doesn't explain the problem. Saying "your site's success message being red makes me think it's an error" provides the problem. From there, suggest solutions. * Be specific. Vague feedback rarely helps. * Again, focus on why. * Always be respectful # Template Markup **URL**: **Purpose**: **Technologies Used**: **Feedback Requested**: **Comments**: [**Also, join our partnered Discord!**](https://discord.gg/web)
Beginner Questions
If you're new to web design and would like to ask experienced and professional web designers a question, please post below. Before asking, please follow the etiquette below and [review our FAQ](https://www.reddit.com/r/web_design/wiki/faq) to ensure that this question has not already been answered. [Finally, consider joining our Discord community. Gain coveted roles by helping out others!](https://discord.gg/Zv3BDusVUz) # Etiquette * Remember, that questions that have **context** and are **clear and specific** generally are answered while broad, sweeping questions are generally ignored. * Be polite and consider upvoting helpful responses. * If you can answer questions, take a few minutes to help others out as you ask others to help you. [**Also, join our partnered Discord!**](https://discord.gg/web)
What is the best way to include excel/spreadsheet on a website?
Hi, I am developing a website where I already implemented a page where I can create constant numbers, basic math and I can create complicated price cards for items. For example; In order to manufacture a door, I need 10kg of glue, 2kg of MDF and x number of something. I have "Constants" area in the page where I can enter the following information; 1 kg of glue = 10 USD 1kg of MDF = 52 EUR 1 piece of something = 15 USD Then I have APIs installed that handle all currency translation. Then I have "create a product price card" area where I can use the above constants to final price for something; Single Door (1kg of glue)\*10 + 1kg of MDF\*2 + (constant or number) (choose math) ...... this goes forever. as a result it gives me the final price in whatever currency i want. and when I save this, I can see the Single Door manufacture price at a glance, and if USD/EUR changes, then i can immidiately see how much it costs today, and compare its cost over time. I am planning to add many other calculations here, but currently, only things I can use are basic four calculations. So I was wondering if its possible to somehow implement excel or spreadsheet into this process, where I can just copy paste existing coomplicated excel calculation that I have and it just gives me the output of that equation?
I enjoyed making this gachapon-themed site for our little app-builder startup
Our new website was a little labour of love and I thought it might be interesting to share briefly about what went on behind the scenes. (For context, we make a thing that turns prompts into little apps.) **Why Gachapon?** I'm a millenial who sometimes misses the early days when the world felt like a more colorful place (MSN Messenger, Blogger, Miniclip, Neopets, anyone?). And with LLMs that can code, I found myself seeing a bit of that vibrant color again, there is some inexplicable surprise from seeing a totally random app come to life like magic. While building out the website, we really wanted to communicate this joy and surprise. We went through several ideas (Pokemon cards \[1\], Gameboy cartridges \[2\]) before settling on the gachapon as a visual motif. It immediately felt tremendously apt with just the right combination of nostalgia and joy, as well as all the parallels we see with what we are building. * With gachapons, you put in some coins and turn a handle and get a capsule, which felt like a parallel to putting in an idea and getting an app in return. * Gachapons are small and tactile, which really fits the small and interactive nature of the apps we want to make. * Gachapons contain a little surprise! And just as often, a disappointment. Which again is symbolic of the nature of LLM-generated apps. \[1\] Veterans here are probably familiar with Simon Goellner's beautiful work at [https://poke-holo.simey.me/](https://poke-holo.simey.me/) \[2\] It seems like u/fourwordslash is no longer active but this was a really nice demo of what vanilla HTML and CSS can do: [https://www.reddit.com/r/web\_design/comments/6nvl8c/i\_made\_a\_3d\_game\_boy\_cartridge\_with\_just\_html\_css/](https://www.reddit.com/r/web_design/comments/6nvl8c/i_made_a_3d_game_boy_cartridge_with_just_html_css/) **Fonts!** To convey the inexplicable joy and fun, I really wanted a title font that was warm, funky, with just a touch of weird in an endearing way. And the moment I met Fraunces, I knew she was the one. If you've tried using variable fonts such as the ubiquitous Inter, you'll know most of them have usual parameters like weight, slant, and optical size. Now, Fraunces has weight and optical size, as well as two more parameters: "soft" and "wonk", which does exactly what it says on the label. Soft makes the font more huggable and wonk makes the font more wonky. Sheer genius. The folks at Undercase have all of my admiration for designing a font with such personality. I've started noticing her around more recently but if you haven't met Fraunces you should definitely go read [https://fraunces.undercase.xyz/](https://fraunces.undercase.xyz/) and [https://design.google/library/a-new-take-on-old-style-typeface](https://design.google/library/a-new-take-on-old-style-typeface). (When you do decide to design with Fraunces, note that importing from Google Fonts might not offer full customization. I believe the settings are fixed at WONK=1 and SOFT=0 and you can't override it. But you can self-host the .ttf file for full customization.) **Conveying Tactility** Despite the virtual nature of what we are making, we wanted to the website to feel tactile, which I like to think of as "interactive with physical undertones referencing the real world". For the hero image, we quickly homed in on our logo inside a gacha capsule. And because our logo has such a wide smile, we couldn't pass on the opportunity to have it look around curiously and follow the viewer's cursor or touch on the screen. The technical implementation is primarily CSS using "preserve-3d" and rotateX and rotateY transforms, which is remarkably simple given the life that it imbues into the image. Hovering over or touching the hero capsule makes it bounce with a jelly-like motion for the extra tactility. As an additional bonus, we position the capsule just slightly overlapping the title with a blur backdrop-filter. I was probably thinking of Apple's homescreen, where the displayed time can be partly obscured by objects in the lockscreen background, which lends a really nice sense of depth and physicality. Another piece of the puzzle was the gachapon handle/crank/lever. Turning the handle is the quintessential part of gachapon (it's where the "gacha" (ガチャ) in gachapon comes from). So we had to have this rotate to convey the creation of the app after a prompt was entered. I went through a few iterations before settling on one that I really wanted to grab with my hand. A last-minute addition is the capsule falling as the viewer scrolls past each example. A previous iteration had interactive stickers appearing but it felt a little out of place. And we were really missing the "pon" (ポン) in gachapon, which was the sound made by a gacha capsule dropping. This was implemented with the wonderful Matter.js library \[3\] and doesn't hurt memory too badly when it's just three fat capsules rolling around, an overall good trade-off for the unbridled joy I see when people realize they can toss the capsules. \[3\] Matter.js is a really cool library for 2D-physics and has a fantastic demo page here [https://brm.io/matter-js/demo/](https://brm.io/matter-js/demo/) **Final words** No labour of love is ever really finished, and as the creator, you will always see all the rough edges and unpolished corners in excruciating detail. The gachapon lever rotates but the lighting doesn't change. Same for the capsules that fall down, plus the perspective isn't quite right, plus sometimes the interaction bugs out. As a landing page, we should probably communicate more information about what the app really does. On mobile, the "Give it a spin!" CTA should really spin the capsule. But if it's always stuck in development hell, I would never have gotten to see how the current version made people smile. So that's good enough for now. If you've read till the end, thanks! I hope you got something out of this, whether it's a bit of joy, a new cool library/font, or just some inspiration for your next thing. And if you're up for trying it out, here's a fun little font testing app we think you might like [https://booplet.com/@alfred/RVChNdW7w/](https://booplet.com/@alfred/RVChNdW7w/)
Don't check Reddit's new "search" bar
Looking for support/code review regarding deploying a website to hostinger VPS and connecting n8n webhook for form submissions and discovery call scheduling for property management website. Using builder.io. Please send me a DM for more info. Lots of code.
I have completed the front end using builder.io. I am currently trying to setup n8n to handle my backend and host the website from my web server on hostinger. I have 1 form the user fills out then on submit the data is supposed to go to n8n via webhook and then redirect the user to the next page where they can select a date and time. Once they submit that second form the user will receive an email with a confirmation of the meeting with the Google meet link. They will have an option to reschedule or cancel with a provided reason. I will have a table in n8n that hosts the form submissions and sends me a message via discord. I am having an issue inserting the webhook I’m not sure how to put it in i think ChatGPT is messing it up a tiny bit. I am not sure how to put this on a website all the code is in my GitHub repository. I am not a developer only a script kiddie so I would really appreciate any help I can get. I am open to Google meet if that works. Thank you.
Framer vs. Webflow from a webflow user
I'm about to rebuild my graphic design portfolio that I previously made on cargo before I got a good handle on webflow with client work. I see ads for framer and designers use it all the time, is there any reason to hop over to framer instead of webflow to build? Is there more or less control?
I'm designing the Project page Hero section, is the layout okay?
Reddit's 404 page design is kinda cute and funny
Look at that small boi getting an F. Funny.
Building a toast component
What tools are necessary to build dynamic and animated websites?
Yesterday, I stumbled across SOTD. From there, I discovered sites like Igloo and Lusion, and they completely blew me away. They feel more like pieces of art than traditional websites. It made me wonder, what skills, tools, and technologies are actually required to build something on that level? I’ve heard that many of these sites are built by high-end creative or marketing agencies, but I’m curious how much effort or time an individual would theoretically need to come even remotely close. Is it something a single person could achieve, or is it only realistic for full teams? Thanks in advance, looking forward to reading your thoughts!
Freelancers / agencies- how is business looking for you these days?
2025 has definitely been slower for me. I work mostly with higher-priced / large scope projects, but it feels like competition has increased a ton. And when looking at smaller scoped projects, it feels like the bottom half of the market has fallen out completely, with people expecting extremely cheap prices and virtually unlimited options for that. Am I just looking in all the wrong places, or is this being felt across the industry?
Would it be feasible to make a website like this?
So as a side hustle I go to junkyards and pull parts for people, and they pay me the cost of the part plus labor. The large regional junkyard I go to has multiple locations near me, and they have a page on their website where you can put in your car make/model and the part you’re looking for, and it’ll show if they have any compatible parts. Would there be a way for me to make a website where they can put their car into the same menu but it just gives them the option to contact me or says the part isn’t available? Also, would there be a way for me to be notified whenever the junkyard posts new cars on their website? Thank you in advance.
Vectary vs Cadasio
Hi everyone, Did someone try Vectary and CADASIO? I have 3d STEP files and am thinking of what is easy-to-use and learn tool to use to make step-by-step assembly guides out of my 3d models. PS I have around 1000 3d models Thank you in advance.
Where to find good web design inspiration specifically for local services / trades?
So many design inspo websites focus on SaaS, e-commerce, etc. but lack in designs for local services.
What languages are most worthwhile to learn?
I'm getting into web dev and want to ultimately switch careers (from public health/epidemiology). I notice there are a lot of languages! Job descriptions are always noting "experience in \[some new language I haven't heard of\]." Examples: Ruby on Rails, Django, React, .js, Flask... Should I learn them all? How do I determine which are worth my time and which aren't?
How do you measure code coverage today?
I have been tasked at my company to do a quick evaluation of code coverage tools for internal use. Would really appreciate some real-world insights before diving deep. [View Poll](https://www.reddit.com/poll/1plfzgs)
Landing Page Evaluation
Hey guys, looking to share my webpage for inspiration and get some advice, recently just went through everything and made it to be more responsive, added animations, and improved the content to align with our mission. It was built with next.js and hosted on firebase app hosting, its super easy to do that now just buy the domain name and then you can link the repo and its deployed every push on main. Does anyone see any issues or improvements I should make? [https://thaweapp.com/](https://thaweapp.com/)
Help !!
So there this girl who messaged me to create her startup website for course selling , long story short for context , this girl is a known of my previous client for whom I developed a website for just 5k and now they have referred my name to her. We had a gmeet , discussed the requirements and now I have to quote a price but I don't have any idea what should I quote according to indian market and consumer She needs sober frontend , backend including login signup , admin and clients backend with different functions and a payment gateway, she wants me to develop , deploy , and provide after delivery service for 3 months just in case there's any bug in the website Please give me an idea how much should I quote
SystemSketcher now support sketch to diagram ?
Just want to share a small update about SystemSketcher. Since day one, the app has received about 1.4k visitors. The AI assistant has also created 162 diagrams with over 1,000 components used. This really helps me see how people use the tool and what I should improve next. I also added an auth feature so users can log in and have their own space to create and store diagrams. New things added: • Sketch to diagram (AI) • GitHub and Google login • Better canvas UX • Personal diagram space with storage You can check it out here: https://systemsketcher.com
Advice on hard-coding back end functionality (login page etc) using Node.js
Front end part of my website is 90% done. Just needs some tweaks… i’ve been shying away from back end programming… advice on this matter would be greatly appreciated🫣😄
QAs: When testing UI changes on websites, do you validate the Templates or the actual Pages?
I'm trying to figure out the best approach for testing visual changes, A11y, broken links/buttons and responsiveness. When a global component or template is updated, do you go through **all existing pages** that might be impacted, or do you just test the **template/component** in isolation? If you only test the template, **aren't you worried** about failures on the actual live pages (like broken images, alt text issues, or weird layout shifts)? I'm trying to gauge if most teams just spot-check and accept the risk, or have solutions in place to test all impacted pages.
When you audit small business websites, what are the top issues you look for before recommending a rebuild?
I have been helping a few small businesses update their sites, and I am trying to refine my own evaluation process. Most of these sites are basic CMS themes or older WordPress builds that have been patched for years. Before I recommend a full rebuild, I usually run a quick audit to see if the site is salvageable. Things I tend to check: * Whether the messaging is understandable in the first few seconds * Mobile layout issues, especially overlapping elements and scaling problems * Navigation that hides important info (hours, services, menu, pricing) * CTA placement and whether it fits the actual business flow * Basic technical health like speed, image compression, HTTPS, plugin bloat * Whether the current theme or stack is maintainable at all I am curious how other devs approach this. Do you have your own quick list of signals that tell you a rebuild is the right call? Or things you always check before deciding whether to reuse the existing setup? Not trying to pitch anything. Just want to compare notes with other people who have done similar work for smaller clients.
Do you use Postman to share and discover APIs?
As a developer who recently started using Postman and primarily uses it only to create collections and do some manual testing, I want to understand if it is also helpful for sharing/discovering internal or external APIs? [View Poll](https://www.reddit.com/poll/1pkkvtx)
I developed this project to learn JavaScript programming.
I developed this project to learn JavaScript programming This is a responsive task management application.. I supplemented the HTML and CSS in the interface and the JavaScript for all the site's logic. I'd like some feedback to see what can be improved in terms of Is this usable?. You can just take a look at the website; it's live. Here's the link to the website on GitHub Pages and the repository with its code. [https://github.com/higorfernandoeliseo/Planly](https://github.com/higorfernandoeliseo/Planly) [https://higorfernandoeliseo.github.io/Planly/](https://higorfernandoeliseo.github.io/Planly/)
Shopify: Is it possible to create a highly custom and interactive website
I am exploring the possibility of helping a potential client create a customized website meant for e-commerce using shopify. The website is suppose to feel like an optional adventure with the ability to quickly find products if needed. The explorative side of the website will be something similar to the following: [https://www.awwwards.com/sites/fantasy-1](https://www.awwwards.com/sites/fantasy-1) [https://fantasy.bnf.fr/en/understand/#history-genre#naissance-de-la-fantasy-langleterre-victorienne](https://fantasy.bnf.fr/en/understand/#history-genre#naissance-de-la-fantasy-langleterre-victorienne) \-more specifically what I am looking for. I am doing this project mostly out of excitment and passion to explore something different
Do you use Postman's Spec Hub feature to design your APIs?
I haven't figured out the best way to make use of my Postman Enterprise license and just use it to create and run collections currently. Is it also helpful to design APIs (i.e. writing OpenAPI specifications)? [View Poll](https://www.reddit.com/poll/1pk4pwn)
Are free website builders worth it for small businesses or do they hurt more than they help?
I’m trying to keep costs down while growing my small business, so naturally I checked out every free web builder I could find. Some were okay, but most ended up super restrictive once I tried adding booking, payments, or anything beyond a basic page. For anyone who has gone the free website route: Did it actually help you get online fast, or did you eventually switch to something else? Curious what pain points you hit and what you wish existed instead.
Do you use postman for generating your API documentation?
As a developer who recently started using postman and primarily uses it only to create collections and do some manual testing, I want to understand if it is also helpful for generating documentation for your APIs? [View Poll](https://www.reddit.com/poll/1pjwvmz)
how common has visual regression testing become in WordPress workflows?
Built my first WebRTC voice app - TruePulse (feedback wanted)
High school developer here. Just finished building TruePulse a voice only connection app using WebRTC. Tech stack: - Firebase (auth + realtime database) - SimplePeer (WebRTC) - Vanilla HTML/CSS/JS The challenge was getting peer to peer voice to work reliably across different devices and networks. Would love technical feedback on the implementation: [truepulse-sand.vercel.app](http://truepulse-sand.vercel.app) Open to suggestions on improving connection quality and matching algorithm.
Help understanding how to build a simple login + registration system with 3 user categories
Hack User Patience with Vue & CSS
A Former QA’s Tips for Better Performance and Preventing Layout Shifts
10 Habits That Make You a Great Programmer
How many returns should a function have
Small Developer Habits That Quietly Made Me Way Better at My Job
Hello everyone, Not talking about huge tutorials, massive courses, or rewriting everything in a new framework. Just small, boring, everyday habits that ended up being game-changers. Here are a few that genuinely improved my workflow: 1. I document everything I learn — even if it seems obvious. I have a running note called “TIL (Today I Learned)”. Every time I fix a weird bug or figure out a confusing concept, I log it. It’s saved me countless hours of Googling something twice. 2. I use tools to enforce consistency instead of debating it. Prettier + ESLint = no more arguing with myself about formatting. Just code, save, done. 3. I read documentation before watching tutorials. Tutorials are great, but the docs almost always give you the “why,” not just the “how.” Understanding the reasoning behind a feature makes you 10x stronger. 4. I write commit messages like someone else will read them. “fix stuff” “temp” “finalfinal2” These are future nightmares. Good commit messages are tiny time machines that show your past self’s thought process. 5. I clean up before I log off. Five minutes of organizing, closing tabs, deleting unused files, and writing notes about what to do tomorrow. Next-day me is always thankful. 6. I stopped forcing myself to grind when my brain is done. Sometimes walking away is more productive than coding for another hour. Your brain keeps solving problems in the background — it’s wild how often the solution appears after a break. 7. I stopped memorizing and learned how to search smarter. You don’t become a better developer by memorizing syntax. You become better by knowing what to search, why it happens, and how to debug efficiently.
Jetpack Search AI demo
🎲 Let's Create Ludo Challenge (Advanced BOT Intelligence & Seamless Turn Automation!) - PART 7 (Final Part)
After getting frustrated with bookmarking 20 different dev tool sites, I built my own hub Hey everyone,
Morphy page transition in react and nextjs with framer-motion
Morphy page transition in react and nextjs with framer-motion
A faster way to set up JWT + refresh tokens + RBAC in NestJS
Showoff Saturday (December 13, 2025)
Did you find or create something cool this week in javascript? Show us here!
Your /r/javascript recap for the week of December 01 - December 07, 2025
**Monday, December 01 - Sunday, December 07, 2025** ###Top Posts | score | comments | title & link | |--|--|--| | 738 | [89 comments](/r/javascript/comments/1pe7lds/in_1995_a_netscape_employee_wrote_a_hack_in_10/) | [In 1995, a Netscape employee wrote a hack in 10 days that now runs the Internet](http://arstechnica.com/gadgets/2025/12/in-1995-a-netscape-employee-wrote-a-hack-in-10-days-that-now-runs-the-internet)| | 205 | [80 comments](/r/javascript/comments/1pch25q/anthropic_acquires_bun_supercharging_claude_codes/) | [Anthropic Acquires Bun: Supercharging Claude Code's $1 Billion AI Coding Revolution](https://monkeys.com.co/blog/anthropic-acquires-bun-supercharging-claude-code-1-billion-ai-coding-revolution-pv3ye)| | 173 | [45 comments](/r/javascript/comments/1pdv1nr/good_news_javascript_is_30_years_old_today_sad/) | [Good news: JavaScript is 30 years old today! Sad news: Its own name still doesn't belong to it](https://javascript.tm/letter)| | 100 | [26 comments](/r/javascript/comments/1pf2q0f/the_missing_standard_library_for_multithreading/) | [The missing standard library for multithreading in JavaScript](https://github.com/W4G1/multithreading)| | 85 | [31 comments](/r/javascript/comments/1pceqa8/progress_on_typescript_7_december_2025/) | [Progress on TypeScript 7 - December 2025](https://devblogs.microsoft.com/typescript/progress-on-typescript-7-december-2025/)| | 68 | [8 comments](/r/javascript/comments/1pbid6b/first_alpha_of_oxfmt_the_rustbased/) | [First alpha of Oxfmt, the rust-based Prettier-compatible Formatter, released](https://oxc.rs/blog/2025-12-01-oxfmt-alpha.html)| | 44 | [24 comments](/r/javascript/comments/1pd8k9c/critical_vulnerabilities_in_react_and_nextjs/) | [Critical Vulnerabilities in React and Next.js: everything you need to know - A critical vulnerability has been identified in the React Server Components (RSC) "Flight" protocol, affecting the React 19 ecosystem and frameworks that implement it, most notably Next.js](https://www.wiz.io/blog/critical-vulnerability-in-react-cve-2025-55182)| | 40 | [3 comments](/r/javascript/comments/1pcfxqr/announcing_docnode_typescript_ot_library_for/) | [Announcing DocNode: TypeScript OT library for local-first apps](https://github.com/docnode/docnode)| | 29 | [7 comments](/r/javascript/comments/1pdfqc7/how_we_built_the_worlds_fastest_vin_decoder/) | [How we built the world's fastest VIN decoder](https://cardog.app/blog/corgi-vin-decoder)| | 28 | [28 comments](/r/javascript/comments/1pd2ok1/the_first_vite_8_beta_is_out/) | [The first Vite 8 Beta is out!](https://vite.dev/blog/announcing-vite8-beta)|   ###Most Commented Posts | score | comments | title & link | |--|--|--| | 16 | [23 comments](/r/javascript/comments/1pdkk1g/side_project_numpy_for_typescriptjavascript/) | [Side project: NumPy for TypeScript/JavaScript](https://www.npmjs.com/package/numpy-ts)| | 0 | [21 comments](/r/javascript/comments/1pfft75/askjs_any_americans_want_to_grind_leetcode_with/) | `[AskJS]` [AskJS] Any americans want to grind leetcode with JS for fun| | 8 | [16 comments](/r/javascript/comments/1pey204/askjs_is_the_type_annotation_proposal_dead/) | `[AskJS]` [AskJS] Is the type annotation proposal dead?| | 0 | [15 comments](/r/javascript/comments/1pf8hq7/askjs_there_is_nuxt_for_vue_next_for_react_is/) | `[AskJS]` [AskJS] There is Nuxt for Vue, Next for React. Is there no good option for Angular?| | 16 | [13 comments](/r/javascript/comments/1pgqp4z/i_built_a_fetch_client_that_types_itself/) | [I built a fetch client that types itself](https://github.com/freb97/discofetch)|   ###Top Ask JS | score | comments | title & link | |--|--|--| | 11 | [8 comments](/r/javascript/comments/1pghdk4/askjs_how_does_js_fight_memory_fragmentation/) | `[AskJS]` [AskJS] How does JS fight memory fragmentation?| | 3 | [2 comments](/r/javascript/comments/1pf2225/askjs_could_i_use_javascript_and_plotlyjs_to/) | `[AskJS]` [AskJS] Could I use Javascript and Plotly.js to effectively display interactive, customizable maps within a static webpage?| | 3 | [2 comments](/r/javascript/comments/1per65c/askjs_looking_for_feedback_on_surveyjs_what/) | `[AskJS]` [AskJS] Looking for feedback on SurveyJS. What should we focus on next?|   ###Top Comments | score | comment | |--|--| | 297 | /u/arstechnica said [Thirty years ago today, Netscape Communications and Sun Microsystems issued a joint press release announcing JavaScript, an object scripting language designed for creating interactive web applications...](/r/javascript/comments/1pe7lds/in_1995_a_netscape_employee_wrote_a_hack_in_10/nsadh0f/?context=5) | | 146 | /u/Dependent-Guitar-473 said [what do they need it for ? I don't get it ](/r/javascript/comments/1pch25q/anthropic_acquires_bun_supercharging_claude_codes/nrxkvcr/?context=5) | | 99 | /u/mauriciocap said [Very knowledgeable devs. I wouldn't call it "a hack" as any seasoned LISPer or Schemer can probably write a bare bones interpreter in a few hours. One of them had the generosity of sharing this aweso...](/r/javascript/comments/1pe7lds/in_1995_a_netscape_employee_wrote_a_hack_in_10/nsafi9a/?context=5) | | 64 | /u/programmer_farts said [RIP bun. They no longer serve the community through their goal for acquisition. They now serve the goals of the acquirer.](/r/javascript/comments/1pch25q/anthropic_acquires_bun_supercharging_claude_codes/nry7flm/?context=5) | | 61 | /u/ShotgunPayDay said [Oracle is like what Britney Spears Dad is to JavaScript.](/r/javascript/comments/1pdv1nr/good_news_javascript_is_30_years_old_today_sad/ns7warh/?context=5) |  
Two New React 19 Vulnerabilities - two important vulnerabilities in React, Next.js, and other frameworks that require immediate action (neither of these new issues allow for Remote Code Execution)
Toastflow – a headless toast notification engine with a Vue 3 renderer
Why I chose JavaScript (React Native + Expo) over Python for a production mobile app
I recently shipped an Android app and wanted to share why I went with JavaScript (React Native + Expo) instead of Python. Quick reasons: One language across UI, logic, and tooling (JS/TS) React Native performance with Hermes + new architecture is solid Expo removed most native/Gradle pain Faster iteration mattered more than theoretical performance The app is live on Google Play you can check it out if you want and its already getting organic installs and 5★ ratings, which convinced me JS is more than “just good enough” for real mobile apps. Im Curious: When would you choose Python for mobile? Anyone shipping with Kivy or similar? Happy to answer technical questions.
[AskJS] Can no longer send fetch requests after backend server restarts?
I remember a time when I could have a web page open that performs fetch requests and stop and start the server over and over and never have to refresh the page while I make all the fetch requests I wanted. Recently with Chrome I can no longer do that. After I restart the server I get "connection reset" errors until I refresh that page. Has anyone else encountered this?
[AskJS] Building a complete LLM inference engine in pure JavaScript. Looking for feedback on this educational approach
I'm working on something a bit unusual for the JS ecosystem: a from-scratch implementation of Large Language Model inference that teaches you how transformers actually work under the hood. Tech stack: Pure JavaScript (Phase 1), WebGPU (Phase 2), no ML frameworks Current status: 3/15 modules complete, working on the 4th The project teaches everything from binary file parsing to GPU compute shaders. By module 11 you'll have working text generation in the browser (slow but educational). Modules 12-15 add WebGPU acceleration for real-world speed (~30+ tokens/sec target). Each module is self-contained with code examples and exercises. Topics include: GGUF file format, BPE tokenization, matrix multiplication, attention mechanisms, KV caching, RoPE embeddings, WGSL shaders, and more. My question: Does this sound useful to the JS community? Is there interest in understanding ML/AI fundamentals through JavaScript rather than Python? Would you prefer the examples stay purely educational or also show practical patterns for production use? Also wondering if the progression (slow pure JS → fast WebGPU) makes sense pedagogically, or if I should restructure it. Any feedback appreciated!
I couldn't find a logging library that worked for my library, so I made one
How We Balanced Camera Quality and Bandwidth in Our Scren-sharing App
Turns out primes look beautiful in a grid… so I built a visualizer
BrowserPod: WebAssembly in-browser code sandboxes for Node, Python, and Rails
Announcing ReScript 12
ReScript 12 arrives with a redesigned build toolchain, a modular runtime, and a wave of ergonomic language features. New features include: - New Build System - Improved Standard Library - Operator Improvements - Dict Literals and Dict Pattern Matching - Nested Record Types - Variant Pattern Spreads - JSX Preserve Mode - Function-Level Directives - Regex Literals - Experimental let? Syntax
[AskJS] Made an App CodeLens that explains programming errors in - plain English !
Hey r/javascript ! 👋 I’ve been experimenting with a little side project called **CodeLens** — basically me trying to see if my app can explain programming languages like R, Python, C++, JavaScript, Java, math or reasoning errors in plain English that actually makes sense to beginners. Here’s a classic examples it breaks down: `numbers <-` `for i in range(len(numbers) + 1):` `print(numbers[i])` `# IndexError: list index out of range` or `Look at this series: 3, 4, 7, 8, 11, 12, . . . What` `number should come next?` `a. 7` `b. 10` `c. 14` `d. 15` My goal is to make the explanations feel more like a friendly nudge than a cryptic message. (Think: “Buddy… your loop is one step too ambitious.”) I’m mostly looking for feedback on: * Is this explanation style clear or confusing? * Whether this helps you understand why the error happened * Are the visuals (ASCII diagrams, step-by-step reasoning) helpful? * What would you improve next? If you want to try it out, I’ll drop a link in a comment. If you do test it, it would really help if you share a screenshot of how it explains one of your errors. Thanks! 😊
Props for Web Components
I've used vanilla web components without a framework for years and I love it. The only issue I had when learning web components was that the [guide](https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_custom_elements) encourages the use of the imperative API which may result in cumbersome code in terms of readability. Another way would be to use template literals to define html structures declaratively, but there are limits to what kind of data plain attributes can take in. Well, there are some frameworks solving this issue with extensive templating engines, but the engines and frameworks in general are just unpleasant for me for various reasons. All I wanted was the simplicity and type-safety of the imperative API, but in a declarative form similar to React. Therefore I started building prop APIs for my components, which map the props to appropriate properties of the element, with full type-safety. // so I got from this const icon = document.createElement('span'); icon.className = 'Icon'; icon.tabIndex = 0; // to this (inherited from HTMLSpanElement) const icon = new Span({ className: 'icon', tabIndex: 0, }); This allowed me to build complex templates with complex data types, without framework lock-in, preserving the vanilla nature of my components. I believe this approach is the missing piece of web components and would solve most of the problems some disappointed developers faced with web components so far. # Introducing HTML Props So I created this library called `html-props`, a mixin which allows you to define props for web components with ease. The props can be reflected to attributes and it uses signals for property updates. However the library is agnostic to update strategies, so it expects you to optimize the updates yourself, unless you want to rerender the whole component. I also added a set of Flutter inspired layout components so you can get into layoutting right away with zero CSS. Here's a simple example app. import { HTMLPropsMixin, prop } from '@html-props/core'; import { Div } from '@html-props/built-ins'; import { Column, Container } from '@html-props/layout'; class CounterButton extends HTMLPropsMixin(HTMLButtonElement, { is: prop('counter-button', { attribute: true }), style: { backgroundColor: '#a78bfa', color: '#13111c', border: 'none', padding: '0.5rem 1rem', borderRadius: '0.25rem', cursor: 'pointer', fontWeight: '600', }, }) {} class CounterApp extends HTMLPropsMixin(HTMLElement, { count: prop(0), }) { render() { return new Container({ padding: '2rem', content: new Column({ crossAxisAlignment: 'center', gap: '1rem', content: [ new Div({ textContent: `Count is: ${this.count}`, style: { fontSize: '1.2rem' }, }), new CounterButton({ textContent: 'Increment', onclick: () => this.count++, }), ], }), }); } } CounterButton.define('counter-button', { extends: 'button' }); CounterApp.define('counter-app'); The library is now in beta, so I'm looking for external feedback. Go ahead and visit the website, read some docs, maybe write a todo app and hit me with an issue in Github if you suspect a bug or a missing use case. ✌️ * [https://html-props.dev/](https://html-props.dev/) * [https://github.com/atzufuki/html-props](https://github.com/atzufuki/html-props)
GitHub - necdetsanli/do-not-ghost-me: Anonymous reports and stats about recruitment ghosting. Next.js + PostgreSQL, privacy-first and open source.
Do you use Shadcn CLI or Copy-Paste?
next-cool-cache: next/cache with types
While using cacheTag without types, it got out hand quickly in a large project because of the share number of cached resources I wanted to revalidate through server actions. So I created a small open source package called next-cool-cache. Resources need to be described in a nested object. And they can be updated at multiple levels. // lib/cache.ts import { createCache } from 'next-cool-cache'; // Define your cache structure const schema = { users: { list: {}, // No params needed byId: { _params: ['id'] as const }, // Requires { id: string } }, blog: { posts: { list: {}, byId: { _params: ['id'] as const }, byAuthor: { _params: ['authorId'] as const }, }, drafts: { byId: { _params: ['id'] as const }, }, }, } as const; // Define your scopes const scopes = ['admin', 'public', 'user'] as const; // Create the typed cache export const cache = createCache(schema, scopes); eg: // revalidateTag all admin resources cache.admin.revalidateTag() //revalidate all admin blog resources cache.admin.blog.revalidateTag() // revalidate all public blog resources cache.public.blog.revalidateTag() //revalidate the blog post that the user is editing cache.user.blog.posts.byId.updateTag("f") // nuke everything. next render for any of the resources // will wait for fresh resources. cache.updateTag() Please take a look here and let me know if you find it useful - [https://www.npmjs.com/package/next-cool-cache](https://www.npmjs.com/package/next-cool-cache)
TanStack Start + Better Auth - How to
I made this mainly to not forget what I do and thought it could be helpful for some people. It's my first guide, so any feedback is very welcome!
GTKX: React renderer for native GTK4 apps with hot reload, CSS-in-JS, and Testing Library support
I just wanted to share this project I've been working on over the last few months - it lets you build native GTK4 desktop applications using React and TypeScript. Here are some of the key features: * Write TSX that renders as GTK4 widgets * Vite-powered hot module reloading * Fully typed FFI bindings via Rust and libffi (no Electron, no web views) * Emotion-style CSS-in-JS for styling * Testing Library-style API for component testing * Promise-based API for dialogs Here you can find the main website: [https://eugeniodepalo.github.io/gtkx/](https://eugeniodepalo.github.io/gtkx/) And here's the repo: [https://github.com/eugeniodepalo/gtkx](https://github.com/eugeniodepalo/gtkx) Obviously it's still in its infancy so expect rough edges and a few bugs, but I'd love to get some feedback of real world usage so I can iterate further :)
Open-sourced a React PDF annotation library (highlights, notes, drawing, signatures and more)
Hi everyone 👋 I’ve been working on a PDF annotation tool for React and just open-sourced the **first public version**. Landing page: [https://react-pdf-highlighter-plus-demo.vercel.app/](https://react-pdf-highlighter-plus-demo.vercel.app/) Npm: [https://www.npmjs.com/package/react-pdf-highlighter-plus](https://www.npmjs.com/package/react-pdf-highlighter-plus) Document: [https://quocvietha08.github.io/react-pdf-highlighter-plus/docs/](https://quocvietha08.github.io/react-pdf-highlighter-plus/docs/) What it supports right now: * Text highlighting with notes * Freehand drawing on PDFs * Add signatures * Insert images * Designed to be embeddable in React apps * Export PDF * Free Hand Draw * Insert a shape like a rectangle, circle, or arrow It’s still early, but my goal is to make this a solid, flexible base for apps that need PDF interaction (learning tools, research, document review, etc.). I’d really appreciate: * Feedback from people who’ve built similar tools * Feature requests * Contributions or bug reports If this looks useful to you, feel free to try it out or contribute. Thanks for taking a look! Show [r/reactjs](https://www.reddit.com/r/reactjs/)
Anyone using Tanstack + Cloudflare?
I just opened my deployed page and it had 20 requests just opening the website. I have one API calls and the rest are from the client sides. Is there any way that I can check what are making Worker request in Tanstack or is this normal thing?
Building a Random Forest web app for churn prediction — would this actually be useful, or am I missing something?
Did anyone use antv for AI visualization application
AntV's slogan is "Liven AGI Lively", seems to be more suitable for AGI application. I really like the way they show AI insights in text within the chart. Has anyone used it and can share your thoughts? [https://antv.antgroup.com/en](https://antv.antgroup.com/en) AntV is a group of products that combine visualization through graphs, flows, tables, and geospatial data. It's very comprehensive, but the visual experience could be better.
Compilar/emulador/playground .tsx
Chimeric - an interface framework for React
Chimeric is an interface framework that aims to improve the ergonomics of abstracting reactive and idiomatic functions. I have been working on it for over a year, and still need to stand up a proper documentation site. But I've decided it's time to put it out there and see if anyone in the community responds positively to it. Chimeric is unopinionated about architecture. It could be applied to MVC or MVVM. It provides typescript helpers if you wish to do IoC, and define your interfaces separate from their implementations with dependency injection. **The problem:** In React, you have hooks for components and regular functions for business logic. They don't always mix well. // A contrive hook trap example const useStartReview = () => { const todoList = useTodoList(); return async () => { markTodosPendingReview(); // mutates todo list const todosToReview = todoList.filter((t) => t.isPendingReview); // BUG: todoList is stale await createReview(todosToReview); navigation.push('/review'); }; }; **The solution:** Chimeric gives you one interface that works both ways. // Define once const getTodoList = fuseChimericSync({...}); // Use idiomatically const todoList = getTodoList(); // Use reactively (in components) const todoList = getTodoList.use(); Better composability: // Define once const startReview = ChimericAsyncFactory(async () => { markTodosPendingReview(); const todoList = getTodoList(); // Gets most up-to-date value from store const todosToReview = todoList.filter((t) => t.isPendingReview); await createReview(todosToReview); navigation.push('/review'); }); // Complex orchestration? Use idiomatic calls. const initiateReviewWithTutorial = async () => { Sentry.captureMessage("initiateReviewWithTutorial started", "info"); await startReview(); if (!tutorialWizard.reviewWorkflow.hasCompletedWizard()) { await tutorialWizard.start(); } } // Simple component? Use the hook. const ReviewButton = () => { const { invoke, isPending } = startReview.use(); return <button onClick={invoke} disabled={isPending}>Start Review</button>; }; **5 basic types:** `ChimericSync` – synchronous reads (Redux selectors, etc.) `ChimericAsync` – manual async with loading states `ChimericEagerAsync` – auto-execute async on mount `ChimericQuery` – promise cache (TanStack Query) `ChimericMutation` – mutations with cache invalidation (TanStack Query) **Future Plans:** If there's any appetite at all for this kind of approach, it could be adapted to work in other reactive frameworks (vue, angular, svelte, solidjs) and the query/mutation could be implemented with other libraries (rtk query). Chimeric could also be adapted to work with suspense and RSCs, since Tanstack Query already provides mechanisms that support these. **TL;DR: Write once, use anywhere. Hooks in components, functions in business logic, same interface.**
🚀 Looking for a Study Partner to Learn React (Beginner, Hindi Preferred)
Hello everyone 👋, My name is Neeraj. I am 25 years old and I am from India (Madhya Pradesh) 🇮🇳. I am planning to learn React over the next six months and eventually start earning through it 💻📚. I have completed my 12th grade, and due to personal problems, I won’t be able to attend college. I am a complete beginner in programming and I am looking for a serious and consistent study partner 🤝. I am a little weak in English, so Hindi communication is preferred 🗣️, but I will try my best in English as well. Please be patient—I am genuinely trying to learn 🙏. I sometimes lose interest quickly, which is why I believe learning with a study partner will help me stay motivated and disciplined 🔥📈. If you are also a beginner or someone who wants to learn together and stay consistent, feel free to reach out 😊. Contact: 📩 Instagram / Telegram: detoxtime0
Is Expo + React Native a good option if the website is the main focus?
Weekly Showoff Thread! Share what you've created with Next.js or for the community in this thread only!
Whether you've completed a small side project, launched a major application or built something else for the community. Share it here with us.
Agency Owner 🤡🔫 after patching 60+ websites for React2Shell then new vulnerabilities land
I feel like dying now.
is nextjs actually worth it for side projects
i actually really like nextjs. the ssr / file routing / data fetching stuff out of the box is nice, and most apps feel pretty fast without me thinking too hard about it. but i’m starting to wonder if this is just a “grass is greener” thing. when i look around, i keep seeing people say nuxt + vue is generally lighter and faster, especially on builds and bundle size. some benchmarks show nuxt’s vite builds being faster (947 req/s api throughput vs next.js's 388) with smaller bundles (90kb). for side projects where i care about: * shipping something quickly * decent performance without fighting the framework * the chance that it could scale if it takes off would you stick with nextjs, or would you seriously consider nuxt / vue instead? and if you’ve tried both, what made you stay or switch?
Got hacked by Team PCP (seems they used CVE-2025-66478 and CVE-2025-29927)
A NextJS app was exploited by Team PCP (I haven't found any info about them). It seems they used CVE-2025-66478 / CVE-2025-29927 and what they did was basically send a curl to download [proxy.sh](https://pastebin.com/9fsYquUr). This script downloaded two Python scripts: [pcpcat.py](https://pastebin.com/khY0g0Xh) and [react.py](https://pastebin.com/nBdTx5PE) It also downloaded a BORING_SYSTEM binary They used these scripts to: - Scan AWS and DigitalOcean IP ranges for exposed Docker APIs - Exploit exposed Docker to deploy more malware - Target Ray clusters - Used my server as scanning infrastructure Also trying to steal: - .env files - AWS credentials - SSH keys - Kubernetes configs - Solana/Crypto wallet private keys - Database ~~dumps~~ credentials - Shell history - Browser wallet data Fortunately they only infected one container and the attack was limited to that and I was able to remove everything and block the IPs/ports They left two Telegram links: @Persy_PCP and @teampcp And their C2 server: 67.217.57.240 (ports 666, 888, 5656) I didn't find any information about TeamPCP. Do you know anything about them? The IPs were from China
Most Popular New Features in Next.js 16
Vercel Deployment Error: "libonnxruntime.so.1: cannot open shared object file" with @huggingface/transformers in Next.js
Hi everyone, I am building a Next.js (App Router) application that uses u/huggingface/transformers (Transformers.js) to run a feature-extraction model (Xenova/all-MiniLM-L6-v2) for RAG functionality. The application works perfectly on my local machine. However, when deployed to **Vercel**, the API route crashes with a generic 500 error, and the logs show a missing shared library issue related to onnxruntime. **The Error in Vercel Logs:** codeCode Error: Failed to load external module /transformers: Error: libonnxruntime.so.1: cannot open shared object file: No such file or directory **My Setup:** * **Next.js:** 15.0.3 (can specify your version if different) * **Platform:** Vercel (Serverless) * **Package:** u/huggingface/transformers v3.0.0+ * **Onnx:** onnxruntime-web is installed. Here is my code configuration: **1. API Route (app/api/chat/route.ts):** I am using a singleton pattern to load the pipeline. codeTypeScript import { pipeline, env } from '@huggingface/transformers'; // I tried forcing these settings env.useBrowserCache = false; class SingletonExtractor { static instance: any = null; static async getInstance() { if (this.instance === null) { this.instance = await pipeline('feature-extraction', 'Xenova/all-MiniLM-L6-v2'); } return this.instance; } } export async function POST(req: Request) { // ... code that calls SingletonExtractor.getInstance() } **2. next.config.ts:** I tried adding it to serverExternalPackages, but the error persists. codeTypeScript const nextConfig: NextConfig = { serverExternalPackages: ['@huggingface/transformers'], }; export default nextConfig; **3. package.json dependencies:** codeJSON "dependencies": { "@huggingface/transformers": "^3.0.1", "onnxruntime-web": "^1.19.0", "next": "15.0.3", // ... other deps } **What I have tried:** 1. I suspected Vercel was trying to use the Node.js bindings (onnxruntime-node) which require native binaries (.so files) that aren't present in the serverless environment. 2. I installed onnxruntime-web hoping it would default to WASM. 3. I configured serverExternalPackages in next.config. **My Question:** How can I properly configure Next.js and Vercel to either include the correct [libonnxruntime.so](http://libonnxruntime.so) binary or force u/huggingface/transformers to strictly use the WASM backend (onnxruntime-web) on the server-side to avoid this missing file error? Any help would be appreciated!
This boilerplate is an unfair advantage
If not Next.js, then what frontend for a self-hosted?
We are a small startup finalizing our frontend stack. Our backend is currently set up using FastAPI microservices, Redis, and PostgreSQL. The recent issues frameworks like Next.js and React, we're looking for alternatives. (we don't want to hand over our server to others) 🙂 We are have options like, TanStack Start and Svelte/SvelteKit. Based on our needs, which framework would you recommend, and why? or we should use nextjs cause it will be fixed... (this post is made by me, not behalf of our team) Thanks for the feedback.
Next js MatrialUI error
guys I am getting the markings on my display block or something is it any way to fix it the old grid component in MatrialUI deprecated so I am using this one any idea of what the problem in this https://preview.redd.it/8h6o2ywdfw6g1.jpg?width=1920&format=pjpg&auto=webp&s=e1965451895d805c085c95ae86493996b941afac
How to stream data to NextJS app from AWS RDS instance?
I've been playing around with building a live metrics dashboard for one of my NextJS apps, where I'm trying to stream the data I have inside of my Postgres DB on AWS to populate the fields on the dashboard. This data will be the same for every user, and should auto-update whenever my sql db gets new data from lambda functions I have setup as well. Given my stack, what are some of my options for implementing this? Could WebSockets or a Redis cache be a possible solution? Any feedback would be a huge help, thanks!
There are two additional React CVEs
Following the React2Shell disclosure, increased community research has surfaced two additional vulnerabilities that require patching. Please upgrade to the latest patched version in your release line. See [nextjs.org/blog/security-update-2025-12-11](https://nextjs.org/blog/security-update-2025-12-11) for details.
New attack??
Hi guys Today I saw these log files on one of our websites with next.js where I've updated the packages for React2Shell vulnerability. Can anyone tell me what this means, we were target to React2Shell vulnerability on another machine, but this is not the same, there are no new files, crypto miner or anything else, it just somehow broke our build and the website stopped responding after rebuilding and restarting, now it works. Logs: [https://pastebin.com/9djhZHCi](https://pastebin.com/9djhZHCi) \- just a small part, there are a lot of these. Edit: I went through all the machines to patch the new vulnerabilities and found that all of them has same logs but just one of them was down also after patching they are have same error logs in the PM2 We are using Google Cloud and projects are running in a VM {"message":"Failed to find Server Action \\"x\\". This request might be from an older or newer deployment. \\nRead more: https://nextjs.org/docs/messages/failed-to-find-server-action","name":"Error","stack":"Error: Failed to find Server Action \\"x\\". This request might be from an older or newer deployment. \\nRead more: https://nextjs.org/docs/messages/failed-to-find-server-action\\n at tF (/\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/node\_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:129:2398)\\n at tL (/\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/node\_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:127:12283)\\n at r6 (/\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/node\_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:134:16298)\\n at AsyncLocalStorage.run (node:async\_hooks:346:14)\\n at r8 (/\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/node\_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:134:22559)\\n at np.render (/\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/node\_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:136:3686)\\n at doRender (/\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/node\_modules/next/dist/server/base-server.js:1650:48)\\n at responseGenerator (/\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/node\_modules/next/dist/server/base-server.js:1909:20)\\n at ResponseCache.get (/\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/node\_modules/next/dist/server/response-cache/index.js:49:20)\\n at NextNodeServer.renderToResponseWithComponentsImpl (/\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/node\_modules/next/dist/server/base-server.js:1915:53)"}
How do you handle the agnosticity of a ui component from the frontend framework
Hi there, Currently working in a monorepo with a remix and a nextjs app, I am currently questioning my self on what's the best way to handle the compatibility of a ui component between those two framework with this example: Currently, my component is only supporting Remix but I would like to have it compatible with Nextjs aswell. I am currently passing the Link component from remix, if it's passed as props. How would you handle this while leveraging the Link component and not use the <a href native html tag. Thanks! // Usage import Link from 'next/link'; <CardApps key={app.name} {...app} seeLink={`/apps/${app.slug}`} asRemixLink={Link} /> // Card component import * as React from 'react'; type TCardAppsProps = { asRemixLink?: any; seeLink?: string; } & React.HTMLAttributes<HTMLDivElement>; function CardApps({ asRemixLink, seeLink, }: TCardAppsProps) { const Link = asRemixLink ?? 'a'; return ( <Card> <div> <div> <Button variant="secondary" size="sm" className="w-full"> <Link {...(asRemixLink ? { to: seeLink } : { href: seeLink })} className="w-full" > Learn more → </Link> </Button> </div> </div> </Card> ); } export { CardApps };
How do you identify default vs named exports when using modules?
Hi folks, I am learning node so apologies if this is basic question. I was writing some code and I try to follow industry convention (ESM modules) to import modules. However, I always get confused if its a named export or default export. For example: http is default export and Worker is named export. import http from 'node:http' import {Worker} from 'node:worker_threads'; I took a look at source code for "http.d.ts" (node:http module) and "worker\_threads.d.ts". They look exact same. declare module "worker_threads" { export * from "node:worker_threads"; } declare module "http" { export * from "node:http"; } How do you identify if one should use import named vs default export? [npmjs.com](http://npmjs.com) has documentation for external packages which can help you identify this. But have you found any easier ways for built-in modules?
How to implement graphql in node
I have only worked on implementing rest API-s in node but whats the difference with graphql and can i implement graphql in node js , express js?
How are packages managed today? Question about design choices with package.json and package-lock.json
Hi everyone, I know I am late to this. I am learning node and I have a question about how packages are managed today (npm / yarn or something else). In addition, if package-lock.json is used to identify exact version of dependencies why is there a need for "dependencies" section in package.json? package.json -> { "name": "my-custom-package", "version": "1.0.0", "description": "", "dependencies": { "custom-library": "^3.2.0" } } Because whenever dev installs a new package, it can be added to top level in package-lock.json. If that newly installed package has dependencies, they are nested in "dependencies" section of that package in package-lock.json. Adding top level dependencies of a package in package.json seems redundant
How can I access the cookies in JS? I have a backend to generate Access and refresh tokens to maintain the auth of my website. But the frontend cannot accesses those tokens from cookies, but it works in Postman, not in the browser.
Want to learn node js. Need book suggestions
M25 here. I'm a founder who runs a small ERP solutions software firm for education institutions.Our stack is node js + react. We have a good client base and we are expanding faster. Since I'm a solopreneur, I would like to learn node js and then later react js, so that I can better allocate work to my team instead of giving my team unrealistic targets and timelines. Could anyone advise me any good books to start from to learn node js.(I have no coding knowledge before) and if any other stuff that I have to do. Also if I daily put in 5 hours of work into learning it, how much time would it take to better allocate work to my employees.?
Building an api service, whats the best stack?
What does a modern production Express.js API look like these days?
I'm stuck back in the days when Typescript wasn't used for Node and writing Express apps was done very messily. If you've worked on production level Express apps, what does your stack look like? I'm interested in the following: \- Typescript \- some form of modern Express toolkit (Vite? Node 22 with stripped types?) \- still roll-your-own MVC? Or is there something else like a well known boilerplate you use? \- what are you doing to make your Express apps easier to test (hand-rolled dependency injection?) \- Passport.js still popular for authentication? \- What are you using for the database layer? TypeORM? Prisma?
SXO: High-performance server-side JSX
Hi r/node, I've been working on **SXO**, a server-side rendering framework designed to strip away the complexity of modern "meta-frameworks" and return to delivering fast HTML using modern Node.js fundamentals. The goal was to create something infrastructure-agnostic that doesn't force hydration or heavy client-side bundles for content that should just be static. **The Tech Stack & Architecture:** * **Node.js Native:** Built strictly for Node 20+ using ESM only. * **Performance:** We use a Rust-based JSX transformer (via WASM) to handle templating. It compiles JSX directly to template literals/strings. * **Zero Client Runtime:** By default, it ships **0kb** of JavaScript to the client. It's pure HTML/CSS delivery. * **Standard APIs:** Middleware uses the Web Standard `Request`/`Response` pattern, making it adaptable. While optimized for Node.js, the architecture allows it to run on Bun, Deno, and Cloudflare Workers using the same core logic. * **Build Pipeline:** Uses `esbuild` for extremely fast cold starts and HMR (via SSE) during development. **Why this instead of Next/Nuxt/Remix?** If you are building a content-heavy site, you often don't need the overhead of a Virtual DOM or complex state management on the client. SXO treats JSX as a server-side templating language (like EJS or Pug, but with the component ergonomics we're used to). **SXOUI (Component Library)** I also built a companion UI library (SXOUI) insparece by shadcn/ui components that work without a client-side framework runtime. **Looking for Feedback** I'm looking for feedback from the Node.js community specifically regarding: 1. The middleware architecture. 2. The developer experience of using "Vanilla JSX". **Repo:** https://github.com/gc-victor/sxo **SXOUI:** https://sxoui.com Cheers.
How do I keep up to date with market standards?
Hello guys, I'm in the fourth semester of Computer Science and I currently decided to try to really insert myself in the market. Currently I'm looking to apply everything I've actually seen about DDD, SOLID, Software Engineering, Data Bases tradeoff (in the future I will try to apply microsservices) ... I'm having a problem right now: I haven't found a way to find current market standards. Some standards I have actually seen people talking about such as the use of.envs, zot, vitest for testing. However, I feel that there is still a lack of a solid way to find knowledge. What do you recommend so I'm not working? By that I mean, what can I follow (blogs, communities, etc)? Especially thinking about the context of typescript/node.js
npwned - dependency tree compromise checker
Any server side js code like `obj[userInput1][userInput2](userInput3)()` is vulnerable
Today I just learnt [how React2Shell (CVE-2025-55182) works](https://gist.github.com/maple3142/48bc9393f45e068cf8c90ab865c0f5f3). I realized any code with the pattern `obj[userInput1][userInput2](userInput3)()` is vulnerable. Please see the example: const userInput1 = "constructor", userInput2 = "constructor", userInput3 = 'console.log("hacked")'; const obj = {}; obj[userInput1][userInput2](userInput3)(); // hacked It's hard to detect such patterns both for programmers and hackers, especially when user inputs are passed to other functions in the program. React is open source so it's exploited. This reminds me that we should never use user input as object property names. Instead we can use `Map` with user input as keys. If object is a must, always use `Object.create(null)` to create that object and all the objects in properties, or validate user input to be an expected property (React fixed this issue by validating user input to be the object's own property).
I built a WhatsApp AI Agent that runs on 256MB RAM (Fly.io Free Tier) - Logic over Money
How do you handle role-based page access and dynamic menu rendering in production SaaS apps? (NestJS + Next.js/React)
I couldn't find a logging library that worked for my library, so I made one
Project package upgrade
On a node typescript project i have package and package-lock json files Normally i use sem ver with \^ sign Normally i dev and test my app then git commit both files and they are released on aws containers as microsevives Now the question is about kepping updated my project Does it make sense to delete the package-json then npm install? With the purpose of upgrading? I saw someone from a team doing the above. Weird I thought… Since i think it is not a recommended way since it will just upgrade transitive dependencies. Indeed npm outdated will give back the same result. I normally start my upgrade by npm outdated and npm updated package by package or by group to consistently update from the top down But im asking you what’s making sense of this and what is the recommended way And what might be the risks. I think one is not to have clarity of what’s being updated and inconsistency between diret dependency versions and same version that might get updated transitively. Since I expect a stubborn individual Id like to collect more point of views on this. Or maybe it’s me not getting this move as having anything strategic sense? 😀
easier migrations on Deno Deploy with the Pre Deploy command
hey reddit! we've got more enhancements in Deno Deploy: \- More structured deploy logs \- Skip CI \- Pre-deploy commands [https://deno.com/deploy](https://deno.com/deploy)
SXO: High-performance server-side JSX for Deno
SXO is a multi-runtime tool for server-side JSX that runs seamlessly across Node.js, Bun, Deno, and Cloudflare Workers. The server-side JSX is heavily inspired by Deno's JSX transform, but there's more, like SXOUI, a framework-free UI library similar to shadcn/ui. 1. [https://sxoui.com/](https://sxoui.com/) 2. [https://github.com/gc-victor/sxo](https://github.com/gc-victor/sxo) 3. [https://github.com/gc-victor/sxo/tree/main/examples/deno](https://github.com/gc-victor/sxo/tree/main/examples/deno)
Deno 2.6 is here!
Deno 2.6 is here: 🛠️ \`dx\` is the new \`npx\` ⚡ faster typechecking with tsgo 🔒 improved security with \`deno audit --socket\` 🦺 safer deps with \`deno approve-scripts\` 🚘 source phase import support and more! [https://deno.com/blog/v2.6](https://deno.com/blog/v2.6)
database migrations on Deno Deploy
hey reddit, on deno deploy, each branch of your app gets its own database (we call these timelines). you can run migrations with the Pre-deploy command in your app config (see image) learn more about databases on deno deploy: [https://docs.deno.com/deploy/reference/databases/](https://docs.deno.com/deploy/reference/databases/) let us know what other tips or resources you'd like to see us create!
ovr@6.0.0 - Streaming Fetch Based Multipart Uploads
tired of waking up to a thousand dollar bill from your cloud platform? 😱
hey reddit, spend limits on Deno Deploy might not be super innovative, but it's these kinds of granular controls in the hands of the user that gets us excited. plus, you can set as many email alert thresholds as you'd like. let us know if there's something about the Deno Deploy platform you'd like us to feature and we can do it!
Optique 0.8.0: Conditional parsing, pass-through options, and LogTape integration
build a game with deno (a six part tutorial series)
hey all, we just dropped our first blog post tutorial on building a browser-based "dino runner" game with deno! its part of a larger six part series where we'll cover: • Setting up a Deno server & project structure (Week 1) • Creating a canvas-based game loop and player controls (Week 2) • Obstacles, collisions, animation & difficulty tuning (Week 3) • Adding a PostgreSQL-backed global leaderboard (Week 4) • Player profiles, customization & live tuning APIs (Week 5) • Observability, metrics & alerting for real-world game ops (Week 6) If you’ve wanted to learn Deno, or want a guided intro to game loops, canvas rendering, or full-stack game architecture, this series is for you. let us know what other resources or guides you'd like us to make! [https://deno.com/blog/build-a-game-with-deno-1](https://deno.com/blog/build-a-game-with-deno-1)
QUESTION: tsx or ts-node for an express project?
I taught a beginner class how to setup a simple express app with Typescript but for that lesson I've only been running one ts file without any imports. Tried to prepare the next lesson's material only to run into this asinine setup issue when it comes to ts-node. Eventually got it to work with the loader argument "node --loader ts-node/esm". I read [this](https://betterstack.com/community/guides/scaling-nodejs/tsx-vs-ts-node/) article whilst doing some research and I'm just wondering if ts-node is even worth it. What will I miss out exactly?
Run Typescript in Servo (browser engine fork)
Wasm exports are immediately available to Typescript, even gc objects! \`\`\` <script type="text/wast"> (module (type $Box (struct (field $val (mut i32)))) (global $box (export "box") (ref $Box) (struct.new $Box (i32.const 42))) ) </script> <script type="text/typescript"> const greeting: string = "Hello from TypeScript and Wasm!"; console.log(greeting, box.val); </script> \`\`\` Works in [https://github.com/pannous/servo](https://github.com/pannous/servo) !
JS/python dev wanting to learn TS
Hello all, I am pretty familiar with JavaScript already, both frontend and backend. As a data engineer, I primarily use python, SQL, and shell scripting at work. However, I’ve always been interested in JavaScript and Node (and recently been checking out Deno and Bun), and for the past few years I’ve been teaching myself JS during my free time and using JS for personal projects. I haven’t spent any time trying to learn TS, always telling myself that it’s unnecessary and adds complexity to my projects. However, I decided that now is the time to start learning TS. I miss all of python’s typing features when working on JS projects, and looking at the code of some open source TS projects is making me really want to begin utilizing the benefits of TS. Recently, Node’s increased support for TS is another motivator for me to stop ignoring it. Does anyone have any recommendations or resources for learning TypeScript, for someone who is already familiar with JS? Any tips are appreciated, thanks!
Type-safe Web Component Props using Mixins
Hey r/typescript, I've been working on a library called `html-props` (currently in v1 beta) that brings strict type-safety to native Web Components. It's built with **Deno** and published on **JSR**. One of the biggest challenges I faced was creating a **React-like props API** for standard `HTMLElement` classes where types are inferred automatically from a configuration object. # The Pattern It uses a mixin factory that takes a `PropsConfig` and returns a class with a typed constructor and reactive getters/setters. import { HTMLPropsMixin, prop } from '@html-props/core'; // 1. Define the component class Counter extends HTMLPropsMixin(HTMLElement, { // Type inference works automatically here count: prop(0), // Inferred as number label: prop<string | null>(null), // Explicit union type tags: prop<string[]>([], { type: Array }), // Complex objects }) { render() { // 2. Usage is fully typed // this.count is a Signal<number> return `Count: ${this.count}, Label: ${this.label}`; } } // 3. The Constructor is also typed! const myCounter = new Counter({ count: 10, label: 'My Counter', // tags: [1, 2] // Error: Type 'number' is not assignable to type 'string'. }); # The Type Inference Journey Writing the types was a journey, especially because **typing mixins in TypeScript is notoriously hard**. You have to preserve the base class type while augmenting it with new properties, all while keeping the constructor signature flexible. During the earlier phases of development, I tweaked (more like refactored) the typings countless times to get the details right. When AI coding agents started becoming popular, I used them to help comply with JSR's [fast type requirements](https://jsr.io/docs/about-slow-types), although the models were not perfect with complex typings back then either. However, with the recent release of Gemini 3, I decided to revisit the API and finally nail down the problems I had been avoiding and really make a move towards v1 and writing this post. The difference was night and day. Where previous models would claim "impossible limitation with mixins," Gemini 3 helped me solve the deep inference chains needed for a seamless v1 API. I think it's a good time to be alive as a Deno/JSR developer, since plain JavaScript can be converted to properly typed JSR library with ease. If you're curious about the "monster" generic chains required to make this work (especially `InferProps` and `InferConstructorProps`), you can check out the source code here: * [mixin.ts](https://github.com/atzufuki/html-props/blob/main/src/core/mixin.ts) \- The main mixin factory. * [types.ts](https://github.com/atzufuki/html-props/blob/main/src/core/types.ts) \- The type inference logic. # Why a Mixin Architecture? By using a mixin, the library remains unopinionated. You can use it as is, or build your own abstractions on top of it. The core remains standard JavaScript classes. The main benefit is that you can turn *any* existing Web Component into a props-enabled component, assuming it follows standard practices like the built-in elements. For example, the `built-ins` package in the library just applies the mixin to `HTMLDivElement`, `HTMLButtonElement`, etc., giving them a typed props API without changing their native behavior. # Why I prefer this workflow? Coming from React, I genuinely missed the structure of **Object-Oriented Programming** in frontend development. While the ecosystem has moved heavily towards functional programming, I find that classes offer a mental model that fits UI development really well. Since components are just classes, I can use standard OOP patterns natively. The native web API is really great for this. However, being imperative-only, the workflow just needed a push towards the type-safe declarativity we're used to in React and other frameworks. # Typed CSS? I haven't actually touched a CSS file in years. That's because I inspired from Flutter's layout widgets so I implemented them for the web. These layout components provide higher level abstraction so it's much easier to get the structure of the layout correct. Once again, type-safely. The layout components are provided by the `@html-props/layout` package and it's also in beta. import { Span } from '@html-props/built-ins'; import { Column, Row, MainAxisAlignment, CrossAxisAlignment } from '@html-props/layout'; new Column({ gap: '1rem', crossAxisAlignment: CrossAxisAlignment.center, // Typed enums! content: [ new Span({ textContent: 'Hello World' }), new Row({ mainAxisAlignment: MainAxisAlignment.spaceBetween, content: [...] }) ] }) # JSX is still an option Even though a plain JavaScript object is native, I know many developers would prefer JSX. The type inference works out-of-the-box with TSX, so I included a `@html-props/jsx` package. <Column gap='1rem' crossAxisAlignment={CrossAxisAlignment.center}> <Span textContent='Hello World' /> <Row mainAxisAlignment={MainAxisAlignment.spaceBetween}> [...] </Row> </Column>; * Repo: [https://github.com/atzufuki/html-props](https://github.com/atzufuki/html-props) * Website: [https://html-props.dev](https://html-props.dev)
I thought LLMs were good with TypeScript but I have had zero luck with them
I have been working on a form-related project and a big part of my effort so far is working out the types and how to make sure they 'propagate', infer what can be inferred, validate values if I can, etc. And in that effort I ran into "excessive or infinite depth" errors multiple times. **And every time I tried to get AI to help, it really has been shockingly terrible.** In this last attempt, it took maybe 20 minutes trying trial-and-error changes, running typecheck over and over, and all-in-all I think that single request apparently cost me about 10$ (using Claude Opus 4.5 w/ thinking). But then it finally responded with "All Typescript errors were fixed!" followed by a 4-bullet point description of the problem, and 4-bullet point description of the "Fix". >**What Was Causing the Problem** >... skipping 4 bullet points ... >This combination, when TypeScript tried to resolve all types together, created a circular dependency that went infinitely deep I feel like the error alone was enough to infer this same information, but I doubt the AI knows how to *infer*. This is "the fix" it came up with: >**The type validation was too complex** when combined with arktype's type inference. >**Simplified the return type** \[...\] **to just unknown** >Removed circular ManifestAttributes<this, ...> - **Changed to a simple runtime-only method.** >**Removed test code** **that was calling methods incorrectly.** >**The registry now has simpler types and relies on runtime validation instead of trying to do everything at the type level.** I had validations on things like avoiding duplicate department names, or non-existing parents, etc. It just deleted all of it. Literally it just put unknown everywhere, stopped trying to infer anything, broke any type of intellisense and then had the audacity to tell me typescript errors were fixed. It basically turned the whole thing to Javascript. Chatting with Claude Opus 4.5 and ChatGPT 5.1 directly, they seemed less dumb but they also kept giving me "Here are 10 bullet points on what the issue is, here's all the code changes to fix it, here's 10 related ideas you might wanna think about in the future" except 4/5 times the fix didn't work, or worse, new ones were created and the process repeats. **TLDR**: I wanted to be "lazy" but I think I spent hours arguing with the different AIs and different tools instead of just figuring it out myself. I am $10 down, hours wasted, and eventually kinda fixed the error with trial-and-error like a monkey. I think I might be becoming less of a problem solver and learner, or losing the joy of programming and nobody is even forcing me to use these tools. Instead of waiting for AI to level-up to 'human-level intelligence', it seem I subconsciously decided to level-down and meet it half-way.
Wire - A GitHub Action for releasing multiple independently-versioned workflows from a single repository
GitHub - doeixd/machine: Minimal TypeScript state machine library with compile-time safety through Type-State Programming where states are types, not strings.
Typescript on VSCode not showing error when function is untyped + no semicolons.
https://preview.redd.it/urhjgdqdkc6g1.png?width=686&format=png&auto=webp&s=7028ee6b7b9ccd3ce0b09178fde0381a5df26d37 Here, error constant doesn't seem to have a type declared, yet my VSCode doesnt throw an error for it. I have set the tsconfig.app.json to have "strict": true, and changed settings.json to have `"typescript.tsdk": "./node_modules/typescript/lib",` `"typescript.enablePromptUseWorkspaceTsdk": true,` I couldnt figure out if this is an error or I just configured my typescript wrong. I would really appreciate a help. Also I would like my editor to warn me when I don't have a semicolon at the end of each statement. How can you do this?
The Missing Express Js API validation - Meebo
I just built the API library Express.js has been missing and I can’t believe it didn’t already exist. Express is the most popular Node.js framework but it was created before TypeScript existed. APIs are contracts. So why are Express contracts written in invisible ink? Meaning: \- req.body → could be literally anything \- res.json() → returns whatever you hand it \- TypeScript → just shrugs and says: any So I built Meebo to fix this. const router = TypedRouter(express.Router()); const schema = z.object({ id: z.number() }) [router.post](http://router.post/)("/users", { response: schema }, (req, res) => { res.json({ id: 1 }); <--- this is now validated and typed }); You get: \- Real TypeScript types from your Zod schemas \- Runtime validation on every request \- Auto-generated Swagger UI Github Link -> [https://github.com/Mike-Medvedev/meebo](https://github.com/Mike-Medvedev/meebo) Lmk what you guys think!
String Literal Templates in TS - this is actually an old feature
So… TypeScript has been able to **type-check string shapes** since 2020, and I somehow found out only last week. If you also missed the memo about **template literal types**, here’s the short version: they’re surprisingly powerful.
Optique 0.8.0: Conditional parsing, pass-through options, and LogTape integration
Using CTEs and Query Rewriting to Solve Versioning
How to not require ".js" extension when writing vitest tests?
https://preview.redd.it/jx1797067x5g1.png?width=2173&format=png&auto=webp&s=2bf6cb35e05226aa4dea328b6ee8001f506c7beb I am creating a CLI program in typescript. I installed `vitest` and started writing some tests, I faced an issue where my `tsconfig.json` was complaining about my `vitest.config.ts` being outside of the `src` folder. I just excluded the vitest config file from tsconfig. Now the issue is that importing other `.ts` files in the test files without extension results in an error demanding me to use `.js` extension. How do I get rid of this requirement? I know it's definitely possible, but there's some weird configuration thing I'm missing. I've attached some minimal versions of the files in my project below. **One thing to note is that I can not include the extension and my \`npm run test\` command works but my editor complains.** \- `package.json` { "name": "cli-name", "type": "module", "main": "dist/index.js", "bin": { "cli-name": "./dist/index.js" }, "scripts": { "build": "tsc", "check": "biome check", "fix": "biome check --write", "format": "biome format --write", "lint": "biome lint", "prepare": "husky", "test": "vitest", "coverage": "vitest run --coverage" }, "devDependencies": { "@biomejs/biome": "2.3.8", "@types/node": "^24.10.1", "@vitest/coverage-v8": "^4.0.15", "husky": "^9.1.7", "lint-staged": "^16.2.7", "typescript": "^5.9.3", "vitest": "^4.0.15" }, "dependencies": { }, "lint-staged": { "*.{ts,json,jsonc}": [ "biome format --files-ignore-unknown=true --write", "biome lint --files-ignore-unknown=true", "vitest related --run" ] } } \- `tsconfig.json` { "compilerOptions": { "rootDir": "./src", "outDir": "./dist", "module": "nodenext", "target": "esnext", "lib": ["esnext"], "types": ["node"], "sourceMap": true, "declaration": true, "declarationMap": true, "noUncheckedIndexedAccess": true, "exactOptionalPropertyTypes": true, "strict": true, "jsx": "react-jsx", "verbatimModuleSyntax": true, "isolatedModules": true, "noUncheckedSideEffectImports": true, "moduleDetection": "force", "skipLibCheck": true, "esModuleInterop": true, "paths": { "@/*": ["./src/*"] } }, "include": ["./src/**/*.ts", "./*.config.ts"], "exclude": ["vitest.config.ts"] // added cos tsconfig was complaining about vitest.config.ts being outside of src/ } \- `vitest.config.ts` /// <reference types= "vitest/config" /> import path from "node:path"; import { defineConfig } from "vitest/config"; export default defineConfig({ test: { globals: true, environment: "node", include: ["src/**/*.{test,spec}.ts"], }, resolve: { alias: { "@": path.resolve(__dirname, "./src"), }, }, }); \- `biome.json` (probably unrelated) { "$schema": "https://biomejs.dev/schemas/2.3.8/schema.json", "vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true }, "files": { "includes": ["**", "!!**/dist"] }, "formatter": { "enabled": true, "indentStyle": "tab" }, "linter": { "enabled": true, "rules": { "recommended": true } }, "javascript": { "formatter": { "quoteStyle": "double" } }, "assist": { "enabled": true, "actions": { "source": { "organizeImports": "on" } } } } MRE (Minimal Reproducible Example): [https://github.com/ChrisMGeo/typescript-issue-mre.git](https://github.com/ChrisMGeo/typescript-issue-mre.git)
New TS dev wants to make the most of the config
Just started learning TS and was watching moshs video on it. The config doesnt seem hard to understand but id like to know if there were presets that helped new TS devs to make the most of the languages error checking? like in the vid you had to uncomment somthing to get warnings about implicit conversions?
Controversial
Trending
Controversial
Trending
Controversial
Hot
Controversial
Controversial
Trending
Controversial
Controversial
Trending
Controversial
Controversial
Controversial
Controversial
Trending