{"id":15497422,"url":"https://github.com/heapwolf/d","last_synced_at":"2025-06-23T05:09:14.406Z","repository":{"id":4622337,"uuid":"5766312","full_name":"heapwolf/d","owner":"heapwolf","description":"An git based, infrastructure-agnostic deploy tool for node.js","archived":false,"fork":false,"pushed_at":"2013-12-15T17:39:02.000Z","size":152,"stargazers_count":28,"open_issues_count":1,"forks_count":1,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-05-18T14:49:15.049Z","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/heapwolf.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}},"created_at":"2012-09-11T14:34:23.000Z","updated_at":"2024-12-01T23:13:59.000Z","dependencies_parsed_at":"2022-08-06T17:16:23.471Z","dependency_job_id":null,"html_url":"https://github.com/heapwolf/d","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/heapwolf/d","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Fd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Fd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Fd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Fd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heapwolf","download_url":"https://codeload.github.com/heapwolf/d/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heapwolf%2Fd/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261417596,"owners_count":23155076,"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-10-02T08:33:38.518Z","updated_at":"2025-06-23T05:09:09.389Z","avatar_url":"https://github.com/heapwolf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SYNOPSIS\nAn git based, infrastructure-agnostic deploy tool for #node.js\n\n\n# DESIGN\n\n### No single end point\nA single API endpoint is a single point of failure. A deployment tool \nshould maintain a cache of API endpoints that can be tried in the case of\nconnection failure.\n\n\n### Differential deployments\nOnly the delta of the code should be deployed. This significantly\n improves user experience while reducing the footprint on the network.\n\n### Always an interactive REPL\n\n\n### Uses public key infrastructure/cryptography\n\n\n### Binary differential deployments (only deploy your changes)\n\n\n# Usage\nThe program is always run in interactive REPL mode.\n\n\n## Interactive mode (REPL)\n\n\n## Push code to the cloud\n__**Commands**__ `push [tag]`,\n\n__**Description**__ Attempt to push the code in the current project to the \ndeployment target(s). You may optionally specify a remote for the code push.\n\n\n## Pull code from the cloud\n__**Commands**__ `pull [tag]`,\n\n__**Description**__ Pull the latest code from for the app. If no version is \nspecified it will pull the latest. If a version is specified, it can be either \nthe sha1 hash for a particular commit or a git tag.\n\n\n## Stop, Restart or Start code\n__**Commands**__ `d start [version]`, `d stop [all]`, `d restart`\n\n__**Description**__ Send the application a start, stop or restart signal. \nThese commands are short hand for `d sig start`, `d sig stop` and `d sig \nrestart`. \n\n - To specify a version of your app to start, supply the git `sha1` hash \n or `tag`.\n\n - To stop all of the apps that you have deployed, specify `all` in addition \n to `stop`.\n\n\n## Send an arbitrary signal to the running code\n__**Commands**__ `d sig \u003csignal\u003e`, `sig \u003csignal\u003e`\n\n__**Description**__ Send an arbitrary signal to an application.\n\n\n## Environment variables\n__**Commands**__ `env *[name]* *[value]*`, `env *[name]* *[value]*`\n\n__**Description**__ Environment variables are settings that are applied to the\nshell environment when a deployment is made. This command will get, set, clear\nand delete environmental variables. \n\n - To get all of the variables, omit `name` and `value` and all of the \n currently set variables will be returned. If `--json` or `-j` is specified, \n all of the results will be returned as raw `JSON` format.\n\n - To set a variable, supply both the `name` and the `value`. If a value \n contains whitespace, remember to quote it.\n\n - To get a variable, supply only the `name` of the variable. This will print \n only the name and value of that variable.\n\n - To clear an environment variable for an app, supply only the `name` of the \n variable and specify `-c`. For example: `d env \u003cname\u003e -c`.\n\n - To delete environment variable for an app, supply only the `name` of the \n variable and specify `-d`. For example: `d env \u003cname\u003e -d`.\n\n\n## Logs\n\n__**Commands**__ `tail [file]`\n\n__**Description**__ Application logging comes in two flavors. When running \nthis program in interactive mode, you will have real-time logs over tcp. When \nthis program is not running in interactive mode, you will see only a historic \nview. This historic view is updated when possible and does not represent the \nmost current activity of the application.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheapwolf%2Fd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheapwolf%2Fd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheapwolf%2Fd/lists"}