frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Spikelog – A simple metrics service for scripts, cron jobs, and MVPs

https://spikelog.com
36•dsmurrell•2mo ago
Hi all!

I built Spikelog because I kept wanting to track simple numbers over time but every time I looked at proper observability tools, I'd bounce off the setup complexity. I wanted to make something that didn't require a lot of thinking to use.

Spikelog is made to be as simple as possible:

- POST a JSON with chart name + value (you can add some tags as well but I've not tested this part works yet)

- Chart appears automatically

- 1,000 point rolling window per chart (old data expires, no retention config)

- Max 10 charts

That's basically the whole product.

I built it in about a day using Cursor. The API is intentionally minimal so AI assistants can use it too.

I have a prompt that lets your coding agent analyze a codebase and add tracking automatically (after you approve the plan).

I used it to make Spikelog track itself: https://spikelog.com/p/spikelog

There's no alerting yet (that's next), no complex aggregations, no dashboards beyond the auto-generated charts. If you need real observability use something fully featured like Axiom or Datadog. This is for people who just want to see if a number went up or down and don't want to build that themselves. i.e. they want something slightly better than just logging the number.

You can also share the charts publicly and I might add some password protection if there is demand for that.

I haven't battle-tested it under heavy load. The rolling window deletion is naive (deletes oldest points on insert). There are probably edge cases I haven't hit yet.

Would love feedback, especially if you try it and hit something broken.

Comments

avocadosword•2mo ago
I find interesting that you have added the AI prompt as an example integration guide. Will this become a new trend that products not only provide API, SDK but also prompts for your coding agent of choice.
dsmurrell•2mo ago
A lot of products are giving some agent instructions as a guide to using them... e.g. https://electric-sql.com/docs/agents

This really helps if they've had large version changes and the coding agents (without a search) only know about the old docs.

In that sense, adding prompt instructions for Spikelog feels like a natural extension of this trend. I mainly added them to share what worked for me when integrating another product with Spikelog.

CharlesW•2mo ago
> Will this become a new trend that products not only provide API, SDK but also prompts for your coding agent of choice.

It seems like it's becoming the new norm. Two recent examples I've seen: Xcode ships with for-LLM xOS documentation, and Stytch provides for-LLM SDK/API documentation.

lionkor•2mo ago
> See Spikelog's own metrics ← Generated with one prompt

Ah, that's why it shows user count (an integer) as a floating point? Or is that an inherent limitation somehow?

dsmurrell•2mo ago
Yep, that's not ideal... if all the numbers are integers, it would be better if Spikelog recognised the chart as a chart of ints and remove the floating points. Thanks for the feedback!
lionkor•2mo ago
How did you go about building this? What was your process, and how did you use AI to aid you?
dsmurrell•2mo ago
I used Cursor and Opus 4.5. What made it faster for me was symlinking in a few on-going projects that I've been working on which gave Cursor a reference for how I set things up in these projects.

I also have this method for helping Cursor see the realtime output of services I'm running while developing locally which really speeds things up: https://foundinglean.substack.com/p/the-best-improvement-ive...

This substack is pretty new for me, but I'm planning on sharing more things there which may (or may not) help others. Next article there will just be sharing the symlinking setup (not rocket science - but some people don't know ln -s exists).

lionkor•2mo ago
So is this app essentially written by an LLM, not by you?
dsmurrell•2mo ago
Coding agents might get there someday, but today they still need quite a bit of assistance.
intev•2mo ago
What appeared as a good faith question, was answered in good faith and of course was later revealed to be a "gotcha" question. It's all so tiring.

"Oh so you drove all the way to my house? You couldn't walk?"

lionkor•2mo ago
Sorry I simply felt like my question wasn't really answered.
kordlessagain•2mo ago
Poster literally says in the comment you replied to that they used other code they had to speed the development, so no it doesn't appear they wrote it entirely with an LLM, not that would matter if they did as long as it did what it was suppose to do (and what it was suppose to do isn't being defined by a gatekeeper).
indigodaddy•2mo ago
They already said they used AI, why ask again? These sorts of comments are unnecessary even when there might be a lack of transparency, which isn't the case here at all.
imiric•2mo ago
This looks neat, thanks for building and sharing it.

