logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

PublicInbox::WWW - PSGI interface for public-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/>

Description

       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.

Environment

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

Name

       PublicInbox::WWW - PSGI interface for public-inbox

See Also

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

perl v5.36.0                                       2022-11-07                              PublicInbox::WWW(3pm)

Synopsis

       In your .psgi file:

               use PublicInbox::WWW;

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

See Also