{"id":22202168,"url":"https://github.com/rumkin/hao","last_synced_at":"2025-03-25T01:42:25.188Z","repository":{"id":57260735,"uuid":"50784571","full_name":"rumkin/hao","owner":"rumkin","description":"Hao is application manager powered with nodejs","archived":false,"fork":false,"pushed_at":"2016-02-16T12:36:53.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T03:26:47.664Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/rumkin.png","metadata":{"files":{"readme":"readme.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-31T16:54:18.000Z","updated_at":"2016-02-01T14:07:38.000Z","dependencies_parsed_at":"2022-08-25T01:40:11.688Z","dependency_job_id":null,"html_url":"https://github.com/rumkin/hao","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rumkin%2Fhao","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rumkin%2Fhao/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rumkin%2Fhao/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rumkin%2Fhao/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rumkin","download_url":"https://codeload.github.com/rumkin/hao/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245383118,"owners_count":20606265,"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":"2024-12-02T16:12:37.751Z","updated_at":"2025-03-25T01:42:25.158Z","avatar_url":"https://github.com/rumkin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hao\n\nApplication management made easy with nodejs. Install application in `~/apps`\nand link it in `~/bin` to make accessible from shell.\n\nNo more need to install application with `-g` flag. Just install it at home.\n\n## Install\n\nInstall from npmjs.com\n```\nnpm install hao -g\n```\n\n## Examples\n\nInstall npm hosted application:\n```\nhao install npm sample-app\n```\n\nInstall github hosted application:\n```\nhao install github author/repo\n```\n\nInstall local application:\n```\nhao install local ~/projects/hello-world\n```\n\n## Appfile\n\nApplication file name is `.app` it provide information about application, it's\ndependencies and event callbacks.\n\nNow appfile contains several directives:\n* name\n* description\n* version\n* bin\n* beforeInstall\n* afterInstall\n* beforeUninstall\n* afterUninstall\n\n### Example\n\n```yaml\n# Application metadata\nname: app\nversion: 0.1.0\ndescription: Example application\n\n# Application binary\nbin: app.js\n\n# Before installation event handler\nbeforeInstall:\n    - npm install .\n    - mkdir $HOME/data/app\n\n# After uninstallation event handler\nafterUninstall:\n    - rm -rf $HOME/data/app\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frumkin%2Fhao","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frumkin%2Fhao","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frumkin%2Fhao/lists"}