All Projects â†’ Neodelf â†’ lecter

Neodelf / lecter

Licence: MIT License
đŸ’Ĩ Show executable code by request

Programming Languages

HTML
75241 projects
ruby
36898 projects - #4 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to lecter

dwex
DWARF Explorer - a GUI utility for navigating the DWARF debug information
Stars: ✭ 58 (-37.63%)
Mutual labels:  debugger-visualizer
debug.php
nice single function php variable debug with formatted html or colored command line output support
Stars: ✭ 15 (-83.87%)
Mutual labels:  debugger-visualizer
ListDebuggerVisualizer
Visual Studio debugger visualizer for List<T> or more precisly visualizer for instances of the classes that implement IList.
Stars: ✭ 16 (-82.8%)
Mutual labels:  debugger-visualizer
android-sdk
AppSpector is a debugging service for mobile apps
Stars: ✭ 39 (-58.06%)
Mutual labels:  debugger-visualizer
ImageVisualizer
A debug visualizer for Visual Studio that allows you to visually view the graphic content of images during debugging.
Stars: ✭ 32 (-65.59%)
Mutual labels:  debugger-visualizer
node-lintspaces
A validator for checking different kinds of whitespaces in your files.
Stars: ✭ 31 (-66.67%)
Mutual labels:  code-analyzer
Komodoedit
Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
Stars: ✭ 1,972 (+2020.43%)
Mutual labels:  debugger-visualizer
Gdbgui
Browser-based frontend to gdb (gnu debugger). Add breakpoints, view the stack, visualize data structures, and more in C, C++, Go, Rust, and Fortran. Run gdbgui from the terminal and a new tab will open in your browser.
Stars: ✭ 8,339 (+8866.67%)
Mutual labels:  debugger-visualizer
SCNNodeVisualDebugger
A simple visual debugger for SceneKit
Stars: ✭ 18 (-80.65%)
Mutual labels:  debugger-visualizer
Lecter Logo

Lecter shows an executed code by a URL request.
Debug an unknown code in SECONDS!

Gem Version Ruby Style Guide CircleCI Test Coverage Maintainability All Contributors

Quid pro quo. I tell you things, you tell me things. Not about this case, though. About yourself.
-- Hannibal Lecter / The Silence of the Lambs


Table of contents

🚨 Problems

  1. Developers don't know how their app works.
  2. Reading code is a long process.
  3. Memorizing many lines of code is difficult.

🚀 Solutions

  1. The main purpose of this gem is to help developers understand which code is executed by a request.

  2. Gem's purpose could be compared to visiting a doctor: You give the symptoms of your disease and receive a diagnosis.
    You give the parameters of a request and receive executable code.

  3. You don't have to work with debuggers, read and remember many lines of code.
    Just give & receive!

â€ŧī¸ Requirements

Please use a multithreading server such as a puma server with more than 1 worker.
For more information about how to tune a puma server, please visit this link.

🛠ī¸ Installation

Installing is a very simple process.

  1. Add the gem to your Gemfile:

    gem 'lecter'
  2. Execute in a terminal in your app's directory:

    bundle install
  3. Add routes to your config/routes.rb:

    mount Lecter::Engine => '/lecter' if Rails.env.development?

🕹ī¸ Usage

Follow two simple steps:

  1. Go to /lecter

  2. Fill in the form fields with request parameters:

    HTTP method - request's method
    Endpoint - use absolute route like localhost:3000/blogs
    Headers - request's headers Body(raw) - request's parameters

👨‍đŸ’ģ Examples

Here is an example with a POST request:

  1. Go to localhost:3000/lecter

  2. Fill in the form with:

    HTTP method - POST
    Endpoint - localhost:3000/posts
    Headers - content_type=text/html,accept=*/*
    Body(raw) - "post"=>{"title"=>"New title", "description"=>"Desciption"}

    lecter example post form
  3. Submit the form

  4. Review the result

    lecter post form result

❤ī¸ Sponsors

Evrone Logo

đŸ–Ĩī¸ Contributing & Contributors

  1. Bug reports and pull requests are welcome.
  2. There are many issues as a proposal to improve this library. If you have any ideas, please feel free to write your thoughts in a new issue.
  3. Choose what you like to fix or improve on the issues list. You can ask any questions in the comments.
  4. â€ŧī¸ Mention of each contributor will be on the README file.

Thanks goes to these wonderful people:


Aleksey Glukhov

đŸ’ģ 📖

Alisha Taylor

📖

Vitaliy Emeliyantsev

📖

Oskar Janusz

đŸ’ģ

🗃ī¸ License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].