Skip to content

Settings and APIs

Toxc edited this page Jun 25, 2026 · 1 revision

Settings and APIs

OpenLuaTools includes settings for source management, language support, and UI behavior.

API source management

The backend exposes functions for managing API sources, including:

  • Get the API list.
  • Add a custom API.
  • Toggle an API on or off.
  • Remove an API.
  • Rename an API.
  • Reorder API priority.
  • Check which configured sources are available for an app.

API URL safety

OpenLuaTools validates external URLs before opening or downloading from them. URLs must use:

http://
https://

URLs containing unsafe shell-sensitive characters are rejected.

Source priority

When multiple sources are configured, source order matters. Put the source you trust most at the top.

Recommended practice:

  1. Use only sources you trust.
  2. Disable sources you do not use.
  3. Remove dead or suspicious sources.
  4. Avoid sources that do not explain what they provide.

Morrenus API key

The settings system includes support for storing a Morrenus API key. Keep API keys private.

Do not:

  • Commit personal API keys to the repository.
  • Share screenshots that reveal keys.
  • Paste keys into issue reports.

Language settings

OpenLuaTools includes many locale files in backend/locales/ and exposes translation data through the settings API.

See Localization for contributor details.

Themes

Theme assets live under:

public/themes/

The backend can read available theme data from:

public/themes/themes.json

If themes do not appear, confirm that the public/themes/ folder exists in the installed plugin folder.

Clone this wiki locally