{"id":18466259,"url":"https://github.com/0xjacky/drone-bark","last_synced_at":"2025-10-18T01:09:28.977Z","repository":{"id":168886081,"uuid":"644670937","full_name":"0xJacky/drone-bark","owner":"0xJacky","description":"A Drone CI plugin for sending Bark notifications.","archived":false,"fork":false,"pushed_at":"2023-05-24T07:28:53.000Z","size":64,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-15T21:48:28.722Z","etag":null,"topics":["bark","drone-ci","drone-plugin","go"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0xJacky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-05-24T02:35:00.000Z","updated_at":"2025-03-09T05:30:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"7f6a0b31-3688-4ad0-9921-239ce4aca741","html_url":"https://github.com/0xJacky/drone-bark","commit_stats":null,"previous_names":["0xjacky/drone-bark"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0xJacky/drone-bark","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xJacky%2Fdrone-bark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xJacky%2Fdrone-bark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xJacky%2Fdrone-bark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xJacky%2Fdrone-bark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xJacky","download_url":"https://codeload.github.com/0xJacky/drone-bark/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xJacky%2Fdrone-bark/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267600397,"owners_count":24113773,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"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":["bark","drone-ci","drone-plugin","go"],"created_at":"2024-11-06T09:15:52.227Z","updated_at":"2025-10-18T01:09:23.924Z","avatar_url":"https://github.com/0xJacky.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drone-bark\nA plugin to Drone plugin for sending Bark notifications.\n\n![Screenshot](screenshot.jpg)\n\n# Usage\n\nThe following settings changes this plugin's behavior.\n\n* server_url (optional) sets the bark server url.\n* bark_device (required) sets the bark device key.\n* icon (optional) sets the notification icon in iOS.\n* group (optional) sets the notification group.\n* bark_level (optional) sets the notification level\n    - active: default, system will display notification immediately.\n    - timeSensitive: bark will send a time sensitive message which can display in focus mode.\n    - passive: bark will only add this message to the notification list without turn the screen on.\n* sound (optional) sets bark notification sound.\n\nBelow is an example `.drone.yml` that uses this plugin.\n\n```yaml\nkind: pipeline\nname: default\n\nsteps:\n- name: notify\n  image: 0xJacky/drone-bark\n  pull: if-not-exists\n  settings:\n    server_url: foo\n    bark_device: \n      from_secret: bark_device\n    icon: foobar\n    bark_group: Drone CI\n    bark_level: active\n    bark_sound: silence\n```\n\n# Building\n```text\ndocker build -t 0xJacky/drone-bark .\n```\n\n# Testing\n\nExecute the plugin from your current working directory:\n\n```text\ndocker run --rm -e PLUGIN_SERVER_URL=foo -e PLUGIN_BARK_DEVICE=bar \\\n  -e PLUGIN_ICON=foo -e PLUGIN_BARK_GROUP=Drone\\ CI \\\n  -e PLUGIN_BARK_LEVEL=timeSensitive -e PLUGIN_BARK_SOUND=minuet \\\n  -e DRONE_COMMIT_SHA=8f51ad7884c5eb69c11d260a31da7a745e6b78e2 \\\n  -e DRONE_COMMIT_BRANCH=master \\\n  -e DRONE_BUILD_NUMBER=43 \\\n  -e DRONE_REPO_NAMESPACE=0xJacky \\\n  -e DRONE_REPO_NAME=drone-bark\n  -e DRONE_BUILD_STATUS=success \\\n  -w /drone/src \\\n  -v $(pwd):/drone/src \\\n  0xJacky/drone-bark\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xjacky%2Fdrone-bark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xjacky%2Fdrone-bark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xjacky%2Fdrone-bark/lists"}