Tuesday, 15 August 2023

New Show Hacker News story: latest news

Show HN: Servicer, pm2 alternative built on rust and systemd
3 by shardulaeer | 0 comments on Hacker News.
Servicer is a CLI to create and manage services on systemd. I have used pm2 in production and find it easy to use. However a lot of its functionality is specific to node.js, and I would prefer not to run my rust server as a fork of a node process. Systemd on the other hand has most of the things I need, but I found it cumbersome to use. There are a bunch of different commands and configurations- the .service file, systemctl to view status, journald to view logs which make systemd more complex to setup. I had to google for the a template and commands every time. Servicer abstracts this setup behind an easy to use CLI, for instance you can use `ser create index.js --interpreter node --enable --start` to create a `.service` file, enable it on boot and start it. Servicer will also help if you wish to write your own custom `.service` files. Run `ser edit foo --editor vi` to create a service file in Vim. Servicer will provide a starting template so you don't need to google it. There are additional utilities like `ser which index.js` to view the path of the service and unit file. ``` Paths for index.js.ser.service: +--------------+-----------------------------------------------------------+ | name | path | +--------------+-----------------------------------------------------------+ | Service file | /etc/systemd/system/index.js.ser.service | +--------------+-----------------------------------------------------------+ | Unit file | /org/freedesktop/systemd1/unit/index_2ejs_2eser_2eservice | +--------------+-----------------------------------------------------------+ ``` Servicer is daemonless and does not run in the background. It simply sets up systemd and gets out of the way. There are no forked services, everything is natively set up on systemd. You don't need to worry about resource consumption or servicer going down which will cause your app to stop. Do give it a spin and review the codebase. The code is open source and MIT licensed- https://ift.tt/pcLosXF

New Show Hacker News story: latest news

Show HN: Visual Reference to CSS Selectors
15 by CosmosSeb | 4 comments on Hacker News.


Monday, 14 August 2023

New Show Hacker News story: latest news

Show HN: AV1 Broadcasting from OBS
3 by Sean-Der | 2 comments on Hacker News.


New Show Hacker News story: latest news

Show HN: AI chatbot on Mermaid Chart for simplifying text-based diagram creation
5 by jordanroga | 0 comments on Hacker News.


New Show Hacker News story: latest news

Show HN: Little Rat – Chrome extension monitors network calls of all extensions
19 by npace12 | 3 comments on Hacker News.
Hi HN I needed a way to monitor network calls made by chrome extensions so I made a small extension. You can install it by dropping the zip or crx into the extensions page. It'll be on the chrome store whenever/if it gets through the review. Hopefully it's useful to others. https://ift.tt/dL2vXRF https://twitter.com/dnak0v

New Show Hacker News story: latest news

Show HN: A website chatbot that also uses APIs
3 by iamrafal | 0 comments on Hacker News.
Hi! "Another chatbot for your content" you may ask? Not really! Let me explain. I have realized that there's an untapped potential for ChatGPT plugins: why leave them locked up in the OpenAI store? Let's embed them on websites or share using links! Let's make chatbots ~ do stuff ~, not just talk about what they know. That's how Chatwith was born. It is a chat widget, it scrapes your website, knowledge page, notion etc - but more importantly, it also understands your API. It can interact with that API on your or your visitors' behalf. Some use cases & ideas: - Shopify bot - ask it for order status and invoice - Realtor - ask for budget, provide listings - Survey - ask questions, collect answers, submit to Typeform - Airline service - get your boarding pass - Mixpanel - talk to your analytics In other words: - Talk to APIs & hot data - ChatGPT plugin on every website - Your SaaS can be a chatbot - APIs made accessible (they were reserved for devs until now) - Create an API, use chat as the interface - skip the frontend I am trying to envision a future where website visitors are empowered to just say what they want from the business - instead of navigating endless dashboards and documentation. I'm looking for some feedback about my product! lmk Rafal

New Show Hacker News story: latest news

Show HN: I made a tool that turns images into videos to boost our Twitter reach
4 by andreiterteci18 | 0 comments on Hacker News.
Recently there were some changes to the Twitter algorithm and one of the most important ones was boosting video content even more in the feed, which got me thinking: "Why shouldn't we benefit from the algo changes and get a boost every time we are sharing some visuals?" So I spent the weekend building a tool that: - Turns your images into videos - Has 30 beautiful animated gradients that we can pick from - Is completely FREE I'd love to know your thoughts about it!