RailsHTML后台启动器

rails-tabler-starter — Rails 后台模板

作者 tarunvelli

基于 Rails 与 Tabler 的开源后台启动器,内置认证、多租户空间、博客与主题配置。

看看你的网站会是什么样

浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。

3 个预览视图
桌面端首页1 / 3
桌面端截图首屏预览

由服务器浏览器实际访问页面后截取。

全部页面与视图 3

截图用于了解视觉与布局,交互效果请以实际项目为准。

采集于 2026-10-01查看来源

值得关注的模板亮点

从已有项目资料中,快速了解它的特点。

01

使用 Tabler(Bootstrap 5)与 Hotwire/Turbo 提供现成的响应式仪表盘界面

02

内置 Devise 认证与 Google/GitHub OmniAuth 登录,Pundit 负责授权

03

基于 Space 的多租户架构,含 Admin/Member 角色并支持自定义权限

04

主题由数据库中的 AppSettings 单例控制,可配置布局、明暗模式、主色、字体与圆角

05

内置 Markdown 博客引擎,支持分类、分页、代码高亮、RSS 与 SEO 元标签

06

后台任务与缓存使用 Solid Queue、Solid Cache,README 称中小规模部署无需 Redis

模板详细介绍

rails-tabler-starter 是一个 Ruby on Rails 后台启动器,界面使用 Tabler(Bootstrap 5)搭配 Hotwire/Turbo,目标是在项目初期直接获得可用的仪表盘 UI,而不必从零搭建前端。仓库采用 MIT 许可,可免费使用、修改、商用和分发,演示站点为 rails-tabler.tarunvelli.site。

功能层面,它预置了 Devise 认证(含 Google/GitHub 的 OmniAuth 登录)、Pundit 授权、Brakeman 安全审计,以及基于 Space 的多租户架构:每个空间有 Admin 与 Member 角色,并支持自定义角色与细粒度权限。后台任务与缓存使用 Solid Queue、Solid Cache,README 说明中小规模部署无需 Redis。

UI 与内容方面,主题通过数据库中的 AppSettings 单例配置,可调整布局、明暗模式、主色、主题基色、字体与圆角;内置基于 Markdown 文件的博客引擎,文章放在 content/blog/ 下,支持分类、分页、代码高亮、RSS 与 SEO 元标签。README 还提到已为 Kamal、Fly.io 或 Heroku 准备部署配置。

使用限制:资料未给出依赖清单中的具体版本号,也未说明生产环境验证情况;演示图片、字体、图标等第三方素材需单独核对许可,域名、托管、数据库等外部服务可能另行收费。

RailsHTML后台启动器

适合你的项目吗?

适用场景

  • 需要快速搭建带仪表盘界面的 Rails 后台项目
  • 为多团队或多组织的 B2B SaaS 应用准备空间与角色权限结构
  • 在 Rails 项目中集成基于 Markdown 文件的内容博客
  • 希望用数据库配置切换界面布局、配色与明暗模式的后台系统

适合人群

  • 熟悉 Ruby on Rails 并希望减少前端搭建工作的开发者
  • 需要认证、授权与多租户基础结构的 SaaS 项目
  • 接受 SQLite 与 Solid Queue/Solid Cache 的中小规模部署场景

上手与定制指南

结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。

  1. 1

    克隆仓库后运行 bin/setup 完成初始化,再用 bin/dev 启动开发服务器

  2. 2

    可通过 User.first.update(admin: true) 将用户提升为管理员

  3. 3

    博客文章以 .md 文件放在 content/blog/ 目录,使用 frontmatter 定义标题、摘要、日期、作者、分类与发布状态

  4. 4

    多租户模式与落地页显示由 AppSettings 中的 multi_tenant_mode、show_landing_page 控制

  5. 5

    演示图片、字体、图标等第三方素材需按各自许可单独核对

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。

使用时需要遵守

  • 允许免费使用、修改、商用和分发该版本代码。
  • 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
  • 代码按现状提供;担保与责任限制以原许可证及适用法律为准。

额外费用与待核对事项

  • 仅中小规模部署无需 Redis;大规模部署可能仍需 Redis 等外部服务,可能产生额外费用。
  • 部署依赖 Kamal、Fly.io 或 Heroku 等外部平台,使用这些服务通常需要账号并可能产生费用。
  • Google/GitHub 第三方登录需自行申请 OAuth 应用并配置 API 密钥/凭据。
  • 默认使用 SQLite,README 未说明其他数据库适配情况,高并发场景可能受限。
  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

Uses `solid_queue` and `solid_cache`—no Redis required for small-to-medium deployments.

README 原文

Pre-configured for **Kamal**, Fly.io, or Heroku.

README 原文

Auth:** Devise + OmniAuth (Google/GitHub).

README 原文

SQLite (Production-optimized)

README 原文
https://github.com/tarunvelli/rails-tabler-starter/blob/main/licensehttps://github.com/tarunvelli/rails-tabler-starter/blob/main/README.md

DeepSeek 根据仓库许可证和 README 整理 ·2026-10-01。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。

项目核对记录与介绍依据

模板资料

