frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Neko.js, a recreation of the first virtual pet

https://louisabraham.github.io/nekojs/
2•Labo333•2h ago
Hi HN,

Here is a late Christmas present: I rebuilt Neko [1], the classic desktop cat that chases your mouse, as a tiny, dependency-free JavaScript library that runs directly on web pages.

Live demo: https://louisabraham.github.io/nekojs/

GitHub: https://github.com/louisabraham/nekojs

Drop-in usage is a single script tag:

    <script src="https://louisabraham.github.io/nekojs/neko.js" data-autostart></script>
This is a fairly faithful recreation of Neko98: same state machine, same behaviors, same original 32×32 pixel sprites. It follows your cursor, falls asleep when idle, claws walls, and you can click it to cycle behavior modes.

What made this project interesting to me is how I built it. I started by feeding the original C++ source (from the Wayback Machine) to Claude and let it "vibe code" a first JS implementation. That worked surprisingly well as a starting point, but getting it truly accurate required a lot of manual fixes: rewriting movement logic, fixing animation timing, handling edge cases the AI missed, etc.

My takeaway: coding agents are very useful at resurrecting old codebases, and this is probably the best non-soulless use of AI for coding. It gets you 60–70% of the way there very fast, especially for legacy code that would otherwise rot unread. The last 30% still needs a human who cares about details.

The final result is ~38KB uncompressed (~14KB brotli), zero dependencies, and can be dropped into a page with a single <script> tag.

Happy to hear thoughts from desktop pets nostalgics!

[1]: https://en.wikipedia.org/wiki/Neko_(software)

I think I found a bug in amazon.com

1•_cairn•38s ago•0 comments

Every Test Is a Trade-Off

https://blog.todo.space/2025/12/27/buying-the-right-test-coverage/
1•birdculture•1m ago•0 comments

Show HN: I built an AI that generates clean docs for vibe-coded apps

https://www.superdocs.cloud/
1•udit_50•1m ago•0 comments

Ask HN: How can I stop Google search AI overview from spoilers?

1•ex-aws-dude•2m ago•0 comments

How hard is it to encapsulate life? The general constraints on encapsulation

https://royalsocietypublishing.org/rstb/article/380/1936/20240297/235091/How-hard-is-it-to-encaps...
1•PaulHoule•2m ago•0 comments

Finger-Nose Stylus for Touch Screens

https://variationsonnormal.com/2011/04/28/finger-nose-stylus-for-touchscreens/
1•downboots•2m ago•0 comments

The Untold Story of the Nintendo Entertainment System [video]

https://www.youtube.com/watch?v=uJvpRGibFhg
1•Timothee•2m ago•0 comments

Oct 9, 2006 to Dec 27, 2025 – 7,020 Days of Hacker News

https://da0a80a4.static-news-dtg.pages.dev/static
1•keepamovin•4m ago•1 comments

Which Humans?

https://osf.io/preprints/psyarxiv/5b26t_v1
1•surprisetalk•4m ago•0 comments

Fighting Fire with Fire: Scalable Oral Exams with an ElevenLabs Voice AI Agent

https://www.behind-the-enemy-lines.com/2025/12/fighting-fire-with-fire-scalable-oral.html
2•Panos•6m ago•0 comments

Meta's ads tools started switching out top-performing ads with AI-generated ones

https://www.businessinsider.com/meta-ai-generating-bizarre-ads-advantage-plus-2025-10
13•zdw•10m ago•1 comments

Next Five Asteroid Approaches

https://www.jpl.nasa.gov/asteroid-watch/next-five-approaches/
1•gnabgib•10m ago•0 comments

Show HN: Cmt is an AI powered commit generator

https://github.com/clifton/cmt
1•cliftonk•11m ago•0 comments

Nx "pulled the rug" on us, a potential solution and lessons learned

https://salvozappa.com/how-nx-pulled-the-rug-on-us.html
2•lladnar•11m ago•0 comments

Russian Ghost Ship Sank Smuggling Nuclear Reactor Parts Likely Bound for N Korea

https://united24media.com/latest-news/russian-ghost-ship-sank-while-smuggling-nuclear-reactor-par...
6•ck45•12m ago•1 comments

Walmart opts for 3D-printed buildings using technology from Alquist

https://unionrayo.com/en/walmart-3d-printed-building/
3•stevenjgarner•17m ago•1 comments

The "4-Hour Barrier": Forensic Audit of Sm_90 Logic Decay on Nvidia H100

1•Stan_Byriukov•18m ago•0 comments

Bubbly Moonshots: On stagflation, neolabs, how to handpick not-stupid categories

https://substack.com/home/post/p-182749582
2•theno0b•18m ago•0 comments

Ralph Nader Has a Pencil Eraser Problem. We Put 100 Kids on the Case

https://www.nytimes.com/wirecutter/reviews/ralph-nader-pencil-erasers/
1•nateb2022•19m ago•0 comments

Sun Times Visualization

https://udivankin.github.io/sunrise-sunset/
1•amadeuspagel•19m ago•0 comments

Profiling Python and Ruby Using eBPF

https://www.polarsignals.com/blog/posts/2023/10/04/profiling-python-and-ruby-with-ebpf
1•nickdevx•19m ago•0 comments

Binary Ninja is an interactive decompiler and binary analysis platform

https://binary.ninja/
1•nickdevx•20m ago•1 comments

Shipping at Inference-Speed

https://steipete.me/posts/2025/shipping-at-inference-speed
1•gmays•23m ago•0 comments

Show HN: Template Files with Nix Home Manager

https://ckardaris.github.io/blog/2025/12/29/template-files-with-nix-home-manager.html
1•ckardaris•26m ago•0 comments

Prompt Injection Defenses

https://github.com/tldrsec/prompt-injection-defenses
1•kidbomb•27m ago•0 comments

Russian enthusiasts planning DIY DDR5 memory amidst the worldwide shortage

https://www.tomshardware.com/pc-components/ddr5/russian-enthusiasts-are-building-their-own-ddr5-r...
2•akyuu•28m ago•0 comments

Show HN: I made a Macrodata Refinement simulator for bank transactions

https://www.wealthsync.co/severance
1•dimos851•28m ago•0 comments

Testosterone administration reduces lying in men (2012)

https://pubmed.ncbi.nlm.nih.gov/23071635/
1•rgrieselhuber•29m ago•1 comments

IUseLinux: Access iMessage from your Linux (or windows) computer

https://www.iuselinux.com/
2•generativist•30m ago•0 comments

AI model running on graphing calculator

https://github.com/Phineas1500/CalculatorLLM
1•phineas1500•31m ago•2 comments