PUBLIC-INBOX-INIT(1)
π public-inbox-init β bestie edition π
okay so this is public-inbox-init, part of the public-inbox user manual, and it's literally the lil setup wizard that makes you a brand new public-inbox (or redoes one you already have). no cap. π
β¨ SYNOPSIS β¨
public-inbox-init [OPTIONS] NAME INBOX_DIR HTTP_URL ADDRESS [ADDRESS..]
πΈ DESCRIPTION πΈ
So what this does: it creates an empty public-inbox or reinitializes an existing one. Either way it goes and updates ~/.public-inbox/config for you β creating a [publicinbox "NAME"] section where:
publicinbox.NAME.inboxdiris set toINBOX_DIRpublicinbox.NAME.urlis set toHTTP_URLpublicinbox.NAME.addressis set toADDRESS
and if your inbox is that girl with multiple addresses (she contains multitudes π ), you can pass multiple addresses and it'll set them all. periodt.
π OPTIONS π
-V FORMAT_VERSION,--version FORMAT_VERSIONβ put2here if you wanna use the scalable public-inbox-v2-format(5), but only if you haveDBD::SQLiteinstalled, bestie.
The default is 1, which is the old public-inbox-v1-format(5). But likeβ¦ 2 is strongly recommended for scalability if you've got DBD::SQLite. do it for her π«Ά
Default: 1
-L <basic|medium|full>,--indexlevel <basic|medium|full>β controls the indexing level for public-inbox-index(1).
Peep public-inbox-config(5) for more info.
Default: "full"
--ng NEWSGROUP,--newsgroup NEWSGROUPβ the NNTP group name for use with public-inbox-nntpd(8). This can be any newsgroup name with hierarchies delimited by.. For example, the newsgroup for <mailto:meta@public-inbox.org> is:
inbox.comp.mail.public-inbox.meta
You can also set this after-the-fact via publicinbox.$NAME.newsgroup in the config file. See public-inbox-config(5) for more info.
Available in public-inbox 1.6.0+.
Default: none.
-c KEY=VALUEβ lets you set arbitrary configs aspublicinbox.$NAME.$KEY. It's idempotent for the sameVALUE, but it allows setting multiple values for keys likepublicinbox.$NAME.urlandpublicinbox.$NAME.watch. iconic behaviour honestly β¨--skip-artnumβ this one lets archivists publish incomplete archives with only new mail while still letting NNTP article numbers be reserved for the yet-to-be-archived old mail. it's giving "saving seats for the girlies who haven't arrived yet" π
Mainly intended for users of --skip-epoch (documented right below), but it may be of use to public-inbox-v1-format(5) users too.
There is no automatic way to use those reserved NNTP article numbers when old mail is found. yet. π
Available in public-inbox 1.6.0+.
Default: unset, no NNTP article numbers are skipped
-S,--skip-epochβ for-V2(public-inbox-v2-format(5)) inboxes only. This lets archivists publish incomplete archives with newer mail while allowing0.git(or1.gitand so on) epochs to be added-after-the-fact, and it does this without affectinggit clonefollowers. lowkey genius.
Available since public-inbox 1.2.0.
Default: unset, no epochs are skipped
-j JOBS,--jobs=JOBSβ controls the number of Xapian index shards in a-V2(public-inbox-v2-format(5)) inbox.
It can be useful to use a single shard (-j1) for inboxes on high-latency storage (e.g. rotational HDD) β unless your system has enough RAM to cache 5-10x the size of the git repository. π
Another approach for HDDs is to use the publicInbox.indexSequentialShard in public-inbox-index(1) option and many shards, so each shard may fit into the kernel page cache. Unfortunately, excessive shards slows down read-only query performance. sad but true π
For fast storage, it's generally not useful to specify higher values than the default, because the top-level producer process becomes a bottleneck. she can only do so much.
Default: the number of online CPUs, up to 4 (3 shard workers, 1 producer)
--skip-docdataβ do not store document data in Xapian. This reduces Xapian storage overhead by around 1.5%.
Warning: this option prevents rollbacks to public-inbox 1.5.0 and earlier. no takebacksies, bestie.
Available in public-inbox 1.6.0+.
π ENVIRONMENT π
PI_CONFIGβ used to override the default~/.public-inbox/configvalue.
π LIMITATIONS π
Some of the options documented in public-inbox-config(5) require editing the config file directly. Old versions lack the --ng/--newsgroup parameter. π
See public-inbox-config(5) for all the options which may be applied to a given inbox.
π¦ CONTACT π¦
Feedback welcome via plain-text mail to <mailto:meta@public-inbox.org> π
The mail archives are hosted at <https://public-inbox.org/meta/> and <http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>
π COPYRIGHT π
Copyright 2019-2021 all contributors <mailto:meta@public-inbox.org>
License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
β SEE ALSO β
git-init(1), git-config(1), public-inbox-v1-format(5), public-inbox-v2-format(5)
and that's the whole page, bestie!! πβ¨ this came from public-inbox.git, dated 1993-10-02, and it lives in the PUBLIC-INBOX-INIT(1) section of the manual. go make an inbox, you absolute icon ππ«Ά
π¦ where this page comes from
- fedora 43: public-inbox 2.0.0~20230714git590023f-6.fc43 Β· AGPL-3.0-or-later
- fedora 44: public-inbox 2.0.0~20230714git590023f-6.fc43 Β· AGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms