Skip to content

Rin

TrendingMaintained
openRin/Rin

A dynamic blog platform based on Cloudflare Pages + Workers + D1 + R2, requiring no server to deploy.

View on GitHub
Stars
2.8k
Forks
2.2k
Watchers
2.8k
Open issues
68

Rin: Serverless Dynamic Blog Platform

Rin is a modern, feature-rich blog platform built entirely on Cloudflare’s ecosystem, leveraging Pages, Workers, D1 database, and R2 storage. What makes Rin unique is that it requires no traditional server to deploy - you only need a domain name that resolves to Cloudflare.

Core Features

  • Serverless Architecture: Built on Cloudflare’s infrastructure for high performance and reliability
  • GitHub OAuth Integration: Simple authentication with automatic admin privileges for the first user
  • Rich Content Management: Full-featured article writing and editing capabilities
  • Real-time Drafts: Local saving of modifications without conflicts between multiple articles
  • Privacy Controls: Set articles as private for personal notes or draft content
  • Media Management: Drag-and-drop image uploads to S3-compatible storage
  • Custom URLs: Create article aliases for clean, memorable links
  • Visibility Options: Control which articles appear in the homepage listing
  • Friend Links: Add and manage blogroll links with automatic status checking
  • Comment System: Built-in commenting with moderation capabilities
  • Notification System: Webhook support for comment notifications
  • Automatic Featured Images: Smart detection of article images for previews
  • Tag System: Simple hashtag-style tagging with automatic parsing

Use Cases

  • Personal blogs with modern features
  • Team or company blogs with multiple contributors
  • Knowledge bases with public and private sections
  • Portfolio sites with integrated blogging
  • Community platforms with user engagement

Getting Started

Deploying Rin is straightforward with Cloudflare’s infrastructure:

  1. Prerequisites:

    • A Cloudflare account
    • A domain managed by Cloudflare
    • GitHub account for authentication
  2. Setup Process:

    • Clone the Rin repository
    • Configure your Cloudflare Workers environment
    • Set up D1 database and R2 storage
    • Deploy to Cloudflare Pages
    • Connect your custom domain
  3. First Login:

    • Log in with GitHub OAuth
    • The first user automatically becomes the administrator
    • Configure site settings and begin creating content

Technical Architecture

Rin leverages several key technologies:

  • Frontend: React-based UI with modern components
  • Backend: Cloudflare Workers for serverless functions
  • Database: Cloudflare D1 for SQL-compatible data storage
  • Storage: Cloudflare R2 for media and asset management
  • Authentication: GitHub OAuth for user management
  • Deployment: Cloudflare Pages for hosting and CI/CD

Similar open-source projects, ranked by shared categories and tags.

All CMS projects →