EdPaste

Laravel/PHP-driven Pastebin with users managment

Stars
38
Forks
15
Open issues
6
Closed issues
4
Last commit
about 2 years ago
Watchers
38
Total releases
0
Total commits
86
Open PRs
2
Closed PRs
5
Repo URL
Platform
License
mit
Category
Usecase
Offers premium version?
NO
Proprietary?
NO
About

EdPaste

EdPaste is a Laravel 5.5 (PHP Framework)-driven self-hosted Pastebin.

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
Alternative Projects
No projects found

Subscribe to Open Source Businees Newsletter

Twice a month we will interview people behind open source businesses. We will talk about how they are building a business on top of open source projects.

We'll never share your email with anyone else.