{"id":16012359,"url":"https://github.com/cornernote/minetest-game_wiki","last_synced_at":"2025-07-27T19:37:54.979Z","repository":{"id":5399006,"uuid":"6588503","full_name":"cornernote/minetest-game_wiki","owner":"cornernote","description":"Extracts all ingame items which can then be viewed on a website.","archived":false,"fork":false,"pushed_at":"2015-07-28T10:38:48.000Z","size":1124,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T05:23:46.363Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://sites.google.com/site/cornernote/minetest/game-wiki","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cornernote.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-07T23:51:59.000Z","updated_at":"2014-09-27T15:18:02.000Z","dependencies_parsed_at":"2022-07-18T08:13:19.579Z","dependency_job_id":null,"html_url":"https://github.com/cornernote/minetest-game_wiki","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cornernote%2Fminetest-game_wiki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cornernote%2Fminetest-game_wiki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cornernote%2Fminetest-game_wiki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cornernote%2Fminetest-game_wiki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cornernote","download_url":"https://codeload.github.com/cornernote/minetest-game_wiki/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244085011,"owners_count":20395523,"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-10-08T14:02:57.663Z","updated_at":"2025-03-17T18:17:24.355Z","avatar_url":"https://github.com/cornernote.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GameWiki GUI for Minetest\n\nCopyright (c) 2012 cornernote, Brett O'Donnell \u003ccornernote@gmail.com\u003e\n\nSource Code: https://github.com/cornernote/minetest-gamewiki\n\nHome Page: https://sites.google.com/site/cornernote/minetest/game-wiki\n\n\n## Description\n\nExtracts all ingame items which can then be viewed on a website.\n\nServer admins may want to make this website public so that players can learn more about the world.\n\nIt works as follows:\n\n- install\n- load your game, which dumps all the items to JSON encoded strings inside wikidata/\n- load import.php in a browser to import the JSON data into SQLite3\n- copy your textures\n- thats all, now you can browse your own MineTest GameWiki!\n\n\n## Included Files\n\nMINETEST (mod to generate data):\n\n```\n/minetest/                      -- this folder needs to be copied into your minetest folder\n  bin/\n    JSON.lua                    -- this must be in the same folder as minetest.exe (site:http://regex.info/blog/lua/json) (license:unknown)\n    itemcubes/                  -- the item cube images will be saved here\n  src/\n    itemdef.cpp                 -- !!! IMPORTANT !!! - overwrites existing - used to extract item cube images - see install instructions below\n    client/\n      title.for-wiki.cpp        -- !!! IMPORTANT !!! - overwrites existing - used to extract item cube images - see install instructions below\n  builtin/\n    game/\n      init.lua                  -- !!! IMPORTANT !!! - overwrites existing - extracts item definitions - see install instructions below\n      wiki.lua                  -- this file saves the minetest.register_* calls to json files\n      wikidata/                 -- the json data will be saved here\n```\n\nGAMEWIKI (website to display wiki):\n\n```\n/wiki/                          -- this folder needs to be uploaded to your php5/sqlite3 website\n  data/                         -- sqlite data\n    wikidata/                   -- import json files go here before running import.php\n  itemcubes/                    -- put item cube images here\n  textures/                     -- put texture images here\n  build.php                     -- builds the output html/md files\n  config.php                    -- configuration settings\n  globals.php                   -- global functions\n  import.php                    -- imports data from json files to sqlite\n```\n\n\n## Install\n\nCopy /minetest/* to your minetest folder - some files will be replaced.\n\n\n## Extract Cube Images\n\n1) Build the sources. (building from source is out of the scope of this package)\n\n2) Run the game:\n- This will create the cube images.\n- You should see `/minetest/bin/itemcubes/` being populated.  \n- **Note**, you have to be in the `/minetest/bin/` folder when you start the game.\n\n3) Copy to cube images to `/wiki/itemcubes/`.\n\n\n## Extract Minetest Data\n\n1) Run the game:\n- This will create the JSON data\n- You should see a lot of files being created in `/minetest/builtin/game/wikidata/`\n\n2) Once done, move the JSON files to `/wiki/data/wikidata/`.\n\n3) Open `import.php` in a web browser:\n- This will import the JSON data into an SQLite3 database.\n- You should notice the files being removed from `/wiki/data/wikidata/`.\n\n4) Copy additional textures to `/wiki/textures/`.\n\n5) Open `build.php` in a web browser:\n- This will create html/md files to use on your website.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcornernote%2Fminetest-game_wiki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcornernote%2Fminetest-game_wiki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcornernote%2Fminetest-game_wiki/lists"}