{"id":26786116,"url":"https://github.com/levdbas/neostrada-to-openprovider","last_synced_at":"2025-06-11T17:05:44.552Z","repository":{"id":283862847,"uuid":"953058255","full_name":"Levdbas/neostrada-to-openprovider","owner":"Levdbas","description":"Escape Neostrada!","archived":false,"fork":false,"pushed_at":"2025-03-22T17:14:39.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T17:31:18.923Z","etag":null,"topics":["neostrada","openprovider"],"latest_commit_sha":null,"homepage":"","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/Levdbas.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":"2025-03-22T13:27:31.000Z","updated_at":"2025-03-22T17:14:42.000Z","dependencies_parsed_at":"2025-03-22T17:31:20.562Z","dependency_job_id":"77d6627f-e110-4b97-b164-c81c7c772507","html_url":"https://github.com/Levdbas/neostrada-to-openprovider","commit_stats":null,"previous_names":["levdbas/neostrada-to-openprovider"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Levdbas/neostrada-to-openprovider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Levdbas%2Fneostrada-to-openprovider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Levdbas%2Fneostrada-to-openprovider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Levdbas%2Fneostrada-to-openprovider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Levdbas%2Fneostrada-to-openprovider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Levdbas","download_url":"https://codeload.github.com/Levdbas/neostrada-to-openprovider/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Levdbas%2Fneostrada-to-openprovider/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259302354,"owners_count":22837125,"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":["neostrada","openprovider"],"created_at":"2025-03-29T11:34:16.449Z","updated_at":"2025-06-11T17:05:44.533Z","avatar_url":"https://github.com/Levdbas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Neostrada to OpenProvider\n\nMigrating DNS records can be a tedious task, especially when you have a large number of domains. This script automates the process of preparing the DNS zone data at OpenProvider by extracting the records from Neostrada.\nThis way, you only have to double-check the DNS zone before manually transferring the domains to OpenProvider.\n\nMake sure you actively cancel the domains at Neostrada after the migration is completed to avoid double billing. Neostrastra currently does not automatically cancel the domains after transferring them to another provider.\n\n\u003e [!CAUTION]\n\u003e This script is provided as-is and should be used with caution. Make sure to be mindful of the API access and the data you are working with. Always double-check the DNS zone data before transferring the domains to OpenProvider. It is your responsibility to ensure the data is correct and the migration is successful. I am not responsible for any data loss or incorrect DNS zones.\n\n## Features\n\n- Bulk export all active domains from Neostrada to a JSON file.\n- Bulk export the DNS zone data and import it to OpenProvider.\n\n## Prerequisites\n\n- Copy the `.env.example` file to `.env`.\n- API access to Neostrada (Bearer token obtained via your Neostrada account).\n   - Add the token as the `NEOSTRADA_API_KEY` in the `.env` file.\n- API access to OpenProvider\n   - Create a beared token by running `curl -X POST https://api.openprovider.eu/v1beta/auth/login  -d '{\"username\": \"YOUR-EMAIL\", \"password\": \"YOUR-PASSWORD\", \"ip\": \"x.x.x.x\"}'`. where the `ip` is your current IP address.\n   - Add the token as the `OPENPROVIDER_API_KEY` in the `.env` file.\n   - Make sure your account has access to the OpenProvider API. This can be activated via the [OpenProvider dashboard](https://cp.openprovider.eu/account/dashboard.php), clicking on your name -\u003e API -\u003e click edit, scroll down and enable the API.\n\n## Requirements\n\n- Node.js \u003e= 14\n- Neostrada API access\n- OpenProvider API access\n\n## Installation\n\nClone the repository and install dependencies:\n\n```bash\ngit clone https://github.com/levdbas/neostrada-to-openprovider.git\ncd neostrada-to-openprovider\nnpm install\n```\n\n## Usage\n\n1. Configure your credentials in the `.env` file:\n   ```env\n   NEOSTRADA_API_KEY=your_neostrada_api_key\n   OPENPROVIDER_API_KEY=your_openprovider_api_key\n   ```\n\n2. Run `node create-neostrada-domain.js` to create a json file with all active domains at Neostrada.\n\n3. Manually check the `neostrada-domains.json` file, pick a few domains and add them to the neostrada-domains.json file.\n\n4. Now run `node index.js` to loop through the domains in the `neostrada-domains.json` file and start the migration process.\n\n5. Inside the `output` folder, you will find a json file for each domain with the DNS zone data. Use this data to manually check the imported DNS zone data at OpenProvider.\n\n6. Manually transfer the domains to OpenProviders. Since the DNS zone data is already prepared, you can just start the transfer process and you are good to go.\n\n## Contributing\n\nContributions are welcome! Please fork the repository and submit a pull request.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevdbas%2Fneostrada-to-openprovider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flevdbas%2Fneostrada-to-openprovider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevdbas%2Fneostrada-to-openprovider/lists"}