Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshspicer/jarvis
jarvis v2 - A collection home automation + various services hosted on AKS
https://github.com/joshspicer/jarvis
codespaces-friendly home-automation
Last synced: 27 days ago
JSON representation
jarvis v2 - A collection home automation + various services hosted on AKS
- Host: GitHub
- URL: https://github.com/joshspicer/jarvis
- Owner: joshspicer
- License: mit
- Created: 2022-05-08T13:06:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-02T20:38:59.000Z (7 months ago)
- Last Synced: 2024-10-06T18:33:04.882Z (about 1 month ago)
- Topics: codespaces-friendly, home-automation
- Language: Go
- Homepage:
- Size: 1.4 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jarvis (v2)
An ever-changing assortment of microservices and home automation services/experiments. Wrapped into a friendly chatbot (named Jarvis) and hosted in an Azure Kubernetes cluster.
## Deploy
Jarvis is hosted on Azure Kubernetes service via the [rollout spec](./rollout.yaml) in this repo. Deploy with `kubectl apply -f rollout.yaml`.
## Developing 🚀
This repo is set up with a `.devcontainer.json` configuration for development in Codespaces.
Running the `Start Server` vscode task will build and run the `go` project under `./server`.
The task requires either:
- A complete `dev.env` environment variable file. See [example.env](./example.env) for an idea of what secrets are necessary.
- [Codespace repo-scoped secrets](https://docs.github.com/en/enterprise-cloud@latest/rest/codespaces/repository-secrets) for [each required secret](./example.env).
### Build Docker Image
```bash
$ docker build -t jarvis ./server/ -f ./Dockerfile
$ docker run -p 4000:4000 --env-file example.env jarvis
[GIN-debug] GET /health --> main.Health (3 handlers)
[GIN-debug] POST /knock --> main.Knock (4 handlers)
2022/05/08 21:08:37 Bot authorized on account 'dev_bot'
Serving at http://localhost:4000
```## Related projects
[jarvis-apple-watch](https://github.com/joshspicer/jarvis-apple-watch)