LEI-ADD-EXTERNAL(1)
π lei-add-external(1) β the public-inbox user manual, but make it make sense
okay bestie, so this is lei-add-external(1) from the public-inbox user manual, and honestly? it's giving "let me introduce you to my little friend: the external index." π¦
πΈ NAME πΈ
lei-add-external β add an inbox or an external index, periodt
β¨ SYNOPSIS β¨
lei add-external [OPTIONS] LOCATION
π DESCRIPTION π
so what this does is it tells lei to search against an external β which is either an inbox or an external index, no cap. π₯
when LOCATION is an existing local path, that path lowkey needs to point to a directory that's a publicinbox.$NAME.inboxdir or extindex.$NAME.topdir value in ~/.public-inbox/config. that's it, that's the vibe check. π
π OPTIONS π
--boost=NUMBERβ sets the priority of a new or existing location. slay. Default:0--mirror=URLβ makesLOCATIONby mirroring the public-inbox over atURL. the resultingLOCATIONgets aMakefilewith amake updatetarget so you can update the external later. iconic. β¨--epoch=RANGEβ restricts clones ofpublic-inbox-v2-format(5)inboxes to the given range of epochs. the range can be a single non-negative integer, or a (possibly open-ended)LOW..HIGHrange of non-negative integers. you can prefix~to either integer value (or both!) to mean the offset from the maximum possible value.
for example, --epoch=~0 on its own clones only the latest epoch, and --epoch=~2.. clones the three latest epochs. obsessed. π«Ά
Default: 0..~0 or 0.. or ..~0 (all epochs β and yes, all three examples are equivalent, don't let anyone tell you otherwise)
-v,--verboseβ gives you more feedback onstderr. she's chatty π¬-q,--quietβ suppresses feedback messages. she's mysterious π€«
π MIRRORING π
--torsocks=auto|no|yes--no-torsocks
whether to wrap git(1) and curl(1) commands with torsocks(1). big privacy main character energy. π§
Default: auto
--inbox-version=NUMβ forces a remote public-inbox version (has to be1or2). this gets auto-detected by default, and honestly this option is mainly there for testing. ngl, it's a debug girlie. π
the following options get passed straight to public-inbox-init(1):
-j JOBS,--jobs=JOBS-L LEVEL,--indexlevel=LEVEL
and the following options get passed to public-inbox-index(1):
--batch-size=SIZE--compact-j JOBS,--jobs=JOBS--max-size=SIZE--sequential-shard--skip-docdata
π FILES π
the configuration for lei lives at $XDG_CONFIG_HOME/lei/config. it's her home. π
π CONTACT π
feedback is welcome via plain-text mail to <mailto:meta@public-inbox.org> β say hi, she doesn't bite π«Ά
the mail archives are hosted at <https://public-inbox.org/meta/> and <http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>
π COPYRIGHT π
Copyright 2021 all contributors <mailto:meta@public-inbox.org>
License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
π SEE ALSO π
lei-forget-external(1), lei-ls-external(1), lei-import(1), public-inbox-index(1), public-inbox-extindex(1), public-inbox-extindex-format(5)
and that's the page, bestie π this cutie came from public-inbox.git, dated 1993-10-02 β yeah, she's been around. π
π¦ where this page comes from
- arch rolling: lei 2.1.0-2 Β· AGPL
- nixos 26.05: perl5.42.3-public-inbox 2.1.0
- nixpkgs unstable: perl5.42.3-public-inbox 2.1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms