1PublicInbox::WWW(3) User Contributed Perl Documentation PublicInbox::WWW(3)
2
3
4
6 PublicInbox::WWW - PSGI interface for public-inbox
7
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
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-netd(1) ("-netd") / public-inbox-httpd(1) ("-httpd")
25
26 While this PSGI application should work with all PSGI/Plack web servers
27 such as starman(1), starlet(1) or twiggy(1); PublicInbox::WWW takes
28 advantage of internal APIs of "-netd" and "-httpd" to improve fairness
29 when serving large responses for thread views, mbox downloads, and git
30 clones.
31
33 PI_CONFIG
34 Used to override the default "~/.public-inbox/config" value.
35
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) all contributors <mailto:meta@public-inbox.org>
44
45 License: AGPL-3.0+ <http://www.gnu.org/licenses/agpl-3.0.txt>
46
48 <http://plackperl.org/>, Plack, public-inbox-netd(1),
49 public-inbox-httpd(1)
50
51
52
53perl v5.38.0 2023-07-25 PublicInbox::WWW(3)