{"id":19509629,"url":"https://github.com/raspi/file2xml","last_synced_at":"2025-04-26T03:31:59.040Z","repository":{"id":138159365,"uuid":"125627309","full_name":"raspi/file2xml","owner":"raspi","description":"Convert any file to handy safe XML","archived":true,"fork":false,"pushed_at":"2018-03-17T12:46:23.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-25T22:46:33.629Z","etag":null,"topics":["golang","joke","xml"],"latest_commit_sha":null,"homepage":"","language":"Go","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/raspi.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":"2018-03-17T12:33:41.000Z","updated_at":"2023-08-12T03:52:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba9d8977-4a71-4af8-91c2-40d8381a2efe","html_url":"https://github.com/raspi/file2xml","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raspi%2Ffile2xml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raspi%2Ffile2xml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raspi%2Ffile2xml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raspi%2Ffile2xml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raspi","download_url":"https://codeload.github.com/raspi/file2xml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250926827,"owners_count":21509044,"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":["golang","joke","xml"],"created_at":"2024-11-10T23:12:42.268Z","updated_at":"2025-04-26T03:31:59.034Z","avatar_url":"https://github.com/raspi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# File2XML\nConvert any file to handy byte safe XML\n\nInspired by http://thedailywtf.com/articles/Oh%2c-XML\n\n## Example\n\nFile test.txt contents:\n```\ntest\n```\n\noutput.xml:\n```\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cData\u003e\n  \u003cByte pos=\"0\"\u003e\n    \u003cBit pos=\"0\" Enabled=\"false\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"1\" Enabled=\"true\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"2\" Enabled=\"true\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"3\" Enabled=\"true\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"4\" Enabled=\"false\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"5\" Enabled=\"true\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"6\" Enabled=\"false\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"7\" Enabled=\"false\"\u003e\u003c/Bit\u003e\n  \u003c/Byte\u003e\n  \u003cByte pos=\"1\"\u003e\n    \u003cBit pos=\"0\" Enabled=\"false\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"1\" Enabled=\"true\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"2\" Enabled=\"true\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"3\" Enabled=\"false\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"4\" Enabled=\"false\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"5\" Enabled=\"true\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"6\" Enabled=\"false\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"7\" Enabled=\"true\"\u003e\u003c/Bit\u003e\n  \u003c/Byte\u003e\n  \u003cByte pos=\"2\"\u003e\n    \u003cBit pos=\"0\" Enabled=\"false\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"1\" Enabled=\"true\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"2\" Enabled=\"true\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"3\" Enabled=\"true\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"4\" Enabled=\"false\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"5\" Enabled=\"false\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"6\" Enabled=\"true\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"7\" Enabled=\"true\"\u003e\u003c/Bit\u003e\n  \u003c/Byte\u003e\n  \u003cByte pos=\"3\"\u003e\n    \u003cBit pos=\"0\" Enabled=\"false\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"1\" Enabled=\"true\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"2\" Enabled=\"true\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"3\" Enabled=\"true\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"4\" Enabled=\"false\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"5\" Enabled=\"true\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"6\" Enabled=\"false\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"7\" Enabled=\"false\"\u003e\u003c/Bit\u003e\n  \u003c/Byte\u003e\n  \u003cByte pos=\"4\"\u003e\n    \u003cBit pos=\"0\" Enabled=\"false\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"1\" Enabled=\"false\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"2\" Enabled=\"false\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"3\" Enabled=\"false\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"4\" Enabled=\"true\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"5\" Enabled=\"false\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"6\" Enabled=\"true\"\u003e\u003c/Bit\u003e\n    \u003cBit pos=\"7\" Enabled=\"false\"\u003e\u003c/Bit\u003e\n  \u003c/Byte\u003e\n\u003c/Data\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraspi%2Ffile2xml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraspi%2Ffile2xml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraspi%2Ffile2xml/lists"}