Ana Sayfa / Kod ve Scriptler / Story Block - Story Writing and Reading Platform

Story Block - Story Writing and Reading Platform

Kendi hikâye yazma platformunuzu dakikalar içinde başlatın: Story Block ile!

  • Yayın tarihi31 Ekim 2026
  • Nerede çalışırPHP 8.1, PHP 8.2, PHP 8.3, PHP 8.4
  • VeritabanıMySQL 5.7, MySQL 8.0, MariaDB 10.x, MariaDB 11.x, SQLite 3.x
  • Paket içeriği.php, .css, .html, .svg, JavaScript .js
  • Son güncelleme31 Ekim 2026
  • Canlı demoVar
Story Block - Story Writing and Reading Platform

Overview

Launch your own story platform in minutes

Story Block is a complete, self-hosted reading and writing community for every genre: romance, fantasy, sci-fi, mystery, horror, fan fiction, poetry and more. Writers publish stories part by part. Readers build a library, follow their favourite writers and pick up exactly where they left off. You run everything from a full admin panel with built-in SEO, advertising, spam protection and audio narration.

Live demo: https://storyblock-production.up.railway.app/

  • Admin login: demo / demo1234
  • Member login: reader / demo1234

The demo resets automatically, so feel free to try everything.

A design that sells your content

The home page opens with a bold headline over a slowly drifting wall of your stories' covers. Every page uses a clean, modern layout with light and dark mode and works on every screen size. Stories without an uploaded cover get a generated cover in their genre's colour, so the site looks polished from day one.

Built for growth and revenue

  • SEO Suite: audit score, Book and Chapter structured data, XML sitemaps, Open Graph, redirects and IndexNow
  • Advertising Suite: 11 ad zones including in-chapter ads, with rotation, scheduling and click-through stats
  • Captcha and Spam Protection Suite: reCAPTCHA v2/v3, hCaptcha, Cloudflare Turnstile, StopForumSpam, Akismet and flexible bans
  • Audio narration: natural device voices for free, or studio-quality ElevenLabs, Google and Microsoft Azure voices
  • Gamification: points, ranks and a leaderboard that keep writers publishing and readers coming back

Who it's for

Writing communities, fan fiction archives, publishers, schools, book clubs, podcasters and niche fiction sites that want a platform of their own instead of renting space on someone else's.

Easy to install, easy to own

Upload, open your site and follow the web installer. It works with MySQL or SQLite and needs no Composer or command line. You get the full, unencrypted PHP source code, HTML documentation and original demo content.

Features

For readers

  • Discover page with trending, featured and completed-story shelves
  • 12 starter genres (fully editable), tags and advanced search by genre, status, audience, type and length
  • Story pages with cover, description, stats and table of contents
  • Distraction-free reader with font size, serif/sans toggle, focus mode and a reading progress bar
  • Audio narration player with voice and speed controls, paragraph highlighting and auto-play of the next part
  • Personal library with "Continue reading" progress
  • Notifications when saved stories get new parts
  • Votes, emoji reactions, and threaded comments with likes and replies
  • Follow writers and get notified about their new stories
  • Light and dark mode

For writers

  • Publish stories part by part (chapters), with drafts and reordering
  • Upload a cover or get a generated one automatically
  • Genre, audience rating (Everyone, Teen, Mature), Original or Fan fiction, Ongoing or Completed
  • Part editor with formatting toolbar, live word count and autosave
  • Content warnings, tags and an "open to adaptation" option
  • Public profile with stats, followers and rank progress
  • Points, ranks and leaderboard

Admin panel

  • Modern admin console with light and dark mode, quick-jump search (Ctrl+K) and a Create menu
  • Dashboard with 30-day traffic chart, key stats, review queue and health check
  • Moderation queues for stories, parts, comments and reports, with bulk actions
  • User management with roles (member, moderator, admin), bans and point adjustments
  • Genres with icons, colours and SEO fields; tag rename, merge and clean-up
  • Editable ranks and point values
  • Static pages (About, FAQ, Terms and Privacy included)
  • Appearance: logo, favicon, accent colour, home headline, themes, announcement bar and custom CSS
  • Narration settings: voice engine, voice lists, test a voice, members-only premium voices, cost limits and audio cache
  • SMTP email with editable templates and a test sender
  • Contact inbox, activity log and error log viewer
  • JSON backup and CSV exports

SEO Suite

  • SEO audit with score and fix list
  • Title templates, plus custom SEO titles and descriptions with a Google preview
  • Open Graph and Twitter cards
  • Structured data: Book, Chapter, Breadcrumbs, WebSite search box, Organization and ProfilePage
  • Canonical URLs and previous/next links between parts
  • XML sitemaps including chapters, a robots.txt editor and an RSS feed
  • 301/302 redirect manager, plus automatic redirects when a story's URL changes
  • IndexNow
  • Search Console, Bing, Yandex and Pinterest verification; GA4 and Google Tag Manager

Advertising Suite

  • 11 ad zones: header, home, in-feed, sidebar, sticky sidebar, above story, in-chapter, below story, above comments, footer and mobile sticky
  • Code ads (AdSense or any network) and image banners
  • Weighted rotation, device targeting, start/end dates and impression caps
  • Click and impression tracking with click-through rate
  • Hide ads for staff, guests-only ads, AdSense Auto ads and an ads.txt editor

Captcha and Spam Protection Suite

  • Built-in math captcha, Google reCAPTCHA v2/v3, hCaptcha and Cloudflare Turnstile
  • Per-form captcha control, with captcha skipped for trusted members
  • Honeypot and time trap, banned words, link limits and a flood filter
  • New-member hold, StopForumSpam, Akismet and disposable email blocking
  • IP, wildcard, CIDR, email and domain bans with expiry
  • Rate limits, login lockout and a spam log with one-click IP ban

Audio narration

  • Free mode automatically uses the most natural voice on each reader's device
  • Premium voices from ElevenLabs, Google Cloud (Chirp 3 HD), Microsoft Azure or any OpenAI-compatible server
  • Audio is generated once and cached on your server, so replays cost nothing
  • Members-only premium voices and per-visitor limits to keep costs predictable
  • Lock-screen playback controls on phones

Security and performance

  • CSRF protection on every form, prepared database queries and output escaping
  • Bcrypt password hashing, re-encoded image uploads and protected system folders
  • Secure session cookies and security headers
  • Fonts bundled with the script, so the site never calls Google Fonts (faster, and easier for GDPR)
  • Demo mode and a command-line installer for Docker and Railway deployments

Requirements

  • PHP 8.1 or higher (8.2 or 8.3 recommended)
  • MySQL 5.7+ or MariaDB 10.3+ (recommended), or SQLite 3.24+
  • PHP extensions: PDO (pdo_mysql or pdo_sqlite), mbstring, GD, cURL, OpenSSL, JSON
  • Apache with mod_rewrite (.htaccess included) or Nginx (example configuration included)
  • Works on shared hosting, cPanel, VPS and Docker
  • No Composer, Node.js or command line needed
  • Optional: SMTP email account for password resets and notifications
  • Optional: an ElevenLabs, Google Cloud or Microsoft Azure API key for premium narration voices