Configuration reference
Example configuration: See here at Codeberg or Code Flow
Config
| Field | Type | Description |
|---|---|---|
| aliases | map[string]string | A set of shortnames mapped to the enbas command. This section is managed by enbas. |
| credentialsFile | string | The absolute path to your credentials file. |
| cacheDirectory | string | The absolute path to the root cache directory. |
| lineWrapMaxWidth | number (integer) | The maximum number of characters on a line before that line breaks. This setting is used when displaying a timeline, your notifications, your bookmarks, the list of statuses from an account, etc. |
| gtsClient | GTSClient | The settings for the GTS Client. |
| server | Server | The settings for running enbas in server mode. |
| integrations | Integrations | Integration settings. |
GTSClient
| Field | Type | Description |
|---|---|---|
| timeout | number (integer) | The timeout (in seconds) for API requests made to your GoToSocial instance. |
| mediaTimeout | number (integer) | The timeout (in seconds) for requests made for retrieving media from your GoToSocial instance. |
Server
| Field | Type | Description |
|---|---|---|
| socketPath | string | The path to the socket file that the backend server binds to. This file is used for the communication between the enbas client and the enbas server. |
| pidPath | string | The path to the backend server’s PID file. When the server starts it writes its process ID to this file. The enbas client reads from this file when it is called to stop the backend server. |
| idleTimeout | number (integer) | The time (in seconds) that the backend server can remain idle before shutting down. This setting is only used when running the server without the --without-idle-timeout flag. |
| logger | ServerLogger | The settings for the server’s logger. |
ServerLogger
| Field | Type | Description |
|---|---|---|
| level | string | The server’s general logging level. The accepted values are debug, info, warn and error.By default the logging level is set to info. |
| path | string | The path to the file where the logger will write the logs to. If this field is empty, the logger will write to the console. |
Integrations
| Field | Type | Description |
|---|---|---|
| browser | string | The command to run for opening the browser for viewing URLs (e.g. the URL of a remote account). |
| editor | string | The command to run for opening your favourite text editor for creating or editing statuses. (THIS INTEGRATION IS NOT YET USED). |
| pager | string | The command to run for piping long outputs into your favourite pager. To disable paging, leave this field blank. |
| imageViewer | string | The command to run for opening your favourite image viewer for viewing image files from media attachments. |
| videoPlayer | string | The command to run for opening your favourite video player for playing video files from media attachments. |
| audioPlayer | string | The command to run for opening your favourite audio player for playing audio files from media attachments. |