frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
243•isitcontent•16h ago•27 comments

Show HN: I spent 4 years building a UI design tool with only the features I use

https://vecti.com
346•vecti•19h ago•153 comments

Show HN: If you lose your memory, how to regain access to your computer?

https://eljojo.github.io/rememory/
310•eljojo•19h ago•192 comments

Show HN: MCP App to play backgammon with your LLM

https://github.com/sam-mfb/backgammon-mcp
2•sam256•56m ago•1 comments

Show HN: I'm 75, building an OSS Virtual Protest Protocol for digital activism

https://github.com/voice-of-japan/Virtual-Protest-Protocol/blob/main/README.md
5•sakanakana00•1h ago•1 comments

Show HN: I built Divvy to split restaurant bills from a photo

https://divvyai.app/
3•pieterdy•1h ago•0 comments

Show HN: R3forth, a ColorForth-inspired language with a tiny VM

https://github.com/phreda4/r3
77•phreda4•16h ago•14 comments

Show HN: Smooth CLI – Token-efficient browser for AI agents

https://docs.smooth.sh/cli/overview
93•antves•1d ago•70 comments

Show HN: ARM64 Android Dev Kit

https://github.com/denuoweb/ARM64-ADK
17•denuoweb•2d ago•2 comments

Show HN: BioTradingArena – Benchmark for LLMs to predict biotech stock movements

https://www.biotradingarena.com/hn
26•dchu17•21h ago•12 comments

Show HN: Slack CLI for Agents

https://github.com/stablyai/agent-slack
49•nwparker•1d ago•11 comments

Show HN: Artifact Keeper – Open-Source Artifactory/Nexus Alternative in Rust

https://github.com/artifact-keeper
152•bsgeraci•1d ago•64 comments

Show HN: I Hacked My Family's Meal Planning with an App

https://mealjar.app
2•melvinzammit•4h ago•0 comments

Show HN: I built a free UCP checker – see if AI agents can find your store

https://ucphub.ai/ucp-store-check/
2•vladeta•4h ago•2 comments

Show HN: Gigacode – Use OpenCode's UI with Claude Code/Codex/Amp

https://github.com/rivet-dev/sandbox-agent/tree/main/gigacode
19•NathanFlurry•1d ago•9 comments

Show HN: Compile-Time Vibe Coding

https://github.com/Michael-JB/vibecode
10•michaelchicory•6h ago•1 comments

Show HN: Slop News – HN front page now, but it's all slop

https://dosaygo-studio.github.io/hn-front-page-2035/slop-news
15•keepamovin•7h ago•5 comments

Show HN: Daily-updated database of malicious browser extensions

https://github.com/toborrm9/malicious_extension_sentry
14•toborrm9•21h ago•7 comments

Show HN: Horizons – OSS agent execution engine

https://github.com/synth-laboratories/Horizons
23•JoshPurtell•1d ago•5 comments

Show HN: Micropolis/SimCity Clone in Emacs Lisp

https://github.com/vkazanov/elcity
172•vkazanov•2d ago•49 comments

Show HN: Falcon's Eye (isometric NetHack) running in the browser via WebAssembly

https://rahuljaguste.github.io/Nethack_Falcons_Eye/
5•rahuljaguste•16h ago•1 comments

Show HN: Fitspire – a simple 5-minute workout app for busy people (iOS)

https://apps.apple.com/us/app/fitspire-5-minute-workout/id6758784938
2•devavinoth12•9h ago•0 comments

Show HN: I built a RAG engine to search Singaporean laws

https://github.com/adityaprasad-sudo/Explore-Singapore
4•ambitious_potat•10h ago•4 comments

Show HN: Local task classifier and dispatcher on RTX 3080

https://github.com/resilientworkflowsentinel/resilient-workflow-sentinel
25•Shubham_Amb•1d ago•2 comments

Show HN: Sem – Semantic diffs and patches for Git

https://ataraxy-labs.github.io/sem/
2•rs545837•11h ago•1 comments

Show HN: A password system with no database, no sync, and nothing to breach

https://bastion-enclave.vercel.app
12•KevinChasse•21h ago•16 comments

Show HN: FastLog: 1.4 GB/s text file analyzer with AVX2 SIMD

https://github.com/AGDNoob/FastLog
5•AGDNoob•12h ago•1 comments

