FlowRust CMS High-Performance Distributed Content Management System

FlowRust CMS - A high-performance multi-functional CMS developed in Rust language, compatible with Mac CMS 10 collection APIs, supporting videos, audio, and image galleries with distributed storage and processing capabilities.

FlowRust CMS - 基于 Rust 语言开发的高性能多功能内容管理系统,兼容苹果 CMS 10 采集接口,支持视频、音频和图集漫画等多种内容形式,具备分布式存储和处理能力。

Rust
分布式
云存储

Core Features / 核心功能特性

Distributed Storage / 分布式存储

Multi-server distributed storage with load balancing and high availability, ensuring data security and system stability.
支持多服务器分布式存储,实现负载均衡和高可用性,确保数据安全和系统稳定性。

Media Processing / 音视频处理

Built-in powerful audio/video processing engine with format conversion, compression, and segmentation capabilities.
内置强大的音视频处理引擎,支持格式转换、压缩、切片等媒体处理功能。

Image Optimization / 图片优化

Intelligent image compression and optimization with multi-format support, automatic thumbnail generation, and responsive images.
智能图片压缩和优化,支持多种格式转换,自动生成缩略图和响应式图片。

Archive Management / 压缩包管理

Support for multiple compression formats with automatic extraction, compression, and file management for improved storage efficiency.
支持多种压缩格式,自动解压、压缩和文件管理,提高存储效率。

High Performance / 高性能

Built with Rust language, memory-safe with excellent concurrency performance and extremely fast processing speed.
基于 Rust 语言构建,内存安全,并发性能优异,处理速度极快。

Flexible Extensibility / 灵活扩展

Plugin-based architecture supporting custom extensions and easy integration with third-party services and tools.
插件化架构,支持自定义扩展,轻松集成第三方服务和工具。

System Architecture / 系统架构

Frontend Layer / 前端层

Web Management Interface | API Endpoints
Web 管理界面 | API 接口

FlowRust CMS Core / FlowRust 核心

Business Logic | User Management | Permission Control
业务逻辑 | 用户管理 | 权限控制

cms-back Distributed Backend / cms-back 分布式后端

File Storage | Media Processing | Archive Management
文件存储 | 媒体处理 | 压缩管理

Storage Layer / 存储层

Local Storage | Cloud Storage | CDN
本地存储 | 云存储 | CDN

Distributed Architecture Advantages / 分布式架构优势

  • Horizontal scalability with unlimited node addition / 横向扩展能力,支持无限节点添加
  • Intelligent load balancing for optimal resource utilization / 智能负载均衡,优化资源利用
  • Automatic failover ensuring service continuity / 故障自动转移,确保服务连续性
  • Data sharding for improved access speed / 数据分片存储,提高访问速度
  • Multi-layer backup mechanism for data security / 多重备份机制,保障数据安全

Why Choose FlowRust CMS / 为什么选择 FlowRust CMS

01

Exceptional Performance / 性能卓越

Rust's high-performance features combined with distributed architecture deliver processing speeds 10x+ faster than traditional CMS.
Rust 语言的高性能特性,配合分布式架构,处理速度比传统 CMS 快 10 倍以上。

02

Security & Reliability / 安全可靠

Memory-safe Rust language with multiple security layers and regular security updates ensuring system safety.
内存安全的 Rust 语言,多重安全防护,定期安全更新,保障系统安全。

03

Easy Extensibility / 易于扩展

Modular design with plugin-based architecture supporting custom extensions to meet various business requirements.
模块化设计,插件化架构,支持自定义功能扩展,满足各种业务需求。

04

Cost Optimization / 成本优化

Open-source and free, reducing deployment costs with intelligent resource scheduling and optimized server utilization.
开源免费,降低部署成本,智能资源调度,优化服务器利用率。

Quick Start / 快速开始

1

Deploy FlowRust CMS / 部署 FlowRust CMS

# Download the latest Linux binary package
wget https://github.com/TFTG-CLOUD/FlowRust/releases/latest/download/linux.zip

# Extract to target directory
sudo mkdir -p /opt/flowrust_cms
sudo unzip linux.zip -d /opt/flowrust_cms
cd /opt/flowrust_cms

# Create environment variable configuration file
sudo nano .env

Configuration file content / 配置文件内容:

# Database connection
DATABASE_URL=mongodb://localhost:27017
DATABASE_NAME=flowrust_cms

# Server configuration
SERVER_HOST=0.0.0.0
SERVER_PORT=8080

# Admin account
ADMIN_USER=admin
ADMIN_PASS=your_secure_password

# Session secret key (change to random string)
SESSION_SECRET_KEY=your_random_session_secret_key_here

# Log level
RUST_LOG=info
2

Start FlowRust CMS / 启动 FlowRust CMS

# Set binary file execution permissions
sudo chmod +x flowrust_cms

# Start in background
nohup ./flowrust_cms > flowrust.log 2>&1 &

# Or use systemctl service management (recommended)
sudo systemctl start flowrust-cms
sudo systemctl enable flowrust-cms

# Verify deployment
curl http://localhost:8080/api/health
3

Deploy cms-back / 部署 cms-back

# Clone cms-back project
git clone https://github.com/TFTG-CLOUD/cms-back
cd cms-back

# Install dependencies
npm install

# Configure environment variables
cp .env.example .env
nano .env

Start cms-back services / 启动 cms-back 服务:

# Start server
npm start src/server

# Start worker process (new terminal window)
npm start src/worker

# Or use PM2 for process management
npm install -g pm2
pm2 start src/server --name "cms-server"
pm2 start src/worker --name "cms-worker"
4

Access System / 访问系统

# FlowRust CMS Admin Backend
open http://localhost:8080/admin

# cms-back API Endpoints
open http://localhost:3000

# System health check
curl http://localhost:8080/api/health
curl http://localhost:3000/api/health