docs: getting there

This commit is contained in:
bordun 2020-04-08 15:58:03 +02:00
parent 34f76578d6
commit ff05b0f74c
17 changed files with 729 additions and 759 deletions

View file

@ -26,30 +26,30 @@ The **client** requires Chromium/Chrome `60` or later to work (Linux, MacOS, Win
## Installation
### Linux
??? example "Linux"
**Ubuntu / Debian**
**Ubuntu / Debian**
- [Download](/download) `open-stage-control-VERSION-ARCH.deb`
- Install it by running this as root in a terminal:
```bash
dpkg -i path/to/open-stage-control-VERSION-ARCH.deb
```
- [Download](/download) `open-stage-control-VERSION-ARCH.deb`
- Install it by running this as root in a terminal:
```bash
dpkg -i path/to/open-stage-control-VERSION-ARCH.deb
```
**Other linux distributions**
**Other linux distributions**
- [Download](/download) `open-stage-control-VERSION-linux-ARCH.zip`
- Extract it in the location of your choice
- The file inside it named `open-stage-control` is the app's main executable
- [Download](/download) `open-stage-control-VERSION-linux-ARCH.zip`
- Extract it in the location of your choice
- The file inside it named `open-stage-control` is the app's main executable
### Mac
??? example "Mac"
- [Download](/download) `open-stage-control-VERSION-osx.zip`
- Extract it in the location of your choice
- Drag `open-stage-control.app` in your `Application` folder
- [Download](/download) `open-stage-control-VERSION-osx.zip`
- Extract it in the location of your choice
- Drag `open-stage-control.app` in your `Application` folder
### Windows
??? example "Windows"
- [Download](/download) `open-stage-control-VERSION-win32-ARCH.zip`
- Extract it in the location of your choice
- The file inside it named `open-stage-control.exe` is the app's main executable
- [Download](/download) `open-stage-control-VERSION-win32-ARCH.zip`
- Extract it in the location of your choice
- The file inside it named `open-stage-control.exe` is the app's main executable

View file

@ -1,180 +1,148 @@
The **server** can be configured with many options, either from a terminal or with the help of the **launcher**. The available options are described here.
The **server** can be configured with many options, either from a terminal or with the help of the **launcher**.
## Options
!!! abstract "Options"
#### `send`
=== "send"
Defines the default osc/midi targets. These will be added to the widget's individual targets. Must be formatted as follows:
Defines the default osc/midi targets. These will be added to the widget's individual targets. Must be formatted as follows:
- `ip_address:port`
- `host_name:port`
- `midi:device_name`
- `ip_address:port`
- `host_name:port`
- `midi:device_name`
----
=== "load"
#### `load`
Path to a session file. All clients connecting the server will load it.
Path to a session file. All clients connecting the server will load it.
=== "state"
----
Path to a state file. All clients connecting the server will load it.
#### `state`
Path to a state file. All clients connecting the server will load it.
=== "custom-module"
Path to a custom module file. Additional options can be passed after the path, they'll be accessible in the custom module's context.
----
#### `custom-module`
=== "port"
Path to a custom module file. Additional options can be passed after the path, they'll be accessible in the custom module's context.
HTTP port for the server (default: `8080`).
----
#### `port`
=== "osc-port"
HTTP port for the server (default: `8080`).
OSC (udp) input port (default: `port`).
----
#### `osc-port`
=== "tcp-port"
OSC (udp) input port (default: `port`).
OSC (tcp) input port/
----
#### `tcp-port`
=== "tcp-targets"
OSC (tcp) input port/
TCP servers to connect to. When sending osc messages, if the target matches one of these, TCP protocol will be used instead of UDP. Must be formatted as:
----
- `ip_address:port`
- `host_name:port`
#### `tcp-targets`
TCP servers to connect to. When sending osc messages, if the target matches one of these, TCP protocol will be used instead of UDP. Must be formatted as:
=== "midi"
- `ip_address:port`
- `host_name:port`
[MIDI configuration](../midi/midi-configuration).
----
#### `midi`
=== "debug"
[MIDI configuration](../midi/midi-configuration).
Print sent and receiced messages in the console. This may impact performances and should not be enabled in production.
----
#### `debug`
Print sent and receiced messages in the console. This may impact performances and should not be enabled in production.
=== "no-gui"
Disable built-in client window.
----
#### `no-gui`
=== "fullscreen"
Disable built-in client window.
Start the built-in client window in fullscreen.
----
#### `fullscreen`
=== "theme"
Start the built-in client window in fullscreen.
Theme names or paths. See [Themes](../customization/themes).
----
#### `theme`
=== "client-options"
Theme names or paths. See [Themes](../customization/themes).
Default [client options](../client-options).
----
#### `client-options`
=== "disable-vsync"
Default [client options](../client-options).
Disable built-in client window's vertical synchronization.
----
#### `disable-vsync`
=== "force-gpu"
Disable built-in client window's vertical synchronization.
Disable built-in client window's gpu blacklist (may improve rendering performance in some cases).
----
#### `force-gpu`
=== "read-only"
Disable built-in client window's gpu blacklist (may improve rendering performance in some cases).
Disable session editing, and file saving.
----
#### `read-only`
=== "remote-saving"
Disable session editing, and file saving.
Disable file saving for hosts that don't match the regular expresion.
----
Sessions are saved and opened on the server's filesystem. It is possible to limit this feature to specific client with a regular expression. For example, `"127.0.0.1|192.168.0.10"` disables remote saving except for clients with ip addresses `127.0.0.1` (the server's local address) and `192.168.0.10`.
#### `remote-saving`
Disable file saving for hosts that don't match the regular expresion.
=== "remote-root"
Sessions are saved and opened on the server's filesystem. It is possible to limit this feature to specific client with a regular expression. For example, `"127.0.0.1|192.168.0.10"` disables remote saving except for clients with ip addresses `127.0.0.1` (the server's local address) and `192.168.0.10`.
Set file browsing root folder.
----
#### `remote-root`
=== "instance-name"
Set file browsing root folder.
Used to differenciate multiple instances in a zeroconf network.
----
#### `instance-name`
!!! abstract "Command-line options"
Used to differenciate multiple instances in a zeroconf network.
The following options can only be set from a terminal.
----
=== "disable-gpu"
Disable hardware acceleration for the launcher window and the built-in client window.
## Other options
The following options can only be set from a terminal:
=== "inspect"
----
Enable node inspector.
#### `disable-gpu`
Disable hardware acceleration for the launcher window and the built-in client window.
=== "cache-dir"
----
Override default cache directory (contains browser cache and localStorage data).
#### `inspect`
Enable node inspector.
=== "config-file"
----
Override default config file location (contains session history and launcher config). Defaults to `cache-dir/config.json`.
#### `cache-dir`
Override default cache directory (contains browser cache and localStorage data).
=== "help"
----
Show help.
#### `config-file`
Override default config file location (contains session history and launcher config). Defaults to `cache-dir/config.json`.
=== "version"
----
Show version number.
#### `help`
Show help.
----
#### `version`
Show version number.
----
## Running in a terminal

