Hacker News

Subscribe to Hacker News feed
Hacker News RSS
Updated: 24 min ago

Show HN: React-cookie-banner – A cookie banner for React with minimal config

Wed, 03/26/2025 - 10:43am

Hi HN,

I built a React library that aims to simplify making websites GDPR-compliant with a fully integrated cookie banner solution.

I found existing solutions to be too simple (just giving an "Accept" button which isn't compliant) or too complex (requiring a lot of configuration and setup or paid external services). With this library, services simply need to be wrapped inside a `CookieService` component and the library will take care of the rest, handling:

- Displaying a cookie banner - Managing/storing user consent - Conditionally loading external scripts based on consent - Google Consent Mode - Multi-language support and customization

Would love to hear thoughts, feedback, or suggestions!

Live demo: https://vantezzen.github.io/react-cookie-banner/

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

Points: 1

# Comments: 0

Categories: Hacker News

Vibe coding a typing tutor with kids

Wed, 03/26/2025 - 9:43am

Article URL: https://typingtales.org

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

Points: 1

# Comments: 0

Categories: Hacker News

Ask HN: Why did you become an entreprenuer?

Wed, 03/26/2025 - 9:38am

Hi HN community,

My first try at being an entrepreneur was during my third university course. That’s when I realised I didn’t want to be a Civil Engineer.

In 2008 (I was 20), the crisis hit. Housing and building developments were put on hold.

In high school, it also felt like a tough choice. I thought I had to pick a career for life, and switching later seemed difficult.

Everything is possible these days. Now, we see astronauts becoming movie actors or vice versa.

It was a crucial moment for me, almost life-changing.

At that time, no one mentioned that you could easily switch careers. No one told me that sticking to one profession for life is not critical.

I remember when I was at university. While my peers attended lectures, we stood at the university entrance drinking tea and discussing business ideas with my good friend.

I used to think a business idea's uniqueness was the key to success. I was so naive! It’s funny how my mindset has changed. Now, I believe you need to create distribution/community first, then focus on the product, not the other way around.

This evolution is fascinating. While we brainstormed, I realised that entrepreneurship is really cool. You have many ways to grow, so you don’t have to stick to one profession. You don’t even need a higher education to start making and selling products to others.

It also lets you start fresh if you fail. You can test new ideas, so it's more about ideas than a specific profession. It seems like a way to alleviate the burden of choosing just one career.

Oh boy, I didn't even realize at the time how much uncertainty you have as an entrepreneur. With all these ups and downs, constant waves, pivoting, finding the business model, dealing with customers, dealing with customers who are not happy, ... (you name it).

I can’t picture that time, but being an entrepreneur boosted my confidence and gave me certainty back then.

I'm joking when I say, "I'm too old for startup sh*t." But then, I dive back in, full speed, to execute my new idea :)

Starting a new startup is easier after you've had both successes and failures. You've learned to set aside the constant hustle and even find time to enjoy your work.

I'd love to hear your stories on becoming an entrepreneur and what your driving forces were at that time.

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

Points: 1

# Comments: 1

Categories: Hacker News

Supply, Demand, and S&P 500 Financing

Wed, 03/26/2025 - 9:37am
Categories: Hacker News

Startup grants and credits organized by provider

Wed, 03/26/2025 - 9:37am

Article URL: https://creditforstartups.com/

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

Points: 1

# Comments: 1

Categories: Hacker News

Unique two-clawed dinosaur discovered

Wed, 03/26/2025 - 9:29am
Categories: Hacker News

Pages