Paste logo

Paste

  •  0 ratings
In category: Pastebins

About Paste

Paste is forked from the original source pastebin.com used before it was bought.

  •   368  
  •   0  
  •   0  
  •   0  
Github stats:
  •  Commits: 296  
  •   279  
  •   105  
  •  Latest commit: Dec 19, 2021  

Deploy this app to Linode with a free $100 credit!

Languages/Platforms/Technologies:
Lincenses:

More about Paste

Paste 2.2

Download PASTE

Download PASTE Download PASTE

Paste is forked from the original source pastebin.com used before it was bought. The original source is available from the previous owner's GitHub repository

A public version can be found here

IRC: If you would like support or want to contribute to Paste connect to irc.collectiveirc.net in channel #PASTE

Any bugs can be reported at: https://github.com/jordansamuel/PASTE/issues/new

Requirements

  • Apache 2.X / Nginx
  • PHP 5.3.7 (or later) with php-openssl & GD enabled [PHP7.+ recommended]
  • MySQL 5.x+

Install

  • Create a database for PASTE.
  • Upload all files to a webfolder
  • Point your browser to http(s)://example.com/install
  • Input some settings, DELETE the install folder and you're ready to go.

Manual install

Do the first two steps above and import the database schema using the CLI (or import via phpMyAdmin)

mysql -uuser -ppassword databasename < docs/paste.mysqlschema.sql
Move docs/config.example.php to config.php and edit

Development setup

  • Set up git
  • Fork this repository
  • Create a database for PASTE.
  • Check out the current master branch of your fork
  • Point your browser to http(s)://example.com/install and follow the instructions on screen or import docs/paste.mysqlschema.sql into your database and copy docs/config.example.php to config.php and edit

Now you can start coding and send in pull requests.


Upgrading

  • 2.1 to 2.2 no changes to database

  • 2.0 to 2.1

Insert the schema changes to your database using the CLI:

mysql -uuser -ppassword databasename < upgrade/2.0-to-2.1.sql
or upload & import upgrade/2.0-to-2.1.sql using phpMyAdmin

  • 1.9 to 2.0

Run upgrade/1.9-to.2.0.php


Clean URLs

Set mod_rewrite in config.php to 1

For Apache, just use .htaccess

For Nginx, use the example config in docs/nginx.example.conf


Changelog

See docs/CHANGELOG.md


Paste now supports pastes of upto 4GB in size, and this is configurable in config.php

However, this relies on the value of post_max_size in your PHP configuration file.

// Max paste size in MB. This value should always be below the value of
// post_max_size in your PHP configuration settings (php.ini) or empty errors will occur.
// The value we got on installation of Paste was: post_max_size = 1G
// Otherwise, the maximum value that can be set is 4000 (4GB)
$pastelimit = "1"; // 0.5 = 512 kilobytes, 1 = 1MB

To enable registration with OAUTH see this block in config.php

// OAUTH (to enable, change to yes and edit)
$enablefb = "no";
$enablegoog = "no";

// "CHANGE THIS" = Replace with your details
// Facebook
define('FB_APP_ID', 'CHANGE THIS'); // Your application ID, see https://developers.facebook.com/docs/apps/register
define('FB_APP_SECRET', 'CHANGE THIS');    // What's your Secret key

// Google 
define('G_Client_ID', 'CHANGE THIS'); // Get a Client ID from https://console.developers.google.com/projectselector/apis/library
define('G_Client_Secret', 'CHANGE THIS'); // What's your Secret ID
define('G_Redirect_Uri', 'http://urltoyour/installation/oauth/google.php'); // Leave this as is
define('G_Application_Name', 'Paste'); // Make sure this matches the name of your application

Everything else can be configured using the admin panel.


Credits

The Paste theme was built using Bootstrap, jQuery and various jQuery plugins for present and future features, but we do try to keep it bloat free. Icons are provided by FontAwesome.

Screenshots

Frontend Frontend

Comments (0)

Please login to join the discussion on this project.

Paste Reviews (0)

Overall Rating

None

based on 0 ratings

Please login to review this project.

No reviews for this project yet.

↑ back to top

pCloud Lifetime

Popular Projects

FluxBB

in Social Networks and Forums
 33k    0    0    0  

Nextcloud

in File Transfer & Synchronization
 20k    1    1    0  

Libreddit

in Social Networks and Forums
 6k    0    1    0  

CasaOS

in Self-hosting Solutions
 5k    0    0    0  

Audiobookshelf

in Audio Streaming
 5k    0    1    0  

Dashboard

in Personal Dashboards
 5k    0    0    0  

Mediagoblin

in Photo and Video Galleries
 4k    0    0    0  

Most Discussed

Nextcloud

in File Transfer & Synchronization
 20k    1    1    0  

Tube Archivist

in Automation
 3k    0    1    0  

OneDev

in Project Management
 2k    0    0    0  

iodine

in Proxy
 2k    0    0    0  

Alf.io

in Booking and Scheduling
 2k    0    0    0  

sysPass

in Password Managers
 987    0    0    0  

Misskey

in Social Networks and Forums
 2k    0    0    0  
Linux VPS from $11/yr.
RackNerd VPS for $11.38/mo

Top Rated Projects

Gitea

 1 rating
in Project Management

Bagisto

 1 rating
in E-commerce

LinkAce

 1 rating
in Bookmarks and Link Sharing

Pydio

 1 rating
in File Transfer & Synchronization

Audiobookshelf

 1 rating
in Audio Streaming

Nextcloud

 1 rating
in File Transfer & Synchronization

Seafile

 1 rating
in File Transfer & Synchronization

Categories

You May Also Be Interested In

LogPaste logo
LogPaste cover

LogPaste

Minimal pastebin web app that's easy to self-host and persi…

filite logo
filite cover

filite

A simple, light and standalone pastebin, URL shortener and …

bin logo
bin cover

bin

A paste bin that's actually minimalist. WTFPL/0BSD Ru