Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/timofurrer/ariseem

Minimalistic REST API for wake-on-lan
https://github.com/timofurrer/ariseem

api docker flask microservice python rest wake-on-lan wol

Last synced: 3 days ago
JSON representation

Minimalistic REST API for wake-on-lan

Awesome Lists containing this project

README

        

# arise 'em

`ariseem` is a minimalistic service exposing a REST API to boot machines using wake-on-lan.

It's pure Python and does not require any system dependencies.

## Installation

Just use docker:

```
docker build . -t ariseem && docker run -v $PWD:/app --net=host -it ariseem
```

If you want to expose this service into the internet please make sure you are properly secured
with a proxy in front of this service. TLS and at least some form of authentication.

## Configuration

`ariseem` is configured via YAML file:

```
machines:
myserver: AA:BB:CC:DD:EE:FF
mypc: AA:BB:CC:FF:EE:DD

groups:
vpn:
- myserver
- mypc
```

`ariseem` can only *wol* machines configured in the `machines` section.
In addition groups of machines can be specified in the `groups` section.

## Usage

```
GET /api/machines
POST /api/machines/myserver

GET /api/groups
POST /api/groups/vpn
```