shardulaeer
Joined 6 years ago
Joined 6 years ago
As of today it can generate an Arduino GATT server; I'm working to support more platforms, Zephyr, iOS etc.
https://github.com/servicer-labs/servicer/blob/762801e3c07b1...
I'm happy see this question "Why not use systemd" finally being asked. Apparently the people on NPM (2 million weekly downloads for pm2) ~~disagree~~ don't care. `pm2 start` just works, not everybody is a system admin. There are a bunch of threads around asking for a pm2 for Rust or golang. This tool tries to address this segment.
You can be a linux veteran still benefit with some commands like `ser status` which will only show the services you created, not the wall of text shown by `systemctl list-units`. CPU and Ram usage is thrown in as a bonus so you don't need to run a separate command. It's a neat trick that uses no database. The services end with `.ser.service`, this way we only see the units that servicer created. Run `ser which` and you'll get the unit and service file destination.
hp@hp:~$ ser status
+-----+-------------+----------+----------------+-------+--------+
| pid | name | active | enable on boot | cpu % | memory |
+-----+-------------+----------+----------------+-------+--------+
| 0 | hello-world | inactive | false | 0 | 0 |
+-----+-------------+----------+----------------+-------+--------+
| 0 | index.js | inactive | false | 0 | 0 |
+-----+-------------+----------+----------------+-------+--------+
Another UX improvement is the template generation. I found myself googling it everytime. I f there is something more custom (etc sockets) I can use the `ser edit`, this will open nano with a pre-populated template that I can edit.Finally why limit oneself to systemd? pm2 runs on Mac and windows, I aim to do the same. Same set of commands to create services everywhere, with details abstracted away (easier said than done, need to look into their APIs).
> It was my experience to care more about distance, speed, interval, and MTU on actual hardware than protocol confirmation to a PC.
That's exactly my concern, coupled with a (perceived) small pool of Bluetooth developers. Do you think there's a market for a Postman style commercial cloud product for team collaboration?