The global config.json
The configuration is done in the config.json file in the directory ~/.local/share/looksyk. This path can be changed
with the environment variable LOOKSYK_CONFIG_PATH.
The default graph location is in ~/graph (or the configured location in the ~/.local/share/looksyk/config.json).
Graph specific configuration
Each graph can have its own configuration files in the config folder of the graph. All configuration options can be configured in the settings tab in the sidebar of the application.
The following options can be configured in the config/config.json file of the graph:
title: The title of the graph, displayed in sidebar and window titlefavourites: An array of page IDs, which are displayed in the favourites section in the sidebardesign: The design of the application. See design documentation for more information.update_check: Boolean, that enables / disables an automatic update-check on application startup.indentation_shortcut: Boolean, that enables / disables the keyboard-shortcut to increase and decrease the indentation of the current block.journal-configuration: Configuration for the journal feature, including:journal_title_format: The format of the journal title. It supports the valuesworldfor the formatDD.MM.YYYY,americanfor the formatMM/DD/YYYYandisofor the formatYYYY-MM-DD.show_weekday_in_title: Value to show the weekday in the journal title. Acceptsnone,as_prefixandas_suffix.
CLI-Arguments
The command looksyk accepts the following command line arguments:
--graph-locationto specify the location of the graph (default:~/graph)--portto specify the port of the backend (default:11000)--window-widthto specify the width of the window (default:1200)--window-heightto specify the height of the window (default:800)--window-zoomto specify the zoom level of the window (default:0.6)--overwrite-userto specify a custom username for local basic auth--overwrite-passwordto specfy a custom password for local basic auth--print-authto print the local basic authentication into the console (for debugging only)
(Backend) Environment Arguments
HTTPS_PROXYto specify a https proxy for the updater. This proxy is used for the update-check aswell as the download of the release binary. If the environment variable contains a illigal argument (e.g. no valid url), the application wont start.LOOKSYK_BASIC_AUTH_USERNAMEto specify a Basic Auth UsernameLOOKSYK_BASIC_AUTH_PASSWORDto specify a Basic Auth Passwort (needs to be bcrypt hashed)