来源平台
GitHub
资料与维护参考分
资料较完整 · 96 / 100
技术栈
Rails · HTML
网站类型
后台 · 启动器
这个分数如何计算

本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。

这个项目需要核对什么

记录的仓库更新时间
2026-09-12
截图检查日期
2026-10-01

已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。

目录记录的主要技术栈是 Rails。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。

查看具体选型方法 →

介绍的制作与核对状态

介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。

已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。

查看当时使用的来源资料

SHA-256: 9bcdf9de793b12d6729c9f9b3ea506ce48255c1dbaf0f01f32ce8e20b65ebe94

2026-10-01T02:53:55.963Z

来源文件 / 仓库
# Rails Tabler Starter

**Skip the first 40 hours of setup. Build your product instead.**

`rails-tabler-starter` is a production-ready boilerplate for developers who want a high-quality UI without the frontend fatigue. It uses a modern **Rails 8** stack (Solid Queue, Solid Cache) and **Tabler (Bootstrap 5)** for a clean, professional dashboard out of the box.

<div align="center">
<img src="./app/assets/images/saas-example.gif" alt="Rails Tabler Preview" width="800px" style="border-radius: 8px;" />

**[Explore the Demo](https://rails-tabler.tarunvelli.site)**

</div>

## The Goal

1. **Pure Rails:** No proprietary DSLs or "magic". If you know Rails, you know this starter.
2. **Readability > Cleverness:** Standard patterns over complex abstractions.
3. **Batteries Included:** Authentication, Multi-tenancy, Blog, and UI components are pre-configured.

## Why this starter?

* **Zero-Config UI:** Tabler components integrated with Hotwire. Dark mode, responsive layouts, and dashboards work immediately.
* **Built-in Multi-Tenancy:** "Spaces" support included. Switch between single-user and B2B SaaS modes via config.
* **Simplified Infrastructure:** Built for Rails 8. Uses `solid_queue` and `solid_cache`—no Redis required for small-to-medium deployments.
* **Secure:** Pre-loaded with Pundit (AuthZ), Devise (AuthN), and Brakeman security auditing.

## The Stack

* **Core:** Rails 8.0+, Ruby 3.3+, SQLite (Production-optimized).
* **Auth:** Devise + OmniAuth (Google/GitHub).
* **UI:** Tabler (Bootstrap 5) + Hotwire/Turbo.
* **Background Jobs:** Solid Queue / Active Job.
* **Deployment:** Pre-configured for **Kamal**, Fly.io, or Heroku.

## Space Management & Architecture

The app uses a **Space-based** architecture for teams or organizations.

* **Standard Roles:** Admin and Member roles per space.
* **Permissions:** Built-in support for custom roles and granular access controls via Pundit.

## Theming Engine

Overhaul the UI via the `AppSettings` singleton. No CSS hunting required. All settings are database-backed and can be modified at runtime.

### Visual Configuration

| Category | Setting | Options |
| --- | --- | --- |
| **Layout** | `interface_layout` | `VERTICAL`, `VERTICAL-TRANSPARENT`, `OVERLAP`, `CONDENSED`, `HORIZONTAL`, `FOLDED`, `FOLDED-HOVER` |
| **Mode** | `color_mode` | `LIGHT`, `DARK` |
| **Primary Color** | `color_scheme` | `BLUE`, `AZURE`, `INDIGO`, `PURPLE`, `PINK`, `RED`, `ORANGE`, `YELLOW`, `LIME`, `GREEN`, `TEAL`, `CYAN` |
| **Theme** | `theme_base` | `NEUTRAL`, `SLATE`, `ZINC`, `GRAY`, `STONE`, `PINK` |
| **Typography** | `font_family` | `SANS-SERIF`, `SERIF`, `MONOSPACE`, `COMIC` |
| **Shapes** | `corner_radius` | `0` to `2` |

### Logic Configuration

| Setting | Default | Description |
| --- | --- | --- |
| `multi_tenant_mode` | `true` | Toggle SaaS-style "Spaces" vs. a single-user app. |
| `show_landing_page` | `true` | Toggle the public marketing page. |

---

## Blog Engine

A file-based markdown blog is included out of the box. Posts live in `content/blog/` as `.md` files with frontmatter:

```yaml
---
title: My Post
summary: A brief description
date: 2024-01-15
author: Author Name
category: Tutorial
published: true
---

# My Post

Your content here...
```

**Features:**
- Markdown rendering with syntax highlighting for code blocks
- Categories and pagination
- RSS feed at `/blog/feed`
- SEO meta tags (Open Graph, Twitter Cards)
- HTTP caching for fast page loads

---

## ⚡ Quick Start

```bash
# Clone and setup
git clone https://github.com/tarunvelli/rails-tabler-starter.git my_app
cd my_app
bin/setup

# Start server
bin/dev

```

**Promote User to Admin:**

```ruby
User.first.update(admin: true)

```

## Contributing

1. Fork it.
2. Create your feature branch (`git checkout -b feature/name`).
3. Commit your changes (`git commit -m 'Add feature'`).
4. Push to the branch (`git push origin feature/name`).
5. Open a Pull Request.
反馈内容错误

看看同类模板

对比同技术栈与用途的模板,找到更适合的视觉与内容结构。