Skip to content

Raytha is a powerful CMS with an easy-to-use interface and fast performance. It offers custom content types, a template engine, and various access controls. It supports multiple storage providers and an automatically generated REST API. Upgrade your development workflow with Raytha.

License

Notifications You must be signed in to change notification settings

RaythaHQ/raytha

MIT License Build Status

Raytha Logo

Raytha is a lightweight, versatile content management system built with .NET. Create any type of website by configuring custom content types and editing HTML templates directly within the platform.

Deploy on Railway

Website · Documentation · User Guide · YouTube

Watch a 40 second demo
raythashortdemo.mp4

Screenshot

Features

  • Site Pages & Page Builder — Build landing pages with a drag-and-drop widget system. No code required.
  • Custom Content Types — Create and customize content structures without code changes
  • Liquid Templates — Edit templates directly in the platform using the Liquid templating engine
  • Role-Based Access Control — Design custom roles with granular permissions
  • Headless API — Auto-generated REST API for all your content
  • Audit Logs — Complete audit trail of all changes for security and compliance
  • Single Sign-On — SAML and JWT authentication for admins and users
  • Revision History — Revert content and templates to any previous version
  • Flexible Storage — Local, Azure Blob, or S3-compatible file storage

Quick Start with Docker

Raytha runs out of the box with Docker and PostgreSQL.

1. Clone the repository

git clone https://github.com/RaythaHQ/raytha.git
cd raytha

2. Configure environment

cp .env.example .env

3. Start Raytha

docker-compose --env-file .env up

4. Complete setup

Open http://localhost:5001 and follow the setup wizard.

Raytha automatically applies database migrations on first run.

Running over HTTP (Development Mode)

Raytha enforces HTTPS by default. For local development or environments without SSL, the .env.example includes:

ASPNETCORE_ENVIRONMENT=Development

For production with SSL/TLS, change this to Production.

Configuration Options

See .env.example for all available settings:

  • SMTP — Email notifications and password reset
  • Cloud Storage — S3 or Azure Blob integration
  • Raytha Functions — Serverless function configuration
  • Security — HTTPS enforcement and URL import controls

Build from Source

Requirements

  • .NET 10
  • PostgreSQL (default) or SQL Server
  • SMTP server (optional)

Steps

  1. Clone the repository:

    git clone https://github.com/RaythaHQ/raytha.git
  2. Configure appsettings.json with your database connection string and SMTP settings.

    For local SMTP testing, try Papercut-SMTP.

  3. Set Raytha.Web as the startup project, build, and run. Migrations apply automatically on first start.

Why Raytha?

For Content Teams

Intuitive UI with minimal learning curve. Granular permissions, revision history, and comprehensive audit logs give teams confidence and control.

For Rapid Prototyping

Know HTML? Build blogs, portfolios, galleries, job boards, and more with just basic web skills. Perfect for quickly validating ideas.

For .NET Developers

A production-ready foundation with user management, RBAC, SSO, audit logging, and cloud storage integrations. Built on Clean Architecture patterns.

Community

Contributing

Raytha is open-source under the MIT license. We welcome contributions through issues, discussions, and pull requests.

See CONTRIBUTING.md for guidelines.


Created by Zack Schwartz

About

Raytha is a powerful CMS with an easy-to-use interface and fast performance. It offers custom content types, a template engine, and various access controls. It supports multiple storage providers and an automatically generated REST API. Upgrade your development workflow with Raytha.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors 15