What you are building
A snippet library inside the team’s internal, login-only WordPress install. Members create pastes for shell commands, config snippets, runbook procedures, regex tested against production logs - anything the team currently re-derives from Slack history every week.
The goal: a searchable archive that pays for itself the first time someone finds the right command in 30 seconds instead of grepping #ops chat for 20 minutes.
Why an intranet snippet archive beats the alternatives
What teams currently use, and what each costs:
- Slack history - searchable but ephemeral on free plans, full of context noise, no syntax highlighting, no versioning
- Confluence / Notion - good for docs, bad for code (lossy formatting, terrible for multi-file, no diff)
- GitHub Gist - great for sharing but secret gists are link-only with no team scoping, and personal accounts mix in
- Notion code blocks - no diff between versions
- Shared Google Docs - the worst of all - no syntax highlighting at all
SnipShare on a private WP install gives you syntax highlighting, multi-file pastes, revision diffs (Developer and up), and search by title, description, tag and language. All inside the team’s already-existing intranet.
How visibility works for a team
This is the part to get right first. SnipShare has three visibility levels:
- Public - listed in the
/pastes/archive and readable by anyone who can reach the site - Unlisted - readable by anyone with the link, kept out of the archive
- Private - readable only by the person who created it
There is no “share with my team” level, and no SnipShare setting that forces a login to read. So a team library works like this: put the whole site behind a login (an intranet, a membership plugin or Cloudflare Access), then use Public for the team library and Private for each person’s own scratch notes.
Setup for a private team install
- Install SnipShare on the team intranet WP install, which should already require a login for every page.
- Settings - General - set default visibility to Public if the whole site is login-only, so team pastes land in the shared archive. Members switch to Private for personal notes.
- Check who can create pastes. Any logged-in member can create pastes by default; Editors and Administrators also moderate. The Permissions tab lists the mapping read-only, and developers change it through the WordPress
user_has_capfilter. - Settings - Appearance - pick a code theme: Tomorrow, Okaidia, Twilight, Dark, Coy or Solarized Light.
- Turn off burn-after-read, password protection or expiration in the feature toggles if the team will not use them (keeps the create form simpler).
- Set up Collections - create named buckets like “Production runbook”, “DB queries”, “Deploy commands” so snippets self-organize.
Privacy posture
Keeping the library private comes down to the site, not the plugin:
- Login on every page - SnipShare lets guests read public and unlisted pastes, so the intranet itself has to block anonymous visitors
- Private for personal notes - anything one person keeps for themselves stays owner-only
- No secrets - even a private paste is plain text in the database
Pair with a private DNS + Cloudflare Access if you want zero-trust on top.
Common snippet categories worth seeding
Seed the archive yourself before the team starts using it. A library with 50 pre-loaded snippets feels useful on day 1. With 0 snippets it feels abandoned.
Useful seed categories:
- Deploy + rollback commands - the actual commands your team runs
- Database queries - the actual SELECTs ops runs to investigate issues
- Production debug - the actual incantations for tail-ing logs, checking queue depth, etc.
- Config snippets - the WAF rules, nginx blocks, redis configs you typically edit
- Onboarding commands - the dev environment setup steps for new joiners
- Test data - the seed SQL or curl requests that get a feature to a testable state
- Regex catalog - the regexes your team has spent time deriving + verifying
By the time you finish seeding, you have already used the tool more than most teams do in a month.
Collections, the feature that makes it an archive
Individual pastes are useful on their own, but for a team it is collections that turn a pile of them into something you can navigate. A collection is a named bucket of pastes, and it is in the entry tier rather than an upgrade.
Useful collection patterns:
- One per major system - “API service”, “Worker queue”, “Admin dashboard”
- One per oncall rotation - “Oncall runbook” with every command + check oncall actually needs
- One per common bug - “Production debug - Redis OOM” - so the next person who hits it finds the solution in 1 search
- One per onboarding role - “Backend engineer - first week”
Members can have their own Collections too (personal scratchpad). Make shared collections public on the login-only site and keep personal ones private.
Common pitfalls
- No seed content. Team members never adopt a tool that feels empty on day 1. Seed 30-50 snippets minimum.
- Relying on the plugin for privacy. If the intranet ever becomes accidentally public (DNS misconfig, etc.), public and unlisted pastes are readable. Keep the site-wide login in place and check it after every hosting change.
- Defaulting team pastes to Private. Private means only the author can read it, so the rest of the team never sees it.
- Vague titles. Search covers titles and descriptions, not the code itself. Name every paste for the task it does.
- Skipping Collections. Without them, the archive feels like a wall of pastes after the 100th entry.
- No deletion policy. Some snippets reference passwords or secrets that were rotated. Set a quarterly cleanup ritual.
When SnipShare fails for team intranets
If you need:
- Inline execution of code (run a snippet to test) - this is Replit / CodeSandbox territory, not SnipShare
- Strict secrets management (passwords + tokens) - this is 1Password / Bitwarden territory
- Full Git history with branching + PRs - this is GitHub / GitLab
- Pair programming - this is VS Code Live Share
SnipShare is best for read-side archival - the team’s library of “things that worked once and might work again.”
Ship checklist
- Plugin installed on a login-only team intranet
- Default visibility chosen (Public for the shared library, Private for personal notes)
- Logged-out visit tested: the archive and a paste URL should both hit the login wall
- 30-50 seed pastes loaded by an admin
- Collections configured per major system / process
- Search verified - “find a command by typing 3 words of its title”
- Quarterly cleanup ritual added to the team calendar
Then start asking the team to add their own. Adoption follows the first useful query someone runs that saves them 20 minutes.