SafeShare: Clean Reddit Post Sharing with One-Click Bookmarklet

SafeShare interface showing Reddit post sharing with bookmarklet
TL;DR: SafeShare creates clean, shareable views of Reddit posts — no login walls, no app install prompts, no ads. Built with Next.js 16 and Vercel Redis, it features a one-click bookmarklet for instant link generation. Perfect for sharing with family and friends who just want to read the content.

The Problem

We've all been there: you find a great Reddit post and want to share it with a friend or family member. But when they click the link, they're hit with:

  • Login walls — "Sign in to continue"
  • App install prompts — "Open in the Reddit app"
  • Ads and promoted content — Cluttering the reading experience
  • Endless scrolling — Recommended posts, trending content, noise everywhere

For a simple act of sharing, the experience is frustrating — especially for less tech-savvy users who just want to read what you sent them.

Enter SafeShare

SafeShare is my solution to this problem. It's a clean reader view for Reddit posts that strips away everything except what matters: the post content and top comments.

Here's how it works:

  1. Paste a Reddit URL into SafeShare
  2. Get a clean, shareable link
  3. Anyone who visits sees the post content and comments — nothing else

Snapshots are stored for 90 days, giving you plenty of time to share before they expire.

Supported Content

SafeShare handles all the common Reddit post types:

  • Text posts — Full self-post content with formatting
  • Image posts — Single images and galleries
  • Videos — Reddit-hosted videos (note: no audio due to Reddit's streaming format)
  • External links — Link posts with preview images

The Bookmarklet Feature

The real magic happens with the bookmarklet. Instead of copying a Reddit URL, pasting it into SafeShare, and then sharing the generated link — you can do it all in one click.

How to use the bookmarklet:

  1. Drag the "SafeShare" button to your browser's bookmarks bar
  2. Navigate to any Reddit post
  3. Click the bookmarklet
  4. Your clean SafeShare link is automatically copied to clipboard
  5. Paste and share!

The bookmarklet fetches the post data directly from Reddit's API (client-side to avoid CORS issues), sends it to the SafeShare backend, and returns a shareable link — all in under a second.

Tech Stack

SafeShare is built with modern, serverless technologies:

  • Next.js 16 — App Router, React Server Components, optimized performance
  • Vercel — Hosting, edge functions, and automatic deployments
  • Vercel Redis — Fast, ephemeral storage for post snapshots (90-day TTL)
  • Tailwind CSS — Clean, responsive UI
  • TypeScript — Type-safe development

Architecture Notes

One interesting challenge: Reddit's API blocks server-side requests from datacenter IPs (like Vercel's). To work around this, SafeShare fetches Reddit data directly in the browser, then stores it server-side. This means:

  • No Reddit API credentials are required
  • No server-side rate limiting issues
  • The backend only stores data — it never talks to Reddit

This architecture keeps the project simple and free to host, while still providing a reliable sharing experience.

Local Development

Want to run SafeShare locally? Here's how:

# Clone the repository
git clone https://github.com/josefresco/safe-share.git
cd safe-share

# Install dependencies
npm install

# Pull environment variables from Vercel
vercel env pull .env.local

# Start dev server
npm run dev

Open http://localhost:3000 and you're ready to go.

Environment Variables

SafeShare requires just one environment variable:

Variable Description
REDIS_URL Vercel Redis connection URL

Deployment

SafeShare is connected to GitHub — any push to master triggers an automatic Vercel deployment. This means:

  • Zero-config deployments
  • Preview URLs for every branch
  • Automatic SSL certificates
  • Global edge caching

What's Next

SafeShare is already useful in its current form, but there are plenty of ideas for future improvements:

  • Custom themes — Dark mode (already there!), light mode, or fun color schemes
  • Comment depth options — Choose how many levels of nested comments to display
  • Export options — Download posts as PDF or Markdown
  • Analytics — Track how many times your shared links are viewed (privacy-respecting, of course)

Conclusion

SafeShare solves a real problem I encountered daily: sharing Reddit content without the friction. Whether you're sharing a funny post with family, a technical discussion with colleagues, or news with friends, SafeShare makes it clean and simple.

The one-click bookmarklet is the killer feature — it turns a multi-step process into a single click. Once you start using it, you'll wonder how you ever shared Reddit links any other way.