Giter Club home page Giter Club logo

edpaste's Introduction

EdPaste

EdPaste is a Laravel 5.5 (PHP Framework)-driven self-hosted Pastebin. Demo : https://paste.edra.ovh

Features :

  • Privacy options
  • Expiration options
  • Burn after reading
  • Password protection (server-side hashed)
  • User dashboard
  • Raw paste viewing

Just git clone this repo on your server, make the public folder your webserver's DocumentRoot, for instance with an Apache2.4 VirtualHost :

<VirtualHost *:80>
    ServerName your.vhost.server.com
    DocumentRoot /app/path/public
</VirtualHost>

Run a composer install/php composer install (depends of your configuration) within the app root path (you'll need composer) Rename .env.example to .env and run php artisan key:generate from the app's root path. Open .env and fill it with your database details, and with Secret and Site Key from Google's reCaptcha (in order to avoid spam from guests) Run php artisan migrate from the app's root path, and you're all done.

Go to http://your.vhost.server.com/ which leads to the DocumentRoot /app/path/public, and this should work !

Updating :

Get latest features by pulling this repo again.

In case of updating because of a Laravel version change, delete everything under bootstrap/cache and run composer upgrade.

Troubleshooting :

If you get the "Paste expiration error.", then you need to migrate your database. Pastes expiration scheme changed recently, and your database has to be updated. Simply run php artisan migrate and everything will be good, without any data loss.

Contributing :

You're free to fork this and modify it as you want (according to MIT license), but please don't remove my name at the bottom of each page. If you look at the code, you'll notice that all the comments are written in french, as I am a french developer. If you want english comments instead, feel free to ask it, I'll translate all of these.

Todo :

  • Admin panel
  • Fix raw view

edpaste's People

Contributors

daveismynamecom avatar henktheunissen avatar nickescobedo avatar vrumger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.