Port details |
- SNIP SNIP is a powerful, simple, and easy to use Open-Source PHP Pastebin
- 1.1.0 www
=0 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one. - Maintainer: ek@purplehat.org
 - Port Added: 2025-05-04 18:48:51
- Last Update: 2025-05-04 18:44:36
- Commit Hash: 4d3c08a
- License: GPLv3
- WWW:
- https://github.com/MercanoGlobal/SNIP
- Description:
- SNIP is a powerful Open-Source PHP Pastebin, with the aim of keeping
a simple and easy to use user interface. SNIP allows you to easily
share code and files with anyone you wish. Based on the original
Stikked with lots of bug fixes and improvements.
Prerequisites:
* A web server: Apache, LiteSpeed, Nginx, Lighttpd, Cherokee.
* A database: MySQL / MariaDB, Postgres. OR a writable folder for SQLite.
* PHP version 7.0 or newer is required.
* PHP-GD for the creation of QR-codes.
Here are some features:
* Syntax highlighting including live highlighting with CodeMirror
* Paste replies
* Diff view between the original paste and the reply
* An API
* Trending pastes
* Encrypted pastes
* Burn on reading
* File upload and preview
* Anti-Spam features
* Multilanguage support
* SNIP client with support for client side encryption/decryption: gostikkit
* Another CLI tool requiring only curl program: pbin
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/www/SNIP/ && make install clean
- To add the package, run one of these commands:
- pkg install www/SNIP
- pkg install SNIP
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: SNIP
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1745194264
SHA256 (MercanoGlobal-SNIP-v1.1.0_GH0.tar.gz) = 94c6461b7b7f4b823148bac47e9d7fa0510d593aa8fce5c6a70ccc0ddd2a6893
SIZE (MercanoGlobal-SNIP-v1.1.0_GH0.tar.gz) = 15305696
No package information for this port in our database- Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Runtime dependencies:
-
- php.h : lang/php83
- ctype.so : textproc/php83-ctype
- filter.so : security/php83-filter
- gd.so : graphics/php83-gd
- session.so : www/php83-session
- mysqli.so : databases/php83-mysqli
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for SNIP-1.1.0:
====> Options available for the single DB: you have to select exactly one of them
MYSQLI=on: Install MySQLi Support for PHP
PGSQL=off: PostgreSQL database support
SQLITE=off: SQLite database support
===> Use 'make config' to modify these settings
- Options name:
- www_SNIP
- USES:
- php:web
- pkg-message:
- For install:
- The configuration file is in /usr/local/etc/SNIP/snip.php
This package contains a true_paste feature which has been sent
upstream but has not yet been included.
There are the minimal configuration items:
Set driver to one of:
* 'postgres'
* 'mysqli'
* 'sqlite'
Set appropriate values in the 'Database connection' section.
- Master Sites:
|