{"id":13805487,"url":"https://github.com/Ddiidev/WindowsRegistry","last_synced_at":"2025-05-13T19:31:10.056Z","repository":{"id":208922591,"uuid":"722749784","full_name":"Ddiidev/WindowsRegistry","owner":"Ddiidev","description":"Windows registry wrappers for Vlang","archived":false,"fork":false,"pushed_at":"2024-01-31T03:47:29.000Z","size":660,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-06T17:04:46.735Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://Ddiidev.github.io/WindowsRegistry/","language":"V","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/Ddiidev.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}},"created_at":"2023-11-23T21:26:39.000Z","updated_at":"2024-05-11T17:13:44.000Z","dependencies_parsed_at":"2024-01-10T04:58:31.560Z","dependency_job_id":"f971e7b5-a4b3-42fa-a04b-fe016ee08866","html_url":"https://github.com/Ddiidev/WindowsRegistry","commit_stats":null,"previous_names":["ldedev/windowsregistry","ddiidev/windowsregistry"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ddiidev%2FWindowsRegistry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ddiidev%2FWindowsRegistry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ddiidev%2FWindowsRegistry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ddiidev%2FWindowsRegistry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ddiidev","download_url":"https://codeload.github.com/Ddiidev/WindowsRegistry/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254012968,"owners_count":21999346,"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-08-04T01:01:01.636Z","updated_at":"2025-05-13T19:31:09.784Z","avatar_url":"https://github.com/Ddiidev.png","language":"V","readme":"\n# WindowsRegistry\n\nWindows registry wrappers for Vlang\n\n\n## Package [vpm.winreg](https://vpm.vlang.io/packages/Ddiidev.winreg)\n\n\n## Documentation\n\n[Documentation](https://Ddiidev.github.io/WindowsRegistry)\n\n\n## Funcionalidades\n\n- [X] Update and delete **value**\n- [X] List **value** information\n- [X] Read value of type only **REG_SZ** and **REG_DWORD**\n- [ ] Read value of type **REG_BINARY**, **REG_QDWORD**, **REG_DWORD_BIG_ENDIAN** and **REG_EXPAND_SZ** \n- [X] Write value of type only **REG_SZ** and **REG_DWORD**\n- [ ] Write value of type **REG_BINARY**, **REG_QDWORD**, **REG_DWORD_BIG_ENDIAN** and **REG_EXPAND_SZ** \n- [ ] create new keys\n- [ ] Delete keys\n\n## How to use\n\nGetting a string value.\n\n```v\nimport Ddiidev.winreg\n\nh := winreg.open_key(.hkey_local_machine, r'SOFTWARE\\Microsoft\\Windows\\CurrentVersion', .key_read)!\n\nvalue := h.query_value[string]('ProgramFilesDir')!\n\nprintln(value)\n```\n\nIt is possible to get a value without needing to know the type of the value in the registry.\n\n```v\nimport Ddiidev.winreg\n\nh := winreg.open_key(.hkey_local_machine, r'SOFTWARE\\Microsoft\\Windows\\CurrentVersion', .key_read)!\n\nvalue := h.get_value('ProgramFilesDir')!\n\nprintln(value)\n\nif value is string {\n    println(\"value is string\")\n}\n```\n\n\nDefining and creating new value. (Remembering that you need to be as ADM on Windows)\n\n```v\n\tvalue_test := 'my_test'\n\n\th := winreg.open_key(.hkey_local_machine, r'SOFTWARE\\Microsoft\\Windows\\CurrentVersion', .key_write)!\n\n\th.set_value('test', value_test)!\n```\n","funding_links":[],"categories":["Libraries"],"sub_categories":["Operating system"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDdiidev%2FWindowsRegistry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDdiidev%2FWindowsRegistry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDdiidev%2FWindowsRegistry/lists"}