frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

AI Music: The Infinite Jukebox

https://www.ft.com/content/5c17a026-f8cf-4131-8ecc-091cac43bef2
1•KnuthIsGod•1m ago•0 comments

Show HN: Hugsy is a configuration management system for Claude Code

https://github.com/HugsyLabs/hugsy
1•ktresdin•3m ago•0 comments

The Journey

https://medium.com/luminasticity/selection-from-the-vaults-of-fug-the-journey-87eff1a91a6
1•bryanrasmussen•4m ago•0 comments

A Hidden Camera Protest Turned the Tables on China's Surveillance State

https://www.nytimes.com/2025/09/02/business/china-chongqing-protest.html
1•ripe•11m ago•0 comments

Adding [Derive(From)] to Rust

https://kobzol.github.io/rust/2025/09/02/adding-derive-from-to-rust.html
1•ingve•14m ago•0 comments

Do you prefer GPT or Google Gemini?

1•AaronSwift1•16m ago•0 comments

WeakC4: A search-free low-knowledge solution to 7x6 Connect 4

https://2swap.github.io/WeakC4/explanation/
1•fanf2•20m ago•0 comments

Gmail Manager MCP

https://github.com/muammar-yacoob/GMail-Manager-MCP
1•Spark88•21m ago•1 comments

Baby's First Type Checker

https://austinhenley.com/blog/babytypechecker.html
1•alexmolas•21m ago•0 comments

Lost RCS support in Google Messages since last month? You're not alone

https://www.androidauthority.com/google-messages-rcs-stopped-working-some-regions-3593593/
1•hocuspocus•24m ago•0 comments

Agentic Design Patterns: Building Intelligent Systems

https://docs.google.com/document/d/1rsaK53T3Lg5KoGwvf8ukOUvbELRtH-V0LnOIFDxBryE/preview?sle=true
1•helloplanets•26m ago•0 comments

Analyzing DuckDB's Performance Optimization Through TOPN and Count Distinct

https://github.com/SPLWare/esProc/wiki/Analyzing-DuckDB%E2%80%99s-Performance-Optimization-throug...
1•killtre•41m ago•0 comments

Finding thousands of exposed Ollama instances using Shodan

https://blogs.cisco.com/security/detecting-exposed-llm-servers-shodan-case-study-on-ollama
2•rldjbpin•44m ago•0 comments

Deep Dive into Kerberos Attacks

https://blog.compass-security.com/2025/09/taming-the-three-headed-dog-kerberos-deep-dive-series/
1•dec1m0s•44m ago•1 comments

A shell inside the normal editor widget in VS Code

https://matklad.github.io/2025/08/31/vibe-coding-terminal-editor.html
1•freetonik•46m ago•0 comments

Show HN: A hacky app for location sharing without suirvellance

https://fyrspot.app
1•ezeoleaf•46m ago•0 comments

Show HN: Rage shake but for your Voice AI agent

https://github.com/PYPE-AI-MAIN/whispey
1•mehrad_1•49m ago•0 comments

My Mom and Dr. DeepSeek

https://restofworld.org/2025/ai-chatbot-china-sick/
3•pr337h4m•53m ago•0 comments

Berghain Challenge

https://berghain.challenges.listenlabs.ai/
2•ghuntley•56m ago•0 comments

Show HN: Multi-Agent-Coder Is #12 on Stanford's TBench. Beats Claude Code

https://github.com/Danau5tin/multi-agent-coding-system
1•Danau5tin•58m ago•0 comments

Detonation Spraying

https://en.wikipedia.org/wiki/Detonation_spraying
2•zeristor•1h ago•1 comments

A weekly digest of the best of the open source

https://www.open-source-ward.com/the-open-source-ward-weekly-1-september-2025/
1•OpenSourceWard•1h ago•0 comments

Show HN: Clariti – Lightweight Focus and Sleep App (`brew install clariti`)

https://clariti.io
1•liornitzan•1h ago•1 comments

Show HN: Did They Just Destroy DIY RAG AI Chatbots? [video]

https://www.youtube.com/watch?v=On_slGHiBjI
1•nicoloboschi•1h ago•0 comments

Apple's Assault on Standards

https://infrequently.org/2025/09/apples-crimes-against-the-internet-community/
2•freetonik•1h ago•0 comments

80th Anniversary of End of WWII Military Parade (Full) [video]

https://www.youtube.com/watch?v=VrGqHX2h0UU
4•hunglee2•1h ago•1 comments

Contrib Cal: Physical GitHub Contribution Calendar

https://www.contrib-cal.com/
1•logan1492•1h ago•1 comments

Amazonq.nvim: Official AWS AI Assistant Plugin for Neovim

https://github.com/awslabs/amazonq.nvim
13•xyos•1h ago•3 comments

Is 'The Wizard of Oz' at Sphere the Future of Cinema? Or the End of It?

https://www.nytimes.com/2025/09/01/movies/wizard-of-oz-sphere-review.html
3•mykowebhn•1h ago•0 comments

