{"id":31938764,"url":"https://github.com/blakmatrix/node-migrator-bot","last_synced_at":"2025-10-14T08:18:22.080Z","repository":{"id":3615182,"uuid":"4680511","full_name":"blakmatrix/node-migrator-bot","owner":"blakmatrix","description":"Migrate your old Node.js Repos","archived":false,"fork":false,"pushed_at":"2012-12-28T19:00:53.000Z","size":160,"stargazers_count":31,"open_issues_count":7,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-14T14:17:29.106Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/blakmatrix.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":"2012-06-15T22:05:01.000Z","updated_at":"2023-09-08T16:33:55.000Z","dependencies_parsed_at":"2022-09-11T00:22:59.335Z","dependency_job_id":null,"html_url":"https://github.com/blakmatrix/node-migrator-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blakmatrix/node-migrator-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakmatrix%2Fnode-migrator-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakmatrix%2Fnode-migrator-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakmatrix%2Fnode-migrator-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakmatrix%2Fnode-migrator-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blakmatrix","download_url":"https://codeload.github.com/blakmatrix/node-migrator-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakmatrix%2Fnode-migrator-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018311,"owners_count":26086334,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-10-14T08:18:20.928Z","updated_at":"2025-10-14T08:18:22.068Z","avatar_url":"https://github.com/blakmatrix.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"node-migrator-bot\n======\n\n[![build status](https://secure.travis-ci.org/blakmatrix/node-migrator-bot.png)](http://travis-ci.org/blakmatrix/node-migrator-bot)\n\nI am a bot. \nI will help you migrate your codebase to node v0.8!  \n\nDid you know that the \"sys\" module throws an error if your program\ntries to require it in node v0.8? To help keep your code running, \nI automatically replaced `var sys = require(\\'sys\\')` with \n`var util = require(\\'util\\')`.  \n\nIf you'd like to know more about these changes in node.js, take a look \nat https://github.com/joyent/node/commit/1582cf#L1R51 and \nhttps://github.com/joyent/node/blob/1582cfebd6719b2d2373547994b3dca5c8c569c0/ChangeLog#L51 .  \n\nAs for myself, I was written by your friendly neighborhood node ninjas \nat [Nodejitsu](http://nodejitsu.com), and you can find them at `#nodejitsu` \non irc.freenode.net or with http://webchat.jit.su .  \n\nEnjoy!,  \n--node-migrator-bot\n\n\n\nExample\n=======\n\nEdit config/config.json, enter in a github username, password, and your redis db info.\n\n`node app.js repo https://github.com/blakmatrix/node-migrator-bot`\n\n[![example output](http://i.imgur.com/xD4Cp.png)](http://i.imgur.com/xD4Cp.png)\n\n\nCommands\n=======\n\n\n`node app.js use`\n----------------\n\nThe bot will tell you how to use it.\n\n\n\n`node app.js file \u003cfilename\u003e`\n----------------\n\nThe bot will look at the given file and make any changes if necessary.\n\n\n\n`node app.js repo \u003cfolder or link to repo\u003e`\n----------------\n\nThe bot will look at the given input and if it is giving a folder location on a\nlocal drive it will recursively make any necessary changes.  \n\nIf given a repository link https://github.com/user/repo it will atempt to fork \nthe repo into its own github account as specified by the username and password \nsettings. After forking it will download the repository, will create a new \nbranch in it, check it out, make its changes. If there are changes, it commits \nthem, then push commits back to github. It will then submit a pull request to \nthe original author of the repository. Then preform local file clean up. On \na successful pull request or if its determined there is nothing to commit the \nrepository will be added to the redis database hash as defined in the config.\n\n\n\n`node app.js user \u003cusername\u003e`\n----------------\n\nThe bot will look at the given user, and for every repo they own will act as \nif `node app.js repo \u003crepo-link\u003e` was called.\n\n\n\n`node app.js npm`\n----------------\n\nThe bot will generate a list of all the packages in npm that have github links,\n and then for each repository link will act as if \n `node app.js repo \u003crepo-link\u003e` was called.\n\n\n\n `node app.js db`\n----------------\n\nWill list all the items in the redis db added by the bot.\n\n\n\nInstall\n=======\n\nNot in NPM yet...\n\n```shell\ngit clone git@github.com:blakmatrix/node-migrator-bot.git`\ncd node-migrator-bot\n```\n\nTest\n====\n\n`npm test`\n\n\nlicense\n=======\n\nMIT/X11","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblakmatrix%2Fnode-migrator-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblakmatrix%2Fnode-migrator-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblakmatrix%2Fnode-migrator-bot/lists"}