Skip to content
A dead simple text paste website similar to Pastebin.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.htaccess
LICENSE
README.md
crap.php
db.sql
index.php
main.css
paste.php

README.md

textcrap

A dead simple text paste website similar to Pastebin, written entirely by Preston Cammarata

This can be used as an example for starting up your own Pastebin-like site, or just scrap it for whatever.

Setting up

Just copy the files to your server, create a database and name it whatever you want, run the "db.sql" file in the database to create the needed table for textcrap, then fill out the database credentials in crap.php.

It's super simple. crap.php is your cofiguration file.

If you want to close your website temporarily and leave a message, set $allow_access to true, and $allow_access_msg to whatever you want in crap.php.

License

Do whatever you want basically, view the LICENSE file for more.

You can’t perform that action at this time.