Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
E

eyeloupe

> 后端框架
Open source

The elegant Rails debug assistant. AI powered.

199 stars0 likes5 views
WebsiteGitHub

About

The elegant Rails debug assistant. AI powered.

Project no longer under active development - Looking for new contributors

Contributors Forks Stargazers Issues MIT License

Eyeloupe screenshot

Eyeloupe is the elegant Rails debug assistant. It helps you to debug your Rails application by providing a simple and elegant interface to view your incoming/outgoing requests and exceptions, powered by AI.

Installation

Add this line to your application's Gemfile:

ruby
gem "eyeloupe"

And then execute:

bash
$ bundle

Install Eyeloupe migrations into your project:

bash
$ rails eyeloupe:install:migrations

And run the migrations:

bash
$ rails db:migrate

To access Eyeloupe dashboard you need to add the following route to your config/routes.rb file:

ruby
mount Eyeloupe::Engine => "/eyeloupe"

Configuration

This is an example of the configuration you can add to your initializers/eyeloupe.rb file:

ruby
Eyeloupe.configure do |config|
  config.excluded_paths = %w[assets favicon.ico service-worker.js manifest.json]
  config.capture = Rails.env.development?
  config.openai_access_key = "your-openai-access-key"
  config.openai_model = "gpt-4"
  config.database = 'eyeloupe'
end
  • excluded_paths is an array of paths you want to exclude from Eyeloupe capture. Eyeloupe adds these excluded paths to the default ones: %w[mini-profiler eyeloupe active_storage]
  • capture is a boolean to enable/disable Eyeloupe capture. By default, it's set to true.
  • openai_access_key is the access key to use the OpenAI API. You can get one here.
  • openai_model is the model to use for the OpenAI API. You can find the list of available models here.
  • database is an optional database config Eyeloupe will use (Database).

Database

By default, Eyeloupe uses the same database as your application. If you want to use a different database to keep your production environment clean, you can add a new database config in your config/database.yml file:

yaml
development:
  primary:
    
    schema_dump: false

Using this you can skip the eyeloupe:install:migrations step, but do not forget to run rails db:migrate RAILS_ENV=eyeloupe to setup the database.

Exception handling

To be able to handle exceptions, be sure to disable the default Rails exception handling in your environment config file (e.g. config/environments/development.rb):

ruby
config.consider_all_requests_local = false

Usage

Eyeloupe is exclusively developed for the Rails framework.

You can use it in your development environment to debug your application but it's not recommended to use it in production.

Auto-refresh

By activating auto-fresh, every 3 seconds the page will be refreshed to show you the latest data.

Delete all data

You can delete all the data stored by Eyeloupe by clicking on the trash button.

AI Assistant

When you define an OpenAI access key in the configuration, you could see a new section in the exception details page. This section is powered by the OpenAI API and it's able to give you a solution to solve your exception. It sends the entire content of the file containing the exception to have the best answer to your problem.

Upgrade

When your upgrade Eyeloupe to the latest version, be sure to run the following commands:

bash
$ rails eyeloupe:install:migrations
$ rails db:migrate

Q/A

Why the request time is not the same on rack-mini-profiler ?

Eyeloupe is not a performance-oriented tool, the request time is the same you can view in the Rails log. If you want more details about your load time, you can use rack-mini-profiler along with Eyeloupe.

Is this the Laravel Telescope for Rails ?

Yes, Eyeloupe is inspired by Laravel Telescope. A lot of people coming from Laravel are missing Telescope or looking for something similar, so Eyeloupe is here to fill this gap.

Contributing

Contributions are what makes the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/amazing_feature)
  3. Commit your Changes (git commit -m 'Add some amazing feature')
  4. Push to the Branch (git push origin feature/amazing_feature)
  5. Open a Pull Request

License

The gem is available as open source under the terms of the MIT License.

Contact

Project Link: https://github.com/alxlion/eyeloupe

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rubyaiai-assisted-developmentdebugdebugging

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category后端框架
PricingOpen source

> Related tools

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架