Git Product home page Git Product logo

docker-things / smarthome Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 298.53 MB

A docker image meant to control your smart devices

Home Page: https://docker-things.github.io/smarthome/

License: GNU General Public License v3.0

Dockerfile 1.16% Shell 2.36% Go 10.61% PHP 33.13% Python 0.31% CSS 11.58% JavaScript 40.42% HTML 0.43%
docker smarthome smart-home smart yaml control automation mqtt tasmota miio

smarthome's Introduction

docker-things

A package manager to easily install any docker-things app


Installing/Upgrading docker-things

This one-liner will fetch this repo, will install the docker-things script and then will remove the downloaded repo.

git clone https://github.com/docker-things/docker-things.git /tmp/dtrepo && bash /tmp/dtrepo/docker-things.sh self-install && rm -rf /tmp/dtrepo

Installing apps

This command will install firefox, chromium and thunderbird

docker-things install firefox chromium thunderbird

Upgrading apps

This command will upgrade firefox, chromium and thunderbird

docker-things upgrade firefox chromium thunderbird

Uninstalling apps

This command will uninstall firefox, chromium and thunderbird

docker-things delete firefox chromium thunderbird

Set apps as default for the host system

Assuming you installed Firefox and want it to be your default browser, run this:

docker-things set-default firefox

Integration

xdg-open

The apps are able to open stuff between each other by using the host xdg-open script through FIFO.

So, if you click a link in Mattermost it will be able to open Firefox or whichever is your default browser.

notify-send

Notifications sent through notify-send will also be shown seamlessly in the host system by using FIFO pipes.


Dependencies

  • docker - All the apps are built in docker containers
  • git - All the apps are fetched from the github docker-things organization

Usage

Usage: docker-things [OPTION] [THING]

OPTIONS:
  backup       - Backup app
  build        - Build app
  clear-data   - Removes any data stored by the app
  connect      - Connect to the docker image
  delete       - Delete app
  fifo-listen  - Listens to FIFO messages from apps
  get          - Get repository
  install      - Install app launcher (get & build app if needed)
  kill         - Kill app
  list         - List available things
  logs         - Show app logs
  restart      - Restart app
  restore      - Restore backup of the app
  set-default  - Set app as default for the host system
  start        - Start app
  status       - Show app status
  stop         - Stop app
  update       - Update repository
  upgrade      - Upgrade app

smarthome's People

Contributors

blchinezu avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

smarthome's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.