News for hackers. Stuff that matters.

petems

Hi HN!

Motor Admin gem has been developed to replace the outdated ActiveAdmin/RailsAdmin/Blazer gems in your existing or future Rails app.

Unlike other Rails admin gems, Motor Admin doesn't use DSL or any other type of customization/configuration Ruby APIs.

All adjustments in Motor Admin can be made directly in the UI via WYSIWYG interfaces.

This probably makes it the first no-code/low-code Rails open-source admin engine.

Would appreciate any feedback regarding the gem!

The tool provides a unique https endpoint to accept webhook requests. And then it retranslates them in realtime into localhost using your the node.js engine which powers VS Code extensions - node.js from VS Code grabs requests info and triggers them into localhost.
This tool could be a better alternative to Ngrok/Localtunnel to relay requests to localhost but with a convenient GUI. It's free and the source code is published on GitHub. Also it's a charityware.
You should check Motor Admin open-source tool (I'm the creator of the tool): https://github.com/motor-admin/motor-admin

>Auto-generating the GUI from SQL schema, similar to the original Django Admin

Thats exactly how Motor Admin works :)

Re:Show HN: Open-source admin panel for Supabase on Friday January 28, 2022 @07:29AM (#30113765)
Please feel free to open issue on Github if you face some difficulties or find some bugs/errors - hopefully those issues can be easily resolved.
Re:Show HN: Open-source admin panel for Supabase on Thursday January 27, 2022 @12:37PM (#30103470)
You're right - Motor Admin is Postgres specific (or DB specific since it works with Mysql and SQLserver as well).
Re:Show HN: Open-source admin panel for Supabase on Thursday January 27, 2022 @12:27PM (#30103344)
Motor Admin uses PG instead of Supabase API for better performance, ease of use and enhanced features.

It has several advantages comparing to Retool like simple self-hosting option, CRUD UI out of the box, periodical data reports (aka alerts), unified UI optimized on mobile (instead of retool's more complex UI builder).

Re:Show HN: Open-source admin panel for Supabase on Thursday January 27, 2022 @09:26AM (#30100931)
It directly connects to PostgreSQL database instance.
Re:Show HN: Open-source admin panel for Supabase on Thursday January 27, 2022 @09:25AM (#30100906)
You can run it on AWS EC2 or on any other Ubuntu server - the app is distributed as a single executable binary - so you basically need to connect to your AWS EC2 via SSH, download the binary and run it: https://docs.getmotoradmin.com/guide/#ubuntu
Re:Show HN: Open-source admin panel for Supabase on Thursday January 27, 2022 @09:02AM (#30100662)
Yeah, Heroku free tier would be enough to deploy and run the app.
Re:Show HN: Open-source admin panel for Supabase on Thursday January 27, 2022 @08:22AM (#30100215)
The latest release of Motor Admin includes automatic DB schema reload feature. So now all change in Supabase schema are automatically applied to the Motor Admin panel. It means that Motor Admin now works perfectly with Supabase and can be used to build complex admin UIs for internal users.
Re:From Node to Ruby on Rails on Thursday December 16, 2021 @09:41AM (#29578571)
I think the coolest thing about Rails is actually the great amount of high quality Ruby gems for Rails.

For instance, you can bootstrap a powerful Admin panel for your Rails project in no time with https://github.com/motor-admin/motor-admin-rails gem.

Re:Show HN: Motor Admin – No-code admin panel on Monday November 15, 2021 @01:46PM (#29230971)
SQL Server support has been added in the newest release.

You can learn about how to upgrade to the latest version here:

https://github.com/motor-admin/motor-admin/releases/tag/late...

Re:Ask HN: What do you think about the no-code movement? on Thursday November 11, 2021 @05:04PM (#29193788)
There are many open-source no-code tools so you can gain full control over your data/application with them as well as contribute into the source code.

For instance, you can deploy an admin panel with https://www.getmotoradmin.com/ (plug) and save a lot of time on building custom internal tools.

Re:Show HN: Motor Admin – No-code admin panel on Wednesday November 03, 2021 @03:39AM (#29092013)
Thanks!
Re:Show HN: Motor Admin – No-code admin panel on Wednesday November 03, 2021 @02:51AM (#29091773)
It looks like the binary doesn't work on mac M1 yet.

You can try it in docker instead - also it's possible to deploy it on heroku for free.

Re:Show HN: Motor Admin – No-code admin panel on Tuesday November 02, 2021 @04:52PM (#29087200)
For custom forms and actions everything should be handled on the backend API including the DB changes.
Re:Show HN: Motor Admin – No-code admin panel on Tuesday November 02, 2021 @03:58PM (#29086619)
Binaries are build with https://github.com/motor-admin/ruby-packer - they do not require docker - this repo contains all instructions in order to pack a binary.
Re:Show HN: Motor Admin – No-code admin panel on Tuesday November 02, 2021 @03:56PM (#29086599)
https://github.com/motor-admin/ruby-packer - had to create a fork because the upstream repo is not maintained anymore.
Re:Show HN: Motor Admin – No-code admin panel on Tuesday November 02, 2021 @03:52PM (#29086555)
Thanks, proper documentation will come really soon.

All configurations are stored in motor.yml file which is automatically generated in root directory.

There might be two ways handling configurations: 1. Use git to create commits with new configurations in motor.yml and deploy/pull that git repo on the production host in order to update the configs.

2. rake motor:sync to sync configurations directly to production app host via API.

There a bit of info about configurations sync between environment here:

https://github.com/motor-admin/motor-admin-rails#configurati...

Re:Show HN: Motor Admin – No-code admin panel on Tuesday November 02, 2021 @03:40PM (#29086428)
It's possible to override default CRUD with custom actions/forms and so all additional data processing will be handled on the product back end API side.

So let's say to want to add user to some LDAP directory once the user is created in Motor Admin.

In order to do that you need to override the default user creation form and send data from that form to your API back end so you can handle user creation in LDAP from there: https://monosnap.com/file/3CD1qKgNoTBOhwTwzLiNJXTUNgi8yH

All those API requests are sent with JWT header - so it's possible to validate them on the back end.

Re:Show HN: Motor Admin – No-code admin panel on Tuesday November 02, 2021 @03:31PM (#29086323)
Currently it's not possible to use REST backend - direct database connection is required for motor admin to build internal rest json-api on top of the database to power the admin UI.

My concern is that with REST backend it would become a much complex tool and will make it harder to build an admin panel - Retool does a good job building internal tools with visual builders and connecting APIs - but that definitively takes more time to build admin panel with it than with Motor Admin.

Re:Show HN: Motor Admin – No-code admin panel on Tuesday November 02, 2021 @03:03PM (#29085948)
Thanks! Feel free to ask any questions via Github issues or in Discord: https://discord.com/invite/mFFJKSTgw3
Re:Show HN: Motor Admin – No-code admin panel on Tuesday November 02, 2021 @02:44PM (#29085687)
Personally, I think that Graphql is overcomplicated and Facebook marketing efforts did a pretty good job for its adoption by developers and companies.

The example you mentioned can be easily implemented in Motor Admin via SQL queries or admin UI configurations with direct connection to the database and the performance would be probably better than it could have been with Graphsql.

Re:Show HN: Motor Admin – No-code admin panel on Tuesday November 02, 2021 @02:20PM (#29085313)
There is a ruby gem for rails projects: https://github.com/motor-admin/motor-admin-rails

It's hard to say how difficult it could be but some companies already migrated from activeadmin to motor admin gem for their rails projects and they claim that it was worth it :)

Re:Show HN: Motor Admin – No-code admin panel on Tuesday November 02, 2021 @02:11PM (#29085179)
The question is - do you actually need to run javascript to build an admin interface for your company?

With Motor Admin you don't need to - you can achieve almost everything AppSmith/Retool does with simpler configurations using the unified motor admin UI.

Re:Show HN: Motor Admin – No-code admin panel on Tuesday November 02, 2021 @01:50PM (#29084835)
Thanks that's a good point. It requires to connect to the database (postgresql or mysql) and the tool automatically build an admin UI on top of the existing data.

You can try it yourself locally on macOS, Ubuntu or in docker if you're on windows:

https://www.getmotoradmin.com/installation

Older »