All Projects → jordansamuel → Paste

jordansamuel / Paste

Paste is a project that started from the files pastebin.com used before it was bought.

Projects that are alternatives of or similar to Paste

Nginx Pastebin
NGINX+Lua based pastebin for text
Stars: ✭ 70 (-65.69%)
Mutual labels:  pastebin, nginx
Blog
MyBlog
Stars: ✭ 197 (-3.43%)
Mutual labels:  nginx
Orange
OpenResty/Nginx Gateway for API Monitoring and Management.
Stars: ✭ 2,208 (+982.35%)
Mutual labels:  nginx
Off By Slash
Burp extension to detect alias traversal via NGINX misconfiguration at scale.
Stars: ✭ 192 (-5.88%)
Mutual labels:  nginx
Goaccess
GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
Stars: ✭ 14,096 (+6809.8%)
Mutual labels:  nginx
Feathers Vue
A boiler plate template using Feathers with Email Verification, Vue 2 with Server Side Rendering, stylus, scss, jade, babel, webpack, ES 6-8, login form, user authorization, and SEO
Stars: ✭ 195 (-4.41%)
Mutual labels:  nginx
Graphite Fabric
fabric-graphite is a fabric script to install Graphite and all dependencies on a debian-based host (with optional vagrant support)
Stars: ✭ 181 (-11.27%)
Mutual labels:  nginx
Net Shield
An Easy and Simple Anti-DDoS solution for VPS,Dedicated Servers and IoT devices - Beta
Stars: ✭ 202 (-0.98%)
Mutual labels:  nginx
Nginx Link Function
It is a NGINX module that provides dynamic linking to your application in server context and call the function of your application in location directive
Stars: ✭ 197 (-3.43%)
Mutual labels:  nginx
Laravel Deployment
📗[WIP] 追求质量的 Laravel 应用部署上线课程。
Stars: ✭ 190 (-6.86%)
Mutual labels:  nginx
External Auth Server
easy auth for reverse proxies
Stars: ✭ 189 (-7.35%)
Mutual labels:  nginx
Lightify
a reverse proxy that boosts the web app performance!
Stars: ✭ 187 (-8.33%)
Mutual labels:  nginx
Exporter exporter
A reverse proxy designed for Prometheus exporters
Stars: ✭ 194 (-4.9%)
Mutual labels:  nginx
Lua Resty Redis Connector
Connection utilities for lua-resty-redis
Stars: ✭ 186 (-8.82%)
Mutual labels:  nginx
Bitnami Docker Nginx
Bitnami nginx Docker Image
Stars: ✭ 198 (-2.94%)
Mutual labels:  nginx
Ansipress
AnsiPress - Simple L(Linux) E(NGINX) M(MariaDB) P(PHP7) Shared Hosting Setup
Stars: ✭ 184 (-9.8%)
Mutual labels:  nginx
Cardpwn
OSINT Tool to find Breached Credit Cards Information
Stars: ✭ 187 (-8.33%)
Mutual labels:  pastebin
Nginx Http Echo Module
A simple Nginx echo module
Stars: ✭ 192 (-5.88%)
Mutual labels:  nginx
Phorkie
Self-hosted pastebin software written in PHP. Pastes are editable, forkable, may have multiple files and are stored in git repositories.
Stars: ✭ 203 (-0.49%)
Mutual labels:  pastebin
Ansible Rails
Ruby on Rails deployment using Ansible - with Lets Encrypt, Sidekiq, PostgreSQL, nginx & puma
Stars: ✭ 199 (-2.45%)
Mutual labels:  nginx

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

Frontend Frontend

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].