{"id":20764167,"url":"https://github.com/mickey/rails-frontend","last_synced_at":"2025-09-05T00:41:26.495Z","repository":{"id":16670699,"uuid":"19426434","full_name":"mickey/rails-frontend","owner":"mickey","description":"Build a static frontend app with rails","archived":false,"fork":false,"pushed_at":"2014-05-06T12:03:44.000Z","size":220,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-29T04:32:49.588Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Leo-G/DevopsWiki","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mickey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-04T12:53:19.000Z","updated_at":"2014-05-06T12:03:44.000Z","dependencies_parsed_at":"2022-07-26T08:17:13.489Z","dependency_job_id":null,"html_url":"https://github.com/mickey/rails-frontend","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/mickey/rails-frontend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mickey%2Frails-frontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mickey%2Frails-frontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mickey%2Frails-frontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mickey%2Frails-frontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mickey","download_url":"https://codeload.github.com/mickey/rails-frontend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mickey%2Frails-frontend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273695227,"owners_count":25151481,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-17T10:49:02.046Z","updated_at":"2025-09-05T00:41:26.465Z","avatar_url":"https://github.com/mickey.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rails Frontend\n\nBuild a static frontend app with rails.  \n\n## Why ?\n\nThis was built after experiencing some frustrations with a 400 lines Gruntfile.\nI wanted a framework to build static website with the following requirements:\n\n- templating\n- preprocessors\n- minifying\n- can build a static website\n- dependency management\n- live reload\n\nIt appears Rails has most of this, a lot of goodies and it's very mature.\nA few parts were missing:\n\n- build a static website: I added this via a simple rake task doing a `wget` (:trollface:)\n- dependency management:\n  - Rails comes with bundler\n  - I added bower support to easily handle javascript/css dependencies (it's integrated into the rails assets pipeline)\n- live reload: I added guard in the Gemfile and a basic Guardfile to handle most of my use cases.\n\nI gave a talk about this at Paris.rb and will link to the slides ASAP.\n\n## Requirements\n\n`bower`: To install it please go to the bower [homepage](http://bower.io).\n\n`wget`: To install:  \n\n- Ubuntu: installed by default\n- Archlinux: should be installed if not `pacman -S wget`\n- OSX: `brew install wget`\n\n## Overview\n\nTo generate a new rails-frontend app:\n\n```\ngem install rails-frontend\nrails-frontend new webapp\n```\n\nTo launch a development server with LiveReload:\n\n```\nguard start\n```\n\nTo build the static website:\n\n```\nrake dist\n```\n\nYour website, including all assets will be copied in `dist/`.\n\n## You should know\n\nThis is a prototype coded for a talk I gave at paris.rb.\nIf you're ~~crazy~~ adventurous enough to test this, please take the tiem to give me some feedback.\n\n## Contributing to rails-frontend\n \n* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.\n* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.\n* Fork the project.\n* Start a feature/bugfix branch.\n* Commit and push until you are happy with your contribution.\n* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.\n* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.\n\n## Copyright\n\nCopyright (c) 2014 Michael Bensoussan. See LICENSE.txt for\nfurther details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmickey%2Frails-frontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmickey%2Frails-frontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmickey%2Frails-frontend/lists"}