Description
🏆 PasteShr – Text Hosting & Sharing Script (GPL Source Code Description)
SEO Keywords: pastebin clone script, text sharing PHP script, code snippet hosting, online notes sharing, self-hosted paste app, GPL paste script.
🚀 Overview
PasteShr is a lightweight, self-hosted text and code sharing platform that lets users create, store, and share snippets with a clean URL.
Think of it as your own private/public Pastebin-style service — perfect for developers, support teams, bloggers, or communities that need to post logs, code samples, and short notes without relying on third-party sites.
The script is built with PHP + MySQL and offers features like syntax highlighting, visibility control (public/unlisted/private), expiration times, and user accounts — all wrapped in a modern, responsive UI.
✨ Key Features
- 📝 Quick Paste Creation: add text or code, choose title, and publish instantly.
- 🔒 Visibility Options: public, unlisted, or password-protected pastes.
- ⏱️ Expiration Time: set pastes to auto-delete after 10 min / 1 hour / 1 day / custom.
- 🌈 Syntax Highlighting: developer-friendly display for code snippets.
- 👤 User Accounts (optional): registered users can manage their pastes.
- 🔗 Shareable URLs: clean links for helpdesk, chat, or forum sharing.
- 🔍 Search & Tags: find public pastes by keyword or tag.
- 📱 Responsive UI: works on desktop and mobile browsers.
- 🧾 Admin Panel: manage users, pastes, reported content, and site settings.
- 🛡️ Spam Protection: CAPTCHA / reCAPTCHA-ready to stop bots.
⚙️ Technical Stack
- Language: PHP 8.x+
- Database: MySQL / MariaDB
- Frontend: HTML5, Bootstrap 5, JavaScript
- Editor: CodeMirror / Prism.js for syntax highlighting (depending on original build)
- Hosting: Apache / Nginx with mod_rewrite
Expertise Note: structured in a simple MVC-like layout for easy skinning, white-labeling, and feature extension.
🧩 Installation Guide
- 📦 Upload all script files to your server (e.g.
public_html/pasteshr). - 🧰 Create a MySQL database and user.
- 🗄️ Import the provided
pasteshr.sqlfile. - ⚙️ Edit
config.php/.envto set DB credentials, site name, reCAPTCHA keys. - 🔐 Enable clean URLs (.htaccess) on Apache or equivalent on Nginx.
- 🚀 Open the site in your browser and create the first admin account.
📦 Deliverables
- ✅ Full PHP script source code
- ✅ SQL database dump
- ✅ Admin dashboard
- ✅ Frontend paste/create pages
- ✅ Syntax highlighting assets
- ✅ GPL-ready HTML description (this file)
📱 Supported Platforms
- Server OS: Linux / Windows with PHP 8+
- Web Server: Apache / Nginx
- Database: MySQL / MariaDB
- Browsers: Chrome, Firefox, Edge, Safari (desktop & mobile)
🧠 Notes
- License: GPL – you can modify, translate, and redistribute.
- Customization Tips: add paste folders, user teams, private org workspaces, or API endpoints for CLI uploads.
- SEO Assurance: uses human-readable URLs and meta tags suitable for “paste script”, “text hosting” and “share code online” directories.
- Security: enable rate limiting, HTTPS, and reCAPTCHA to avoid abuse.
👨💻 Original Developer Credit
Original script concept and UI by the CodeCanyon / PHP marketplace author.
This version is provided under the GNU General Public License (GPL) for educational and non-exclusive reuse.
Reference: Original Marketplace Listing.
🔒 Disclaimer
Distributed under the GNU General Public License (GPL).
Not affiliated with Pastebin.com or any third-party paste service.
All logos, names, and demo content belong to their respective owners.
- Replace branding and favicon before public launch.
- Monitor content uploads and enable reporting for public instances.
- Follow hosting and local policies for UGC (user-generated content).

Haunted Halloween Deal Enjoy Unlimited Downloads!
Reviews
There are no reviews yet.