{"id":21478707,"url":"https://github.com/stridsvagn69420/magicfix","last_synced_at":"2025-07-26T09:34:03.458Z","repository":{"id":188150770,"uuid":"678163091","full_name":"Stridsvagn69420/magicfix","owner":"Stridsvagn69420","description":"Command-line tool to repair your file extensions","archived":false,"fork":false,"pushed_at":"2025-05-19T17:46:25.000Z","size":85,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-25T05:05:05.403Z","etag":null,"topics":["c","command-line","cpp","cross-platform","file-extension-converter","file-extensions","files","magicbytes","magicnumbers"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"eupl-1.2","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Stridsvagn69420.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-08-13T22:20:33.000Z","updated_at":"2025-05-27T22:47:32.000Z","dependencies_parsed_at":"2023-11-25T22:27:06.228Z","dependency_job_id":"3017b567-37d0-4bd2-9c82-378a5033cefd","html_url":"https://github.com/Stridsvagn69420/magicfix","commit_stats":null,"previous_names":["stridsvagn69420/magicfix"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Stridsvagn69420/magicfix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stridsvagn69420%2Fmagicfix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stridsvagn69420%2Fmagicfix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stridsvagn69420%2Fmagicfix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stridsvagn69420%2Fmagicfix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Stridsvagn69420","download_url":"https://codeload.github.com/Stridsvagn69420/magicfix/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stridsvagn69420%2Fmagicfix/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267145666,"owners_count":24042651,"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","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["c","command-line","cpp","cross-platform","file-extension-converter","file-extensions","files","magicbytes","magicnumbers"],"created_at":"2024-11-23T11:19:21.974Z","updated_at":"2025-07-26T09:34:03.435Z","avatar_url":"https://github.com/Stridsvagn69420.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# magicfix\nCommand-line tool to repair your file extensions\n\nFile signatures are from both [Wikipedia](https://en.wikipedia.org/wiki/List_of_file_signatures) as well as [ftyps.com](https://www.ftyps.com/).  \nThe tool only depends on the C Standard Libraries so it practically compiles anywhere, even on your phone!\n\n\u003chr\u003e\n\n## Usage\n### Tool\n```bash\nmagicfix /path/to/file.ext some.file.lol ../more/.dotfiles\n```\n\n### Library\nThis project is also designed to be used as a library. Just clone or submodule this repository into your include-Path. You should be able to access it with:\n```c\n#include \u003cmagicfix/magicfix.h\u003e\n```\nThe full documentation is available in the [Wiki](https://github.com/Stridsvagn69420/magicfix/wiki/libmagicfix).\n\n\u003chr\u003e\n\n## Installation\nThis section is only about self-compilation. Check the [Release Page](https://github.com/Stridsvagn69420/magicfix/releases) for prebuilt binaries.\n\n### Windows (MSVC)\n#### Requirements:\n- Visual Studio 2022\n- Desktop C++ Workflow\n\n#### Instructions\n1. Open Visual Studio and clone the repository: `https://github.com/Stridsvagn69420/magicfix.git`\n2. Switch to Folder View in the Project Explorer\n3. Select `magicfix.exe` as the Start Element\n4. (Optional) Choose your desired build target (`x64-Release` by default)\n5. Build the Project with `Ctrl` + `B`\n6. The tool is located at `./out/build/{build-target}/magicfix.exe`\n\n### Windows (MSYS2) and Unix\n#### Requirements:\n- `cmake`\n- `make`\n- `gcc` or `clang`\n- `git`\n- UCRT recommended (Windows only)\n\n#### Instructions:\n1. Clone the repository: `git clone https://github.com/Stridsvagn69420/magicfix.git \u0026\u0026 cd magicfix`\n2. Build the repository: `make` (Also define the env variable `CC_NATIVE` to optimize for your CPU)\n3. Install the program on your systen: `sudo make install` (Unix only)\n\nOr use the Linux One Line Installer™️:\n```bash\ngit clone https://github.com/Stridsvagn69420/magicfix.git \u0026\u0026 cd magicfix \u0026\u0026 make \u0026\u0026 sudo make install \u0026\u0026 make clean \u0026\u0026 cd .. \u0026\u0026 rm -rf magicfix\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstridsvagn69420%2Fmagicfix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstridsvagn69420%2Fmagicfix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstridsvagn69420%2Fmagicfix/lists"}