comparison pasterd.8 @ 74:67b3d13a5035

pasterd: make own HTML code for good
author David Demelier <markand@malikania.fr>
date Wed, 15 Mar 2023 19:34:00 +0100
parents 1a98bc0daa49
children
comparison
equal deleted inserted replaced
73:6792975da9a0 74:67b3d13a5035
21 .Nm pasterd 21 .Nm pasterd
22 .Nd simple paste service 22 .Nd simple paste service
23 .\" SYNOPSIS 23 .\" SYNOPSIS
24 .Sh SYNOPSIS 24 .Sh SYNOPSIS
25 .Nm 25 .Nm
26 .Op Fl fqv 26 .Op Fl qv
27 .Op Fl d Ar database-path 27 .Op Fl d Ar database-path
28 .Op Fl t Ar theme-directory 28 .Op Fl t Ar theme-directory
29 .\" DESCRIPTION 29 .\" DESCRIPTION
30 .Sh DESCRIPTION 30 .Sh DESCRIPTION
31 The 31 The
32 .Nm 32 .Nm
33 utility is a simple CGI or FastCGI program to host code snippets over a web 33 utility is a simple FastCGI program to host code snippets over a web interface.
34 interface. It will show most recent public pastes and let users to create new 34 It will show most recent public pastes and let users to create new one from a
35 one from a web form. 35 web form.
36 .Pp 36 .Pp
37 It supports: 37 It supports:
38 .Bl -bullet -compat 38 .Bl -bullet -compat
39 .It 39 .It
40 Listing of recent pastes, 40 Listing of recent pastes,
53 uses a SQLite database that must be writable by the CGI/FastCGI owner. See usage 53 uses a SQLite database that must be writable by the CGI/FastCGI owner. See usage
54 below. 54 below.
55 .Pp 55 .Pp
56 Available options: 56 Available options:
57 .Bl -tag -width Ds 57 .Bl -tag -width Ds
58 .It Fl f
59 Starts as FastCGI mode,
60 .Nm
61 will wait forever for new requests.
62 .It Fl d Ar database-path 58 .It Fl d Ar database-path
63 Specify an alternate path for the database. 59 Specify an alternate path for the database.
64 .It Fl t Ar theme-directory 60 .It Fl t Ar theme-directory
65 Specify an alternate directory for the theme. 61 Specify an alternate directory for the theme.
66 .It Fl q 62 .It Fl q