PublicInbox::WWW(3) User Contributed Perl Documentation PublicInbox::WWW(3)

PublicInbox::WWW - PSGI interface for public-inbox

In your .psgi file:

use PublicInbox::WWW;
my $www = PublicInbox::WWW->new;
builder {
        enable 'Head';
        mount '/inboxes' => sub { $www->call(@_) };
};

The PSGI web interface for public-inbox.

Using this directly is not needed unless you wish to customize your public-inbox PSGI deployment or are using a PSGI server other than public-inbox-httpd(1).

While this PSGI application works with all PSGI/Plack web servers such as starman(1), starlet(1) or twiggy(1); PublicInbox::WWW takes advantage of currently-undocumented APIs of public-inbox-httpd(1) to improve fairness when serving large responses for thread views and git clones.

Used to override the default "~/.public-inbox/config" value.

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 (C) 2016-2021 all contributors <mailto:meta@public-inbox.org>

License: AGPL-3.0+ http://www.gnu.org/licenses/agpl-3.0.txt

http://plackperl.org/, Plack, public-inbox-httpd(1)

2023-07-30 perl v5.38.0