Show HN: GitClaw – An AI assistant that runs in GitHub Actions

https://github.com/SawyerHood/gitclaw
10•sawyerjhood•22h ago•0 comments

Show HN: Gohpts tproxy with arp spoofing and sniffing got a new update

https://github.com/shadowy-pycoder/go-http-proxy-to-socks
2•shadowy-pycoder•13h ago•0 comments

Show HN: Craftplan – I built my wife a production management tool for her bakery

https://github.com/puemos/craftplan
568•deofoo•5d ago•166 comments
Open in hackernews

Show HN: Mochia, a virtual pet browser game, built with Rust, SolidJS, Postgres

https://mochia.net/
24•lemphi•7mo ago
Around three years ago, I was reminiscing about how much I loved playing Neopets as a kid. Meanwhile, I was also looking for a project to better learn Rust and SolidJS. So.. I figured making my own virtual pet browser game would be a fun way to practice! Since then, I’ve been working on it nearly every day, and.. it’s grown quite a bit! Here are some bulleted lists for your convenience:

Technical Details:

  * Backend monolithic Rust server runs on a single $5/month VPS

  * Lean frontend with just 3 dependencies (SolidJS, Solid Router, and Mutative)

  * Around 130,000 combined lines of code (frontend + backend)

  * Rust server uses axum, sqlx, tokio, rand, strum, tungstenite (websockets)

  * No server crashes or data loss in 3 years (thank you Rust + Postgres!)

  * Almost all graphics (500+ assets) are SVGs for perfect detail at every zoom level

  * Fully mobile responsive and playable on all modern browsers and devices

  * Actor model for player actions enables trivial parallel, multi-core scaling

  * Single page application that preloads entire game world on initial page load

  * Instantaneous navigation between pages (no additional page fetches required)

  * Lightweight game engine for minigames, powered by custom WebGL shaders

  * Rust is the single source of truth for data structures shared between browser and server

  * Custom derive macros used to autogenerate TypeScript bindings and binary decoding functions

  * Binary WebSocket messages with custom protocol for client-server communication

  * O(1) selection for nested, weighted-random item reward pools

  * Minigames can be played without an account (but rewards can't be saved)

Features:

  * Completely free to play with no ads or tracking

  * Multiplayer browser-based virtual world with 80+ locations to explore

  * Dark mode toggle switch

  * Simple minigames that smoothly run at your display's refresh rate

  * Public leaderboards that track the top scores in each minigame

  * Pet training system with turn-based card-based battle arena

  * Dynamic player economy with player-run shops

  * Player guilds that members can level up to unlock perks

  * Abandoned mines area created by maze generation algorithm

  * Create / adopt pets, adorn them with hats, give them pets, change their color, etc.

  * 220 items to collect (food, toys, cosmetics, books, charms, tiny creatures, etc.)

  * In-game currency with banking, auctions, stock market, and jobs system

  * Villagers you can talk to, befriend, and complete quests and jobs for

  * Optional push notifications (like for when you win an auction)

  * 38 achievement avatars to unlock

  * Social features: befriend others, send gifts, and share your recent activity

  * NPC shops that restock over time (sometimes with very rare items!)

  * Luck system with ways to boost your luck for better rewards

  * Many puzzles that grant items or MP (currency) when solved

  * Fishing, gardening, caves, random events, fountains, galleries, etc.

  * Wheels to spin, treasure maps to complete, and secrets to explore!

  * Much, much more but I don't want to spoil everything!

Links:

  * Website URL: https://mochia.net

  * Community Discord: https://discord.gg/ub6z8YH866

  * Gameplay Video: https://www.youtube.com/watch?v=CC6beIxLq8Q

  * Screenshots Album: https://imgur.com/a/FC9f9u3

I'd love to answer any questions, hear any thoughts, or read any sort of feedback or criticism!

Comments

npinsker•7mo ago
I played Neopets a long time ago. It meant a lot of different things to a lot of people, and -- while you're obviously not 100% there yet -- it's incredibly impressive to have done such a large piece of it on your own.

That said, I always saw the "core fantasy" of the experience as developing a relationship with your pet(s). I liked having to feed my pet, and read books to it, and then it would talk to me back. Playing games and going on adventures were framed as being done "with" your pet. The pets were well-drawn and cute, and the higher-level cosmetic items were expensive but very desirable.

From your page, I wasn't sold on that fantasy, or any fantasy in particular. If you look at the popular pet-care games nowadays, they have a fraction of the features you do while still (clearly) striking a chord with a huge number of people. Maybe part of it is because they focus on that relationship more? Especially in today's world -- but even back in 2000 -- I think features like games, items, stats, etc. need to tie in to some sort of greater fantasy in order to catch interest.

You don't have to care about any of this though, especially since you're making it for yourself. It looks fun and the tech stack seems awesome.

Is it actually possible to play minigames without creating an account? I couldn't figure out how.

lemphi•7mo ago
Thank for you for this thoughtful reply!

Yeah, I definitely hear you with regard to the "greater fantasy" aspect. Some other players have also recently mentioned their desire for more fleshed out lore. It's something I personally struggle with but I should definitely do better in this regard, as I do want mochia to be enjoyed by more people.

You currently can feed your pets, give them toys, and read books to them (each book also has unique text that you can read inside, often with secrets about the world), and your pets should reply with their reaction (as different pet species like different things), but I agree with you that a lot of these interactions don't really "sell" themselves, and they certainly deserve more polish.

And yes, the minigames don't require an account. My apologies, I should have been more clear in the original post on exactly what a minigame is in this context. These are the locations that start off with a black tutorial screen, and then generally involve a game loop. Most other locations require an account because they require making a request to the server, but minigames can just be played entirely client-side just for fun. Here's some of my favorite ones that don't require a login:

https://mochia.net/map/airia/shrumble

https://mochia.net/map/whisperwood/enspell

https://mochia.net/map/treehollow/snarf

https://mochia.net/map/treehollow/loose-lambs

https://mochia.net/map/airia/leapscape

https://mochia.net/map/whisperwood/stellara

https://mochia.net/map/airia/sugar-rush

https://mochia.net/map/dunespire/pyramid/brick-break

https://mochia.net/map/ghoulery/spelunker

https://mochia.net/map/whisperwood/comet-rush

https://mochia.net/map/whisperwood/fruit-blast

https://mochia.net/map/whisperwood/radiant-revival

https://mochia.net/map/flakefall/matchicle

kwere•7mo ago
how much game data do you store on postgres ? do you use classical update cycles ?
lemphi•7mo ago
Basically the bare minimum amount of data is stored in Postgres. Many of the locations are stateless, or it's okay if they are wiped on server restart (like NPC shop inventories, since they can just be regenerated on server startup, so they only exist in server memory). And most of the game world is just included in the large static bundle (item names and descriptions, dialogue, etc.).

The main data stored in Postgres are things that must be durable, like your items, currency, unlocked avatars, friends list, gallery, garden, guilds, friendship levels with villagers, profile information, personal shops, and things like that. But even in these cases integer identifiers are used (for things like item IDs and avatar IDs), so the tables remain very lean.

What do you mean by classical update style? I'm not sure if you're still referring to Postgres or if you're talking about the minigames (like does the update loop run at a fixed internal?), or maybe something else entirely?

yungporko•7mo ago
what are your thoughts on solidJS? seems like they're going for "react but not shit", think they pulled it off?
lemphi•7mo ago
I think it's really great and highly recommend it! Its mental model seems a lot simpler to me, and the runtime performance and bundle size is top-tier as well.
meatball-farmer•7mo ago
Do you have plans to share more detail on or open source the Rust-to-TypeScript derive macros and protocol they target? Have you run into any limitations with it?
lemphi•7mo ago
Yeah so these were the first derive macros I've ever written, and they're quite ad-hoc to say the least, with very few types / expression syntaxes being supported currently. Also, I'm not sure how useful others would find them as they're all meant to work in tandem for my exact use case where I wanted a very specific output that also generated const enums and verbose interface definitions that worked with my code generation for generating binary decoding functions for each type.

I'm not necessarily against open sourcing them, but I'd probably want to significantly polish / rewrite them first and write a lot of documentation, and probably only if there was significant demand. In the meantime I think there's a decent number of crates for generating Typescript bindings for Rust types that have much better support (like ts-rs and typeshare)

HocusLocus•7mo ago
RIP Mocha https://www.youtube.com/watch?v=r0E-0ntoNWo