Hacker News

Subscribe to Hacker News feed
Hacker News RSS
Updated: 29 min 27 sec ago

Show HN: Syneva – A Chatbot under 3kb that fits in a QR code

Mon, 04/21/2025 - 8:29am

Follow up post from: https://news.ycombinator.com/item?id=43742639

TLDR: My attempts of jamming a somewhat smart conversational chatbot into a QR code (with a UI)

Here's what makes SYNEVA work:

I went with a pattern-matching approach instead of neural nets or tiny transformers (I tried that in archived versions, we DO NOT have space for this sadly). The entire system is built around our S class that's basically:

S {

constructor() { this.m = this.L() || {}; // Memory/learned responses this.v = {}; // Word frequency tracker this.c = []; // Conversation history this.h = ""; // Last message } }

*Memory & Learning*

SYNEVA can actually "learn" during conversations! We can't use localstorage because this is a BASE64 URI but we can still use SessionStorage. When you chat, it:

Creates context keys from the last 2 normalized words Stores your input/response pairs in this.m Tracks word frequencies in this.v for relevance scoring Persists this data inside the URL hash

*Response Generation*

For responses, it uses a multi-stage fallback system:

Pattern matching against phrases/questions (the few it has) Context-based lookup from some learned responses Word frequency analysis for fuzzy matching Default responses as last resort if nothing works

This lets it seem somewhat intelligent despite the size constraints.

*UI Layer*

Added a kinda retro looking green-on-black terminal interface and managed to get a typing animation!

Everything's packed into 2.8kb including HTML/CSS/JS and it's all in a QR code

Previous attempts with neural networks went upto 5.3kb even with 8-bit quantization and word-level processing. This pattern-matching approach with context awareness turned out way more efficient while still being somewhat "smart".

You can actually share your "trained" chatbot too - just share the URL with its hash, and your conversation context gets preserved :P

I'd love to know your thoughts or if you can make something better in the constraints, feel free to contribute

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

Points: 1

# Comments: 0

Categories: Hacker News

Impact, Agency, and Taste

Mon, 04/21/2025 - 8:21am

Article URL: https://www.benkuhn.net/impact/

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

Points: 1

# Comments: 0

Categories: Hacker News

Fastpanel

Mon, 04/21/2025 - 7:27am

Article URL: https://fastpanel.direct

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

Points: 2

# Comments: 0

Categories: Hacker News

Show HN: I built a tool that grows mind maps as you explore a topic

Mon, 04/21/2025 - 7:24am

I’ve always been curious about big, complex topics; things like quantum computing, AI ethics, or philosophy, but I’d often get stuck at the very beginning. I’d open a dozen tabs, skim Wikipedia, and still not feel like I had a good mental model of what I was even looking at.

So I built a tool to help with that. You type in any topic, and it generates a simple mind map; just a few high-level subtopics to start. Then, as you click and explore those nodes, it expands outward with more specific, connected concepts. The map grows with your curiosity.

It’s intentionally lightweight and incremental. The goal isn’t to overwhelm you with everything at once, but to help you gradually build a clearer picture and follow your own curiosity in a structured way.

I’ve been using it to explore new areas, plan research, and even prep for writing projects. If you're the kind of person who likes to "see" what they're learning, I’d love your feedback.

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

Points: 1

# Comments: 0

Categories: Hacker News

Show HN: I Built Feedaura to turn scattered feedback into clear insights with AI

Mon, 04/21/2025 - 7:22am

Hey, I want to tell you about something I’ve been working on. A while back, I was struggling to collect feedback on one of my projects—it was a mess, and I couldn’t find any tool to fix it. So, I decided to build FeedAura. It uses AI to take that chaotic user feedback and turn it into clear insights by categorizing it for you. It’s almost ready, and I’m super excited to launch it soon!

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

Points: 1

# Comments: 0

Categories: Hacker News

Show HN: I built a Bedtime Stories app with classic fairy tales for my daughter

Mon, 04/21/2025 - 7:21am

Hey HN! I’m Andrew, a dad and an IT geek, and I wanted to share a small passion project I built for my daughter.

Like many parents, I struggled with bedtime routines. I tried different apps, but most were filled with AI-generated or unfamiliar content. So I decided to create something better: a cozy, story-focused experience built around the timeless folk tales I grew up with.

The app was built in SwiftUI in just 2 weeks. I’m using the gpt-4o-audio-preview for dubbing and gpt-4.5 for translations (five languages supported so far). I also gave Cursor a try for the first time and ended up building the website in about 8 hours as a bonus (https://anytales.com).

I’m curious, would you use something like this for your kids? I’d love your thoughts, feedback, or suggestions!

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

Points: 1

# Comments: 0

Categories: Hacker News

Pages