{"id":23291033,"url":"https://github.com/jplusplus/tmf-moneytrail","last_synced_at":"2025-10-03T20:48:37.513Z","repository":{"id":31913026,"uuid":"35482204","full_name":"jplusplus/tmf-moneytrail","owner":"jplusplus","description":"Visualization of migration-related spending","archived":false,"fork":false,"pushed_at":"2015-06-22T07:59:33.000Z","size":10562,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-04-14T04:55:28.529Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://jplusplus.github.io/tmf-moneytrail/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-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-05-12T10:39:01.000Z","updated_at":"2015-06-18T05:46:26.000Z","dependencies_parsed_at":"2022-06-26T16:34:50.953Z","dependency_job_id":null,"html_url":"https://github.com/jplusplus/tmf-moneytrail","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%2Ftmf-moneytrail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplusplus%2Ftmf-moneytrail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplusplus%2Ftmf-moneytrail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplusplus%2Ftmf-moneytrail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jplusplus","download_url":"https://codeload.github.com/jplusplus/tmf-moneytrail/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.846Z","updated_at":"2025-10-03T20:48:32.475Z","avatar_url":"https://github.com/jplusplus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"In this document, you'll find how to locally install the visualization, as well as generate translations, deploy the site and other details.\n\n  - [Installation](#installation)\n  - [Running a local web server](#running-a-local-web-server)\n  - [Integrating translations](#integrating-translations)\n  - [Generating static SVG versions](#generating-static-svg-versions)\n  - [Pushing the site to the live server](#pushing-the-site-to-the-live-server)\n  - [Showing the site in different languages](#showing-the-site-in-different-languages)\n  - [Adding a new translation](#adding-a-new-translation)\n  - [Iframe embed](#iframe-embed)\n\n\n## Installation\n\nAfter cloning the repository and `cd`ing to it, run\n\n    make install\n\n## Running a local web server\n\nSimple:\n\n    make run\n\n## Integrating translations\n\nRunning\n\n    make build\n\nwill pull the latest version of the shared Google Sheet and integrate all the translations available. This conversion script doesn't require any dependencies. \n\nAfter building, check if there were changes to the repo (with `git status`). If there are, commit them and deploy the changes (using `make deploy`, see below).\n\nIn case you run into an error, please [file an issue](https://github.com/jplusplus/tmf-moneytrail/issues/new) and we'll head in to fix things.\n\n## Generating static SVG versions\n\nTODO\n\n## Pushing the site to the live server\n\nIn order to deploy the site to GitHub Pages, do\n\n    make deploy\n\n## Showing the site in different languages\n\nAdding the `lang` parameter will set the language to use.\n\nFor example, the Swedish version is accessible through http://jplusplus.github.io/tmf-moneytrail?lang=sv-SE .\n\n## Adding a new translation\n\nSee the [TRANSLATING.md](https://github.com/jplusplus/tmf-moneytrail/blob/master/TRANSLATING.md) file for the steps needed for adding another language.\n\n##Iframe embed\n\nTo embed the app in an iframe add the following code in the parent page.\n\nIn the body of the HTML, where you want the iframe to appear, add this code:\n\n    \u003cdiv id=\"mf-moneytrail\"\u003e\u003c/div\u003e\n\n    \u003cscript src=\"https://jplusplus.github.io/tmf-moneytrail/js/pym.min.js\"\u003e\u003c/script\u003e\n    \u003cscript\u003evar pymParent = new pym.Parent('mf-moneytrail', 'http://jplusplus.github.io/tmf-moneytrail/index.html', {}); \u003c/script\u003e\n        \nPym.js will generate the `\u003ciframe\u003e` code inside the `\u003cdiv id=\"mf-moneytrail\"\u003e\u003c/div\u003e` div.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjplusplus%2Ftmf-moneytrail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjplusplus%2Ftmf-moneytrail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjplusplus%2Ftmf-moneytrail/lists"}