I do agree that observability stacks are usually a deep pit of things to configure and services to run, but there are tools that simplify things considerably. I can personally vouch for OpenObserve, and I've heard good things about SigNoz as well. They're essentially a single-binary deployment, and all it requires is configuring otel-collector on each machine you want to send data from. I know that OpenObserve has a REST API as well, so you can just send the data via plain HTTP if you prefer to not use OpenTelemetry.

So while I'm sure your project is useful for very simple use cases, it will be difficult to support anything slightly more sophisticated. And you'll have to reinvent the wheel for most of this, of course. But good luck, regardless!

dsmurrell•2mo ago
Thank you! and I appreciate the mentions... they’ll definitely be useful for my projects that need more than simple tracking. I might choose to link them instead of Axiom after doing more research into the options!

I’m very aware there are a lot of mature solutions in this space. Almost too much choice - which gave me decision paralysis when my need was simple. I’m not aiming to compete with full observability stacks like that. My goal with this was to intentionally stay on the extremely simple end of the spectrum. I'm aiming for something that’s quick to integrate, easy to understand, and focused on lightweight metrics rather than deep operational telemetry.

I’m also a big fan of Plausible and the idea of making select projects or charts publicly viewable in a dynamic way. Their public dashboard here was a big inspiration: https://plausible.io/plausible.io

That’s the model I borrowed for Spikelog as well: https://spikelog.com/p/spikelog

straydusk•2mo ago
Nice! Gonna give it a try for my new project.

Some thoughts: 1) I think you could simplify the onboarding - I don't think I actually need to make an account up front. It somewhat contradicts the way the landing page presents things. 2) The AI prompt does a good job - I really like the output it provides. 3) It doesn't seem like there's a super straightforward way to separate local & production logs - would be nice.

I implemented it - I'll see how it cooks the next couple of days & check back.

Side note, if you want to try that project, since you're a vibe coder, I'd appreciate the feedback too - vibescaffold.dev.

dsmurrell•2mo ago
Great, you're the first user then! If don't mind sharing your metrics, feel free to DM me on discord, I've joined yours.

1) Good point, I wanted to avoid the complexity of this for the first version, but you're 100% right, it would be great for someone to try first then upgrade when they register an account.

2) Thanks. Great to hear!

3) The best way to do this right now would be to create a project for each env and then give each env the API key from the corresponding project. Another way could be to put the env in the tags, but I think that's a bit messier as both lines would appear on the same chart (plus I've not even tested that works yet).

vibescaffold.dev looks interesting. Let me spend a bit of time and I'll feed back in your discord.

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

https://github.com/valdanylchuk/breezydemo
255•isitcontent•18h ago•27 comments

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

https://vecti.com
354•vecti•20h ago•160 comments

Show HN: Kappal – CLI to Run Docker Compose YML on Kubernetes for Local Dev

https://github.com/sandys/kappal
10•sandGorgon•2d ago•2 comments

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

https://eljojo.github.io/rememory/
327•eljojo•21h ago•198 comments

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

https://github.com/phreda4/r3
79•phreda4•18h ago•14 comments

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

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

Show HN: MCP App to play backgammon with your LLM

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

Show HN: XAPIs.dev – Twitter API Alternative at 90% Lower Cost

https://xapis.dev
3•nmfccodes•36m 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
6•sakanakana00•3h ago•1 comments

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

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

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

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

Show HN: Slack CLI for Agents

https://github.com/stablyai/agent-slack
50•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: ARM64 Android Dev Kit

https://github.com/denuoweb/ARM64-ADK
17•denuoweb•2d 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: I Hacked My Family's Meal Planning with an App

https://mealjar.app
2•melvinzammit•5h 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•6h ago•2 comments

Show HN: Compile-Time Vibe Coding

https://github.com/Michael-JB/vibecode
10•michaelchicory•7h 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
17•keepamovin•8h ago•5 comments

Show HN: Micropolis/SimCity Clone in Emacs Lisp

https://github.com/vkazanov/elcity
173•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/
6•rahuljaguste•17h ago•1 comments

Show HN: Daily-updated database of malicious browser extensions

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

Show HN: Horizons – OSS agent execution engine

https://github.com/synth-laboratories/Horizons
23•JoshPurtell•1d ago•5 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: Fitspire – a simple 5-minute workout app for busy people (iOS)

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

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

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

Show HN: Sem – Semantic diffs and patches for Git

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

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

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

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

https://github.com/SawyerHood/gitclaw
10•sawyerjhood•1d 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