Skip to content

Secure and user-friendly pastebin application written on Laravel 10

License

Notifications You must be signed in to change notification settings

thops1925/secretic

 
 

Repository files navigation

Secretic

Secretic is a secure and user-friendly pastebin application that prioritizes privacy and simplicity.

The goal of this repository is to showcase good Laravel development practices with a simple application.

Features

  • 🔥Burn after reading (the note is destroyed after the first reading)
  • 🔒 Password protection
  • 📋 Copy note to clipboard in a click
  • ⏱️ Expiration times, including a "forever" and "burn after reading" option
  • 🐥 Admin panel built on Filament

Roadmap

The following features will be implemented soon:

  • Delete after view or X amount of time
  • End-to-end encryption gomzyakov#572
  • File upload support (image, media and PDF preview)
  • Language selection gomzyakov#432
  • QR code for paste URLs, to easily transfer them over to mobile devices gomzyakov#489
  • API for integration with third parties gomzyakov#405

Requesting features

Open a new issue to request a feature (or if you find a bug).

How to run Secretic locally?

I believe you already have Docker installed. If not, just do it on Mac, Windows or Linux.

Build the app image with the following command:

docker compose build --no-cache

This command might take a few minutes to complete.

When the build is finished, you can run the environment in background mode with:

docker compose up -d

We’ll now run composer install to install the application dependencies:

docker compose exec app composer install

Copy the environment settings:

docker compose exec app cp .env.local .env

Migrate DB & seed fake data with the artisan Laravel command-line tool:

docker compose exec app ./artisan migrate:fresh --seed

And open http://127.0.0.1:8000 in your favorite browser. Happy using Secretic!

Can I trust a instance of Secretic not hosted by me?

No. Anyone could modify the functionality of Secretic to expose your secret key to the server. We recommend using a instance you host or trust.

License

This is open-sourced software licensed under the MIT License.

GitHub release license codecov

About

Secure and user-friendly pastebin application written on Laravel 10

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 83.4%
  • Blade 14.8%
  • Other 1.8%