GithubHelp home page GithubHelp logo

gomzyakov / secretnotes Goto Github PK

View Code? Open in Web Editor NEW
18.0 2.0 10.0 5.73 MB

Secret notes that will self-destruct after being read

Home Page: https://gomzyakov.github.io/pastebin/

License: MIT License

PHP 82.34% JavaScript 1.16% Blade 15.60% CSS 0.27% Dockerfile 0.63%
private-notes privnote notes notes-sharing secrets secret-notes-sharing pastebin laravel-example pastebin-alternative pastebin-service

secretnotes's Introduction

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 #572
  • File upload support (image, media and PDF preview)
  • Language selection #432
  • QR code for paste URLs, to easily transfer them over to mobile devices #489
  • API for integration with third parties #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.

How to run terminal inside container?

Just run:

docker exec -ti secretic-app bash

License

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

GitHub release license codecov

secretnotes's People

Contributors

9amtech avatar dependabot[bot] avatar galchenok avatar gomzyakov avatar mryoaz avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

secretnotes's Issues

Ограничить ширину контента & navbar

Сейчас не требуется занимать всю ширину экрана для вывода контента (заметки, как правило, довольно короткие).

По дизайну можно приблизить десктопную версию к мобильной -- так будет проще.

Monetization

За монетку:

  • Заметки длиной более N символов
  • Заметки хранятся более 30 дней

Look at quality tools

Tool PHP Supported since Description
security-checker >= 5.6 1.24 Check composer.lock for known security issues
psalm >= 5.6 1.14 A static analysis tool for finding errors in PHP applications
parallel-lint >= 5.4 1.9 Check syntax of PHP files
MacFJA/phpqa-extensions - - PHP Assumptions, Magic Number Detector, ...

Looked

Tool PHP Supported since Description
php-cs-fixer >= 5.3 1.12 Automatically detect and fix PHP coding standards issues
phpunit >= 5.3 1.13 The PHP Unit Testing framework
phpstan >= 7.0 1.9 Discover bugs in your code without running it
deptrac >= 7.2 1.25 Enforce rules for dependencies between software layers

Ability to read a note N times

  • Возможность считать заметку N раз
  • Написать кейс, что так можно раздавать, например, промокоды (первые 5/10/13 кто успел, тот и забрал)

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.