Show HN: Hop – An Alternative to Alt and Tab

https://github.com/in1yan/hop
1•in1y4n•1h ago•0 comments
Open in hackernews

Lit: a library for building fast, lightweight web components

https://lit.dev
66•merqurio•2h ago

Comments

zacian•1h ago
Lit is amazing, I'm a big fan of Astro for using it as static websites, blogs, etc., but Lit would've been the second choice if not Astro.
epolanski•1h ago
Great project but I can't stand syntax such as decorators.
mdhb•1h ago
They are optional for what it’s worth. They are also landing in standard JS soon.
Klaster_1•1h ago
The proposal is stuck at stage 3. AFAIK, to proceed to stage 4, it needs two independent implementations, but Firefox [0] and Chromium [1] didn't see any progress in this area for about a year. Personally, after working with Angular for many years, that's not a language feature I am looking forward to.

[0] https://bugzilla.mozilla.org/show_bug.cgi?id=1781212

[1] https://issues.chromium.org/issues/42202709

skrebbel•1h ago
Just to add to a sibling comment, they are optional and not in a “optional but if you dont use them it really sucks” kind of way.

The Lit authors tried hard to use vanilla JS everywhere they could, and it shows.

jfagnani•1h ago
Decorators are the only way to metaprogram over class fields in JS. Otherwise they're not even detectable on the prototype.

We use them to make fields reactive mostly, and I love how declarative they are. But we use them sparingly. I personally don't love how some libraries try to put a lot of things into decorators that could have been standard class features, like a static field or a method.

edit: As mentioned by skrebbel, decorators are optional. Every decorator has a simple plain-JS way of doing it. Event reactive properties: https://lit.dev/docs/components/properties/#declaring-proper...

We also put a lot of effort into making all of our documentation and playground samples on lit.dev available in both JavaScript and TypeScript with decorators. There's a switch that will change everything on the site from JS to TS globally.

hliyan•7m ago
Not seeing decorators in the JS version:

    export class SimpleGreeting extends LitElement {
    ...
    }
    customElements.define('simple-greeting', SimpleGreeting);
mdhb•1h ago
Hands down the most underrated front end library out there. It powers some major projects like ChromeOS, Chrome Devtools, I think most of Firefox’s UI, Photoshop for the web, MDN etc.
mdhb•1h ago
I just came across this resource the other day and found it super helpful, thought I would share it here for anyone who’s interested in working with Lit.

https://lit.dev/articles/lit-cheat-sheet/

kavaruka•1h ago
I have been using Lit in production for 3 years now. I think it is the best abstraction over the web components API out there.
selectnull•1h ago
Same here.

I have actually wrote a few web components by hand in an environment where I didn't want any external dependencies and when that requirement was dropped I really liked how easy was to convert them to LitElement (and how much nicer it is to work with them).

I also have embraced the shadow DOM which is a default, but I think it's more trouble than it's worth. Now I use LitElement without shadow DOM and it works great as well.

troupo•1h ago
The evolution of lit is fascinating to watch because it's built and promoted by people with rather visible and public dislike of everything React. And yet, it's already turned into React-lite.

- Custom HTML-like syntax

    <button @click="" .disabled="" />
- Custom Javascript rules

    // valid JS, invalid lit
    const tagName= "a";
    
    `<${tagName} href="">Some link</${tagName}>`
- Custom rules for special functions.

    // classMap looks like a regular JS function, but it's not.
    // Both of these will produce an error
    
    <div class="my-widget ${classMap(dynamicClasses)}  ${classMap(dynamicClasses)}">Static and dynamic</div>

    <div data-class="${classMap(dynamicClasses)}">Static and dynamic</div>
- Context https://lit.dev/docs/data/context/

- Experimental compiler: https://github.com/lit/lit/tree/main/packages/labs/compiler#...

jfagnani•55m ago
You have a very large axe to grind against web components and Lit, and you show up just about everywhere to make the same comments, but I'll play along anyway:

Yes, Lit templates give some special meaning to attribute names with a few prefixes. No, it's not "HTML-like". It's valid HTML. Not that it matters much. You bring this up all the time but I'm not sure what the actual criticism is. Developers seem to understand the small syntax carve-out just fine.

No, there are no custom JavaScript rules. Templates have some rules. I'm not sure why they wouldn't? In general you can't make things like tag and attribute names dynamic because you can't change them in HTML. You can actually write the template you show with what we call static templates though.

`classMap()` is a template directive. It has some rules about how it's used in templates, just like other JS functions can have rules about how their used. I'm not sure what makes that not a function.

But to your main point: Lit is not like React because it's not a framework. Lit helps you make custom elements - it's an implementation detail of some web components. Everything else about those elements: how you instantiate them, style them, where they work, etc., is all defined by the HTML and DOM standards. React is a framework, and defines its own rules about how its components work.

troupo•36m ago
> You have a very large axe to grind against web components and Lit

