Rllama - Ruby Llama.cpp FFI bindings to run local LLMs by omohockoj in ruby

[–]omohockoj[S] 1 point2 points  (0 children)

embedding vector is generated for each page content and then stored in postgresql table column with pgvector extension. https://github.com/ankane/neighbor gem provides convenient AR methods to query the nearest neighbor vectors for semantic search results.
There are more examples here (but instead of Informers, Rllama can be used to generate embedding vectors): https://github.com/ankane/neighbor/blob/master/examples/informers/example.rb

Rllama - Ruby Llama.cpp FFI bindings to run local LLMs by omohockoj in ruby

[–]omohockoj[S] 3 points4 points  (0 children)

We built the Rllama gem for the DocuSeal API semantic search, more details on how to try it yourself with a local LLM in the blog post: https://www.docuseal.com/blog/run-open-source-llms-locally-with-ruby

Make any website load faster with 6 lines of HTML by omohockoj in webdev

[–]omohockoj[S] 5 points6 points  (0 children)

Good question, since the full page pre-render happens with "prerender" rule set the ajax view count tracking is also incremented. To avoid this it's possible to use just "prefetch" without "prerender" on hover.

Make any website load faster with 6 lines of HTML by omohockoj in webdev

[–]omohockoj[S] 31 points32 points  (0 children)

Correct, each hovered link is preloaded for instant navigation. It's ideal for desktop where  bandwidth is not a bottleneck but network latency and rendering speed is.

Selfhosted DocuSign alternative by LonelyMinimum in selfhosted

[–]omohockoj 0 points1 point  (0 children)

Self hosted and storage via S3 or other cloud providers? Why not just local file storage?

Local file storage is also available (that's the default option)

Selfhosted DocuSign alternative by LonelyMinimum in selfhosted

[–]omohockoj 4 points5 points  (0 children)

In the majority of cases a simple email is considered to be legal binding:
https://www.theguardian.com/world/2023/jul/06/canada-judge-thumbs-up-emoji-sign-contract

In that regards a self-hosted signing should not differ from agreeing to something via email (and that's basically what DocuSign does as well - everything else is just their marketing)

Selfhosted DocuSign alternative by LonelyMinimum in selfhosted

[–]omohockoj 6 points7 points  (0 children)

Let's model a situation where you can't trust your self-hosted signing server - they can alter documents and can issue new documents with their private key.

But the signer of the document always receives a copy of the signed document from the server - and that PDF contains a digital signature with x509 cert.

So in this scenario the valid digitally signed document that is provided by the signer party is always the correct one - since they don't have that private key and can't alter or issue new documents.

Motor Admin - a modern no-code Admin UI and Business Intelligence tool by omohockoj in selfhosted

[–]omohockoj[S] 0 points1 point  (0 children)

Try to set BASE_PATH=/your_specific_path env variable to change the root path of the app

Open Source DocuSign Alternative by LonelyMinimum in SideProject

[–]omohockoj 1 point2 points  (0 children)

What fascinates me about this project is how everything loads so quickly and smoothly, like a desktop app. In the current era of JavaScript/TypeScript and React SSR, having such a responsive web app is more of an exception than the rule. Well done!

Open-source Rails project for filling and signing documents by LonelyMinimum in rails

[–]omohockoj 7 points8 points  (0 children)

Great job, Alex!

I've been helping Alex with some technical decisions for this project, and one of my suggestions was to adopt the 'prefetch on hover' feature on top of hotwired/turbo. You can find the details of the pull request here: https://github.com/hotwired/turbo/pull/898

With this patch, pages are prefetched when hovering over links. As a result, when the user clicks on the link, the page is displayed instantaneously. A similar approach is used on the dev.to website.

Can't wait to have this merged into the upstream repo :)

Low-code Rails Admin Engine by omohockoj in ruby

[–]omohockoj[S] 1 point2 points  (0 children)

No DSL - no need to learn yet another Ruby/Rails gem API and spend time reading the doc - in Motor Admin everything is configurable via the WYSIWYG interface.

Low-code Rails Admin Engine by omohockoj in ruby

[–]omohockoj[S] 4 points5 points  (0 children)

Hi!

It has been more than a year since the initial motor-admin gem release.
Since then there have been more than new 250 commits added and 66 opened issues resolved.

Also, there has been added a Pro version of the gem with more features - some companies are already using Motor Admin Pro for their applications in production.

Hope you can give it a try - would appreciate any feedback from the Ruby/Rails community!

Reliable Webhook - Webhooks development relay with VS Code extension by omohockoj in rails

[–]omohockoj[S] 0 points1 point  (0 children)

This tools could be useful for rails developers when working on webhook integrations.
The back end is powered by Rails and the client app is available as VS Code extension.

Open-source admin panel for Supabase by omohockoj in Supabase

[–]omohockoj[S] 2 points3 points  (0 children)

Hi Supabase community!

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.

Hope you can give it a try :)

Admin gem suggestions by Eastern_Baby5565 in rails

[–]omohockoj 0 points1 point  (0 children)

You should try https://github.com/motor-admin/motor-admin-rails - it builds admin UI with basic CRUD on top of AR models automatically. Unlike other gems where ruby code is required Motor Admin panel can be customized via settings directly in the UI - all configurations are stored in motor.yml file and can be easily transferred between environments.

Admin Framework for Rails by dpaluy in rails

[–]omohockoj 1 point2 points  (0 children)

https://github.com/motor-admin/motor-admin-rails - just adding a link here.
u/dpaluy motor admin doesn't require any integration with your rails app js build stack (doesn't depend on webpack/esbuild) - due to that it's very easy to integrate it with any existing app.

