{"id":23613662,"url":"https://github.com/freckle/dms-env","last_synced_at":"2025-11-06T09:30:33.749Z","repository":{"id":149145962,"uuid":"577488272","full_name":"freckle/dms-env","owner":"freckle","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-06T00:30:22.000Z","size":18,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-01-06T01:26:47.395Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/freckle.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":"2022-12-12T21:12:57.000Z","updated_at":"2022-12-12T21:14:14.000Z","dependencies_parsed_at":"2025-01-06T01:23:24.680Z","dependency_job_id":"25cc724c-6267-4fe2-8537-2954df152205","html_url":"https://github.com/freckle/dms-env","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/freckle%2Fdms-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freckle%2Fdms-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freckle%2Fdms-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freckle%2Fdms-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freckle","download_url":"https://codeload.github.com/freckle/dms-env/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239491352,"owners_count":19647811,"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-27T17:18:38.250Z","updated_at":"2025-11-06T09:30:33.710Z","avatar_url":"https://github.com/freckle.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DMS ENV\n\nSmall wrapper around the [Dead Man's Snitch Field Agent][dms], and a script to\ninstall it.\n\n[dms]: https://deadmanssnitch.com/docs/field-agent\n\n## `dms-env`\n\n`dms-env` behaves like `dms`, except it's:\n\n**ENV-based**: `$DMS_TOKEN` is read from the environment. `dms` requires you\npass it as the first command-line argument.\n\nThis makes it possible to use `dms[-env]` directly as an `ENTRYPOINT` or shebang\nwithout having to hard-code a token in the invocation.\n\n**Error-free**: If a token is not found, the command is still run, just without\nSnitching. `dms` errors if the token is missing or invalid.\n\nThis makes it possible to use `dms[-env]` across multiple environments with\ntheir own (or no) Snitches.\n\n## Usage\n\n```dockerfile\nRUN curl -L \"https://raw.githubusercontent.com/freckle/dms-env/main/install\" | sh\nENTRYPOINT [\"dms-env\"]\n```\n\n```console\ndocker build --tag your-image .\ndocker run --rm --env DMS_TOKEN=\"...\" your-image\n```\n\n---\n\n[LICENSE](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreckle%2Fdms-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreckle%2Fdms-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreckle%2Fdms-env/lists"}