How it works
Advanced: tools you run yourself
Corridor Key and your own SearXNG server: what you set up yourself, and how GlirOS hands work to them. GlirOS works fully without them.
Two choices in the GlirOS desktop app use a tool you set up and run yourself: Corridor Key, for removing the background of a green- or blue-screen clip, and your own SearXNG server, for web search. GlirOS marks them Advanced. They are for people who already run such tools, or want to. GlirOS works fully without them: the colour key and the AI background remover, and DuckDuckGo, Brave, Tavily and Serper, need nothing extra.
GlirOS doesn't include, install or run either of them. It only hands work to them on your PC, or sends a search to the address you give, and gliros.com never talks to them. Both are in the desktop app only.
Corridor Key: removing a background
Corridor Key is a separate tool by Corridor Digital, under its own licence. GlirOS doesn't include or run it. It makes a very clean cut-out from a clip with a green or blue screen.
What you need:
- Corridor Key itself, set up on the PC as its page on GitHub describes. It has no installer: it runs in its own Python setup, which you install with it.
- An NVIDIA RTX 30-series or newer with 4 GB (6 GB for 4K), as Corridor Key needs.
- A clip with an even green or blue screen.
In GlirOS:
- In Media Studio > One file > Remove background, the Corridor Key choice shows once GlirOS finds it on the PC, or once you choose it in Settings > Tools > Media Studio > Remove background: try first. If it isn't found there, Where is CorridorKey?… lets you point GlirOS at its folder once. GlirOS only checks that the folder is Corridor Key's.
- Make the clip's other parts first: the matte fits the file as it is exported.
- Export for Corridor Key puts the clip's frames and GlirOS's own hint in a folder under Videos\GlirOS for Corridor Key. Each frame is a PNG, so it takes room. Open the folder opens it.
- Run Corridor Key on that folder yourself: drag the clip onto CorridorKey_DRAG_CLIPS_HERE.bat in Corridor Key's folder. GlirOS never starts it.
- Back in GlirOS, Import its matte… and choose the shot's folder (or its Output\Matte). Corridor Key's frames become the cut-out, and Make it uses them.
Your own SearXNG server: web search
SearXNG is a free search engine you run yourself, which asks many search engines at once. Your own SearXNG server asks other search engines on your behalf; you set it up and are responsible for it. GlirOS doesn't run or provide one.
What you need: an instance of your own, for example in Docker Desktop on a PC, or on a NAS that runs containers. Not a public instance: most of them block programs, and they are someone else's server.
An example for Docker Desktop. Put these two files in one folder:
docker-compose.yml:
services:
searxng:
image: searxng/searxng:latest
container_name: searxng
ports:
- "8890:8080"
volumes:
- ./settings.yml:/etc/searxng/settings.yml:ro
environment:
- SEARXNG_BASE_URL=http://localhost:8890/
restart: unless-stopped
settings.yml, with the JSON format on (GlirOS reads that) and the limiter off (only you use it):
use_default_settings: true
search:
safe_search: 1
formats: [html, json]
server:
port: 8080
bind_address: "0.0.0.0"
secret_key: "replace-this-with-a-long-random-text"
limiter: false
public_instance: false
In that folder, run docker compose up -d. Then http://localhost:8890 shows SearXNG's own page. With the limiter off, keep the server on your own network: don't open it to the internet. SearXNG's own pages describe the rest of its settings.
In GlirOS:
- Open Settings > Web search > Your own search server (marked Advanced).
- Type the server's address:
http://localhost:8890on the same PC, or its address on your network from another PC (for examplehttp://192.168.1.20:8890). - Press Test and save. You get one of three answers:
- It works: it says how many results a test search gave, and saves it. Searches now go to your SearXNG server.
- Its JSON format is off: add
jsontoformatsinsettings.yml, restart it (docker compose restart) and test again. - GlirOS couldn't reach that address: check that the server is running and that this PC can reach it.
Nothing is saved until the test works. Choosing DuckDuckGo, Brave, Tavily or Serper again goes back to that one, and the address stays kept.
Good to know:
- The searches go straight from your PC to your server. Block all network traffic (Settings > Security) stops them too.
- If your server asks for a name and password (a NAS's proxy can), This server asks for a name and password opens under the address. They are kept in Windows Credential Manager. On a plain
http://address they travel unencrypted, and GlirOS says so. - The web version doesn't offer SearXNG.