{"id":23291024,"url":"https://github.com/jplusplus/rsf-index-2015","last_synced_at":"2025-04-06T17:44:28.587Z","repository":{"id":25436297,"uuid":"28866035","full_name":"jplusplus/rsf-index-2015","owner":"jplusplus","description":"2015 World Press Freedom Index","archived":false,"fork":false,"pushed_at":"2015-02-12T16:57:11.000Z","size":2751,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-04-14T04:55:28.661Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://index.rsf.org","language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jplusplus.png","metadata":{"files":{"readme":"README.md","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":"2015-01-06T14:04:20.000Z","updated_at":"2019-10-07T04:27:06.000Z","dependencies_parsed_at":"2022-07-26T07:02:05.935Z","dependency_job_id":null,"html_url":"https://github.com/jplusplus/rsf-index-2015","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/jplusplus%2Frsf-index-2015","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplusplus%2Frsf-index-2015/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplusplus%2Frsf-index-2015/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplusplus%2Frsf-index-2015/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jplusplus","download_url":"https://codeload.github.com/jplusplus/rsf-index-2015/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247526675,"owners_count":20953141,"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-20T05:13:54.344Z","updated_at":"2025-04-06T17:44:28.564Z","avatar_url":"https://github.com/jplusplus.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RSF: Index 2015\n\n[Download](https://github.com/jplusplus/rsf-index-2015/archive/gh-pages.zip) • [Fork](https://github.com/jplusplus/rsf-index-2015) • [License](https://github.com/jplusplus/rsf-index-2015/blob/master/LICENSE)  •\nby [Journalism++](http://jplusplus.org/) under GNU Lesser General Public License\n\n## Installation\n\nInstall `node` and `npm` then run:\n\n```bash\nmake install\n```\n\nYou can now start serving static files with gulp!\n\n```bash\nmake run\n```\n\n## Configure Crowdin *(optional)*\n\nThis project relies on Crowdin to manage interface translations. To be able to submit and download translations from Crowdin, you have to follow 2 simple steps.\n\n**Create a copy of Crozdin configuration file:**\n\n```bash\ncp crowdin.yaml.template crowdin.yaml\n```\n\n**Edit the new file ```crowdin.yaml``` to add your API key ([grab it here](https://crowdin.com/project/rsf-index-2015/settings#api)):**\n\n\n```yaml\nproject_identifier: rsf-index-2015\nbase_url: https://api.crowdin.com\npreserve_hierarchy: true\napi_key: \u003cADD YOUR API KEY HERE\u003e\n\nfiles:\n  -\n    source: /locale/en/LC_MESSAGES/messages.json\n    translation: /locale/%two_letters_code%/LC_MESSAGES/%original_file_name%\n```\n\nYou can now run ```make crowdin_download``` to grab translations from the Crowdin website.\n\n## Available commands\n\nCommand | Description\n--- | ---\n`make build` | Build the app to the `dist` directory\n`make crowdin_download` | Downloads locales from Crowdin\n`make crowdin_upload` | Uploads locales to Crowdin\n`make deploy` | Deploys the app on Github Pages\n`make full_deploy` | Downloads locales from Crowdin, commits changes and deploys on Github Pages\n`make install` | Downloads all app's components\n`make run` | Runs the development server on port *3000*\n`make zip` | Builds and exports the app to a zip file\n\n## Publish pages\n\nThis project allows you to publish pages using markdowns files. There is 3 directories containing those files; each one is allocated to a category within the app.\n\nDirectory | Description\n--- | ---\n`src/assets/markdowns/commons` | Common pages, not available under a site's specific domain\n`src/assets/markdowns/highlights` | Highlights pages, listed on [index.rsf.org/#!/highlights](http://index.rsf.org/#!/highlights)\n`src/assets/markdowns/themes` | Themes pages, listed on [index.rsf.org/#!/themes](http://index.rsf.org/#!/themes)\n\nTo create a page, simply create a markdown file into the right directory. At the begining of your file, use the following syntax to specify per-page options:\n\n```markdown\n---\nslug: lorem\ntitle: Lorem ispum dolor sit like a Sir\ndescription: This is an example file.\nlang: en\npicture: http://www.danstapub.com/wp-content/uploads/2013/05/danstapub-reporter-sans-frontiere-betc-liberte-presse-dictateur-nouvelle-campagne-4.jpg\n---\n\n## Quaerere educere ruunt\n\nLorem markdownum campis invaserat fuit ora data extemplo, **micantes**. Et\nvenisset nisi reducto excutit hostilique et loqui te premit precantem gelidum\nossibus adpellare.\n\n```\n\nThere is two important options here: `lang` that contains the language code of the page and `slug` that identifies your page. This last option can be shared between files. This way you can translate a given file using the same `slug` but with a different `lang` value. If you store its file in `highlights` directory, the exemple above will be avalaible in *english* at [/highlights/lorem](http://index.rsf.org/#!/highlights/lorem).\n\n## Technical stack\n\nThis small application uses the following tools and opensource projects:\n\n* [AngularJS](https://angularjs.org/) - Javascript Framework\n* [Yeoman: gulp-angular](https://github.com/Swiip/generator-gulp-angular) - Static app generator\n* [Leaflet: Angular Directive](http://tombatossals.github.io/angular-leaflet-directive/) - Leaflet Map with Angular\n* [UI Router](https://github.com/angular-ui/ui-router/) - Application states manager\n* [LoDash](http://lodash.com/) - Utility library\n* [Bootstrap](http://getbootstrap.com/) - HTML and CSS framework\n* [Less](http://lesscss.org/) - CSS pre-processor\n* [CoffeeScript](http://coffeescript.org/) - Javascript pre-processor\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjplusplus%2Frsf-index-2015","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjplusplus%2Frsf-index-2015","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjplusplus%2Frsf-index-2015/lists"}