1PublicInbox::WWW(3)   User Contributed Perl Documentation  PublicInbox::WWW(3)
2
3
4

NAME

6       PublicInbox::WWW - PSGI interface for public-inbox
7

SYNOPSIS

9       In your .psgi file:
10
11               use PublicInbox::WWW;
12
13               my $www = PublicInbox::WWW->new;
14               builder {
15                       enable 'Head';
16                       mount '/inboxes' => sub { $www->call(@_) };
17               };
18

DESCRIPTION

20       The PSGI web interface for public-inbox.
21
22       Using this directly is not needed unless you wish to customize your
23       public-inbox PSGI deployment or are using a PSGI server other than
24       public-inbox-httpd(1).
25
26       While this PSGI application works with all PSGI/Plack web servers such
27       as starman(1), starlet(1) or twiggy(1); PublicInbox::WWW takes
28       advantage of currently-undocumented APIs of public-inbox-httpd(1) to
29       improve fairness when serving large responses for thread views and git
30       clones.
31

ENVIRONMENT

33       PI_CONFIG
34               Used to override the default "~/.public-inbox/config" value.
35

CONTACT

37       Feedback welcome via plain-text mail to <mailto:meta@public-inbox.org>
38
39       The mail archives are hosted at <https://public-inbox.org/meta/> and
40       <http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>
41
43       Copyright (C) 2016-2021 all contributors <mailto:meta@public-inbox.org>
44
45       License: AGPL-3.0+ <http://www.gnu.org/licenses/agpl-3.0.txt>
46

SEE ALSO

48       <http://plackperl.org/>, Plack, public-inbox-httpd(1)
49
50
51
52perl v5.34.0                      2022-01-21               PublicInbox::WWW(3)
Impressum