Yes, yes I do. Because Web Components are almost 15 years now, and they still struggle with the most basic of things. How's that abandoned roadmap going? https://w3c.github.io/webcomponents-cg/2022.html

> No, there are no custom JavaScript rules. Templates have some rules.

That is "here are regular JS functions. However, you cannot use them as regular JS functions in these specific contexts". Reminds me of certain very specific rules about specific functions in specific contexts in some other framework. Can't put my finger on it.

> I'm not sure what makes that not a function.

I never said it doesn't make it a function.

> But to your main point: Lit is not like React because it's not a framework.

Yeah, React wasn't a framework either, but just a library. Everything about DOM elements that React produces, how you instantiate them, style them, where they work etc. is all defined by the HTML and DOM standards.

But then React grew in the number of features, and can no longer be called a library even though still the only thing it does is output some DOM nodes.

I guess you'll insist on Lit being "just a library" even after it adds a ton of other functionality all other frameworks already have or are moving towards.

> I'm not sure what the actual criticism is

The criticism is usual: Lit is rapidly absorbing all the features from all the other frameworks and becoming a framework itself while many of its developers and proponents can't stop shitting all over other frameworks.

jfagnani•54m ago
Lit maintainer here. I should be going to bed, but I'll answer any questions if people have any!

Not sure why Lit showed up on the front page tonight :)

akmittal•43m ago
Curious which web platform features are missing that are preventing Web components to complete with React(for application development not widgets)?
jfagnani•33m ago
I think web components already compete extremely well for application development, and you see very complex apps built with Lit out there: Photoshop, Firefox, Chrome OS, Chrome DevTools.

Apps are well served because they have more control about how components are used: they can import the same shared styles into every component, take are to not double-register elements, etc.

But I think there are some important standards still missing that would open things up even more in the design system and standalone components side:

- Scoped custom element registries. This moves away from a single global namespace of tag names. Seems like it's about to ship in Safari. Chrome next.

- Open styleable shadow roots. Would allow page styles to flow into shadow roots. This would make building components for use with existing stylesheets easier.

- CSS Modules. Import CSS into JS. Shipping in Chrome. About to land in Firefox.

- ARIA reference target: make idref-based reference work across shadow roots

polyrand•39m ago
Hi! Not really a question, but just an appreciation message. I haven't used the full "Lit" package a lot, but "lit-html" is incredibly useful.

I use it in almost all my personal websites. And when I don't use it, I end up reinventing half of it and realize I should have used it from the start. This command is in most of my projects:

  curl -L https://cdn.jsdelivr.net/npm/lit-html@3/lit-html.js -o ${project}/lit-html.js
I've never felt I'm using a framework or anything that deviates from Vanilla JS and valid HTML, which is why using it hardly causes any more cognitive load than using regular string templates and JavaScript functions. Which is something that I can't say about other frontend tools.

Another thing I like from Lit is that with the CDN bundle, it's straightforward to experiment and use all the features without needing a build step.

preommr•37m ago
Any whispers of something like lit being made part of the webcomponents standard?

Web components are nice because they're browser-native, but they don't support reactivity, which in hindisight, is a massive oversight, issue, whatever you want to call it - it's hindered adoption.

Lit is nice because there's a very straightforward progression from web components.

jfagnani•25m ago
Lit has always been designed partially as a prototype for where web component standards could go in the future. That's a big reason Lit is fairly conservative and un-opinionated. It doesn't try to undo or paper-over any of the DOM APIs, but add to them instead.

There is a proposal in TC39 for native signals, which I think would make a huge dent towards library-less reactivity.

I'm also working on a proposal for native reactive templating which would more-or-less obsolete lit-html. I wrote about the idea some on my blog:

- The time is right for a DOM templating API https://justinfagnani.com/2025/06/26/the-time-is-right-for-a...

- What should a native DOM templating API look like? https://justinfagnani.com/2025/06/30/what-should-a-dom-templ...

edweis•36m ago
Is there a way to efficiently use Lit without using a bundler?
jfagnani•30m ago
Lit's just a JavaScript library published as standard modules, so it doesn't require a bundler. Using Lit efficiently is the same as using any other library.

HTTP/3, import maps, and HTML preloads can make unbundled app deployment almost reasonable in some cases. You'd still miss out on minification and better compression form a bundle. Shared compression dictionaries will make this better though.

kubb•51m ago
For the frontend work that I did, Lit was a godsend. It really helps you build components and apps without getting in the way.

In comparison, Angular is a monster, and React is designed for the old browser capabilities, and is now staying around by inertia, not by inherent quality.

pmg101•4m ago
Which old browser capabilities are you referring to? Could you say more, or link to more details?
tkubacki•34m ago
Lit is fantastic lib as a way out from legacy web framework (since can be injected in any framework including Vue, Angular, React). I used it as a way out out of old Vue2 project
ricny046•32m ago
I love Lit! I have been using it to develop a in-app widget for product updates here: https://supanotice.com (the in app-widget opens up if you click on the bubble in the bottom right corner)

Really love the abstraction that makes web components easy to use.