home-assistant-js-websocket
ActionHero
home-assistant-js-websocket | ActionHero | |
---|---|---|
1 | 6 | |
306 | 2,411 | |
4.6% | 0.3% | |
8.5 | 7.7 | |
4 days ago | 3 months ago | |
TypeScript | TypeScript | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
home-assistant-js-websocket
-
What is your preferred way to do automations?
Now I write most of my automations in Javascript/Node using generators which makes it super easy to reason with lots of async stuff. You can use https://github.com/home-assistant/home-assistant-js-websocket to interface with Home Assistant.
ActionHero
-
10 Node.js Frameworks Every Developer Should Know
ActionHero.js is one of the most well-known API frameworks. It will help you quickly develop scalable and reusable Node.js API servers for your projects. ActionHero acts as a toolkit that will allow you to build such API servers that will initially work together with existing applications and platforms. With tens of thousands of users, you can always find the right answers and ideas to ensure a daily efficient workflow with ActionHero.
-
Using Typescript to create a Robust API between your frontend and backend
Two of the major components of the @grouparoo/core application are a Node.js API server and a React frontend. We use Actionhero as the API server, and Next.JS for our React site generator. As we develop the Grouparoo application, we are constantly adding new API endpoints and changing existing ones.
-
Deferring Side-Effects in Node.js until the End of a Transaction
At Grouparoo, we use Actionhero as our Node.js API server and Sequelize for our Object Relational Mapping (ORM) tool - making it easy to work with complex records from our database. Within our Actions and Tasks, we often want to treat the whole execution as a single database transaction - either all the modifications to the database will succeed or fail as a unit. This is really helpful when a single activity may create or modify many database rows.
-
Ask HN: How Long Is Your CI Process?
Hard to say without knowing /what/ you want to accomplish in your CI process, so maybe some open source examples will help:
* A "complex" library (node-resque). In CI (CircleCI) we install deps, compile Typescript to JS, test on 3 versions of node, and build docs. 4 min w/ some parallelization https://app.circleci.com/pipelines/github/actionhero/node-re...
* A web server framework (actionhero): In CI(Github Actions) we install deps, compile Typescript to JS, test on 3 versions of node, and build docs. 7 min w/ some parallelization https://github.com/actionhero/actionhero/actions/runs/801273...
* A Monorepo (Grouparoo): In CI (CircleCI) we install deps, compile Typescript to JS, run migrations, check licenses, test UIs, CLI tools, Plugins, and try out a few different databases. 5 minutes with rather extreme parallelization https://app.circleci.com/pipelines/github/grouparoo/grouparo...
-
How do multiplayer javascript games communicate with servers?
Websockets are the answer. Checkout https://www.actionherojs.com/ for a framework that works great as game server.
-
Handling and syncing types, docs and validation!
1: for example - https://demo.actionherojs.com/swagger.html 2: https://github.com/actionhero/actionhero/pull/1671
What are some alternatives?
frontend - :lollipop: Frontend for Home Assistant
bunrest - An express-like API for bun server
twitch-js - A community-centric, community-supported version of tmi.js
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
ewelink-web-ui - Ewelink Web App Tool for managing devices from PC
FortJs - A feature-rich Node.js web framework designed for building powerful, scalable, and maintainable web applications.
risco-mqtt-local - Provide Risco alarm system integration to Home assistant using local TCP communication (no cloud required) and MQTT
Express - Fast, unopinionated, minimalist web framework for node.
advanced-camera-card - A comprehensive camera card for Home Assistant
cls-hooked - cls-hooked : CLS using AsynWrap or async_hooks instead of async-listener for node 4.7+
Home-AssistantConfig
fastify - Fast and low overhead web framework, for Node.js