{"id":26260476,"url":"https://github.com/skyeye-fast/nameprovider-bedrock-data-generator","last_synced_at":"2026-04-13T02:03:31.305Z","repository":{"id":282053002,"uuid":"947331911","full_name":"SkyEye-FAST/nameprovider-bedrock-data-generator","owner":"SkyEye-FAST","description":"A Python script to generate data for Module:NameProviderBedrock","archived":false,"fork":false,"pushed_at":"2025-03-12T14:36:12.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T15:29:23.040Z","etag":null,"topics":["lua","mediawiki","minecraft","minecraft-bedrock","minecraft-wiki","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SkyEye-FAST.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-12T14:19:26.000Z","updated_at":"2025-03-12T14:36:16.000Z","dependencies_parsed_at":"2025-03-12T15:39:56.942Z","dependency_job_id":null,"html_url":"https://github.com/SkyEye-FAST/nameprovider-bedrock-data-generator","commit_stats":null,"previous_names":["skyeye-fast/nameprovider_bedrock_data_generator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkyEye-FAST%2Fnameprovider-bedrock-data-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkyEye-FAST%2Fnameprovider-bedrock-data-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkyEye-FAST%2Fnameprovider-bedrock-data-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SkyEye-FAST%2Fnameprovider-bedrock-data-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SkyEye-FAST","download_url":"https://codeload.github.com/SkyEye-FAST/nameprovider-bedrock-data-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243495482,"owners_count":20299923,"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":["lua","mediawiki","minecraft","minecraft-bedrock","minecraft-wiki","python"],"created_at":"2025-03-13T23:15:02.242Z","updated_at":"2026-04-13T02:03:31.242Z","avatar_url":"https://github.com/SkyEye-FAST.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NameProvider Data Generator (Bedrock)\n\nA Python script that generates Lua data for [Module:NameProviderBedrock](https://zh.minecraft.wiki/w/Module:NameProviderBedrock) on Minecraft Wiki (ZH). The script downloads Minecraft Bedrock Edition language files and converts them into the required Lua data format.\n\n## Features\n\n- Downloads language files from [Mojang/bedrock-samples](https://github.com/Mojang/bedrock-samples)\n- Processes both main and preview branches for different game versions\n\n## Requirements\n\n- Python 3.x\n- `requests` library\n- `mclang` library\n\n## Usage\n\n1. Ensure all required libraries are installed:\n\n   ``` shell\n   pip install requests mclang\n   ```\n\n2. Run the script:\n\n   ``` shell\n   python main.py\n   ```\n\n3. The script will generate two output files:\n   - `output_main.lua` - Contains language data from the `main` branch\n   - `output_preview.lua` - Contains language data from the `preview` branch\n\n## Output Format\n\nThe generated Lua files follow the format required by Module:NameProviderBedrock:\n\n- Version metadata for tracking data freshness\n- Generation timestamp\n- Language data organized as key-value pairs with translations in multiple languages\n\n## License\n\nThe script is released under the [Apache 2.0 license](LICENSE).\n\n``` text\n  Copyright 2025 SkyEye_FAST\n\n  Licensed under the Apache License, Version 2.0 (the \"License\");\n  you may not use this file except in compliance with the License.\n  You may obtain a copy of the License at\n\n      http://www.apache.org/licenses/LICENSE-2.0\n\n  Unless required by applicable law or agreed to in writing, software\n  distributed under the License is distributed on an \"AS IS\" BASIS,\n  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n  See the License for the specific language governing permissions and\n  limitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyeye-fast%2Fnameprovider-bedrock-data-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskyeye-fast%2Fnameprovider-bedrock-data-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyeye-fast%2Fnameprovider-bedrock-data-generator/lists"}