{"id":51373492,"url":"https://github.com/williamrowell/hisss","last_synced_at":"2026-07-03T09:43:19.204Z","repository":{"id":366049039,"uuid":"1274882583","full_name":"williamrowell/hisss","owner":"williamrowell","description":"A python wrapper for the brrr.now API","archived":false,"fork":false,"pushed_at":"2026-06-20T02:22:09.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-03T09:43:18.210Z","etag":null,"topics":["brrr","notifications","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit-0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/williamrowell.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-20T01:58:27.000Z","updated_at":"2026-06-25T18:35:22.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/williamrowell/hisss","commit_stats":null,"previous_names":["williamrowell/hisss"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/williamrowell/hisss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamrowell%2Fhisss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamrowell%2Fhisss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamrowell%2Fhisss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamrowell%2Fhisss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/williamrowell","download_url":"https://codeload.github.com/williamrowell/hisss/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/williamrowell%2Fhisss/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35081254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-03T02:00:05.635Z","response_time":110,"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":["brrr","notifications","python"],"created_at":"2026-07-03T09:43:18.294Z","updated_at":"2026-07-03T09:43:19.197Z","avatar_url":"https://github.com/williamrowell.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hisss 🐍\n\n\u003cimg src=\"assets/logo.svg\" alt=\"hisss\" height=\"64\"\u003e\n\nA tiny, single-file Python wrapper around the [brrr](https://brrr.now/docs) push-notification API.\n\n\u003e hisss is an unofficial client and is not affiliated with or endorsed by brrr.\nOne function, every brrr parameter, zero install friction (deps are declared\ninline via [PEP 723](https://peps.python.org/pep-0723/) and provisioned by\n[`uv`](https://docs.astral.sh/uv/)).\n\n## Quick start\n\n```python\nimport hisss\n\nhisss.send(\"Build finished ✅\", title=\"CI\", sound=\"brrr\")\n```\n\nFrom the command line (the shebang runs it through `uv`, auto-installing `requests`):\n\n```bash\nexport BRRR_TOKEN=br_usr_…\n./hisss.py \"Hello from hisss\" --title hisss --sound brrr --interruption-level active\n```\n\nor explicitly:\n\n```bash\nuv run hisss.py \"Hello\" --title hisss\n```\n\n## The token (read from the environment)\n\nhisss reads the auth token from the **`BRRR_TOKEN`** environment variable, or you\ncan pass `token=...` / `--token`. It is **never** hard-coded, written to disk, or\nlogged — the `Authorization` header is redacted from every error.\n\nSet it without leaking into shell history:\n\n```bash\n# one-shot, inline (not stored)\nBRRR_TOKEN=br_usr_… ./hisss.py \"ping\"\n\n# prompt without echo\nread -rs BRRR_TOKEN \u0026\u0026 export BRRR_TOKEN\n\n# or a gitignored .env you source\nset -a; . ./.env; set +a\n```\n\n`.env` is gitignored — keep your token there if you like, but never commit it.\n\n## `send()` parameters\n\n`message` is positional; everything else is keyword-only.\n\n| Parameter | Notes |\n|---|---|\n| `message` | Body text. At least one of `message`/`title` is required. |\n| `title`, `subtitle` | Heading text. |\n| `thread_id` | Group related notifications. |\n| `sound` | One of the documented sounds (`default`, `system`, `brrr`, `bell_ringing`, …). |\n| `volume` | Float `0–1`, critical interruption level only. |\n| `open_url` | URL opened when the notification is tapped. |\n| `image_url` | Image to display. |\n| `expiration_date` | ISO8601 string **or** a `datetime` (serialized to UTC `…Z`). |\n| `filter_criteria` | Focus filter name (`work`, `sleep`, `deep work`, …). |\n| `interruption_level` | `passive`, `active`, `time-sensitive`, or `critical`. |\n| `token` | Defaults to `BRRR_TOKEN`. |\n| `base_url`, `timeout`, `session` | Endpoint override, per-request timeout, optional `requests.Session`. |\n\nUnset (`None`) fields are omitted from the request body. Invalid `sound`,\n`interruption_level`, or out-of-range `volume` raise `HisssError` before any\nnetwork call.\n\n## Development\n\n```bash\n# lint, format-check, type-check\nuvx ruff check hisss.py\nuvx ruff format --check hisss.py\nuvx --with requests --with pytest ty check hisss.py\n\n# embedded unit tests (no network)\nuvx --with requests --with pytest pytest hisss.py -q\n```\n\nThe tests live in `hisss.py` itself and mock `requests` — they never hit the network.\n\n## License\n\n[MIT-0](LICENSE) (MIT No Attribution) — do whatever you like, no attribution required.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamrowell%2Fhisss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilliamrowell%2Fhisss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilliamrowell%2Fhisss/lists"}