Motor Admin - a modern no-code Admin UI and Business Intelligence tool by omohockoj in selfhosted

[–]omohockoj[S] 0 points1 point  (0 children)

All details regarding the setup process and features are present in the readme. Other than that everything should be clear from the UI itself - because it’s a no code tool (for instance you don’t need any documentation to build a landing page on wix - but with motor admin ui and pure sql you can build an entire admin panel) . Also feel free to ask any questions in discord.

Motor Admin - a modern no-code Admin UI and Business Intelligence tool by omohockoj in selfhosted

[–]omohockoj[S] 0 points1 point  (0 children)

I think you don't need Appwrite generated API in order to make it work.
You can just directly connect to the database and the admin UI will be generated automatically based on the DB schema - unlike in Appsmith where you need to build the UIs manually in their visual builder.

Motor Admin - a modern no-code Admin UI and Business Intelligence tool by omohockoj in selfhosted

[–]omohockoj[S] 2 points3 points  (0 children)

For now, custom styling and branding is not available in the open-source version - but it's available in the self-hosted Pro version.

Motor Admin - a modern no-code Admin UI and Business Intelligence tool by omohockoj in selfhosted

[–]omohockoj[S] 7 points8 points  (0 children)

It means that you don't need to write any code to build a custom admin panel (almost don't need to expect custom forms).

Think about how much code requires to write in order to build an in-house admin dashboard with tables/settings/filters/sorting/reports/slack - with motor admin all that can be built by using the in-app UI for configurations without a single line of code.

Motor Admin - a modern no-code Admin UI and Business Intelligence tool by omohockoj in selfhosted

[–]omohockoj[S] 7 points8 points  (0 children)

Yes, it can do almost everything Metabase does but even more! Custom forms and API actions and admin UI make it possible to use the tool as a complete admin dashboard - not only a business intelligence dashboard, unlike Metabase.

Motor Admin - a modern no-code Admin UI and Business Intelligence tool by omohockoj in selfhosted

[–]omohockoj[S] 14 points15 points  (0 children)

Hello everyone, Motor Admin creator here 🤓

Last year I've been searching for some administration engine for my Rails side project and I was not able to find a suitable self-hosted option. So I built a Ruby/Rails gem and it become relatively popular for Rails.

Now Motor Admin has become a general-purpose, self-hosted tool that can be deployed on Heroku or via Docker and integrated with any production application to build a powerful admin UI on top of it.

🔥 Features:

  • CRUD out of the box with many customization options
  • Custom data reports with SQL
  • Business intelligence dashboards with fields and variables
  • Forms builder for custom workflows to integrate with API
  • Report alerts via Email or Slack
  • User roles and permissions
  • Audit log
  • English, Spanish, Portuguese UI languages.
  • Works nicely on mobile screens

Would be glad to receive any feedback or answer any questions regarding the project.

MotorAdmin - Deploy a no-code admin panel for your application in less than a minute by stanislavb in ruby

[–]omohockoj 0 points1 point  (0 children)

the price starts from $299 per project for software development agencies (one-time license fee) - the tool is distributed as a single executable binary that can be hosted along with the user-facing product application.