{"id":49501583,"url":"https://github.com/axelhahn/ht-manager","last_synced_at":"2026-05-01T12:53:02.778Z","repository":{"id":306842555,"uuid":"1027379409","full_name":"axelhahn/ht-manager","owner":"axelhahn","description":"Cli editor for management of htpasswd and htgrpup files","archived":false,"fork":false,"pushed_at":"2026-03-06T21:47:32.000Z","size":933,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-01T12:53:00.115Z","etag":null,"topics":["cli","foss","gplv3","htaccess","htpasswd","htpasswd-editor","opemsource","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/axelhahn.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-27T22:44:45.000Z","updated_at":"2026-03-06T21:47:35.000Z","dependencies_parsed_at":"2025-07-28T01:20:59.077Z","dependency_job_id":null,"html_url":"https://github.com/axelhahn/ht-manager","commit_stats":null,"previous_names":["axelhahn/ht-manager"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/axelhahn/ht-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axelhahn%2Fht-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axelhahn%2Fht-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axelhahn%2Fht-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axelhahn%2Fht-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/axelhahn","download_url":"https://codeload.github.com/axelhahn/ht-manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axelhahn%2Fht-manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32497815,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["cli","foss","gplv3","htaccess","htpasswd","htpasswd-editor","opemsource","php"],"created_at":"2026-05-01T12:53:02.288Z","updated_at":"2026-05-01T12:53:02.772Z","avatar_url":"https://github.com/axelhahn.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ht-manager\n\nHt-manager is an interactive cli tool to simplify management of htpasswd and htgroup files.\n\nThis tool is written in PHP 8 and uses the classes of\n\n* \u003chttps://github.com/axelhahn/php-htpasswd\u003e\n* \u003chttps://github.com/axelhahn/ahcli\u003e\n\n---\n\n👤 Author: Axel Hahn \\\n🧾 Source: https://github.com/axelhahn/ht-manager/ \\\n📜 License: GNU GPL 3.0\n\n## Screenshot\n\n![Screenshot](screenshot-01.png)\n\n## For PHP developers: Use php script\n\nYou can use the php script directly if you have a php interpreter installed.\nJust run `php src/htman.php`.\n\nBUT: You cannot move the script around - it includes a few files from vendor directory.\n\n## Use merged php script or binary\n\nThe sources can be compiled into a single file.\n\n* a single php script and \n* a binary using SPC \n\nCheck the releases page \u003chttps://github.com/axelhahn/ht-manager/releases/\u003e to get the merged script or pre compiled file.\n\nCopy the php script or binary to `/usr/bin` or `~/bin/` to start it witout path.\n\nOr compile it yourself. See the next chapter.\n\n## Compile\n\n`src/htman.php`can be compiled into a standalone binary with the delivered scripts by using SPC (check out \u003chttps://static-php.dev/\u003e). This was tested on Linux.\n\nA compiled binary is a single binary without dependencies. You can put onto a machine of the same architecture. On your targets no PHP is needed.\n\n### Requirements\n\nLinux packages\n\n* git\n* wget\n* elfpatch\n\n### Compile\n\n### Start once\n\nStart `./compile/installer.php` to download the SPC binary and let it generate needed files and Micro sfx.\nThis compilation takes some minutes.\n\nAs long you dont't want to set another php version or include an additional php module you don't need to repeat this step.\n\n### Compile binary\n\nRun `./compile/build.php` to merge changes in `src/htman.php` into a newly generated binary. This is done within a second.\n\nOutput files on Linux:\n\n```txt\nMerged php file:\n- ./built_packages/htman.php\n\nCompiled binay:\n- ./built_packages/htman\n- ./built_packages/htman_linux_x86_64\n- ./built_packages/htman_linux_x86_64__README.md\n```\n\n## Usage\n\nCopy `built_packages/htman` into a bin directory eg `/usr/bin/` or `~/bin/` (or create a softlink) to start it without path on any system without PHP installed.\nOn Systems with PHP you can deploy `built_packages/htman.php` as single script. This is a merged php script that includes all needed files.\n\nStart `htman` for interactive mode.\n\nStart `htman -h` to see supported parameters.\n\n```txt\nphp src/htman.php -h\n      _____________\n_____/  A x e l s  \\_________________________________________________\n\n   _______ __                                                      \n  |   |   |  |_ ______.--------.---.-.-----.---.-.-----.-----.----.\n  |       |   _|______|        |  _  |     |  _  |  _  |  -__|   _|\n  |___|___|____|      |__|__|__|___._|__|__|___._|___  |_____|__|  \n                                                 |_____|      v0.5\n  👤 Author: Axel Hahn\n  🧾 Source: https://github.com/axelhahn/ht-manager/\n  📜 License: GNU GPL 3.0\n\nHELP:\nManage htpasswd and htgroups\n\nPARAMETERS:\n  -d\n  --debug (without value)\n    Debug mode.\n    Show debug messages on actions.\n\n  -f\n  --folder [value] (value required)\n    Folder name where to put .htpasswd an .htgroup\n    Set a folder where to handle the .htpasswd and .htgroup files.\n    If a value is given then it will be checked against regex /./i\n\n  -h\n  --help (without value)\n    Show help and exit\n\n  -v\n  --version (without value)\n    Show version and exit\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxelhahn%2Fht-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxelhahn%2Fht-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxelhahn%2Fht-manager/lists"}