{"id":27942056,"url":"https://github.com/secretdeveloperisme/find-module-info","last_synced_at":"2025-05-07T11:26:07.729Z","repository":{"id":223966895,"uuid":"761232757","full_name":"secretdeveloperisme/find-module-info","owner":"secretdeveloperisme","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-14T23:57:48.000Z","size":4963,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-06T16:04:27.856Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/secretdeveloperisme.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-02-21T13:43:48.000Z","updated_at":"2024-04-14T23:59:30.000Z","dependencies_parsed_at":"2025-05-01T16:44:20.371Z","dependency_job_id":null,"html_url":"https://github.com/secretdeveloperisme/find-module-info","commit_stats":null,"previous_names":["secretdeveloperisme/find-module-info","linhplus/find-module-info"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secretdeveloperisme%2Ffind-module-info","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secretdeveloperisme%2Ffind-module-info/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secretdeveloperisme%2Ffind-module-info/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secretdeveloperisme%2Ffind-module-info/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/secretdeveloperisme","download_url":"https://codeload.github.com/secretdeveloperisme/find-module-info/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252867435,"owners_count":21816678,"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":"2025-05-07T11:26:07.247Z","updated_at":"2025-05-07T11:26:07.720Z","avatar_url":"https://github.com/secretdeveloperisme.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Find Module Information\n\nFind module information tool facilitates finding dependencies and dependants easily.\n\n```text\n  ______ _           _   __  __           _       _        _____        __      \n |  ____(_)         | | |  \\/  |         | |     | |      |_   _|      / _|     \n | |__   _ _ __   __| | | \\  / | ___   __| |_   _| | ___    | |  _ __ | |_ ___  \n |  __| | | '_ \\ / _` | | |\\/| |/ _ \\ / _` | | | | |/ _ \\   | | | '_ \\|  _/ _ \\ \n | |    | | | | | (_| | | |  | | (_) | (_| | |_| | |  __/  _| |_| | | | || (_) |\n |_|    |_|_| |_|\\__,_| |_|  |_|\\___/ \\__,_|\\__,_|_|\\___| |_____|_| |_|_| \\___/ \n```\n\n## 1. Collect makefiles\n\nCollect makefiles from source path to a single place with the many options: hidden, exclude folders.\n\n```bash\nfind_module_info.exe --action collect --source_path path --is_hidden --exclude_folder folders\n```\n\nThe arguments are:\n\n- **--action** *collect*: This tells the tool to collect makefiles from the source path and copy them to a folder named **output/makefile_temp** in the current directory.\n- **--action** *collect*: This tells the tool to collect makefiles from the source path and copy them to a folder named **output/makefile_temp** in the current directory.\n- **--source_path** *path*: This specifies the source path where the tool will look for makefiles. You can use absolute or relative paths. For example, C:\\Users\\source_code.\n- **--is_hidden**: This is an optional argument that tells the tool to include hidden files and folders in the search. By default, the tool will ignore hidden items.\n- **--exclude_folder** *folders*:  This is an optional argument that tells the tool to exclude certain folders from the search. You can specify one or more folder names, separated by commas. For example, build,test,docs.\n\n## 2. Process Makefiles\n\nFind the binary output, dependencies and dependants of the modules, then store the information into a database file with the name *makefiles.db*.\n\n```bash\nfind_module_info.exe --action binary # find output binary name\nfind_module_info.exe --action depend # find dependencies and dependants\n```\n\n## 3. Combine action collect, binary and depend\n\nYou can combine the collect, find output binary name and depends into a single command.\n\n```bash\nfind_module_info.exe --action update --source_path path\n```\n\nThe arguments are:\n\n- **--action** *collect*: This tells the tool to collect make files from the source path, then find output binary, dependencies and dependant.\n- **--source_path** *path*: This specifies the source path where the tool will look for makefiles. You can use absolute or relative paths. For example, C:\\Users\\source_code.\n\n## Find module\n\nRetrieve information from makefile database and show the output\n\n```bash\nfind_module_info.exe --action find --module_name name\n```\n\nThe arguments are:\n\n- **--action** *find*: This tells the tool to find the module information.\n- **--module_name** *name*: This specifies the module output name. You can input a part or fullname of the module. For example: libmedif.so.\n\n### Output Example\n\nHere it's a result of module libvnmedif.so\n\n```bash\n====================libservice.so====================\nPATH: develop\\utils\\service\\Makefile \nOUTPUT_BINARY: libservice.so\nDEPENDENCIES:\n        libstring.so\n        libkernel.so\n        libsignal.so\nDEPENDANTS:\n        service_manager\n        webapi.cgi\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecretdeveloperisme%2Ffind-module-info","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsecretdeveloperisme%2Ffind-module-info","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecretdeveloperisme%2Ffind-module-info/lists"}