oxigraph-serve-read-only(1)

πŸ“¦
version 0.5.10 Β· 2 versions
, in nixos 26.05, nixpkgs unstable, ubuntu resolute, ubuntu stonking

πŸ’– oxigraph-serve-read-only(1) πŸ’–

okay bestie, welcome to the manual page for oxigraph-serve-read-only β€” it lives in the General Commands Manual section, and it's lowkey one of the chillest commands in the whole Oxigraph universe. no cap.


✨ NAME ✨

oxigraph-serve-read-only β€” Start Oxigraph HTTP server in read-only mode πŸŽ€


🌸 SYNOPSIS 🌸

oxigraph serve-read-only <-l|--location> [-b|--bind] [--cors]
[--union-default-graph] [--timeout-s] [-h|--help]

so like, the only thing you absolutely must hand over is -l/--location. everything else is optional and just vibes ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

Start Oxigraph HTTP server in read-only mode. that's the whole thing, bestie, that's the assignment πŸ’…

It allows reading the database while other processes are also reading it. so multiple readers? fine. totally fine. go off, queens πŸ‘‘

⚠️ but listen β€” opening as read-only while having another process writing the database is undefined behavior. not "probably fine", not "yolo", actual undefined behavior. do not do that. i am begging πŸ™ˆ

πŸ‘‘ OPTIONS πŸ‘‘

  • -l, --location <LOCATION> β€” Directory in which Oxigraph data are persisted. this is the main character of the synopsis, the one option you literally cannot skip πŸ’–
  • -b, --bind <BIND> [default: localhost:7878] β€” Host and port to listen to. and yes, the default really is localhost:7878, she's iconic like that 🏠
  • --cors β€” Allow cross-origin requests. let the other origins in, we're being generous today 🌈
  • --union-default-graph β€” If the SPARQL queries should look for triples in all the dataset graphs by default (i.e. without GRAPH operations).

This is equivalent as setting the union-default-graph option in all SPARQL queries. so it's giving "set it once, apply it everywhere" energy ✨

  • --timeout-s <TIMEOUT_S> β€” Timeout for request processing in seconds ⏳

Currently only used for SPARQL queries.

Might be used to set up things like HTTP query timeout. (key word: might. don't come for me, that's what the page says 🫢)

  • -h, --help β€” Print help (see a summary with '-h'). your lil emergency exit when you forget everything, which, same πŸŽ€

and that's the whole page, bestie!! πŸ’œ this one came from the serve-read-only corner of the docs, filed under oxigraph-serve-read-only(1) β€” stay hydrated, read-only is the safe mode, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from