Compare commits

..

No commits in common. "bc03a56c75776891bbe4bf6767aa1768fb8cfa77" and "fdd0d73e776c1198fbd36b1d1950fb7817d6c5e7" have entirely different histories.

5 changed files with 26 additions and 16 deletions

21
LICENSE
View file

@ -9,22 +9,21 @@ are met:
notice, this list of conditions and the following disclaimer. notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright 2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in notice, this list of conditions and the following disclaimer in the
the documentation and/or other materials provided with the documentation and/or other materials provided with the distribution.
distribution.
3. Neither the name of the copyright holder nor the names of its 3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived contributors may be used to endorse or promote products derived from
from this software without specific prior written permission. this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View file

@ -112,7 +112,7 @@ Put those into your `~/.{ba,z,k}shrc`:
```sh ```sh
alias pst="nc heimdall.pm 9999" alias pst="nc heimdall.pm 9999"
alias spst="gpg -cao /tmp/paste.pgp && cat /tmp/paste.pgp | nc heimdall.pm 9999 && rm /tmp/paste.pgp" alias spst="gpg -cao tmp.pgp && cat tmp.pgp | nc heimdall.pm 9999 && rm tmp.pgp"
``` ```
Now, you can use **feuille** like this: Now, you can use **feuille** like this:
@ -127,6 +127,10 @@ $ echo da sup3r sekr1t | spst
https://bin.heimdall.pm/qrst https://bin.heimdall.pm/qrst
``` ```
For a complete list of aliases, see
[here](https://basedwa.re/tmtt/feuille/src/branch/main/misc/aliases)
and either put those in your `~/.{ba,z,k}shrc` or source it.
That sould be it. Have fun! That sould be it. Have fun!
## Description ## Description
@ -145,9 +149,11 @@ That sould be it. Have fun!
* Uses OS-specific security measures (like OpenBSD's `pledge`) * Uses OS-specific security measures (like OpenBSD's `pledge`)
* Plenty of auxiliary files (see * Plenty of auxiliary files (see
[cgi/](https://basedwa.re/tmtt/feuille/src/branch/main/cgi), [misc/](https://basedwa.re/tmtt/feuille/src/branch/main/misc),
[cron/](https://basedwa.re/tmtt/feuille/src/branch/main/cron) and [cgi/](https://basedwa.re/tmtt/feuille/src/branch/main/cgi) and
[cron/](https://basedwa.re/tmtt/feuille/src/branch/main/cron))
[service/](https://basedwa.re/tmtt/feuille/src/branch/main/service)) [service/](https://basedwa.re/tmtt/feuille/src/branch/main/service))
* A list of aliases for your users' `~/.{ba,z,k}shrc`
* A CGI script that lets the user send pastes directly from your * A CGI script that lets the user send pastes directly from your
website website
* A sample HTML form for your CGI script * A sample HTML form for your CGI script

View file

@ -1,5 +1,5 @@
# feuille version # feuille version
VERSION = 1.19.5 VERSION = 1.19.4
# paths (customize them to fit your system) # paths (customize them to fit your system)
PREFIX = /usr/local PREFIX = /usr/local

View file

@ -14,7 +14,7 @@
. ftr VB CB . ftr VB CB
. ftr VBI CBI . ftr VBI CBI
.\} .\}
.TH "feuille" "1" "November 2022" "feuille 1.19.5" "" .TH "feuille" "1" "November 2022" "feuille 1.19.4" ""
.hy .hy
.SH NAME .SH NAME
.PP .PP

5
misc/aliases Normal file
View file

@ -0,0 +1,5 @@
NC="nc"
BIN="heimdall.pm"
alias pst="$NC $BIN 9999"
alias spst="gpg -cao /tmp/paste.pgp && cat /tmp/paste.pgp | $NC $BIN 9999 && rm /tmp/paste.pgp"