Self-hosted solution for sharing text and code snippets.
- Share text and code snippets
- Paste content encryption
- SSL only mode
- Maintenance mode
- Syntax highlighting
- Clone the repository
- Run with docker compose (scripts/docker-start-dev.sh)
- Load testing database fixtures (scripts/load-fixtures.sh)
- Clone this repository
- Install dependencies
npm install && composer install
- Build assets
npm run build
- Create database
php bin/console doctrine:database:create --if-not-exists
- Migrate database
php bin/console doctrine:migrations:migrate --no-interaction
- Configure website host apache-site.conf
- Create your own .env file with name .env.prod and change app env in main .env
- Configure SSL_ONLY false or true if you want allow only SSL traffic
- Configure MAINTENANCE_MODE true or false if you want to enable maintenance mode
- ENCRYPTION_MODE true or false if you want to enable paste content encryption (key is APP_SECRET value in .env)
- Configure DATABASE_DRIVER, DATABASE_HOST, DATABASE_PORT, DATABASE_NAME, DATABASE_USERNAME, DATABASE_PASSWORD
- Apache or Nginx web server with PHP support
- NodeJS with npm
- Composer
- PHP 8.4
- MySQL
This software is licensed under the MIT license.