{"id":15437776,"url":"https://github.com/victorb/clone-npm","last_synced_at":"2026-06-23T11:31:31.034Z","repository":{"id":148376847,"uuid":"127288785","full_name":"victorb/clone-npm","owner":"victorb","description":null,"archived":false,"fork":false,"pushed_at":"2018-03-29T12:33:23.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-22T04:14:18.298Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/victorb.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-29T12:33:10.000Z","updated_at":"2018-12-19T20:31:40.000Z","dependencies_parsed_at":"2023-04-29T18:45:58.709Z","dependency_job_id":null,"html_url":"https://github.com/victorb/clone-npm","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"4cd0c72b4ee84b7e7e9acafa6751a23071624a39"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/victorb/clone-npm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorb%2Fclone-npm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorb%2Fclone-npm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorb%2Fclone-npm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorb%2Fclone-npm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/victorb","download_url":"https://codeload.github.com/victorb/clone-npm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/victorb%2Fclone-npm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34686727,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"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":"2024-10-01T18:58:46.733Z","updated_at":"2026-06-23T11:31:31.020Z","avatar_url":"https://github.com/victorb.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"- Got new instance\n  - Make sure security group for port 5984 is open\n- Run `echo \"deb https://apache.bintray.com/couchdb-deb xenial main\" | sudo tee -a /etc/apt/sources.list`\n- Run `curl -L https://couchdb.apache.org/repo/bintray-pubkey.asc | sudo apt-key add -`\n- Run `sudo apt update`\n- Run `sudo apt install couchdb`\n- Change config to bind public IP\n- Go to 54.183.196.81:5984/_utils/\n- Setup replication\n  - http://54.183.196.81:5984/_utils/#/replication/_create\n  - http://skimdb.npmjs.com/registry\n- Create new view\n  - http://54.183.196.81:5984/_utils/#/database/npm-registry/new_view\n  - _design/main\n  - index name: all-versions\n```\nfunction (doc) {\n  var versions = {}\n  Object.keys(doc.versions).forEach(function(version) {\n    versions[version] = doc.versions[version].dist\n  })\n  emit(doc._id, versions)\n}\n```\n\n```\ncurl -H \"Content-Type: application/json\" \"http://54.183.196.81:5984/npm-registry/_design/main/_view/all-versions?stale=ok\u0026limit=1\u0026skip=0\" | jq .\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorb%2Fclone-npm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvictorb%2Fclone-npm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvictorb%2Fclone-npm/lists"}