{"id":13877885,"url":"https://github.com/adrienpoly/daisy-on-rails","last_synced_at":"2025-06-18T07:35:30.912Z","repository":{"id":216632717,"uuid":"732730973","full_name":"adrienpoly/daisy-on-rails","owner":"adrienpoly","description":"Modern Ruby on Rails template with DaisyUI","archived":false,"fork":false,"pushed_at":"2024-11-18T15:15:08.000Z","size":642,"stargazers_count":102,"open_issues_count":3,"forks_count":8,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-30T11:06:57.435Z","etag":null,"topics":["daisyui","hotwire","rails7","ruby-on-rails","stimulusjs","template","viewcomponent"],"latest_commit_sha":null,"homepage":"https://daisy-on-rails.adrienpoly.com/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adrienpoly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-17T16:44:56.000Z","updated_at":"2025-03-18T22:44:38.000Z","dependencies_parsed_at":"2024-01-18T00:19:39.038Z","dependency_job_id":"b9981f66-0e29-4efa-bd89-0db564692b1d","html_url":"https://github.com/adrienpoly/daisy-on-rails","commit_stats":{"total_commits":126,"total_committers":2,"mean_commits":63.0,"dds":0.007936507936507908,"last_synced_commit":"79700941e579551a686b1fc4c9cb69dc748e3dbf"},"previous_names":["adrienpoly/daisy-on-rails"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrienpoly%2Fdaisy-on-rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrienpoly%2Fdaisy-on-rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrienpoly%2Fdaisy-on-rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrienpoly%2Fdaisy-on-rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adrienpoly","download_url":"https://codeload.github.com/adrienpoly/daisy-on-rails/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247478323,"owners_count":20945266,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["daisyui","hotwire","rails7","ruby-on-rails","stimulusjs","template","viewcomponent"],"created_at":"2024-08-06T08:01:33.999Z","updated_at":"2025-04-06T12:08:36.048Z","avatar_url":"https://github.com/adrienpoly.png","language":"Ruby","funding_links":[],"categories":["Rails Templates 👷 (open source)","Ruby"],"sub_categories":[],"readme":"# Daisy-on-Rails: Ruby on Rails Starter Kit\n\n## Introduction\n\nDaisy-on-Rails is a Ruby on Rails starter kit designed to bootstrap your new app with a modern Rails stack.\n\n**Keep it simple**\n\nThe primary goal of Daisy-on-Rails is to offer a starter kit that accelerates the process of getting a new Rails application up and running with a modern tech stack and the base feature you need to quickly test a project.\n\nIt started as a recuring need to bootstrap new projects with a modern stack and a set of tools that I like to use. The goal of Daisy-on-Rails is to remain simple and minimalistic.\n\nIf you are looking for a feature rich tempalte with payments, Team etc check out [Jumpstart](https://jumpstartrails.com/), [Bullet Train](https://bullettrain.co/) or [Business Class](https://businessclasskit.com/)\n\n## Technology Stack\n\n- **Rails 7.2**: The latest version of the Ruby on Rails framework.\n- **Hotwire**: Turbo 8 with morphing capabilities.\n- **Tailwind CSS**: A utility-first CSS framework for rapid UI development.\n- **DaisyUI**: A Tailwind CSS component library for styling and theming.\n- **ViewComponent**: Encapsulates the rendering logic of Rails views into reusable objects.\n- **Authentication**: Implemented with Authentication-zero.\n- **Admin Interface**: Utilizing AVO for easy admin panel creation. (WIP)\n- **Propshaft**: A modern replacement for Sprockets to handle assets.\n- **Sitepress**: Static pages and blog\n\n## Development Tools\n\n- **Standard**: Code style enforcement for Ruby and JavaScript.\n- **ERB Lint**: Linter for ERB templates.\n- **Livereload**: Enables live reloading of web pages as you code.\n- **Minitest**: A fast, easy-to-use testing framework for Ruby.\n- **Github Actions**: Continuous integration\n- **Kamal**: basic Kamal deploy script (WIP)\n\n![CleanShot 2024-01-21 at 16 18 59@2x](https://github.com/adrienpoly/daisy-on-rails/assets/7847244/7d8b437a-f2e1-4523-a986-e2601ed5a2a7)\n\n## UI Components\n\nThe template includes default UI components for quick integration:\n\n- Navbar (WIP)\n- Buttons\n- Links\n- Modals (WIP)\n- Badges (WIP)\n- Dropdowns\n- Form fields (input, teaxt area)\n\n## Custom Form Builder\n\n```erb\n\u003c%= form_with(url: sign_in_path, class: \"flex flex-col max-w-sm gap-6 w-full\") do |form| %\u003e\n  \u003c%= form.ui_email_field :email, label: false, placeholder: t(\"email\"), required: true, autofocus: true %\u003e\n  \u003cdiv class=\"flex flex-col gap-1\"\u003e\n    \u003c%= link_to t(\"forgot_password\"), new_identity_password_reset_path, class: \"link link-primary ml-auto\" %\u003e\n    \u003c%= form.ui_password_field :password, label: false, placeholder: t(\"password\"), required: true, autocomplete: \"current-password\" %\u003e\n  \u003c/div\u003e\n  \u003c%= form.ui_submit t(\"sign_in\"), class: \"mt-6\", id: :sign_in %\u003e\n\u003c% end %\u003e\n```\n\n![sign in form](/docs/assets/sign-in-form.png)\n\n## Theme Customization\n\nEasily customize the theme using Daisy UI's theme settings to align with your project's branding and design preferences.\n\n## Generators\n\nThis starter kit includes custom generators that use the built-in components, streamlining the development process.\n\n## Usage\n\nTo use this template for your project, follow these steps:\n\n1. **Clone the Repository**\n\n   ```sh\n   git clone git@github.com:adrienpoly/daisy-on-rails.git myapp\n   cd myapp\n   ```\n\n2. **Rename the Origin Remote**\n\n   ```sh\n   git remote rename origin daisy-on-rails\n   ```\n\n3. **Add Your Repository**\n\n   ```sh\n   git remote add origin git@github.com:your-account/your-repo.git\n   # Replace with your new Git repository URL\n   ```\n\n4. **Rename the Application**\n\n   Look for DaisyOnRails and daisy_on_rails and replace with your app name (e.g. Myapp)\n\n## Initial Setup\n\nRun `bin/setup` to install Ruby and JavaScript dependencies and setup your database.\n\n```bash\nbin/setup\n```\n\n## Running the Application\n\nTo run the application, use the `bin/dev` script.\n\n```bash\nbin/dev\n```\n\n## Merging Updates\n\nTo merge changes, merge from the `daisy-on-rails` remote.\n\n```bash\ngit fetch daisy-on-rails\ngit merge daisy-on-rails/main\n```\n\n## License\n\nDaisy-on-Rails is released under the [MIT License](https://opensource.org/licenses/MIT).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at [github.com/adrienpoly/daisy-on-rails](https://github.com/adrienpoly/daisy-on-rails)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrienpoly%2Fdaisy-on-rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadrienpoly%2Fdaisy-on-rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrienpoly%2Fdaisy-on-rails/lists"}