SnipShare Overview
SnipShare turns any WordPress site into a fully-featured code sharing platform — like GitHub Gist or Pastebin, but running inside your own WordPress install, with your community's members, and under your own brand.

What Is SnipShare?
SnipShare is a WordPress plugin that lets your site members create, share, and discover code snippets. Each snippet (called a paste) can contain one or more files, supports syntax highlighting for 20+ languages, and comes with version history, starring, tagging, and forking built in.
It works standalone on any WordPress site, and integrates natively with BuddyPress to embed code sharing directly into your community — in activity feeds, member profiles, and notifications.
Who Is It For?
| Site Type | How SnipShare Helps |
|---|---|
| Developer communities | Members share reusable code, helpers, and snippets with each other |
| BuddyPress communities | Pastes appear in activity feeds, on member profiles, and trigger notifications |
| Learning platforms | Students and instructors share code examples with revision tracking |
| Team intranets | Share internal scripts, configs, and snippets in a private, searchable archive |
| Solo developers | A personal code notebook — organised, versioned, and accessible anywhere |
What Can You Do?
As a Site Member
- Create pastes — one or more files per paste, with per-file syntax highlighting, filename, and language selection
- Multi-file pastes — like GitHub Gists, group related files under a single URL
- Set visibility — Public (listed for all), Unlisted (link-only), or Private (owner only)
- Set expiration — pastes can auto-expire after 1 hour, 1 day, 1 week, or 1 month
- Password-protect — lock a paste behind a password for sensitive content
- Burn after read — paste is permanently deleted after the first view
- Tag pastes — add comma-separated tags; browse all pastes with a given tag at
/pastes/tag/{slug}/ - Fork pastes — clone someone else's paste into your own account to modify it
- Star pastes — bookmark any public paste to your starred list
- Edit pastes — every edit is version-tracked with full diff view between any two versions
- View revision history — see exactly what changed between versions with a side-by-side diff
- Download pastes — download all files as a ZIP or individually
- Share raw — direct link to raw plain text at
/paste/{hash}/raw/ - Collections — group pastes into named, public or private collections

As a Site Administrator
- Moderate content — review and act on reported pastes from a dedicated queue
- Manage all pastes — view, search, and manage every paste from every user
- Control permissions — fine-grained ability controls via WordPress Abilities API
- Set rate limits — limit how many pastes a user can create per hour
- Toggle features — enable or disable expiration, forking, starring, password protection, burn-after-read, and tagging individually
- Customise appearance — choose syntax highlighting theme, list vs grid layout, and custom CSS
- BuddyPress integration — paste activity in feeds, Pastes tab on member profiles
- bbPress integration — oEmbed previews and "Insert Paste" button in forum replies

Key Benefits
No Third-Party Dependency
Your code stays on your server. No Pastebin, no Gist — no third-party accounts, no privacy concerns, no link rot.
Built for Communities
When BuddyPress is active, new public pastes automatically appear in the sitewide activity feed. Members can see each other's pastes, star favourites, and fork useful snippets — code sharing becomes a social activity.
Version History Built In
Every edit to a paste creates a versioned snapshot. The full diff between any two versions is viewable at /paste/{hash}/diff/{v1}...{v2}.

Flexible Privacy Controls
Public, unlisted, private, password-protected, and burn-after-read — five levels of visibility for every use case, from sharing a solution publicly to delivering a one-time secret.
Developer-Friendly
Full REST API, WordPress hooks and filters, oEmbed support, shortcode embedding, and BuddyPress/bbPress integration — all documented in the Developer Guide.
Feature Summary
| Feature | Details |
|---|---|
| Multi-file pastes | Up to 10 files per paste (configurable) |
| Syntax highlighting | 20+ languages via CodeMirror 6 (editor) and Prism.js (view) |
| Visibility levels | Public, Unlisted, Private |
| Expiration | Never, 1h, 1d, 1w, 1m |
| Password protection | AES-encrypted; oEmbed blocked for locked pastes |
| Burn after read | Single-view self-destruct |
| Tags | Unlimited tags; browse by tag |
| Stars | Per-user bookmarks with public star counts |
| Collections | Named groups of pastes, public or private |
| Fork | Clone any public paste into your account |
| Revision history | Full per-file diff between any two versions |
| BuddyPress | Activity feed, member profile tab, notifications |
| bbPress | oEmbed previews, Insert Paste button |
| REST API | Full CRUD + stars, forks, revisions, collections |
| oEmbed | Embed any public paste in external sites |
| Shortcode | [snipshare] for page-level embedding |
Next Steps
- Installation — install and activate the plugin
- Quick Start — create your first paste in minutes
- General Settings — configure the plugin for your community











