rudes / cryopaste

command line pastebin basically

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cryopaste - Command line Paste Bin

cryopaste is a command line tool that sends your code files to the cryopaste.com server the server is written in Go and the client is written in C

Installation

You can download the tarball for the client source code at cryopaste.com You will need libcurl to install it, you can get it from your package manager

wget cryopaste.com/cryopaste.tar
tar -zxvf cryopaste.tar
cd cryopaste
make
make install

If you're looking to host your own instance you'll need to do some tweaking.

You'll need git, docker, libcurl, gcc, and make.

# Clone the repo
git clone http://lab.cryocorp.co/rudes/cryopaste.com.git
cd cryopaste.com
# Replace the URL in line 18 with your domain.
# Also replace the port if you're changing the port on line 19.
$EDITOR client/inc/main.h
# Build the client for yourself.
cd client
make && make install && make clean
# Build the tarbal for your clients
cd ../
tar -czf server/templates/static/cryopaste.tar client
# Build and deploy the docker image
cd server
docker build -t .
docker run -d -p 8080:8080 --name=cryopaste cryopaste
# You should be good to go now.

About

command line pastebin basically


Languages

Language:C 41.3%Language:CSS 29.2%Language:Go 26.2%Language:Dockerfile 1.7%Language:Makefile 1.6%