~artemis/paste

959334e1eb03f8fd15cb0be26a59e5dbdff20f87 — Diane 3 months ago fe06c96
Started writing man pages
3 files changed, 61 insertions(+), 1 deletions(-)

M README.md
A man/paste.scd
A man/pasteini.scd
M README.md => README.md +1 -1
@@ 2,7 2,7 @@

![This project is under the AGPL 3.0 license](.assets/agplv3.png)

Small temp redis-based pastebin server.
Small ephemeral redis-based pastebin server.

The old Go-based project is now available at [`~artemis/paste-go`](https://git.sr.ht/~artemis/paste-go).


A man/paste.scd => man/paste.scd +31 -0
@@ 0,0 1,31 @@
paste(1)

# NAME

paste - small ephemeral redis-based pastebin server

# SYNOPSIS

*python -m paste.server* [-c|--config _PATH_]

# DESCRIPTION

*paste* is a HTTP daemon providing a redis-backed ephemeral web pastebin tool.
It has sensible defaults which should be fit for most small setups, but
optionally accepts a configuration file.
It requires python 3.

Configuration-related documentation is provided in the joined manual page.

# OPTIONS

*-c* | *--config* _PATH_
	Specifies an alternate path to read the config file from.

# HOSTING

WIP: standalone, reverse proxy behind caddy

# SEE ALSO

*paste.ini*(5)

A man/pasteini.scd => man/pasteini.scd +29 -0
@@ 0,0 1,29 @@
paste.ini(5)

# NAME

*paste.ini* - configuration file for *paste*(1)

# SYNTAX

*paste.ini* is an INI file. Each line is either a key/value pair, or a section
heading. Key/value pairs are specified as key=value, and sections as [section].

# SECTIONS

Multiple sections exist to configure different aspects of the paste daemon.

- *\[http\]* is used to configure the listen host and port, or unix socket.
- *\[redis\]* is used to configure the redis server storing the documents.

## HTTP SERVER

TODO WIP

## REDIS STORE

TODO WIP

# SEE ALSO

*paste*(1)