{"id":23535049,"url":"https://github.com/ripta/merb-juggernaut","last_synced_at":"2025-04-23T04:19:29.267Z","repository":{"id":452673,"uuid":"76050","full_name":"ripta/merb-juggernaut","owner":"ripta","description":"Juggernaut-compatible merb slice","archived":false,"fork":false,"pushed_at":"2008-12-11T15:42:16.000Z","size":152,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-23T04:19:25.583Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ripta.png","metadata":{"files":{"readme":"README.textile","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2008-11-14T16:32:14.000Z","updated_at":"2023-03-13T07:09:41.000Z","dependencies_parsed_at":"2022-07-04T17:01:34.994Z","dependency_job_id":null,"html_url":"https://github.com/ripta/merb-juggernaut","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripta%2Fmerb-juggernaut","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripta%2Fmerb-juggernaut/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripta%2Fmerb-juggernaut/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ripta%2Fmerb-juggernaut/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ripta","download_url":"https://codeload.github.com/ripta/merb-juggernaut/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250366761,"owners_count":21418779,"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-12-26T01:14:31.191Z","updated_at":"2025-04-23T04:19:29.248Z","avatar_url":"https://github.com/ripta.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"h1. MerbJuggernaut\n\nWritten by Ripta Pasay \u003cgithub@r8y.org\u003e. Contains scripts and code, some modified\nand some as-is, from juggernaut-jquery[1] and the original juggernaut[2].\nEven this README contains chunks from [2].\n\nhttp://github.com/ripta/merb-juggernaut\n\nA slice of Juggernaut pie. For more information about what Juggernaut is, see [3].\n\n\nh2. Requirements\n\nRequires the gems juggernaut \u003e= 0.5.7 and merb \u003e= 1.0.\n\n\nh2. How to install\n\nInstall it as a gem, from github. If you haven't, add the github gem repository\nas a source:\n\n\u003cpre\u003e\n\u003ccode\u003e\n\t$ [sudo] gem sources -a http://gems.github.com\n\u003c/code\u003e\n\u003c/pre\u003e\n\nThen install the gem:\n\n\u003cpre\u003e\n\u003ccode\u003e\n\t$ [sudo] gem install ripta-merb-juggernaut\n\u003c/code\u003e\n\u003c/pre\u003e\n\nwhich should also install the prerequisite gems juggernaut and merb if you don't\nhave them already.\n\n\nh2. How to use in your Merb app\n\nAdd the gem as a dependency in your Merb app's @config/init.rb@:\n\n\u003cpre\u003e\n\u003ccode\u003e\n\tdependency \"ripta-merb-juggernaut\", :require_as =\u003e \"merb-juggernaut\"\n\u003c/code\u003e\n\u003c/pre\u003e\n\nThe @:require_as@ option is required because of the qualified gem names on github.\n\n\nh2. How to run the demos\n\nDownload the sources, and change into the directory. Once there, start up\nthe juggernaut standalone daemon, and then start up the slice server:\n\n\u003cpre\u003e\n\u003ccode\u003e\n\t$ juggernaut -c config/juggernaut.yml\n\t$ slice\n\u003c/code\u003e\n\u003c/pre\u003e\n\nThe slice should now be available, usually on port 4000.\n\nTo send a command from the command line, you can start up the Merb slices\ninteractive console:\n\n\u003cpre\u003e\n\u003ccode\u003e\n\t$ slice -i\n\u003c/code\u003e\n\u003c/pre\u003e\n\nAnd send away. For example, to alert all connected Juggernaut clients, type\nthe following line into the interactive console:\n\n\u003cpre\u003e\n\u003ccode\u003e\n\tMerbJuggernaut::Commands.send_to_all('alert(\"This is a test!\");')\n\u003c/code\u003e\n\u003c/pre\u003e\n\n\nh2. Contributing\n\nTo contribute, you should try running the above demos. You can start coding away.\nBe sure to send me pull requests through github.\n\n\nfn1. http://github.com/dvdplm/juggernaut-jquery/\nfn2. http://github.com/maccman/juggernaut_gem/\nfn3. http://juggernaut.rubyforge.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fripta%2Fmerb-juggernaut","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fripta%2Fmerb-juggernaut","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fripta%2Fmerb-juggernaut/lists"}