{"id":19085077,"url":"https://github.com/lgiki/bark-tray","last_synced_at":"2025-11-11T17:30:51.435Z","repository":{"id":115900639,"uuid":"585579248","full_name":"LGiki/bark-tray","owner":"LGiki","description":"A tray tool for sending clipboard text to iOS devices via Bark","archived":false,"fork":false,"pushed_at":"2023-03-09T13:39:37.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-02T21:43:17.255Z","etag":null,"topics":["bark","clipboard","tray-app","tray-application"],"latest_commit_sha":null,"homepage":"","language":"Go","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/LGiki.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":"2023-01-05T14:31:38.000Z","updated_at":"2023-01-18T10:21:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"80734cc0-941a-4857-953b-d870113b69b4","html_url":"https://github.com/LGiki/bark-tray","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LGiki%2Fbark-tray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LGiki%2Fbark-tray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LGiki%2Fbark-tray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LGiki%2Fbark-tray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LGiki","download_url":"https://codeload.github.com/LGiki/bark-tray/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240136987,"owners_count":19753645,"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":["bark","clipboard","tray-app","tray-application"],"created_at":"2024-11-09T02:54:28.999Z","updated_at":"2025-11-11T17:30:51.395Z","avatar_url":"https://github.com/LGiki.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bark Tray\n\n[![GitHub](https://img.shields.io/github/license/LGiki/bark-tray?style=flat-square)](https://github.com/LGiki/bark-tray/blob/master/LICENSE) ![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/LGiki/bark-tray/release.yml?style=flat-square) [![GitHub release (latest by date)](https://img.shields.io/github/v/release/LGiki/bark-tray?style=flat-square)](https://github.com/LGiki/bark-tray/releases)\n\nA tray tool for sending **clipboard** text to iOS devices via [Bark](https://github.com/Finb/Bark).\n\n# Screenshot\n\nhttps://user-images.githubusercontent.com/20807713/213143098-73b28ce4-4b68-40b5-a42a-80f8411ae5e8.mp4\n\n# Usage\n\n- Download the latest version from [release](https://github.com/LGiki/bark-tray/releases) page and extract it.\n\n- Edit the `config.json` file according to [Configuration file](#configuration-file). A valid configuration file is as follows.\n\n  ```json\n  {\n    \"version\": \"1.0.3\",\n    \"enableLog\": true,\n    \"logFilePath\": \"bark-tray.log\",\n    \"userAgent\": \"Bark Tray/1.0\",\n    \"timeout\": 5,\n    \"devices\": [\n      {\n        \"name\": \"MY_PHONE\",\n        \"barkBaseUrl\": \"https://api.day.app\",\n        \"key\": \"REPLACE_WITH_YOUR_DEVICE_KEY\",\n        \"isDefault\": true\n      }\n    ]\n  }\n  ```\n  \n- Start the Bark Tray and enjoy it. :-)\n\n# Configuration file\n\nThe configuration file of the program is `config.json`, if the file does not exist, the program will create a `config.json` file based on [config_template.json](assets/config_template.json).\n\nThe definitions of each item in the configuration file are as follows.\n\n| Field       | Type     | Description                                              |\n| ----------- | -------- | -------------------------------------------------------- |\n| version     | string   | The Bark Tray version.                                   |\n| enableLog   | boolean  | Enable logging or not.                                   |\n| logFilePath | string   | Path to the log file.                                    |\n| userAgent   | string   | The User Agent used to send requests to the Bark server. |\n| timeout     | integer  | Request timeout in seconds.                              |\n| devices     | []Device | See [Devices](#Devices).                                 |\n\n## Devices\n\nThe `devices` field in the configuration file is an array of `Device` objects, and the `Device` objects are defined as follows.\n\n| Field       | Type    | Description                                                  |\n| ----------- | ------- | ------------------------------------------------------------ |\n| name        | string  | Device name.                                                 |\n| barkBaseUrl | string  | URL of Bark server, e.g. `https://api.day.app`.              |\n| key         | string  | Key of the device.\u003cbr /\u003eSuppose the URL displayed on the Bark App homepage is: `https://api.day.app/abcdefghijklmnopqrstuv/example`, then `abcdefghijklmnopqrstuv` is the key of your device. |\n| isDefault   | boolean | Whether the current device is the default device.\u003cbr /\u003eIf there are multiple default devices, the first default device in the devices array will be the default device. |\n\n# Build\n\nThis program uses [systray](https://github.com/getlantern/systray), which has some requirements for compiling on different platforms, you can [click here](https://github.com/getlantern/systray#platform-notes) to see the detailed requirements.\n\n# License\n\nMIT License\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flgiki%2Fbark-tray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flgiki%2Fbark-tray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flgiki%2Fbark-tray/lists"}