{"id":18492416,"url":"https://github.com/makevoid/fivetastic","last_synced_at":"2025-06-24T13:31:46.031Z","repository":{"id":136508255,"uuid":"2629017","full_name":"makevoid/fivetastic","owner":"makevoid","description":"create sites and apps with HAML, CoffeeScript and Sass on the clientside - status: the concept is something but the project needs a bit of a rewrite :)","archived":false,"fork":false,"pushed_at":"2012-04-27T03:27:50.000Z","size":893,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-14T01:59:05.644Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://fivetastic.makevoid.com","language":"JavaScript","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/makevoid.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}},"created_at":"2011-10-23T03:13:37.000Z","updated_at":"2014-11-24T09:16:29.000Z","dependencies_parsed_at":"2023-03-13T11:00:50.910Z","dependency_job_id":null,"html_url":"https://github.com/makevoid/fivetastic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/makevoid/fivetastic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makevoid%2Ffivetastic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makevoid%2Ffivetastic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makevoid%2Ffivetastic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makevoid%2Ffivetastic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/makevoid","download_url":"https://codeload.github.com/makevoid/fivetastic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makevoid%2Ffivetastic/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261685448,"owners_count":23194107,"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":[],"created_at":"2024-11-06T13:07:50.310Z","updated_at":"2025-06-24T13:31:46.010Z","avatar_url":"https://github.com/makevoid.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FiveTastic\n### create sites and apps with HAML, CoffeeScript and Sass on the clientside\n### the content it's static - you can deploy everywhere!\n\nhttp://fivetastic.org\n\n\n### Intro:\n\nTo start your own site/app with FiveTastic:\n\n- fork/download fivetastic (forking is good so you can update to the latest version fairly easily)\n- use a standard webserver like apache to host it or follow the following rules to launch a ruby rack server\n\nlaunch server:\n\n    rackup\n\nnote: if you don't have rack installed\n\n    gem install bundler\n    bundle install\n\nin the app's folder\n\nthen visit \u003chttp://localhost:9292\u003e\n\n\n### Guide:\n\nWhat to edit:\n\nall the files outside fivetastic folder are your app!\n\nso to edit the template/layout you want to go to:\n\n    haml/layout.haml\n\nfor the default page:\n\n    haml/index.haml\n\n\n### Routes\n\nRoutes are defined in routes.json as a JSON hash.\n\n    {\n      \"/\":            \"index\",    # this maps the root url to a page named index\n      \"/page\":        \"page\",     # standard mapping\n      \"/category/*\":  \"category\"  # star route, maps all urls starting with '/category/'\n    }\n\n\n### Libraries:\n\n- Coffeescript\n- HAML\n- SASS\n- JQuery/Zepto\n\n\n## Features:\n- loads HAML and SASS files asynchronously (ajax)\n- has layout file (reuse html)\n- handles history changes (pushState/onpopstate)\n- integrates editor to develop directly into the browser (CodeMirror editor, the files are saved into the browser's localStorage)\n- host it everywhere! (it's only html and js)\n- supports PHP pages\n\n### browsers supported:\n\n- Chrome\n- Safari 4+\n- FF 3.6+\n- IE 7+\n\n### Easy hosting!\n\nIt's static! host it everywhere!\n\nYou can apache, nginx etc..\n\nnote: for apache you need to copy the .htaccess file and have mod_rewrite module enabled\n\n\n### Deploy:\n\nhost it on your usual web server (apache, nginx etc) by putting this in your .htaccess or virtualhost\n\napache:\n\n    see .htaccess\n\nnginx:\n\n    if (!-e $request_filename) {\n      rewrite ^.+$ / break;\n    }\n\n\n### Cloud9 IDE Integration\n\nTo make a fivetastic app and develop it easily online:\n\n- fork the makevoid/fivetastic repo (should be this one)\n- go into your cloud9 account on http://cloud9ide.com\n- make sure github integration is activated\n- choose the project from the list and clone it\n- open the project\n- in the shell/cli at the bottom of the editor type:\n\n\u003e\n\n    npm install coffeee-script\n\n- press the '\u003e run' button or 'Run Configurations...' to open the run configurations\n- add a new run configuration\n- choose a name and put \"deploy/cloud9.js\" as 'File path'\n- press '\u003e run'\n- click on the first url/link appeared in console (should be something like 'http://fivetastic.username.cloud9ide.com')\n\nyou should see fivetastic default index page, you can remove the default haml/sass and roll your own!\n\nenjoy!\n\n\n### default folders and files:\n\n    /\n    /assets/\n      app.css\n      app.js\n      imgs\n    /coffee/\n      app.coffee\n    /haml/\n      index.haml\n      layout.haml\n    /sass/\n      app.sass\n      mixins.sass\n\n\n### vendored files:\n\ncoffeescript: http://jashkenas.github.com/coffee-script/extras/coffee-script.js\nhaml: https://github.com/uglyog/clientside-haml-js/tree/master/lib\njquery: https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js\n\n\n### Seo support\n\nUse a proxy that matches the user agent and redirects the request to another server that has your content and builds a landing page, this will be a feature of fiveapi.com\n\n\n### TODO:\n\n- specs + rewrite using better modularity (in progress..)\n\n- handle 404s\n\n- relative paths support (to try it without a web server)\n\n- update codemirror\n- support pushstate in IE8 trough https://github.com/balupton/history.js\n\n- full router support\n- markdown support\n- rake task to generate RapidWeaver Template\n- update vendored files\n- add mustache support\n\n\n## Contributing:\n\n- fork the project, make changes\n- run tests in your browser (see specs section below)\n- send me a pull request\n\n\n### things to know\n\nif you make changes to javascript files, run:\n\n    rake compile_js\n\nto update vendor/all.js that contains all vendored libs and init.js, all in one file\n(for coffee files is not needed because they're compiled clientside)\n\n\n### Specs:\n\n### setup test environment:\n\nFiveTastic uses jasmine-headless-webkit ruby gem to run js specs, more infos here: http://johnbintz.github.com/jasmine-headless-webkit/\n\nBasically you have to install Qt\nfor osx:\n\n    brew install qt\n\nand then :\n\n    cd fivetastic\n    bundle\n\n\n### run specs:\n\nruby (rspec):\n\n    cd fivetastic\n    time rspec spec/acceptance/fivetastic_spec.rb\n\n\njs (jasmine):\n\n    cd fivetastic\n    time jasmine-headless-webkit -j spec/jasmine.yml -c\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakevoid%2Ffivetastic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakevoid%2Ffivetastic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakevoid%2Ffivetastic/lists"}