PublicInbox::WWW(3)
π PublicInbox::WWW π
okay so bestie, we're looking at the manual page for PublicInbox::WWW(3) and honestly? it's giving "the web interface of your dreams". let's get into it π«Ά
β¨ NAME β¨
PublicInbox::WWW β the PSGI interface for public-inbox π
πΈ SYNOPSIS πΈ
so in your .psgi file, you do this:
use PublicInbox::WWW;
my $www = PublicInbox::WWW->new;
builder {
enable 'Head';
mount '/inboxes' => sub { $www->call(@_) };
};
that's it. that's the whole vibe. β¨
π¦ DESCRIPTION π¦
it's the PSGI web interface for public-inbox, periodt.
ngl, you literally do not need to use this directly β like, not unless you're trying to customize your public-inbox PSGI deployment, or you're running a PSGI server that isn't public-inbox-netd(1) (aka -netd) or public-inbox-httpd(1) (aka -httpd). those two already have it handled. π
and while this PSGI application should work with all PSGI/Plack web servers β think starman(1), starlet(1), or twiggy(1) β the way that PublicInbox::WWW takes advantage of the internal APIs of -netd and -httpd to improve fairness when serving large responses for thread views, mbox downloads, and git clones?? lowkey iconic. it's not just any server, bestie, it's the server. π₯
π ENVIRONMENT π
PI_CONFIGβ used to override the default~/.public-inbox/configvalue. π§
π CONTACT π
feedback is welcome, and honestly we love to hear it β just send plain-text mail to <mailto:meta@public-inbox.org> π
the mail archives are hosted at <https://public-inbox.org/meta/> and over on the onion side at <http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/> π§
β¨
π COPYRIGHT π
Copyright (C) all contributors <mailto:meta@public-inbox.org> π
License: AGPL-3.0+ <http://www.gnu.org/licenses/agpl-3.0.txt> π
π SEE ALSO π
ok and one last thing before you go β this whole thing came from perl v5.42.0, dated 2025-07-25, and yeah that's literally the entire manual. go forth and mount your inboxes, bestie, you ate π ππ¦
π¦ where this page comes from
- fedora 43: perl-PublicInbox 2.0.0~20230714git590023f-6.fc43 Β· AGPL-3.0-or-later
- fedora 44: perl-PublicInbox 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