View file

@ -45,14 +45,22 @@ Modals are virtual popup windows that may contain various content: file browser,
## Keyboard shortcuts
<div class="force-full-table"></div>
| Shortcut | Description |
|---|---|
| ++"mod"+e++ | enable/disable editor |
| ++"mod"+s++ | save session |
| ++"mod"+shift+s++ | save session as... |
| ++"mod"+o++ | open a session file |
| ++"mod"+w++ | close client |
=== "Linux / Windows"
!!! info ""
`mod` refers to the `ctrl` key except on MacOs (`command`)
| Shortcut | Description |
|---|---|
| ++ctrl+e++ | enable/disable editor |
| ++ctrl+s++ | save session |
| ++ctrl+shift+s++ | save session as... |
| ++ctrl+o++ | open a session file |
| ++ctrl+w++ | close client |
=== "Mac"
| Shortcut | Description |
|---|---|
| ++cmd+e++ | enable/disable editor |
| ++cmd+s++ | save session |
| ++cmd+shift+s++ | save session as... |
| ++cmd+o++ | open a session file |
| ++cmd+w++ | close client |

View file

@ -34,7 +34,7 @@ Selected widget's properties are displayed and can be modified in the inspector.
- Property fields are all multiline (press `shift + enter` for new line).
- Properties are written in JSON, with some flexibility brought by the [JSON5](https://github.com/json5/json5) format. For example, doubles quotes around object keys are not mandatory.
- Clicking on a property name spawns a help modal window
- Clicking on a property name spawns a help modal window
## Project tree
@ -62,26 +62,48 @@ Multiple widgets can be edited at once.
The following shortcuts are available only when the editor is enabled:
| Shortcut | Description |
|---|---|
| `click` | Widget selection. |
| `mod + click` | Multi-widget selection. Widgets can be toggled from selection by clicking on them individually.|
| `shift + click + drag`* | Draw a selection rectangle and attempt to select widgets in it (starts by selecting the widget under the cursor). If `mod` is pressed too, current selection is kept and will be merged with the new one if possible. |
| `mod + z` | Undo |
| `mod + y / mod + shift + z` | Redo |
| `delete` (`backspace` on Mac) | Delete selected widgets |
| `mod + c` | Copy selected widgets |
| `mod + x` | Cut selected widgets |
| `mod + v` | Paste clipboard in selected widget |
| `mod + shift + v` | Paste and increment id |
| `up, down, left, right` | Move selected widgets (1 grid unit, hold `shift` for 5 grid units) |
| `alt + [up, down, left, right]` | Resize selected widgets (1 grid unit, hold `shift` for 5 grid units) |
| `mod + a` | Select current widget's siblings and itself |
| `mod + shift + a` | Cancel current widget selection |
| `mod + up` | Select current widget's parent |
| `mod + down` | Select current widget's first child |
| `mod + right` | Select current widget's next sibling |
| `mod + left` | Select current widget's previous sibling |
=== "Linux / Windows"
!!! info ""
`mod` refers to the `ctrl` key except on MacOs (`command`)
| Shortcut | Description |
|---|---|
| ++"Click"++ | Widget selection. |
| ++ctrl+"Click"++ | Multi-widget selection. Widgets can be toggled from selection by clicking on them individually.|
| ++shift+"Click"+"Drag"++ | Draw a selection rectangle and attempt to select widgets in it (starts by selecting the widget under the cursor). If ++ctrl++ is pressed too, current selection is kept and will be merged with the new one if possible. |
| ++ctrl+z++ | Undo |
| ++ctrl+y++ <br/>++ctrl+shift+z++ | Redo |
| ++delete++ | Delete selected widgets |
| ++ctrl+c++ | Copy selected widgets |
| ++ctrl+x++ | Cut selected widgets |
| ++ctrl+v++ | Paste clipboard in selected widget |
| ++ctrl+shift+v++ | Paste and increment id |
| ++up++ <br/>++down++ <br/>++left++ <br/>++right++ | Move selected widgets (1 grid unit, hold ++shift++ for 5 grid units) |
| ++alt+up++ <br/>++alt+down++ <br/>++alt+left++ <br/>++alt+right++ | Resize selected widgets (1 grid unit, hold ++shift++ for 5 grid units) |
| ++ctrl+a++ | Select current widget's siblings and itself |
| ++ctrl+shift+a++ | Cancel current widget selection |
| ++ctrl+up++ | Select current widget's parent |
| ++ctrl+down++ | Select current widget's first child |
| ++ctrl+right++ | Select current widget's next sibling |
| ++ctrl+left++ | Select current widget's previous sibling |
=== "Mac"
| Shortcut | Description |
|---|---|
| ++"Click"++ | Widget selection. |
| ++cmd+"Click"++ | Multi-widget selection. Widgets can be toggled from selection by clicking on them individually.|
| ++shift+"Click"+"Drag"++ | Draw a selection rectangle and attempt to select widgets in it (starts by selecting the widget under the cursor). If ++cmd++ is pressed too, current selection is kept and will be merged with the new one if possible. |
| ++cmd+z++ | Undo |
| ++cmd+y++ <br/>++cmd+shift+z++ | Redo |
| ++backspace++ | Delete selected widgets |
| ++cmd+c++ | Copy selected widgets |
| ++cmd+x++ | Cut selected widgets |
| ++cmd+v++ | Paste clipboard in selected widget |
| ++cmd+shift+v++ | Paste and increment id |
| ++up++ <br/>++down++ <br/>++left++ <br/>++right++ | Move selected widgets (1 grid unit, hold ++shift++ for 5 grid units) |
| ++alt+up++ <br/>++alt+down++ <br/>++alt+left++ <br/>++alt+right++ | Resize selected widgets (1 grid unit, hold ++shift++ for 5 grid units) |
| ++cmd+a++ | Select current widget's siblings and itself |
| ++cmd+shift+a++ | Cancel current widget selection |
| ++cmd+up++ | Select current widget's parent |
| ++cmd+down++ | Select current widget's first child |
| ++cmd+right++ | Select current widget's next sibling |
| ++cmd+left++ | Select current widget's previous sibling |

View file

@ -26,16 +26,15 @@ The console diplays various informations, runtime errors and server debug messag
## Keyboard shortcuts
<div class="force-full-table"></div>
| Shortcut | Description |
|---|---|
| `mod + w` | close window |
=== "Linux / Windows"
<!-- | `F5` | start/stop server |
| `mod + s` | save config |
| `mod + shift s` | save config as... |
| `mod + o` | open config file |
| `mod + l` | clear console | -->
| Shortcut | Description |
|---|---|
| ++ctrl+w++ | close window |
!!! info ""
`mod` refers to the `ctrl` key except on MacOs (`command`)
=== "Mac"
| Shortcut | Description |
|---|---|
| ++cmd+w++ | close window |
| ++cmd+q++ | quit app |

File diff suppressed because it is too large Load diff