Sunday, October 9, 2022

Show HN: Reflame – Deploy your React web apps in milliseconds https://ift.tt/CQuxELl

Show HN: Reflame – Deploy your React web apps in milliseconds Hi HN! I've been working on Reflame since I quit my job at Brex last year, excited to finally open it up for everybody to try out! Here's a demo: https://www.youtube.com/watch?v=xZ4KyfGbUFA Reflame deploys client-rendered React web apps instantly, to previews and to production. In concrete wall-clock terms, deploys generally take: - ~50-500ms from our VSCode extension - ~500-3000ms from our GitHub app (Jump to this comment ( https://ift.tt/eB4PNSv ) for what makes Reflame so fast) The Reflame GitHub App automatically deploys default branches to production, and other branches to previews. If you've used Netlify/Vercel's GitHub apps, you should feel right at home. The difference is it’s multiple orders of magnitudes faster. Fast enough that you'll probably never see an in-progress deploy on GitHub ever again , only ready-to-go preview/production links. No more having to babysit builds or having to context switch to and from other tasks before being able to see our changes deployed in previews or production. Previewing, sharing, and even shipping, can now become part of the so-called inner loop, giving us the superpower to stay in flow state for much longer. The Reflame VSCode extension is yet another order of magnitude faster than even the GitHub App. It was designed to offer an experience that can rival local development workflows in both speed and ergonomics, while addressing many of local dev's limitations around collaboration and production-parity. Every time we make a change (e.g. by saving a file), the extension will deploy that change (in ~50-500ms) to a "Live Preview", and will immediately update the app in our browsers to reflect that change. Live Previews can operate in one of two modes: - Development mode delivers updates through React Fast Refresh, offering the familiar state-preserving instant feedback loop we know and love from local development workflows. - Production mode delivers updates by triggering a full browser reload on every change, and in exchange for this extra bit of friction, we get to develop against a byte-identical version of the fully optimized production deployment that customers will see once we ship, with a tighter feedback loop than was ever possible before. Live Previews deliver updates over the internet, meaning we can effortlessly test out our changes on multiple devices simultaneously, and show our changes to anyone in the world, just by sharing a Live Preview link, all while having our updates reflected automatically across all connected devices in real-time (with live reload or React Fast Refresh over the internet ). Being able to ship quickly is valuable on its own, but Reflame's true north star has always been to enable customers to ship quickly with confidence . One way Reflame helps customers ship with more confidence today is by making previews with full production-parity available at every step of the development process. Previews in Reflame are accessible at the exact same URL customers will use to access the production deployment, instead of at a different subdomain for each preview (i.e. every preview is accessed through https://reflame.app instead of at https://ift.tt/AtFHblU ). Behind the scenes, this is implemented using session cookies that our CDN will check to determine which version of the app to serve. This is only the tip of the iceberg. We have some really exciting prototypes around testing and typechecking that we've been exploring that could allow us to ship with even more confidence without ever slowing us down . If any of this sounds interesting for the apps you're building or planning to build (taking into account this comment ( https://ift.tt/TMxHIYa ) below describing what Reflame is not well suited for), please sign up and give it a try! I can't wait to see what you’ll build with it! :) https://ift.tt/6fg0Ehp October 8, 2022 at 10:40PM

Saturday, October 8, 2022

Show HN: I made an open source Chrome extension to notify you of new HN replies https://ift.tt/QKuF7vm

Show HN: I made an open source Chrome extension to notify you of new HN replies https://ift.tt/w3ZmcBk October 8, 2022 at 10:14PM

Show HN: I developed an app that creates interactive product demos in minutes https://ift.tt/xUvN8q0

Show HN: I developed an app that creates interactive product demos in minutes https://supademo.com October 8, 2022 at 09:11PM

Show HN: Inline SQL in any Python program https://ift.tt/6YtIKxj

Show HN: Inline SQL in any Python program https://ift.tt/gIH0RpY October 8, 2022 at 08:27PM

Show HN: Garnix, fast and easy CI for Nix https://ift.tt/IKVJjOH

Show HN: Garnix, fast and easy CI for Nix Hello HN! For the past few months, I've been building a Nix-specific CI service, and quite a few people have been productively using it, so I thought I'd Show HN it. You might be wondering why build a Nix-specific CI. It turns out its quite hard to get a really good CI setup for Nix without spending a lot of time or money on it (or both), and even then solutions don't tend to be optimal. Garnix, on the other hand, handles everything, and simply. Just create an account, install the GitHub app on the repositories you want, and you're good to go! Each package gets its own GitHub check, and separate log output, which makes it really easy to figure out what went wrong (you can see an example here: https://ift.tt/glb6EnU). Builds are very fast compared to e.g Github Actions. The build artifacts are made available in a Nix cache so you never have to rebuild locally. And there are builders for x86-64 Linux as well as M1 Macs and aarch64 Linux. Try it out: https://garnix.io. It's free, though if you like it, consider donating! (Note that it only works with flakes.) Cheers, Julian October 8, 2022 at 05:05PM

Show HN: (A Better) Hacker News Bookmarklet https://ift.tt/Tk4IPOr

Show HN: (A Better) Hacker News Bookmarklet https://thomas.me/hnb/ October 8, 2022 at 02:09PM

Show HN: Infinite Music from the Boston Public Library https://ift.tt/F98pk5A

Show HN: Infinite Music from the Boston Public Library This site plays a loop of more than 23,000 songs on LP records from the Boston Public Library. You can create customizable stations. Music streams free via archive.org. https://ift.tt/rR5Pm89 October 8, 2022 at 07:33AM

Show HN: Yet Another Memory System for LLM's https://ift.tt/0oZIwAv

Show HN: Yet Another Memory System for LLM's Built this for my LLM workflows - needed searchable, persistent memory that wouldn't bl...