Thanks to visit codestin.com
Credit goes to github.com

Skip to content

A very simple paste-bin in C++, but yet secure and reliable.

License

r0ro/paste-binouse

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

About

A very simple paste-bin in C++, but yet secure and reliable.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 84.3%
  • JavaScript 7.9%
  • Shell 4.8%
  • CSS 3.0%