Hacker News

Subscribe to Hacker News feed
Hacker News RSS
Updated: 9 min 41 sec ago

Stillcolor: Disable temporal dithering on your Mac

Mon, 11/04/2024 - 12:04pm

Article URL: https://github.com/aiaf/Stillcolor

Comments URL: https://news.ycombinator.com/item?id=42043575

Points: 1

# Comments: 0

Categories: Hacker News

Show HN: Watch/filter new domains from certificate transparency logs

Mon, 11/04/2024 - 12:03pm

This can be used to find phishing domains or domains matching any pattern you want if you select "custom filter." You can also connect over WebSocket at /ws and use any programming language you want.

There may be duplicates because some domains are published in multiple logs. I get data from all of the logs currently included with Chrome, a list of which is available here: https://github.com/google/certificate-transparency-community....

Comments URL: https://news.ycombinator.com/item?id=42043570

Points: 2

# Comments: 0

Categories: Hacker News

Show HN: Convert any website into a React component

Mon, 11/04/2024 - 12:03pm

Hey HN, we built a Chrome Extension (https://www.magicpatterns.com/extension) that converts a snippet of any website to an isolated React component.

Demo video: https://youtu.be/hutUYDkyE_A

How it works: 1) Iterate through each node in the selected DOM tree, 2) For each element, find any matching CSS selectors / inline styles, 3) Use window.getComputedStyle to get the deterministic values, 4) Construct JSX

It was pretty hard producing the minimal code necessary while maintaining the same visual look. To do this, we implemented things like abstracting out global styles, removing inherited styles, pulling out SVGs, deleting styles with no effect, and condensing styles into their shorthand properties.

We dive into each of those optimizations here for fun: https://www.magicpatterns.com/blog/any-website-to-react-comp...

One of the main reasons we cared so much about condensing down the styles was not only to make it more human-readable, but also to reduce context length for an LLM, so that you can iterate on it with AI. Our extension has a “convert” option that lets you convert the output to Tailwind, Shadcn, or Chakra UI using an LLM. You can also export to Figma.

We're frontend engineers and we built the extension because our core product (https://www.magicpatterns.com/) helps software teams prototype their product ideas. And a huge pain point for users is getting their existing designs into our product, so that they can reference them to generate UIs with their existing aesthetic.

The extension allows you to get existing design context from any website, even localhost. Since launch, the extension has more than 3,000 users and interestingly is most popular in Japan.

Here's some real examples if you're curious what the final output looks like:

A) Hacker News Navbar - https://www.magicpatterns.com/ac9f38e4-5ef0-49e5-8b80-dbc429...

B) ChatGPT Welcome Screen - https://www.magicpatterns.com/7cb3ad12-cb12-4a5b-b32b-eda04d...

C) Cal.com Calendar Component — https://www.magicpatterns.com/a43bac78-134d-458d-8107-811ac7...

D) Stripe.com logo section - https://www.magicpatterns.com/deff1793-7a05-42fe-97f7-945976...

If you have an opinion about the extension, we’re all ears! You can try it for free at: https://www.magicpatterns.com/extension

Comments URL: https://news.ycombinator.com/item?id=42043552

Points: 2

# Comments: 0

Categories: Hacker News

Lessons from 10 Years of Writing

Mon, 11/04/2024 - 12:02pm
Categories: Hacker News

Launching My 11th Website as a Development Beginner

Mon, 11/04/2024 - 12:00pm

Article URL: https://sprunkiphase3.online/

Comments URL: https://news.ycombinator.com/item?id=42043524

Points: 1

# Comments: 1

Categories: Hacker News

Show HN: Happy Inbox – Privacy First Gmail Cleanup

Mon, 11/04/2024 - 11:59am

Hey HN,

I have always been one of those who finds it very hard to maintain a clean inbox. Two main issues stood out: first, Gmail doesn’t make it easy to identify the biggest space hogs, and second, deleting large quantities of emails isn’t intuitive. I realized that inbox cleanup could be much simpler with the right approach.

Problem with existing solutions: When I looked for tools to solve this, I found they were either pricey or selling user data to third parties. For me, email holds some of my most sensitive personal data, so data-sharing was an absolute dealbreaker. Plus, Gmail cleanup is usually done periodically, so paying monthly fees wasn't convincing enough.

What Happy Inbox does differently: Happy Inbox organizes emails by volume. For example, if you have 1,800 emails from "Amazon Promotions," we group them in a “1500+” bucket, making it easy to delete all with a single click or selectively choose what to remove. This feature gives users clear insight into their top space consumers and an efficient way to clean up, all while prioritizing privacy. So you can check once in a while and clear out your top space cloggers and easily get back your inbox space. Easy-Peasy!!

Our journey so far: We launched Happy Inbox four months ago and have grown organically helped people worldwide delete over 6 million emails, showing just how much inbox clutter people are dealing with!

We’d love to hear your feedback and any ideas for improvement. Try it out here: www.happy-inbox.com

Comments URL: https://news.ycombinator.com/item?id=42043504

Points: 1

# Comments: 0

Categories: Hacker News

Pages