Trusted Rails views as persistent, interactive tools; AI adapters optional
翻译准备中
正在加载完整 README。
查看完整 README ↗Turn trusted Rails Partials and ViewComponents into persistent, interactive tools. Your Rails application owns authentication, permissions and business data. RubyLLM integration is optional.
Documentation · Getting started · API · Roadmap
Requires Ruby 3.3 or later and a patched Rails release.
bundle add rails_tool_views
bin/rails generate rails_tool_views:install
bin/rails db:migrate
Continue with Getting Started to configure authenticated scope and register your first component. Component and action policies deny access until you configure them.
From this checkout:
bin/demo
Open http://127.0.0.1:3100 and stop with Ctrl-C. The demo covers choices, customer forms, support, content review and an agent chat that runs RubyLLM's real tool loop, all on offline fixtures. See the walkthrough.
Read Contributing for development and documentation commands. Report vulnerabilities through the private security channel.
Released under the MIT license. RailsToolViews is an unofficial community project, without affiliation or endorsement. Rails marks belong to David Heinemeier Hansson and are exclusively licensed to the Rails Foundation; see the trademark policy.