What you are building
A self-hosted code-sharing destination that behaves like Pastebin - share a URL with code on it, with syntax highlighting, expiration controls, password protection, and burn-after-read - but on your own domain.
Same workflow as pastebin.com/<hash> but at yourdomain.com/paste/<hash>/. No ads. No tracking. No paid quota. No surprise paywall.
Why move off Pastebin
Pastebin works, but the cost adds up over time:
- Ads everywhere - including on raw code views shared in technical discussions
- Code is held by a third-party company under its terms, not yours
- Private and unlisted pastes are capped on free accounts, which pushes proprietary snippets toward public
- No backup you control - if you lose access to the account, the snippets go with it
- Brand mismatch - your sites and tutorials send readers to a third-party domain that does not look like yours
For a solo developer, the personal cost is privacy. For an agency, the cost is brand consistency + IP control.
What you get instead
SnipShare on your own WordPress install gives you:
/paste/<hash>/URL pattern (Pastebin-compatible mental model)/paste/<hash>/raw/direct-link to plain text forcurl/ programmatic fetch- 20+ language syntax highlighting via CodeMirror
- Multi-file pastes (one URL, multiple files - like GitHub Gist)
- Visibility controls: Public, Unlisted (link-only), Private (owner only)
- Expiration: Never, 10 minutes, 1 hour, 1 day, 1 week, 1, 3 or 6 months, 1 year
- Password protection per paste
- Burn-after-read (paste self-destructs after first view)
- Revision history with side-by-side diff (Developer and up)
- Download as ZIP
- Forking + starring + tagging
All running on your WordPress install. Zero third-party JavaScript.
The 10-minute setup
- Install SnipShare on any WordPress site.
- Run the setup wizard - it sets default visibility and the editor and code themes, and can add sample pastes. Every feature is on by default; switch any off later in Settings - General.
- Create your first paste at
/pastes/create/. Verify the URL pattern is what you want. - Update your existing Pastebin links if you maintain a tutorial blog - SnipShare runs alongside, so retire links gradually.
- Bookmark your
/pastes/create/URL or pin it to your nav so paste creation is one click away.
That is the minimum to replace Pastebin for personal use. Add BuddyPress / bbPress integration later if you want a community layer.
For agencies: brand-consistent paste sharing
If you run client work and frequently share code snippets with clients (during onboarding, in proposal docs, in support tickets), Pastebin links look unprofessional. SnipShare lets you send clients agency-site.com/paste/abc123/ which:
- Matches your brand
- Carries your contact info in the footer
- Is permanent (you control the lifecycle)
- Has no third-party tracking they can complain about
- Routes attribution back to your site
Internal team configuration:
- Set the site’s default visibility to Unlisted so links work but the public archive does not list them (Settings - General). Switch a paste to Private when it is internal only.
- Create a team Collection to organize all client-facing pastes by project
- On Developer and up, use revision history when iterating on a snippet during a back-and-forth with a client
Migration from Pastebin
Pastebin lists your pastes under My Pastes. Process:
- Log into Pastebin, go to My Pastes
- Open each paste you want to keep
- For each paste, copy the code + title + language
- In SnipShare, Create Paste, paste the content, set the matching language
- Set visibility (most ported pastes can stay Unlisted)
For accounts with 50+ pastes, write a curl script against Pastebin’s developer API + SnipShare’s REST endpoint (Developer and up). SnipShare exposes a POST /wp-json/snipshare/v1/pastes endpoint that takes a title and a files array (files[0][content], files[0][language]), authenticated with a WordPress application password. Full schema: store.wbcomdesigns.com/snipshare/docs/developer-guide/rest-api/.
Common pitfalls
- Permalinks not flushed. After install, go to Settings - Permalinks and click Save Changes. SnipShare adds rewrite rules; if they do not register, paste URLs 404.
- Public pastes on private sites. If you do not want pastes listed in the archive, set the default visibility to Unlisted or Private. There is no noindex setting in SnipShare, so if the whole library should stay out of Google, put the site behind a login or membership plugin.
- Burn-after-read assumes one viewer. If two browsers hit the URL within a second of each other (e.g. preview + actual click), one of them sees the paste, the other gets a 404. Plan messaging accordingly.
- Image-only “pastes” do not belong here. SnipShare is text-only. For screenshots, use the WordPress media library.
When to move up a tier
Personal at $49 replaces Pastebin completely for one site, collections and the BuddyPress integration included. Developer at $79 covers five sites and adds:
- Full revision history with diffs - see what changed between versions of a paste
- REST API and oEmbed - post pastes programmatically, embed them in forum replies
- A per-user hourly cap on new pastes - keeps a public-facing site from being flooded
- Reports and a moderation queue - somewhere for reported pastes to land
If you are the only user, Personal is enough indefinitely. Developer starts mattering when other people are posting and you need history, limits and somewhere for reports to land.
Ship checklist
- Plugin installed + permalinks flushed
- Setup wizard completed, defaults chosen
- Default visibility + expiration set per your use case
- First paste created + URL verified
- Old Pastebin bookmark replaced with
/pastes/create/ - Migration plan for legacy Pastebin URLs (if any)
Then start pasting. Your code stays on your domain.