Skip to content
A very simple paste-bin in C++, but yet secure and reliable.
C++ JavaScript Shell CSS
Find file
Latest commit 4d0f37d Jul 2, 2014 @abique Merge pull request #4 from r0ro/master
continuation of previous fix
Failed to load latest commit information.
mimosa @ 17512e3 Update mimosa Dec 13, 2013
scripts sqlite: use user_version, not schemas_version; Jun 28, 2012
sql sqlite: use user_version, not schemas_version; Jun 28, 2012
src
www update CodeMirror to 4.3.0 Jul 2, 2014
.gitignore added .gitignore Feb 5, 2012
.gitmodules CodeMirror2 -> CodeMirror Sep 14, 2012
AUTHORS Initial commit for coding speed challenge :) Feb 5, 2012
CMakeLists.txt Build against mimosa/master Jun 23, 2012
Doxyfile
LICENSE change license from LGPLv3 to MIT Mar 21, 2012
README Fix README Feb 13, 2012
VERSION Version 1.11 Dec 13, 2013
dist.sh Some release fixes Jun 24, 2012

README

                    __________                  __
                    \______   \_____    _______/  |_  ____
                     |     ___/\__  \  /  ___/\   __\/ __ \
                     |    |     / __ \_\___ \  |  | \  ___/
                     |____|    (____  /____  > |__|  \___  >
                                    \/     \/            \/
                __________.__
                \______   \__| ____   ____  __ __  ______ ____
                 |    |  _/  |/    \ /  _ \|  |  \/  ___// __ \
                 |    |   \  |   |  (  <_> )  |  /\___ \\  ___/
                 |______  /__|___|  /\____/|____//____  >\___  >
                        \/        \/                  \/     \/

Paste Binouse is a very simple and standalone paste bin.

Installation
~~~~~~~~~~~~

 # mkdir build
 # cd build
 # cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release ..
 # make
 # make install

Then I recommend you to create a new user paste-binouse:
 # useradd --comment "paste-binouse web server"                 \
--home-dir /srv/paste-binouse                                   \
--create-home --shell /bin/false --user-group paste-binouse

Then you have to initialize the database:
 # su --shell=/bin/bash                                         \
--command="/usr/bin/paste-binouse-init /srv/paste-binouse"      \
paste-binouse

And now you can start the server:
 # paste-binoused >/var/log/paste-binouse.log
Something went wrong with that request. Please try again.