A simple pasting service powered by Rocket.
Setting up a new instance is easy, but it requires using Rust nightly.
meep
with cargo
via cargo +nightly install --force meep
.
rustup
but still have nightly, use cargo install --force meep
instead.--force
flag ensures that you'll update any current installations to the latest version.meep
in a directory where you want it to create meep.toml
and meep.db
.
Rocket.toml
which can be useful, e.g. for setting production templates.MEEP_CONFIG
environment variable.templates/
within your working directory.
Rocket.toml
(including per-environment).meep.toml
and then re-run meep
.
ROCKET_ENV
set to production
.meep
behind a proxy through nginx
or apache
.toml
maintainer = "Aaron Weiss"
maintainer-email = "awe@pdgn.co"
meep-root = "https://commie.club/m"
database-url = "meep.db"
default-theme = "InspiredGitHub"
extra-syntaxes-path = "syntaxes"
```toml [development] port = 8080 template_dir = "templates/"
[production] port = 8080 templatedir = "prodtemplates/" ```
``` meep(1) MEEP meep(1)
dMMMMMMMMb dMMMMMP dMMMMMP dMMMMb
dMP"dMP"dMPdMP dMP dMP.dMP
dMP dMP dMPdMMMP dMMMP dMMMMP"
dMP dMP dMPdMP dMP dMP
dMP dMP dMPdMMMMMP dMMMMMP dMP
SYNOPSIS
DESCRIPTION Simply POST data to $MEEP_ROOT to paste
OPTIONS
add /
THEMES default $DEFAULT_THEME gh InspiredGitHub light Solarized (light) dark Solarized (dark)
EXAMPLES (meep) cat src/main.rs | curl --data-binary "@-" $MEEPROOT $MEEPROOT/iVse (meep) firefox $MEEP_ROOT/iVse/rs
MAINTAINER Instance maintained by $MAINTAINER <$MAINTAINER_EMAIL>
SEE ALSO https://github.com/aatxe/meep
meep 0.0.0 meep(1) ```
meep
uses semantic versioning tied to its Web API. Thus, major number
changes correspond to changes to the validity of existing routes, while minor number changes
correspond to the addition of new routes. Patch number changes will correspond to any changes that
do not affect the Web API.
``` meep - a simple pasting service Copyright (C) 2018 Aaron Weiss
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/. ```