Skip to content

SnipShare Overview

SnipShare turns your WordPress site into a community code pastebin. Members can create, share, fork, star, and organize code snippets with syntax highlighting and multi-file support, similar to GitHub Gists but self-hosted on WordPress.

  • Multi-file pastes — each paste can hold several files, each with its own filename and language.
  • Syntax highlighting — 39 languages are available for highlighting on the public paste view (Prism.js), with a CodeMirror editor for creating and editing.
  • Sharing and visibility — publish a paste as Public, Unlisted (link-only), or Private (owner only).
  • Fork and star — build on another member’s paste, or star pastes to save them for later.
  • Collections — group related pastes into named collections.
  • Tags — label pastes so they can be browsed by topic or technology.
  • Password protection and burn-after-read — lock a paste behind a password, or destroy it after the first view.
  • Expiration — set a paste to expire automatically (10 minutes up to 1 year).
  • Revision history — every edit is versioned per file, with diffs between versions.
  • Reporting and moderation — members can flag pastes; administrators review them from a moderation queue.
  • REST API — a full, app-ready API under the snipshare/v1 namespace.
  • Shortcode and oEmbed — embed any public or unlisted paste with the [snipshare] shortcode or by pasting its URL.
  • BuddyPress and bbPress integrations — optional, loaded only when those plugins are active.

SnipShare uses its own custom database tables (not WordPress posts) for pastes, files, revisions, tags, collections, stars, and reports. This keeps large libraries of pastes fast and separate from your normal site content.

  • Guests can view public and unlisted pastes but cannot create pastes.
  • Logged-in members can create, edit, and delete their own pastes, fork and star pastes, and build collections.
  • Administrators and editors can moderate: review reports and trash any paste.