{"id":13393040,"url":"https://github.com/chaplinjs/chaplin","last_synced_at":"2025-12-17T13:16:42.374Z","repository":{"id":2445030,"uuid":"3415511","full_name":"chaplinjs/chaplin","owner":"chaplinjs","description":"HTML5 application architecture using Backbone.js","archived":true,"fork":false,"pushed_at":"2022-12-30T06:52:38.000Z","size":3609,"stargazers_count":2853,"open_issues_count":45,"forks_count":231,"subscribers_count":95,"default_branch":"master","last_synced_at":"2024-05-21T22:18:12.222Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://chaplinjs.org","language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chaplinjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"MIT-LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-02-11T14:14:04.000Z","updated_at":"2024-05-07T18:42:28.000Z","dependencies_parsed_at":"2023-01-11T16:10:09.270Z","dependency_job_id":null,"html_url":"https://github.com/chaplinjs/chaplin","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaplinjs%2Fchaplin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaplinjs%2Fchaplin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaplinjs%2Fchaplin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaplinjs%2Fchaplin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chaplinjs","download_url":"https://codeload.github.com/chaplinjs/chaplin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234563124,"owners_count":18853056,"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-07-30T17:00:41.507Z","updated_at":"2025-09-28T21:30:22.762Z","avatar_url":"https://github.com/chaplinjs.png","language":"CoffeeScript","readme":"![Chaplin](http://s3.amazonaws.com/imgly_production/3401027/original.png)\n\n[![Build Status](https://travis-ci.org/chaplinjs/chaplin.svg?branch=master)](https://travis-ci.org/chaplinjs/chaplin)\n\n# An Application Architecture Using Backbone.js\n\n## Introduction\n\nChaplin is an architecture for JavaScript applications using the [Backbone.js](http://backbonejs.org/) library.\n\nAll information, commercial support contacts and examples are available at [chaplinjs.org](http://chaplinjs.org), comprehensive documentation and class reference can be found at [docs.chaplinjs.org](http://docs.chaplinjs.org).\n\n[Download the latest release on chaplinjs.org](http://chaplinjs.org/#downloads). See below on how to compile from source manually.\n\n## Building Chaplin\n\nThe Chaplin source files are originally written in the [CoffeeScript](http://coffeescript.org/) meta-language. However, the Chaplin library file is a compiled JavaScript file which defines the `chaplin` module.\n\nOur build script compiles the CoffeeScripts and bundles them into one file. To run the script, follow these steps:\n\n1. Download and install [Node.js](http://nodejs.org/).\n2. Open a shell (aka terminal aka command prompt) and type in the commands in the following steps.\n3. Change into the Chaplin root directory.\n4. Install all dependencies\n\n   ```\n   npm install\n   ```\n\n5. Start the build\n\n   ```\n   npm run build\n   ```\n\n\nThis creates these files in `build` dir:\n\n* `chaplin.js` – The library as a compiled JavaScript file.\n* `chaplin.min.js` – Minified. For production use you should pick this.\n\n## Running the Tests\n\nChaplin aims to be fully unit-tested. At the moment most of the modules are covered by Mocha tests.\n\nHow to run the tests:\n\n1. Follow the steps for [building chaplin](#building-chaplin).\n2. Open a shell (aka terminal aka command prompt) and type in the commands in the following steps.\n3. Change into the Chaplin root directory.\n4. Start the test runner.\n\n   ```\n   npm test\n   ```\n\nor alternatively, if you want code coverage reports\n\n   ```\n   npm run coverage\n   ```\n\nGenerated code coverage reports may be viewed by opening `coverage/index.html` in your browser.\n\n![Ending](http://s3.amazonaws.com/imgly_production/3362023/original.jpg)\n\n## [The Cast](https://github.com/chaplinjs/chaplin/blob/master/AUTHORS.md#the-cast)\n\n## [The Producers](https://github.com/chaplinjs/chaplin/blob/master/AUTHORS.md#the-producers)\n","funding_links":[],"categories":["CoffeeScript","MVC Frameworks and Libraries","MVC Frameworks and Libraries [🔝](#readme)","MVC 框架和库"],"sub_categories":["Runner","运行器","运行器e2e测试"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaplinjs%2Fchaplin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaplinjs%2Fchaplin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaplinjs%2Fchaplin/lists"}