# Mobius
-Mobius is a cross-platform command line [Hotline](https://en.wikipedia.org/wiki/Hotline_Communications) client and server implemented in Golang.
+Mobius is a cross-platform command line [Hotline](https://en.wikipedia.org/wiki/Hotline_Communications) server implemented in Golang.
-- **Server Goal:** Make it simple to run a Hotline server on macOS, Linux, and Windows, with full compatibility for all popular Hotline clients.
-- **Client Goal:** Make it fun and easy to connect to multiple Hotline servers through a [terminal UI](https://github.com/jhalter/mobius/wiki/Mobius-Client-Screenshot-Gallery).
+- **Project Goal:** Make it simple to run a Hotline server on macOS, Linux, and Windows, with full compatibility for all popular Hotline clients.
## Installation
-p 5500:5500 \
-p 5501:5501 \
-v $HLFILES:/usr/local/var/mobius/config \
- ghcr.io/jhalter/mobius:latest \
+ ghcr.io/jhalter/mobius-hotline-server:latest \
-init
```
The Mobius server includes an optional HTTP API to perform out-of-band administrative functions.
-To enable it, include the `--api-port` flag with a string defining the IP and port to listen on in the form of `<ip>:<port>`.
+To enable it, include the `--api-addr` flag with a string defining the IP and port to listen on in the form of `<ip>:<port>`.
-Example: `--api-port=127.0.0.1:5503`
+Example: `--api-addr=127.0.0.1:5503`
⚠️ The API has no authentication, so binding it to localhost is a good idea!
❯ curl -d 'Server rebooting' localhost:5603/api/v1/shutdown
{ "msg": "server shutting down" }
-```
\ No newline at end of file
+```