Skip to main content

These are the docs for 0.27.0-beta, an older release.

See the current docs (0.28.0-beta) for what Norish does today.

Recipe parser

If a URL import fails, check the page renderers. Norish fetches the page directly first, then tries the enabled renderers in order. AI can read pages the recipe scraper cannot parse. For video links, see Video import.

Page renderers

Open Page renderers in admin settings.

  1. Obscura comes with the Quick start Compose file. Set the same OBSCURA_CDP_TOKEN in Norish and Obscura. Generate a token with openssl rand -hex 32.
  2. Chromium browser takes a CDP endpoint. See Chromium browser.
  3. FlareSolverr or Byparr comes last. Enable one of the services in the example Compose file and set the endpoint to http://flaresolverr:8191/v1 or http://byparr:8191/v1.

Use Test to check the Chromium or solver endpoint. Raise the renderer timeout if slow pages time out. Imports use only the direct fetch when you turn off all renderers.

Use Obscura or Chromium for pages that need site authentication. Norish sends tokens to the browser only for their site. Solvers receive no tokens.

Keep these services on a private network. Anyone who can reach their endpoints can control the browser or use the solver.

Leave Allow private addresses off unless you need to import from a site on your own network. Obscura always blocks private addresses. When you enable the setting, Norish can use direct fetch, Chromium or the solver for those sites.

Chromium browser

The example Compose file includes an optional Chromium service at http://chromium:9222. It requires amd64 and shm_size: 1gb. You can also use a hosted Chromium CDP endpoint. Norish omits query-string tokens from logs.

Settings

These variables set the initial renderer configuration. After the first start, make changes in admin settings.

VariableDescriptionDefault
OBSCURA_ENDPOINTObscura CDP endpoint. Empty turns Obscura offws://obscura:9222
OBSCURA_CDP_TOKENToken for Obscura, the same value as on the obscura service(empty)
CHROMIUM_BROWSER_ENDPOINTChromium browser CDP endpoint. Setting it turns it on(empty)
PAGE_SOLVER_ENABLEDTry FlareSolverr or Byparr after the browsersfalse
PAGE_SOLVER_ENDPOINTThe solver's /v1 endpoint(empty)
ALLOW_PRIVATE_ADDRESSESLet imports reach private addressesfalse
PAGE_RENDERER_TIMEOUT_MSHow long a page renderer is given to load a page, in ms45000
VariableDescriptionDefault
PARSER_API_TIMEOUT_MSParser API timeout in milliseconds15000

Content detection

Use these variables to override recipe content detection.

VariableDescriptionDefault
UNITS_JSONOverride the units dictionary(empty)
CONTENT_INDICATORSOverride recipe-content indicator configuration(empty)
CONTENT_INGREDIENTSOverride ingredient-content configuration(empty)