Repository navigation
Outside Sources
Sometimes a step you need is not in your folder: the background a textbook assumes, or a definition your lecture notes skip. With outside sources on, the guide can search for such a step and add what it finds to your reading room. The added source then works like any other: the guide reads it, points at its passages, and gives them needs.
Outside sources are on by default.
-
/outside offand/outside onswitch them for the session. -
"outside": falseinconfig.jsonstarts omo with them off. - The status line always shows whether they are on.
| Service | Finds | Key |
|---|---|---|
| arXiv | Papers | None |
| Wikipedia | Encyclopedia articles, in the languages of your sources and English | None |
| OpenAlex | Scholarly works | Optional. It works without a key, within its free limits |
| Brave Search | The web at large | Required. Without a key, Brave is not searched, and /outside on says so |
Brave returns addresses only. Each page is fetched and converted on your machine.
- The guide writes its own search queries, aimed at the step it is missing. The program never sends what you typed or wrote. The guide is told never to pass on your words, and to keep queries to the subject matter.
- A search returns candidates, and nothing is added yet. The guide can then add a candidate with
add_outside. A task can only add an address one of its own searches returned. - An added source is copied into the reading room (and its original into the store's
web/), where it stays. Each one is recorded in the ledger with the search words it came from and the service that found it. - When a search service fails, the guide is told which one and why, so it can try another query or service. This is never shown to you.
- After a map's first, unrecorded
offer_pathscall (see Mapping a query), the guide is asked to check whether the first passages use something you lack. That is where outside sources are most useful: a foundation your folder assumes.
To cap how many sources the guide may add in one task, set limits.added in config.json (see Limits).
Brave Search and OpenAlex keys are set the same way as a model provider's key:
/login brave
/login openalex
The /login list shows whether each key is set, and /logout removes one. omo looks for a key in this order:
-
one stored with
/login, inauth.json; -
the environment:
BRAVE_API_KEYorOPENALEX_API_KEY; -
on macOS, the login keychain: a generic password with service
brave-api-keyoropenalex-api-key. For example:security add-generic-password -s brave-api-key -a "$USER" -w
With outside sources on, the guide's search queries go to the services above, and added pages are fetched from their sites. Nothing else is sent: not your query, your notes or your record. See Privacy.
on-my-own · AGPL-3.0-or-later · Repository