Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fiveelementninja/fancy-rails-web-console
A userscript that enhances the Rails Web Console so it can be collapsed.
https://github.com/fiveelementninja/fancy-rails-web-console
greasemonkey javascript rails tampermonkey userscript violentmonkey
Last synced: 7 days ago
JSON representation
A userscript that enhances the Rails Web Console so it can be collapsed.
- Host: GitHub
- URL: https://github.com/fiveelementninja/fancy-rails-web-console
- Owner: FiveElementNinja
- Created: 2023-11-22T23:49:20.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-23T01:41:01.000Z (about 1 year ago)
- Last Synced: 2024-12-06T07:42:35.690Z (2 months ago)
- Topics: greasemonkey, javascript, rails, tampermonkey, userscript, violentmonkey
- Language: JavaScript
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fancy Rails Web Console
A userscript that enhances the [Rails Web Console](https://github.com/rails/web-console) so it can be minimized.
On page load the web console is minimized down to a small `>>` button on the bottom right of the screen. Clicking it brings the console back. Clicking the close `x` button on the console will minimize it again instead of removing it from the DOM.
![GIF demonstrating Fancy Rails Web Console being minimized and restored](https://github.com/FiveElementNinja/Fancy-Rails-Web-Console/blob/7e1b3c2441304246a8c30f0a8f202ac65977f3c3/demo.gif)## Requirements
- [Greasemonkey](https://www.greasespot.net), [Tampermonkey](https://www.tampermonkey.net), or [Voilentmonkey](https://violentmonkey.github.io) — Loads the userscript on localhost:3000
- The [Rails Web Console](https://github.com/rails/web-console) — This script was built specifically to enhance the web console## Installation
Assuming you meet the requirements above, simply visit https://github.com/FiveElementNinja/Fancy-Rails-Web-Console/raw/main/fancy-rails-web-console.user.js and you'll get prompted by Greasemonkey/Tampermonkey/Voilentmonkey to install the script. Once it's installed, it should start working the next time you load localhost:3000.## Notes
- This hasn't been tested thoroughly across Rails projects. I built it to work with my current project. I have no idea if it'll work on yours.
- Works with Turbo navigation as well.
- **This script is auto-updating. You should only install auto-updating scripts from sources you trust. If you are not comfortable with that, don't install this script. Alternatively, you can modify the script yourself to not be auto-updating.**
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/Y8Y7DO5M5)