Trestle alternatives and similar gems
Based on the "Admin Interface" category.
Alternatively, view Trestle alternatives based on common mentions on social networks and blogs.
-
ActiveAdmin
The administration framework for Ruby on Rails applications. -
RailsAdmin
RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data -
Administrate
A Rails engine that helps you put together a super-flexible admin dashboard. -
ActiveScaffold
Save time and headaches, and create a more easily maintainable set of pages, with ActiveScaffold. ActiveScaffold handles all your CRUD (create, read, update, delete) user interface needs, leaving you more time to focus on more challenging (and interesting!) problems. -
Typus
Ruby on Rails control panel to allow trusted users edit structured content. -
Upmin Admin
Framework for creating powerful admin backends with minimal effort in Ruby on Rails. -
⚡ Motor Admin ⚡
Low-code Admin panel and Business intelligence Rails engine. No DSL - configurable from the UI. Rails Admin, Active Admin, Blazer modern alternative. -
Sail
Sail is a lightweight Rails engine that brings an admin panel for managing configuration settings on a live Rails app -
Forest Admin
💎 Ruby on Rails agent for Forest Admin to integrate directly to your existing Ruby on Rails backend application. -
Wallaby
Autocomplete the resourceful actions and views for ORMs for admin interface and other purposes. -
Faalis
A RubyOnRails platform for rapid web application development. Containing a rich and flexible dashboard interface
Access the most powerful time series database as a service
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Trestle or a related project?
README
Trestle
A modern, responsive admin framework for Ruby on Rails
Getting Started
To start using Trestle, first add it to your application's Gemfile:
gem 'trestle'
Run bundle install
, and then run the install generator to create the initial configuration file and customization hooks:
$ rails generate trestle:install
Then create your first admin resource (assuming you have an existing Article
model):
$ rails generate trestle:resource Article
After restarting your Rails server, visit http://localhost:3000/admin to view your newly created admin. You will find the admin definition in app/admin/articles_admin.rb
ready to customize.
Example
Trestle.resource(:posts) do
# Add a link to this admin in the main navigation
menu do
group :blog_management, priority: :first do
item :posts, icon: "fa fa-file-text-o"
end
end
# Define custom scopes for the index view
scopes do
scope :all, default: true
scope :published
scope :drafts, -> { Post.unpublished }
end
# Define the index view table listing
table do
column :title, link: true
column :author, ->(post) { post.author.name }
column :published, align: :center do |post|
status_tag(icon("fa fa-check"), :success) if post.published?
end
column :updated_at, header: "Last Updated", align: :center
actions
end
# Define the form structure for the new & edit actions
form do
# Organize fields into tabs and sidebars
tab :post do
text_field :title
# Define custom form fields for easy re-use
editor :body
end
tab :metadata do
# Layout fields based on a 12-column grid
row do
col(sm: 6) { select :author, User.all }
col(sm: 6) { tag_select :tags }
end
end
sidebar do
# Render a custom partial: app/views/admin/posts/_sidebar.html.erb
render "sidebar"
end
end
end
Plugins
The following plugins are currently available:
Name | Description | Links |
---|---|---|
trestle-auth | User authentication plugin | GitHub \ |
trestle-search | Search plugin | GitHub \ |
trestle-tinymce | TinyMCE (WYSIWYG editor) integration | GitHub \ |
trestle-simplemde | SimpleMDE (Markdown editor) integration | GitHub \ |
trestle-sidekiq | Sidekiq integration | GitHub \ |
trestle-active_storage | Active Storage integration | GitHub \ |
trestle-mobility | Mobility integration | GitHub \ |
trestle-omniauth | OmniAuth authentication plugin | GitHub \ |
trestle-auth-otp | 2FA/OTP user authentication | GitHub \ |
Development
Please see [CONTRIBUTING.md](CONTRIBUTING.md) for information on developing and contributing to Trestle.
License
The gem is available as open source under the terms of the LGPLv3 License.
*Note that all licence references and agreements mentioned in the Trestle README section above
are relevant to that project's source code only.