Crates.io | meep |
lib.rs | meep |
version | 1.0.1 |
source | src |
created_at | 2018-03-01 20:03:25.597018 |
updated_at | 2019-11-06 20:52:32.530853 |
description | A simple pasting service. |
homepage | |
repository | https://github.com/aatxe/meep |
max_upload_size | |
id | 53350 |
size | 141,403 |
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
.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"
[development]
port = 8080
template_dir = "templates/"
[production]
port = 8080
template_dir = "prod_templates/"
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
<command> | curl --data-binary "@-" $MEEP_ROOT
DESCRIPTION
Simply POST data to $MEEP_ROOT to paste
OPTIONS
add /<ext> to resulting url for syntax highlighting
add /<ext>/<theme> for syntax highlighting with a specific theme
THEMES
default $DEFAULT_THEME
gh InspiredGitHub
light Solarized (light)
dark Solarized (dark)
EXAMPLES
(meep) cat src/main.rs | curl --data-binary "@-" $MEEP_ROOT
$MEEP_ROOT/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/>.