LAGRANGE(1)

✨ LAGRANGE πŸ’– (that's the lagrange(1) manual page, bestie)

okay so. welcome to the group chat. we're talking about Lagrange, and she is that girl. πŸ’…


🌸 NAME 🌸

lagrange β€” a beautiful Gemini client. yes. beautiful is literally in the name of the thing. she's iconic like that. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

lagrange [options] [URL]... [FILE]...

πŸ’œ DESCRIPTION πŸ’œ

so. Lagrange is a graphical client for the Gemini, Gopher, and Finger protocols. yes, all three. she's versatile, she's multi-talented, she contains multitudes. 🫢

and the way she gives you modern conveniences you already know and love from web browsers?? literally obsessed:

  • smooth scrolling 🌊
  • inline image viewing πŸ–ΌοΈ
  • multiple tabs πŸ—‚οΈ
  • visual themes 🎨
  • Unicode fonts πŸ”€
  • bookmarks πŸ”–

she ate and left no crumbs. periodt. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

quick thing before we get into the list, because it matters:

when multiple URLs and/or local files are specified, they are opened in separate tabs. so yes, you can just dump a whole pile of links on her and she'll handle it. multitasking queen. πŸ’–
  • -d, --dump β€” print contents of URLs/paths to stdout and quit. like, she reads it, she shows you, she leaves. no small talk. 😌
  • -I, --dump-identity ARG β€” use identity ARG with --dump. ARG can be a complete or partial client certificate fingerprint or common name. (certificate vibes πŸ”)
  • -E, --echo β€” print all internal application events to stdout. useful for debugging. she's telling you everything, bestie, every little thought. πŸ™ˆ
  • --help β€” list the available command line options. the classic. the icon. 🌟
  • --replace-tab URL β€” open a URL, replacing contents of the active tab. without this option, any URLs on the command line are opened in new tabs. (so this one is the "no new tab, we're swapping" girlie)
  • -u, --url-or-search URL | TEXT β€” open a URL, or make a search query with given text. heads up tho: this only works if the search query URL has been configured. πŸ”
  • -U, --user DIR β€” store user data in the directory DIR instead of the default location. your stuff, your rules. πŸ’…
  • -V, --version β€” output the version number. πŸ“Œ

πŸͺŸ Window options:

  • -h, --height N β€” set initial window height to N pixels. πŸ“
  • --prefs-sheet β€” open Preferences as a sheet inside the active window.
  • --sw β€” disable hardware-accelerated rendering. (software mode, we love a fallback πŸ’€)
  • -w, --width N β€” set initial window width to N pixels. πŸ“

πŸŽ›οΈ Control options:

these ones are a whole different energy, okay? so:

These options are used to control the currently running Lagrange instance via the command line. like, you're not launching a new girl, you're texting the one who's already at the party. πŸ“±
  • --close-tab β€” close the current tab. bye bestie πŸ‘‹
  • -L, --list-tab-urls β€” print the URLs of open tabs to stdout. if the app isn't running, nothing is printed. (she's not gonna answer if she's not there, fr fr)
  • --new-tab [URL] β€” open a new tab. if the URL argument is omitted, the user's homepage is opened. 🏠
  • --tab-url β€” print the URL of the active tab. 🎯
  • -t, --theme [ARG] β€” change the current UI color theme to ARG. the options are "black", "dark", "light", "white". 🌈 (four aesthetics, pick your era)

🌈 ENVIRONMENT 🌈

  • LAGRANGE_OVERRIDE_DPI β€” override the autodetected screen DPI with a user-provided value. why does this exist? because some window systems and/or monitors may not provide an appropriate DPI value, so this enables further tuning the UI scaling in addition to the "UI scale factor" found in Preferences. so you've got two knobs, use them wisely. πŸ”§

πŸ—‚οΈ FILES πŸ—‚οΈ

user-specific files such as bookmarks and navigation history are stored in the following operating system dependent locations:

  • Windows: C:\Users\Name\AppData\Roaming\fi.skyjake.Lagrange
  • macOS: ~/Library/Application Support/fi.skyjake.Lagrange
  • Other: ~/.config/lagrange
use the --user option to store user data in a custom location. 🫢

and the directory contains... deep breath... all of this:

  • bindings.txt β€” customized key bindings. ⌨️
  • bookmarks.ini β€” bookmarks in TOML format. πŸ”–
  • feeds.txt β€” state of subscribed feeds: all the known entries and latest update timestamps. πŸ“‘
  • fonts.ini β€” custom fonts to load at launch. πŸ”€
  • idents.lgr β€” information about identities. πŸͺͺ
  • idents/ β€” subdirectory containing client certificates and private keys in PEM format. πŸ”
  • modmap.txt β€” customized keyboard modifier mapping.
  • mimehooks.txt β€” configuration of external programs to filter page contents depending on MIME type. πŸ§ͺ
  • palette.txt β€” colors of the UI palette. 🎨
  • prefs.cfg β€” user's preferences. this is a list of UI events that gets executed at launch (cf. output of --echo). βš™οΈ
  • state.lgr β€” serialized UI state, specifying open tabs and sidebar state. πŸ—‚οΈ
  • sitespec.ini β€” site-specific preferences in TOML format.
  • trusted.2.txt β€” fingerprints of trusted server certificates. 🀝
  • visited.2.txt β€” list of visited URLs with timestamps. ⏰

⭐ STANDARDS ⭐

she follows the rules, she respects the specs, she does her homework:


πŸ‘€ SEE ALSO πŸ‘€

open about:help in the application to view the complete Help page. yes, in the app. that's where the full lore lives. πŸ“–


πŸ’– AUTHORS πŸ’–

Jaakko KerΓ€nen (jaakko.keranen@iki.fi). thank you for the gift, king. πŸ™βœ¨


one last vibe check, bestie 🌈 this whole page is from November 2022, and it's page one of the LAGRANGE(1) manual β€” so if you ever forget any of this, just know she's documented, she's dated, and she's slaying. mwah. πŸ’‹

no cap, that's the whole page. go open a tab. πŸ¦‹πŸ’œ