{"id":23291056,"url":"https://github.com/jplusplus/wikileaks-kissinger-cables","last_synced_at":"2025-08-21T22:32:03.102Z","repository":{"id":7913866,"uuid":"9297953","full_name":"jplusplus/wikileaks-kissinger-cables","owner":"jplusplus","description":"The map and graph modules of Wikileak's ProjectK, the diplomatic cables of the Kissinger era.","archived":false,"fork":false,"pushed_at":"2014-01-03T14:57:15.000Z","size":6995,"stargazers_count":18,"open_issues_count":0,"forks_count":4,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-04-14T04:55:28.371Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://search.wikileaks.org/plusd/graph","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/jplusplus.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":"2013-04-08T14:05:22.000Z","updated_at":"2023-09-28T10:21:47.000Z","dependencies_parsed_at":"2022-08-20T01:00:24.084Z","dependency_job_id":null,"html_url":"https://github.com/jplusplus/wikileaks-kissinger-cables","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%2Fwikileaks-kissinger-cables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplusplus%2Fwikileaks-kissinger-cables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplusplus%2Fwikileaks-kissinger-cables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplusplus%2Fwikileaks-kissinger-cables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jplusplus","download_url":"https://codeload.github.com/jplusplus/wikileaks-kissinger-cables/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230537085,"owners_count":18241519,"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:14:00.361Z","updated_at":"2024-12-20T05:14:01.150Z","avatar_url":"https://github.com/jplusplus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wikileaks: Kissinger Cables\n## Installation\n### Software dependencies\nTo make the project up and running, you need:\n\n* **Node** 0.8.19\n* **NPM** 1.1.32\n* **PostGreSQL** 9.1\n\n### Step 0:\nEsnure that postgresql-server-dev-9.1, libxml2, libxml2-dev and gyp packages are present on your system.\n\n### Step 1: Download the dependencies\nThe app is build at the top of the pleasant [Node Package Manager](http://npmjs.org/). To download and set up the whole dependancies three, simply run from the project's root directory :\n\n    $ npm install\n\n### Step 2: Edit the configuration\n#### Use configuration file\nThe default configuration is present into *config/default.json*. Every modifications in this file will be commited. The *runtime.json* file is an auto-generated file that you shouldn't edit.\n\n* **Development mode**: If you want to overide default values, you have to create a file named *config/development.json* and corresponding to your local configuration. This file will be ignored by git. \n* **Production mode**: if you want to overide default values, you have to edit the *config/production.json* file to fit with your production environment. This file will be ignored by git.\n\n#### Alternative: use environment variables\nThe following environment variables can be use with the highest priority :\n\n* **PORT** defines the port to listen to (ex: *80*);\n* **DATABASE_URL** defines the database URL;\n* **NODE_ENV** defines the runtime mode that affects the configuration (ex: *development*, *production*, etc).\n\n### Step 3: Build the database\n\nDownload the ngram's database [from this torrent](https://thepiratebay.se/torrent/8354260) then extract the downloaded archive: \n\n    $  gzip -d ngrams.sql.gz\n\nFinally, import the sql file into your database. **214,549,557 lines, it can be long**:\n \n    $ psql DATABASE_NAME \u003c ngrams.sql    \n\n### Step 4: Run!\nTo launch the application enter the following command: \n\n    $ node app.js\n\nYour application is now available from [localhost:3000/plusd/](http://localhost:3000/plusd/)!\n\n\n\n### Common issues\n* **Error: watch ENOSPC**: Do not run the application with DropBox on the same system.\nLink: [https://groups.google.com/forum/?fromgroups=#!topic/nodejs/LX7sz9f-fmY](https://groups.google.com/forum/?fromgroups=#!topic/nodejs/LX7sz9f-fmY)\n\n## GNU General Public License\nThis software is the property of [Journalism++](http://jplusplus.org) and licensed under the [GNU Genral Public License](https://www.gnu.org/licenses/gpl-3.0.txt).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjplusplus%2Fwikileaks-kissinger-cables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjplusplus%2Fwikileaks-kissinger-cables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjplusplus%2Fwikileaks-kissinger-cables/lists"}