{"id":18616009,"url":"https://github.com/bjoern-hempel/project-analyser","last_synced_at":"2026-04-13T03:07:16.345Z","repository":{"id":110076771,"uuid":"96325508","full_name":"bjoern-hempel/project-analyser","owner":"bjoern-hempel","description":"A project analyser that tries to find out some details from the given project path.","archived":false,"fork":false,"pushed_at":"2017-08-10T13:58:12.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-27T03:13:12.718Z","etag":null,"topics":["apache2","bash","contao","friends-of-bash","html","javascript","mit-license","php","project-analyser","project-analyzer","shell","symfony","typo3","vhost","wordpress"],"latest_commit_sha":null,"homepage":"https://www.ixno.de/project-analyser","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bjoern-hempel.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":"2017-07-05T14:01:01.000Z","updated_at":"2017-07-19T22:03:19.000Z","dependencies_parsed_at":"2023-04-01T15:49:05.311Z","dependency_job_id":null,"html_url":"https://github.com/bjoern-hempel/project-analyser","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjoern-hempel%2Fproject-analyser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjoern-hempel%2Fproject-analyser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjoern-hempel%2Fproject-analyser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjoern-hempel%2Fproject-analyser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bjoern-hempel","download_url":"https://codeload.github.com/bjoern-hempel/project-analyser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239412486,"owners_count":19634016,"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":["apache2","bash","contao","friends-of-bash","html","javascript","mit-license","php","project-analyser","project-analyzer","shell","symfony","typo3","vhost","wordpress"],"created_at":"2024-11-07T03:33:46.325Z","updated_at":"2025-11-03T05:30:21.201Z","avatar_url":"https://github.com/bjoern-hempel.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A project analyser\n\nA project analyser that tries to detect the application type and version number from given web directory.\n\n### A.1) installation\n\nThis application uses the friends of bash libraries (https://github.com/bjoern-hempel/friends-of-bash). Check that the libraries are available:\n\n```\nuser$ friends-of-bash --version\nfriends-of-bash/v0.0.11\n```\n\nIf you can see a similar friends of bash version output like above, you can now install this application:\n\n```\nuser$ sudo -E friends-of-bash install \"git@github.com:bjoern-hempel/project-analyser.git\"\n```\n\nIf you don't have installed the friends of bash libraries, please install them first. In short:\n\n```\nuser$ cd ~ \u0026\u0026 git clone git@github.com:bjoern-hempel/friends-of-bash.git \u0026\u0026 cd friends-of-bash\nuser$ sudo -E bin/install\nuser$ cd .. \u0026\u0026 rm -rf friends-of-bash\n```\n\n## 1.) Usage\n\n### 1.1) Show the help dialog (`--help`)\n\n```\nuser$ project-analyser --help\n\nA project analyser (v0.0.15) by Björn Hempel \u003cbjoern@hempel.li\u003e.\n\nUsage: project-analyser [options...] [\u003cpath\u003e]\n -h,    --help                      Shows this help.\n -v,    --version                   Shows the version number.\n\n        --show-only-app-name        Shows only the app name.\n        --show-only-redirect-url    Shows only the redirect url.\n\n        --analyse-virtual-hosts     Tries to detect the virtual host from given path (needs admin rights).\n\n        --show-detailed-w3c-errors  Shows w3c errors in detail if available.\n        --show-number-w3c-errors    Shows the number of w3c errors if available.\n\n        --write-vhosts-config-file  Writes the vhosts config file (needs admin rights).\n```\n\n### 1.2) Simply return the app type, version number, file size and count\n\n```\nuser$ project-analyser /var/www/de/[domain]/[subdomain]/wordpress/html\napp:        Wordpress\nversion:    4.7.5\nsize:       212M\nfile-count: 3910\n```\n\n### 1.3) Only show the application name (`--show-only-app-name`)\n\n```\nuser$ project-analyser /var/www/de/[domain]/[subdomain]/wordpress/html --show-only-app-name\nWordpress\n```\n\n### 1.4) Also try to analyse the virtual hosts (`--analyse-virtual-hosts`)\n\nATTENTION: This process needs admin rights!\n\n```\nuser$ sudo project-analyser /var/www/de/[domain]/[subdomain]/wordpress/html --analyse-virtual-hosts\nservername: wordpress.[subdomain].[domain].de\napp:        Wordpress\nversion:    4.7.5\nsize:       212M\nfile-count: 3910\n```\n\n## B.) License\n\nMIT © [Björn Hempel](https://www.ixno.de/project-analyser)\n\nHave fun! :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjoern-hempel%2Fproject-analyser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbjoern-hempel%2Fproject-analyser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjoern-hempel%2Fproject-analyser/lists"}