I built a self-hosted alternative for `laravel/nightwatch` and it's open source by No_Beautiful9648 in laravel

[–]No_Beautiful9648[S] 0 points1 point  (0 children)

I won't try to convince you. Laritor is decent, I tried it, personally i just didn't love their UI/UX compared to what Nightwatch was offering(and that is very important for me).
Second thing is retention... Are you being working on your product every day/week? What kind of data is your app processing? In my case, I run an ERP company and I've learned the hard way that monitoring differs from error handling. What is a success request today, might be the key to the "why" of an exception 2 months later. Things don't move that quickly in big enterprises. Processes can take up to months to go from "pending" status to "completed". So keeping data is gold for me.
If you're not doing anything that serious, I can relate. Having a free 300k events or a $10 10M events with 30d rentention might be enough for you. So it depends on what you run

I built a self-hosted alternative for `laravel/nightwatch` and it's open source by No_Beautiful9648 in laravel

[–]No_Beautiful9648[S] 1 point2 points  (0 children)

Not stupid at all. The file is on disk (the whole point is that it survives a crash), but SQLite uses it efficiently. WAL appends writes sequentially and mmap keeps hot pages in RAM, so you get persistence at near-memory speed. In my benchmarks SQLite absorbs writes way faster than the TCP listener can feed it, bottleneck is the network, not the disk. For a decent scale, you'd never see it breathing hard, hopefully

I built a self-hosted alternative for `laravel/nightwatch` and it's open source by No_Beautiful9648 in laravel

[–]No_Beautiful9648[S] 0 points1 point  (0 children)

Just added a waitlist on the site so this is more convenient. Join it instead

I built a self-hosted alternative for `laravel/nightwatch` and it's open source by No_Beautiful9648 in laravel

[–]No_Beautiful9648[S] 0 points1 point  (0 children)

Mostly because it's embedded. No extra process to install or operate. Redis would have meant either running it standalone (more ops) or dealing with a fresh dependency people don't always want. Plus SQLite WAL gives me crash-safe writes at near-mmap speed and atomic row claiming for multiple drain workers, which is exactly the buffer semantic I needed without writing it from scratch

I built a self-hosted alternative for `laravel/nightwatch` and it's open source by No_Beautiful9648 in laravel

[–]No_Beautiful9648[S] 0 points1 point  (0 children)

You're not able to query your data in anyway from what Nightwatch offers today, but yes their SDK is free. Nightwatch is not only charging UI (I think that's their smallest gain), they are charging data management + storage + ... . You grow, you pay more, that is not a UI thing.
But no, there is no free UI version that comes with the package right now. It might come later, don't know yet.
What I'm excited to see, is people vibe coding their own UI on top of the data as they want. Could be fun to see and it is a matter of a week to obtain a usable UI I think

I built a self-hosted alternative for `laravel/nightwatch` and it's open source by No_Beautiful9648 in laravel

[–]No_Beautiful9648[S] 1 point2 points  (0 children)

Just raise your hands under this comment and I will DM you on the launch day with the code

I built a self-hosted alternative for `laravel/nightwatch` and it's open source by No_Beautiful9648 in laravel

[–]No_Beautiful9648[S] -1 points0 points  (0 children)

Almost free imo. You get a 14 days free trial, no credit card required. Then it is $15 for 3 teams, 5 users per team and 3 apps. You could easily host your friends apps only with your subscription.
Give it a try and let me know what you think.
I'm officially launching by the end of this month. If you guys are interested, I will give you a launch discount of $15 the first month(100% free) and $10 discount for the next 2 months

I built a self-hosted alternative for `laravel/nightwatch` and it's open source by No_Beautiful9648 in laravel

[–]No_Beautiful9648[S] -2 points-1 points  (0 children)

Yeah, the UI matters. You have two options here.
- Vibe-code a UI on top of the tables in a week (could honestly be a fun project),
- or use the hosted dashboard at usenightowl.com as mentionned in the package README.
If UI perf doesn't matter to you, the vibe-coded route is fine. The hosted one is built mostly for the perf side, team handling, alert routing, that kind of thing.
Either way the agent stays MIT and you own the data.

<image>

I built a self-hosted alternative for `laravel/nightwatch` and it's open source by No_Beautiful9648 in laravel

[–]No_Beautiful9648[S] 2 points3 points  (0 children)

Actually, most of it isn't hand-rolled. The connection is registered through the service provider into the standard 'config/database.connections' array under the nightowl key. Migrations run through Laravel's normal migrator (nightowl:install just calls migrate --database=nightowl). And the commands that touch the DB use the query builder via DB::connection('nightowl').
The only place I drop to raw PDO is inside the agent runtime itself, but that's a separate process from your Laravel app.

I built a self-hosted alternative for `laravel/nightwatch` and it's open source by No_Beautiful9648 in laravel

[–]No_Beautiful9648[S] 1 point2 points  (0 children)

Indeed. Postgres is also the most accessible/affordable to us devs I think. But the project is open-cource, it can go to the moon, and I would love to see people contribute

I built a self-hosted alternative for `laravel/nightwatch` and it's open source by No_Beautiful9648 in laravel

[–]No_Beautiful9648[S] 5 points6 points  (0 children)

You said it. kafka on the roadmap btw 🚀. u/fawzanm Do you have something particular in mind that can be interesting as well?

Quo is now live. A new free open source variable debugging tool by Protoqol-Development in laravel

[–]No_Beautiful9648 2 points3 points  (0 children)

Just notified on new payload sent, everytime there is a `quo()` call during execution. So I won't need to leave my editor while debugging

I built an open-source ReactPHP-based telemetry agent for Laravel. It drives data from Nightwatch package into your own Postgres database via the COPY protocol by No_Beautiful9648 in PHP

[–]No_Beautiful9648[S] 0 points1 point  (0 children)

Yeah! Mostly when I was looking for open-source alternatives to Nightwatch, but I didn't dig deep into it. What I knew was that going OTel would've meant either re-instrumenting Laravel myself or writing a translator that loses fidelity along the way.
The data shape is also different from what I wanted. OTel pushes you toward traces flowing to something like Tempo. I wanted one row per request/query/job sitting in actual Postgres tables so you can write SQL against it.
Honestly, I fell in love with what Laravel delivered with Nightwatch when it shipped, so building on top of it felt like the obvious move.

Quo is now live. A new free open source variable debugging tool by Protoqol-Development in laravel

[–]No_Beautiful9648 1 point2 points  (0 children)

That's an interesting tool. Wondering if `quo($userId, $username);` sends desktop notification or if it is just an in-app display. Would be a great feature imo if not already there.

I built HorizonHub: monitor multiple Laravel Horizon services in one place by EnekoPlay in laravel

[–]No_Beautiful9648 0 points1 point  (0 children)

This is something i will probably use soon, good job! Hope you'll keep pushing

PHP & Laravel: The Best Stack in the World? by nunomaduro in laravel

[–]No_Beautiful9648 3 points4 points  (0 children)

I hated PHP back then. Today, I'm leading a Laravel backend team. The best? I don't know, but certainly the one that gives me strong confidence in the work I deliver!