{"id":21337814,"url":"https://github.com/freeslave/cpp-mimeapps","last_synced_at":"2025-10-08T12:34:10.521Z","repository":{"id":71413265,"uuid":"66210150","full_name":"FreeSlave/cpp-mimeapps","owner":"FreeSlave","description":"Find and run associated applications for specific MIME-type.","archived":false,"fork":false,"pushed_at":"2021-06-06T18:32:01.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-25T16:17:23.344Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FreeSlave.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE_1_0.txt","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":"2016-08-21T17:00:43.000Z","updated_at":"2021-06-06T17:51:15.000Z","dependencies_parsed_at":"2023-02-28T15:01:06.700Z","dependency_job_id":null,"html_url":"https://github.com/FreeSlave/cpp-mimeapps","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FreeSlave/cpp-mimeapps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreeSlave%2Fcpp-mimeapps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreeSlave%2Fcpp-mimeapps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreeSlave%2Fcpp-mimeapps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreeSlave%2Fcpp-mimeapps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FreeSlave","download_url":"https://codeload.github.com/FreeSlave/cpp-mimeapps/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreeSlave%2Fcpp-mimeapps/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278945827,"owners_count":26073616,"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-10-08T02:00:06.501Z","response_time":56,"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":[],"created_at":"2024-11-22T00:01:52.190Z","updated_at":"2025-10-08T12:34:10.505Z","avatar_url":"https://github.com/FreeSlave.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mimeapps\n\n\n[![Build Status](https://github.com/FreeSlave/cpp-mimeapps/actions/workflows/.github.yml/badge.svg?branch=master)](https://github.com/FreeSlave/cpp-mimeapps/actions/workflows/.github.yml)\n\nFind and run associated applications for specific MIME-type.\n\nThis is Freedesktop only (GNU/Linux, *BSD and others).\n\n## Building the library\n\n```\nmkdir -p build \u0026\u0026 cd build\ncmake ..\nmake\n```\n\nOr with clang++:\n\n```\nmkdir -p build \u0026\u0026 cd build\ncmake .. -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS=-stdlib=libc++\nmake\n```\n\n## Running tests\n\nYou need Boost Test Library to build and run tests:\n\n```\nsudo apt-get install libboost-test-dev # On Debian, Ubuntu, etc.\n```\n\nThen run:\n\n```\nmkdir -p build \u0026\u0026 cd build \u0026\u0026 cmake ..\nmake unittests \u0026\u0026 ctest -V\n```\n\n## Building and running examples\n\n### Openwith-cli\n\nSimple command line utility that lists applications associated with MIME-type and let user to choose one of them to open file.\nIt does not detect MIME-type automatically. By default file is considered to be text/plain type.\n\n```\nmkdir -p build \u0026\u0026 cd build \u0026\u0026 cmake ..\nmake openwith-cli \u0026\u0026 ./examples/openwith-cli/openwith-cli ../CMakeLists.txt \n```\n\nRun with MIME-type hint (in this example it opens directory):\n\n```\nmake openwith-cli \u0026\u0026 ./examples/openwith-cli/openwith-cli .. inode/directory\n```\n\n### Openwith-qt\n\nSimilar program, but with Qt gui. Go to examples/openwith-qt and open openwith-qt.pro in QtCreator.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreeslave%2Fcpp-mimeapps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreeslave%2Fcpp-mimeapps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreeslave%2Fcpp-mimeapps/lists"}